[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20220830105303.22067-1-arun.ramadoss@microchip.com>
Date: Tue, 30 Aug 2022 16:23:00 +0530
From: Arun Ramadoss <arun.ramadoss@...rochip.com>
To: <linux-kernel@...r.kernel.org>, <netdev@...r.kernel.org>
CC: Woojung Huh <woojung.huh@...rochip.com>,
<UNGLinuxDriver@...rochip.com>, Andrew Lunn <andrew@...n.ch>,
Vivien Didelot <vivien.didelot@...il.com>,
Florian Fainelli <f.fainelli@...il.com>,
Vladimir Oltean <olteanv@...il.com>,
"David S. Miller" <davem@...emloft.net>,
Eric Dumazet <edumazet@...gle.com>,
Jakub Kicinski <kuba@...nel.org>,
Paolo Abeni <pabeni@...hat.com>,
"Russell King" <linux@...linux.org.uk>,
Tristram Ha <Tristram.Ha@...rochip.com>
Subject: [RFC Patch net-next v3 0/3] net: dsa: microchip: lan937x: enable interrupt for internal phy link detection
This patch series enables the internal phy link detection for lan937x using the
interrupt method. lan937x acts as the interrupt controller for the internal
ports and phy, the irq_domain is registered for the individual ports and in
turn for the individual port interrupts.
RFC v2 -> v3
- Used the interrupt controller implementation of phy link
Changes in RFC v2
- fixed the compilation issue
Arun Ramadoss (3):
net: dsa: microchip: use dev_ops->reset instead of exit in
ksz_switch_register
net: dsa: microchip: add reference to ksz_device inside the ksz_port
net: dsa: microchip: lan937x: add interrupt support for port phy link
drivers/net/dsa/microchip/ksz_common.c | 5 +-
drivers/net/dsa/microchip/ksz_common.h | 17 ++
drivers/net/dsa/microchip/ksz_spi.c | 2 +
drivers/net/dsa/microchip/lan937x_main.c | 332 ++++++++++++++++++++++-
drivers/net/dsa/microchip/lan937x_reg.h | 12 +
5 files changed, 361 insertions(+), 7 deletions(-)
--
2.36.1
Powered by blists - more mailing lists