[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <b493bce5-a8a3-4dc1-b480-537243f2785d@lunn.ch>
Date: Sat, 26 Aug 2023 05:29:33 +0200
From: Andrew Lunn <andrew@...n.ch>
To: Florian Fainelli <florian.fainelli@...adcom.com>
Cc: linux-arm-kernel@...ts.infradead.org,
Rob Herring <robh+dt@...nel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>,
Conor Dooley <conor+dt@...nel.org>,
Broadcom internal kernel review list
<bcm-kernel-feedback-list@...adcom.com>,
Andre Przywara <andre.przywara@....com>,
Stefan Wahren <stefan.wahren@...e.com>,
Enric Balletbo i Serra <eballetbo@...il.com>,
"open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS"
<devicetree@...r.kernel.org>,
"moderated list:BROADCOM BCM2711/BCM2835 ARM ARCHITECTURE"
<linux-rpi-kernel@...ts.infradead.org>,
open list <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] arm: dts: bcm2711: Describe Ethernet LEDs
> So in this case, the amber LED indicates the link activity, and the green
> LED indicates the link status. AFAICT we still do not have function names
> defined for those, the closest I can think is to do:
>
> function = LED_FUNCTION_ACTIVITY for the amber LED
>
> and for the green LED:
>
> function = (LED_FUNCTION_RX | LED_FUNCTION_TX)
>
> is that acceptable?
I have a WIP DT binding for exact meaning of the LED.
https://github.com/lunn/linux v6.5-rc4-net-next-led-bindings
It is too late for this merge window, so i will likely post it as an
RFC in a weeks time.
We probably need a discussion, LED_FUNCTION_LAN gives the high level
description, and contributes to the naming, and then this binding
gives the specific meaning of the LED? Or do we want to define
LED_FUNCTION_* for details?
Andrew
Powered by blists - more mailing lists