[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20240103103351.1188835-1-tobias@waldekranz.com>
Date: Wed, 3 Jan 2024 11:33:49 +0100
From: Tobias Waldekranz <tobias@...dekranz.com>
To: davem@...emloft.net,
kuba@...nel.org
Cc: andrew@...n.ch,
f.fainelli@...il.com,
olteanv@...il.com,
netdev@...r.kernel.org
Subject: [PATCH net-next 0/2] net: dsa: mv88e6xxx: Add LED support for 6393X
This series adds support for the port LEDs on 6393X (Amethyst).
First, add the generic infrastructure needed by all chips. The idea is
that adding support for more chips in the future will only require
adding a new implementation of mv88e6xxx_led_ops.
Then, provide the first concrete implementation for 6393X.
Tobias Waldekranz (2):
net: dsa: mv88e6xxx: Add LED infrastructure
net: dsa: mv88e6xxx: Add LED support for 6393X
drivers/net/dsa/mv88e6xxx/Makefile | 1 +
drivers/net/dsa/mv88e6xxx/chip.c | 6 +
drivers/net/dsa/mv88e6xxx/chip.h | 4 +
drivers/net/dsa/mv88e6xxx/leds.c | 422 +++++++++++++++++++++++++++++
drivers/net/dsa/mv88e6xxx/leds.h | 14 +
drivers/net/dsa/mv88e6xxx/port.c | 33 +++
drivers/net/dsa/mv88e6xxx/port.h | 7 +
7 files changed, 487 insertions(+)
create mode 100644 drivers/net/dsa/mv88e6xxx/leds.c
create mode 100644 drivers/net/dsa/mv88e6xxx/leds.h
--
2.34.1
Powered by blists - more mailing lists