lkml.org 
[lkml]   [2022]   [May]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v6 1/3] dt-bindings: marvell: Document the AC5/AC5X compatibles
> Yes there are registers that you can read to identify the specific chip.
>
> It still might be useful to have a expected vs actual check as those ID
> values are determined by pin strapping resistors.

That i don't get? Can i turn a

* 98DX2538: 24x1G + 2x10G + 2x10G Stack

into a

* 98DX2535: 24x1G + 4x1G Stack

by strapping its pin differently?

> It could also be used
> to validate the dts (e.g. port 20 would be invalid on a 98DX3501). But
> those are considerations for further down the track.

Yes, that would be up to the switchdev driver to validate the DT based
on the ID register.

Andrew

\
 
 \ /
  Last update: 2022-05-12 02:47    [W:0.045 / U:0.464 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site