Messages in this thread | | | From | Michael Walle <> | Subject | [PATCH net-next v3 0/4] net: phy: mxl-gpy: broken interrupt fixes | Date | Mon, 9 Jan 2023 13:30:09 +0100 |
| |
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
| |