netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] net: dsa: microchip: enable ksz9893 via i2c in the ksz9477 driver
@ 2020-07-01 11:22 Helmut Grohne
  2020-07-01 14:19 ` Andrew Lunn
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Helmut Grohne @ 2020-07-01 11:22 UTC (permalink / raw)
  To: Woojung Huh, Microchip Linux Driver Support, netdev
  Cc: Andrew Lunn, Vivien Didelot, Florian Fainelli, David S. Miller,
	Jakub Kicinski

The KSZ9893 3-Port Gigabit Ethernet Switch can be controlled via SPI,
I²C or MDIO (very limited and not supported by this driver). While there
is already a compatible entry for the SPI bus, it was missing for I²C.

Signed-off-by: Helmut Grohne <helmut.grohne@intenta.de>
---
 drivers/net/dsa/microchip/ksz9477_i2c.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/net/dsa/microchip/ksz9477_i2c.c b/drivers/net/dsa/microchip/ksz9477_i2c.c
index fdffd9e0c518..2805839e5c55 100644
--- a/drivers/net/dsa/microchip/ksz9477_i2c.c
+++ b/drivers/net/dsa/microchip/ksz9477_i2c.c
@@ -79,6 +79,7 @@ MODULE_DEVICE_TABLE(i2c, ksz9477_i2c_id);
 static const struct of_device_id ksz9477_dt_ids[] = {
 	{ .compatible = "microchip,ksz9477" },
 	{ .compatible = "microchip,ksz9897" },
+	{ .compatible = "microchip,ksz9893" },
 	{ .compatible = "microchip,ksz9567" },
 	{},
 };
-- 
2.20.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] net: dsa: microchip: enable ksz9893 via i2c in the ksz9477 driver
  2020-07-01 11:22 [PATCH] net: dsa: microchip: enable ksz9893 via i2c in the ksz9477 driver Helmut Grohne
@ 2020-07-01 14:19 ` Andrew Lunn
  2020-07-01 15:58 ` Florian Fainelli
  2020-07-02  0:49 ` David Miller
  2 siblings, 0 replies; 4+ messages in thread
From: Andrew Lunn @ 2020-07-01 14:19 UTC (permalink / raw)
  To: Helmut Grohne
  Cc: Woojung Huh, Microchip Linux Driver Support, netdev,
	Vivien Didelot, Florian Fainelli, David S. Miller,
	Jakub Kicinski

On Wed, Jul 01, 2020 at 01:22:20PM +0200, Helmut Grohne wrote:
> The KSZ9893 3-Port Gigabit Ethernet Switch can be controlled via SPI,
> I²C or MDIO (very limited and not supported by this driver). While there
> is already a compatible entry for the SPI bus, it was missing for I²C.
> 
> Signed-off-by: Helmut Grohne <helmut.grohne@intenta.de>

Reviewed-by: Andrew Lunn <andrew@lunn.ch>

    Andrew

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] net: dsa: microchip: enable ksz9893 via i2c in the ksz9477 driver
  2020-07-01 11:22 [PATCH] net: dsa: microchip: enable ksz9893 via i2c in the ksz9477 driver Helmut Grohne
  2020-07-01 14:19 ` Andrew Lunn
@ 2020-07-01 15:58 ` Florian Fainelli
  2020-07-02  0:49 ` David Miller
  2 siblings, 0 replies; 4+ messages in thread
From: Florian Fainelli @ 2020-07-01 15:58 UTC (permalink / raw)
  To: Helmut Grohne, Woojung Huh, Microchip Linux Driver Support, netdev
  Cc: Andrew Lunn, Vivien Didelot, David S. Miller, Jakub Kicinski



On 7/1/2020 4:22 AM, Helmut Grohne wrote:
> The KSZ9893 3-Port Gigabit Ethernet Switch can be controlled via SPI,
> I²C or MDIO (very limited and not supported by this driver). While there
> is already a compatible entry for the SPI bus, it was missing for I²C.
> 
> Signed-off-by: Helmut Grohne <helmut.grohne@intenta.de>

Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
-- 
Florian

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] net: dsa: microchip: enable ksz9893 via i2c in the ksz9477 driver
  2020-07-01 11:22 [PATCH] net: dsa: microchip: enable ksz9893 via i2c in the ksz9477 driver Helmut Grohne
  2020-07-01 14:19 ` Andrew Lunn
  2020-07-01 15:58 ` Florian Fainelli
@ 2020-07-02  0:49 ` David Miller
  2 siblings, 0 replies; 4+ messages in thread
From: David Miller @ 2020-07-02  0:49 UTC (permalink / raw)
  To: helmut.grohne
  Cc: woojung.huh, UNGLinuxDriver, netdev, andrew, vivien.didelot,
	f.fainelli, kuba

From: Helmut Grohne <helmut.grohne@intenta.de>
Date: Wed, 1 Jul 2020 13:22:20 +0200

> The KSZ9893 3-Port Gigabit Ethernet Switch can be controlled via SPI,
> I²C or MDIO (very limited and not supported by this driver). While there
> is already a compatible entry for the SPI bus, it was missing for I²C.
> 
> Signed-off-by: Helmut Grohne <helmut.grohne@intenta.de>

Applied, thank you.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-07-02  0:49 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-01 11:22 [PATCH] net: dsa: microchip: enable ksz9893 via i2c in the ksz9477 driver Helmut Grohne
2020-07-01 14:19 ` Andrew Lunn
2020-07-01 15:58 ` Florian Fainelli
2020-07-02  0:49 ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).