[RESEND PATCH 1/2] dt-bindings: phy: mediatek,xsphy: add property to set disconnect threshold
Chunfeng Yun (云春峰)
Chunfeng.Yun at mediatek.com
Sat Feb 22 00:30:00 PST 2025
On Tue, 2025-02-11 at 18:30 +0000, Conor Dooley wrote:
> On Sun, Feb 09, 2025 at 03:34:12AM +0000, Chunfeng Yun (云春峰) wrote:
> > On Mon, 2025-01-13 at 18:30 +0000, Conor Dooley wrote:
> > > On Sat, Jan 11, 2025 at 10:15:41PM +0800, Chunfeng Yun wrote:
> > > > Add a property to tune usb2 phy's disconnect threshold.
> > > > And add a compatible for mt8196.
> > > >
> > > > Signed-off-by: Chunfeng Yun <chunfeng.yun at mediatek.com>
> > > > ---
> > > > based on kernel 6.13-rc1
> > > >
> > > > this property is porting from t-phy driver, due to the u2 phy
> > > > are
> > > > similar.
> > > > ---
> > > > Documentation/devicetree/bindings/phy/mediatek,xsphy.yaml | 8
> > > > ++++++++
> > > > 1 file changed, 8 insertions(+)
> > > >
> > > > diff --git
> > > > a/Documentation/devicetree/bindings/phy/mediatek,xsphy.yaml
> > > > b/Documentation/devicetree/bindings/phy/mediatek,xsphy.yaml
> > > > index a9e3139fd421..2e012d5e1da1 100644
> > > > --- a/Documentation/devicetree/bindings/phy/mediatek,xsphy.yaml
> > > > +++ b/Documentation/devicetree/bindings/phy/mediatek,xsphy.yaml
> > > > @@ -49,6 +49,7 @@ properties:
> > > > - enum:
> > > > - mediatek,mt3611-xsphy
> > > > - mediatek,mt3612-xsphy
> > > > + - mediatek,mt8196-xsphy
> > > > - const: mediatek,xsphy
> > > >
> > > > reg:
> > > > @@ -129,6 +130,13 @@ patternProperties:
> > > > minimum: 1
> > > > maximum: 7
> > > >
> > > > + mediatek,discth:
>
> Just make it "disconnect-threshold" please.
Ohhh, Ok, I'll modify it
>
> > > > + description:
> > > > + The selection of disconnect threshold (U2 phy)
> > > > + $ref: /schemas/types.yaml#/definitions/uint32
> > > > + minimum: 1
> > > > + maximum: 15
> > >
> > > What unit is this? Unitless? How are the values determined?
> >
> > No unit, it's a level, may be treat it as an index to select
> > different
> > threshold.
>
> So this is a register value of some sort?
Yes, the big value means higher threshold.
> What is the actual threshold
> measured in?
I think that is mV in fact.
Thanks
More information about the linux-arm-kernel
mailing list