[PATCH net-next v1 0/4] net: phy: mxl-gpy: broken interrupt fixes

From: Michael Walle
Date: Fri Dec 02 2022 - 10:12:16 EST


The GPY215 has a broken interrupt pin. This patch series tries to
workaround that and because in general that is not possible, disables the
interrupts by default and falls back to polling mode. There is an opt-in
via the devicetree.

net vs net-next: I'm not sure. No one seems to have noticed it so far.
My board I care about has no support for older kernel. Apart from that,
the first patch might be for net. The last one would need a new device
tree property, so it might only apply for net-next? Also it will disable
interrupts by default now.
Let me know what you think. I can send the first patch independently with a
Fixes tag and resend the last ones after the merge window. (The last one
depends on the first).

Btw. I just noticed that this series won't apply cleanly, because it
references patch context changed by
https://lore.kernel.org/netdev/20221202144900.3298204-1-michael@xxxxxxxx/
:(

Michael Walle (4):
net: phy: mxl-gpy: add MDINT workaround
dt-bindings: vendor-prefixes: add MaxLinear
dt-bindings: net: phy: add MaxLinear GPY2xx bindings
net: phy: mxl-gpy: disable interrupts on GPY215 by default

.../bindings/net/maxlinear,gpy2xx.yaml | 47 ++++++++++
.../devicetree/bindings/vendor-prefixes.yaml | 2 +
drivers/net/phy/mxl-gpy.c | 88 +++++++++++++++++++
3 files changed, 137 insertions(+)
create mode 100644 Documentation/devicetree/bindings/net/maxlinear,gpy2xx.yaml

--
2.30.2