[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20201220224804.GA3107610@lunn.ch>
Date: Sun, 20 Dec 2020 23:48:04 +0100
From: Andrew Lunn <andrew@...n.ch>
To: Lars Povlsen <lars.povlsen@...rochip.com>
Cc: Linus Walleij <linus.walleij@...aro.org>,
devicetree@...r.kernel.org,
Alexandre Belloni <alexandre.belloni@...tlin.com>,
linux-kernel@...r.kernel.org,
Microchip Linux Driver Support <UNGLinuxDriver@...rochip.com>,
linux-gpio@...r.kernel.org,
Andy Shevchenko <andy.shevchenko@...il.com>,
linux-arm-kernel@...ts.infradead.org
Subject: Re: [PATCH v10 3/3] arm64: dts: sparx5: Add SGPIO devices
On Fri, Nov 13, 2020 at 03:51:51PM +0100, Lars Povlsen wrote:
> + led@8 {
> + label = "eth12:green";
> + gpios = <&sgpio_out0 12 0 GPIO_ACTIVE_HIGH>;
> + default-state = "off";
> + };
> + led@9 {
> + label = "eth12:yellow";
> + gpios = <&sgpio_out0 12 1 GPIO_ACTIVE_HIGH>;
> + default-state = "off";
> + };
Hi Lars
I did not see these patches earlier, but i've been looking at the
switch driver patches recently, so went digging.
Can the Ethernet switch itself control these LEDs for indicating
things like packet receive/transmit, link state, and link speed? Or
are they purely software controlled?
Thanks
Andrew
Powered by blists - more mailing lists