]> git.itanic.dy.fi Git - linux-stable/commit
dt-bindings: net: phy: add MaxLinear GPY2xx bindings
authorMichael Walle <michael@walle.cc>
Mon, 9 Jan 2023 12:30:11 +0000 (13:30 +0100)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 10 Jan 2023 12:38:37 +0000 (13:38 +0100)
commit90c47eb169ac5538c3376a1577cfe858c4efcf27
treeee939d3e8fff3a5aa73a12c9e4aacf189e6e9183
parentdd1a98a375a64f050afaf55c2a80c7a78e957496
dt-bindings: net: phy: add MaxLinear GPY2xx bindings

Add the device tree bindings for the MaxLinear GPY2xx PHYs, which
essentially adds just one flag: maxlinear,use-broken-interrupts.

One might argue, that if interrupts are broken, just don't use
the interrupt property in the first place. But it needs to be more
nuanced. First, this interrupt line is also used to wake up systems by
WoL, which has nothing to do with the (broken) PHY interrupt handling.

Second and more importantly, there are devicetrees which have this
property set. Thus, within the driver we have to switch off interrupt
handling by default as a workaround. But OTOH, a systems designer who
knows the hardware and knows there are no shared interrupts for example,
can use this new property as a hint to the driver that it can enable the
interrupt nonetheless.

Signed-off-by: Michael Walle <michael@walle.cc>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Documentation/devicetree/bindings/net/maxlinear,gpy2xx.yaml [new file with mode: 0644]