Re: [PATCH 2/4] dt-bindings: net: Add bindings for Qualcomm QCA807x

From: Andrew Lunn
Date: Sun Jan 03 2021 - 12:00:45 EST


> > > + qcom,tx-driver-strength:
> > > + description: PSGMII/QSGMII TX driver strength control.
> > > + $ref: /schemas/types.yaml#/definitions/uint32
> > > + enum: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12]
> >
> > Please use the actual values here, and have the driver convert to the
> > value poked into the register. So the property would be
> > qcom,tx-driver-strength-mv and it would have the value 220 for
> > example.
>
> The LED binding has properties for specifying the current already. And
> it's max current which is the h/w property where as anything less is
> just software configuration (IOW, doesn't belong in DT).

Hi Rob

My understanding of this is it is the drive strength of the SERDES
line. Nothing to do with LEDs. The description needs improving.

Andrew