[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20230313092815.496442-1-michael@walle.cc>
Date: Mon, 13 Mar 2023 10:28:15 +0100
From: Michael Walle <michael@...le.cc>
To: andrew@...n.ch, Linus Walleij <linus.walleij@...aro.org>
Cc: Arun.Ramadoss@...rochip.com, alexander.stein@...tq-group.com,
ansuelsmth@...il.com, bagasdotme@...il.com, corbet@....net,
davem@...emloft.net, devicetree@...r.kernel.org,
edumazet@...gle.com, f.fainelli@...il.com, hdegoede@...hat.com,
hkallweit1@...il.com, jacek.anaszewski@...il.com, john@...ozen.org,
krzysztof.kozlowski+dt@...aro.org, kuba@...nel.org, lee@...nel.org,
linux-doc@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-leds@...r.kernel.org, linux@...linux.org.uk,
netdev@...r.kernel.org, olteanv@...il.com, pabeni@...hat.com,
pavel@....cz, rasmus.villemoes@...vas.dk,
rmk+kernel@...linux.org.uk, robh+dt@...nel.org,
tharvey@...eworks.com, Michael Walle <michael@...le.cc>
Subject: Re: [PATCH v8 00/13] Adds support for PHY LEDs with offload triggers
> > I think there will be a day when a switch without LED controller appears,
> > but the system has a few LEDs for the ports connected to an
> > arbitrary GPIO controller, and then we will need this. But we have
> > not seen that yet :)
>
> The microchip sparx5 might be going in that direction. It has what
> looks like a reasonably generic sgpio controller:
> drivers/pinctrl/pinctrl-microchip-sgpio.c
That gpio controller supports both, some kind of hardware controlled
and pure software controlled mode. AFAIK the driver only supports
software controlled mode (yet?). In any case, our board
(arch/arm/boot/dts/lan966x-kontron-kswitch-d10-mmt.dtsi) is broken in
a way that we are forced to use the software controlled mode anyway.
Therefore, there is already such a board ;)
-michael
Powered by blists - more mailing lists