From: Christian Marangi <ansuelsmth@gmail.com>
To: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Cc: Andrew Lunn <andrew@lunn.ch>,
Florian Fainelli <f.fainelli@gmail.com>,
Vladimir Oltean <olteanv@gmail.com>,
"David S. Miller" <davem@davemloft.net>,
Eric Dumazet <edumazet@google.com>,
Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
Rob Herring <robh+dt@kernel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
Heiner Kallweit <hkallweit1@gmail.com>,
Russell King <linux@armlinux.org.uk>,
Jonathan Corbet <corbet@lwn.net>,
Gregory Clement <gregory.clement@bootlin.com>,
Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>,
Andy Gross <agross@kernel.org>,
Bjorn Andersson <andersson@kernel.org>,
Konrad Dybcio <konrad.dybcio@linaro.org>,
Pavel Machek <pavel@ucw.cz>, Lee Jones <lee@kernel.org>,
John Crispin <john@phrozen.org>,
netdev@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
linux-arm-msm@vger.kernel.org, linux-leds@vger.kernel.org,
Jonathan McDowell <noodles@earth.li>
Subject: Re: [net-next PATCH v7 13/16] ARM: dts: qcom: ipq8064-rb3011: Add Switch LED for each port
Date: Wed, 19 Apr 2023 16:38:26 +0200 [thread overview]
Message-ID: <643ffce4.050a0220.73dcc.1bec@mx.google.com> (raw)
In-Reply-To: <289b7604-d32d-49d9-8f06-87147d6fd473@linaro.org>
On Wed, Apr 19, 2023 at 02:53:45PM +0200, Krzysztof Kozlowski wrote:
> On 17/04/2023 17:17, Christian Marangi wrote:
> > Add Switch LED for each port for MikroTik RB3011UiAS-RM.
> >
> > MikroTik RB3011UiAS-RM is a 10 port device with 2 qca8337 switch chips
> > connected.
> >
> > It was discovered that in the hardware design all 3 Switch LED trace of
> > the related port is connected to the same LED. This was discovered by
> > setting to 'always on' the related led in the switch regs and noticing
> > that all 3 LED for the specific port (for example for port 1) cause the
> > connected LED for port 1 to turn on. As an extra test we tried enabling
> > 2 different LED for the port resulting in the LED turned off only if
> > every led in the reg was off.
> >
> > Aside from this funny and strange hardware implementation, the device
> > itself have one green LED for each port, resulting in 10 green LED one
> > for each of the 10 supported port.
> >
> > Cc: Jonathan McDowell <noodles@earth.li>
> > Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
> > ---
> > arch/arm/boot/dts/qcom-ipq8064-rb3011.dts | 120 ++++++++++++++++++++++
>
> Please do not send the DTS patches to the net-next, but to the Qualcomm
> SoC maintainers. The DTS must not be mixed with driver code.
>
Hi,
sorry for the mess, it was asked to give an user of the LED feature for
qca8k so I was a bit confused on where to include it and at the end I
decided to put it in this series.
What was the correct way? 2 different series and reference the DT one in
the net-next? (or not targetting net-next at all?)
--
Ansuel
WARNING: multiple messages have this Message-ID (diff)
From: Christian Marangi <ansuelsmth@gmail.com>
To: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Cc: Andrew Lunn <andrew@lunn.ch>,
Florian Fainelli <f.fainelli@gmail.com>,
Vladimir Oltean <olteanv@gmail.com>,
"David S. Miller" <davem@davemloft.net>,
Eric Dumazet <edumazet@google.com>,
Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
Rob Herring <robh+dt@kernel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
Heiner Kallweit <hkallweit1@gmail.com>,
Russell King <linux@armlinux.org.uk>,
Jonathan Corbet <corbet@lwn.net>,
Gregory Clement <gregory.clement@bootlin.com>,
Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>,
Andy Gross <agross@kernel.org>,
Bjorn Andersson <andersson@kernel.org>,
Konrad Dybcio <konrad.dybcio@linaro.org>,
Pavel Machek <pavel@ucw.cz>, Lee Jones <lee@kernel.org>,
John Crispin <john@phrozen.org>,
netdev@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
linux-arm-msm@vger.kernel.org, linux-leds@vger.kernel.org,
Jonathan McDowell <noodles@earth.li>
Subject: Re: [net-next PATCH v7 13/16] ARM: dts: qcom: ipq8064-rb3011: Add Switch LED for each port
Date: Wed, 19 Apr 2023 16:38:26 +0200 [thread overview]
Message-ID: <643ffce4.050a0220.73dcc.1bec@mx.google.com> (raw)
In-Reply-To: <289b7604-d32d-49d9-8f06-87147d6fd473@linaro.org>
On Wed, Apr 19, 2023 at 02:53:45PM +0200, Krzysztof Kozlowski wrote:
> On 17/04/2023 17:17, Christian Marangi wrote:
> > Add Switch LED for each port for MikroTik RB3011UiAS-RM.
> >
> > MikroTik RB3011UiAS-RM is a 10 port device with 2 qca8337 switch chips
> > connected.
> >
> > It was discovered that in the hardware design all 3 Switch LED trace of
> > the related port is connected to the same LED. This was discovered by
> > setting to 'always on' the related led in the switch regs and noticing
> > that all 3 LED for the specific port (for example for port 1) cause the
> > connected LED for port 1 to turn on. As an extra test we tried enabling
> > 2 different LED for the port resulting in the LED turned off only if
> > every led in the reg was off.
> >
> > Aside from this funny and strange hardware implementation, the device
> > itself have one green LED for each port, resulting in 10 green LED one
> > for each of the 10 supported port.
> >
> > Cc: Jonathan McDowell <noodles@earth.li>
> > Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
> > ---
> > arch/arm/boot/dts/qcom-ipq8064-rb3011.dts | 120 ++++++++++++++++++++++
>
> Please do not send the DTS patches to the net-next, but to the Qualcomm
> SoC maintainers. The DTS must not be mixed with driver code.
>
Hi,
sorry for the mess, it was asked to give an user of the LED feature for
qca8k so I was a bit confused on where to include it and at the end I
decided to put it in this series.
What was the correct way? 2 different series and reference the DT one in
the net-next? (or not targetting net-next at all?)
--
Ansuel
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
next prev parent reply other threads:[~2023-04-19 14:38 UTC|newest]
Thread overview: 52+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-04-17 15:17 [net-next PATCH v7 00/16] net: Add basic LED support for switch/phy Christian Marangi
2023-04-17 15:17 ` Christian Marangi
2023-04-17 15:17 ` [net-next PATCH v7 01/16] net: dsa: qca8k: move qca8k_port_to_phy() to header Christian Marangi
2023-04-17 15:17 ` Christian Marangi
2023-04-17 15:17 ` [net-next PATCH v7 02/16] net: dsa: qca8k: add LEDs basic support Christian Marangi
2023-04-17 15:17 ` Christian Marangi
2023-04-17 18:28 ` Florian Fainelli
2023-04-17 18:28 ` Florian Fainelli
2023-04-17 15:17 ` [net-next PATCH v7 03/16] net: dsa: qca8k: add LEDs blink_set() support Christian Marangi
2023-04-17 15:17 ` Christian Marangi
2023-04-17 15:17 ` [net-next PATCH v7 04/16] leds: Provide stubs for when CLASS_LED & NEW_LEDS are disabled Christian Marangi
2023-04-17 15:17 ` Christian Marangi
2023-04-17 15:17 ` [net-next PATCH v7 05/16] net: phy: Add a binding for PHY LEDs Christian Marangi
2023-04-17 15:17 ` Christian Marangi
2023-04-17 18:26 ` Florian Fainelli
2023-04-17 18:26 ` Florian Fainelli
2023-04-17 15:17 ` [net-next PATCH v7 06/16] net: phy: phy_device: Call into the PHY driver to set LED brightness Christian Marangi
2023-04-17 15:17 ` Christian Marangi
2023-04-17 15:17 ` [net-next PATCH v7 07/16] net: phy: marvell: Add software control of the LEDs Christian Marangi
2023-04-17 15:17 ` Christian Marangi
2023-04-17 15:17 ` [net-next PATCH v7 08/16] net: phy: phy_device: Call into the PHY driver to set LED blinking Christian Marangi
2023-04-17 15:17 ` Christian Marangi
2023-04-17 15:17 ` [net-next PATCH v7 09/16] net: phy: marvell: Implement led_blink_set() Christian Marangi
2023-04-17 15:17 ` Christian Marangi
2023-04-17 15:17 ` [net-next PATCH v7 10/16] dt-bindings: net: ethernet-controller: Document support for LEDs node Christian Marangi
2023-04-17 15:17 ` Christian Marangi
2023-04-17 15:17 ` [net-next PATCH v7 11/16] dt-bindings: net: dsa: qca8k: add LEDs definition example Christian Marangi
2023-04-17 15:17 ` Christian Marangi
2023-04-17 15:17 ` [net-next PATCH v7 12/16] ARM: dts: qcom: ipq8064-rb3011: Drop unevaluated properties in switch nodes Christian Marangi
2023-04-17 15:17 ` Christian Marangi
2023-04-17 15:17 ` [net-next PATCH v7 13/16] ARM: dts: qcom: ipq8064-rb3011: Add Switch LED for each port Christian Marangi
2023-04-17 15:17 ` Christian Marangi
2023-04-19 12:53 ` Krzysztof Kozlowski
2023-04-19 12:53 ` Krzysztof Kozlowski
2023-04-19 14:38 ` Christian Marangi [this message]
2023-04-19 14:38 ` Christian Marangi
2023-04-19 18:15 ` Krzysztof Kozlowski
2023-04-19 18:15 ` Krzysztof Kozlowski
2023-04-17 15:17 ` [net-next PATCH v7 14/16] dt-bindings: net: phy: Document support for LEDs node Christian Marangi
2023-04-17 15:17 ` Christian Marangi
2023-04-17 15:17 ` [net-next PATCH v7 15/16] arm: mvebu: dt: Add PHY LED support for 370-rd WAN port Christian Marangi
2023-04-17 15:17 ` Christian Marangi
2023-04-17 15:17 ` [net-next PATCH v7 16/16] Documentation: LEDs: Describe good names for network LEDs Christian Marangi
2023-04-17 15:17 ` Christian Marangi
2023-04-19 4:27 ` [net-next PATCH v7 00/16] net: Add basic LED support for switch/phy Jakub Kicinski
2023-04-19 4:27 ` Jakub Kicinski
2023-04-19 12:20 ` Andrew Lunn
2023-04-19 12:20 ` Andrew Lunn
2023-04-19 12:21 ` Andrew Lunn
2023-04-19 12:21 ` Andrew Lunn
2023-04-19 12:00 ` patchwork-bot+netdevbpf
2023-04-19 12:00 ` patchwork-bot+netdevbpf
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=643ffce4.050a0220.73dcc.1bec@mx.google.com \
--to=ansuelsmth@gmail.com \
--cc=agross@kernel.org \
--cc=andersson@kernel.org \
--cc=andrew@lunn.ch \
--cc=corbet@lwn.net \
--cc=davem@davemloft.net \
--cc=devicetree@vger.kernel.org \
--cc=edumazet@google.com \
--cc=f.fainelli@gmail.com \
--cc=gregory.clement@bootlin.com \
--cc=hkallweit1@gmail.com \
--cc=john@phrozen.org \
--cc=konrad.dybcio@linaro.org \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=krzysztof.kozlowski@linaro.org \
--cc=kuba@kernel.org \
--cc=lee@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-doc@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-leds@vger.kernel.org \
--cc=linux@armlinux.org.uk \
--cc=netdev@vger.kernel.org \
--cc=noodles@earth.li \
--cc=olteanv@gmail.com \
--cc=pabeni@redhat.com \
--cc=pavel@ucw.cz \
--cc=robh+dt@kernel.org \
--cc=sebastian.hesselbarth@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.