Thread (11 messages) flat view 11 messages, 4 authors, 2023-12-22

Re: [net-next PATCH v4 1/4] dt-bindings: net: phy: Document new LEDs polarity property

From: Conor Dooley <conor@kernel.org>
Date: 2023-12-22 15:21:02
Also in: linux-devicetree, lkml

On Thu, Dec 21, 2023 at 10:43:17AM +0100, Andrew Lunn wrote:
quoted
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.

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help