lkml.org 
[lkml]   [2023]   [Jan]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH net-next v3 0/4] net: phy: mxl-gpy: broken interrupt fixes
Date
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.

v3:
- move phy_device::dev_flags after the struct phy_device definition.
also add a comment. Thanks Russell.
- add a rationale for the new devicetree property in the commit
message

v2:
- new handling of how to disable the interrupts

Michael Walle (4):
dt-bindings: vendor-prefixes: add MaxLinear
dt-bindings: net: phy: add MaxLinear GPY2xx bindings
net: phy: allow a phy to opt-out of interrupt handling
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 | 5 ++
drivers/net/phy/phy_device.c | 7 +++
include/linux/phy.h | 3 ++
5 files changed, 64 insertions(+)
create mode 100644 Documentation/devicetree/bindings/net/maxlinear,gpy2xx.yaml

--
2.30.2

\
 
 \ /
  Last update: 2023-03-26 23:33    [W:0.170 / U:0.660 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site