[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20231222-pennant-staging-00e984b69fd3@spud>
Date: Fri, 22 Dec 2023 15:20:56 +0000
From: Conor Dooley <conor@...nel.org>
To: Andrew Lunn <andrew@...n.ch>
Cc: Christian Marangi <ansuelsmth@...il.com>, Rob Herring <robh@...nel.org>,
Heiner Kallweit <hkallweit1@...il.com>,
Russell King <linux@...linux.org.uk>,
"David S. Miller" <davem@...emloft.net>,
Eric Dumazet <edumazet@...gle.com>,
Jakub Kicinski <kuba@...nel.org>, Paolo Abeni <pabeni@...hat.com>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>,
Conor Dooley <conor+dt@...nel.org>,
Florian Fainelli <f.fainelli@...il.com>, netdev@...r.kernel.org,
devicetree@...r.kernel.org, linux-kernel@...r.kernel.org,
Tobias Waldekranz <tobias@...dekranz.com>
Subject: Re: [net-next PATCH v4 1/4] dt-bindings: net: phy: Document new LEDs
polarity property
On Thu, Dec 21, 2023 at 10:43:17AM +0100, Andrew Lunn wrote:
> > On the marvell10g series we are discussing of using tristate or not. We
> > notice tristate might be confusing, would it be better to use
> > inactive-high-impedance ?
>
> The pincfg-node.yaml binding has:
>
> drive-open-drain:
> oneOf:
> - type: boolean
> - $ref: /schemas/types.yaml#/definitions/uint32
> const: 1 # No known cases of 0
> deprecated: true
> description: drive with open drain
>
> drive-open-source:
> type: boolean
> description: drive with open source
>
> I'm not sure what the deprecated means. Is it that a value is
> deprecated, not the property as a whole?
Yeah, it means that only the boolean form of this property should be
used going forward.
The comment suggests that the value had no meaning in the first place,
and that testing for presence alone has been sufficient all along.
Download attachment "signature.asc" of type "application/pgp-signature" (229 bytes)
Powered by blists - more mailing lists