From: Hongyang Zhao <hongyang.zhao@thundersoft.com>
To: dmitry.baryshkov@oss.qualcomm.com
Cc: andersson@kernel.org, casey.connolly@linaro.org,
christopher.obbard@linaro.org, hongyang.zhao@thundersoft.com,
linux-arm-msm@vger.kernel.org, loic.minier@oss.qualcomm.com,
rosh@debian.org
Subject: Re: [PATCH v5 1/2] arm64: dts: qcom: rubikpi3: Add qcs6490-rubikpi3 board dts
Date: Mon, 3 Nov 2025 12:20:04 +0800 [thread overview]
Message-ID: <20251103042004.24260-1-hongyang.zhao@thundersoft.com> (raw)
In-Reply-To: <sokypdm557dik57ayif4kpgd3vk5xgvzpoaarf73barl7w3w3o@ed7oxnbhq2gb>
> On Sun, Nov 02, 2025 at 11:09:00AM +0800, Hongyang Zhao wrote:
> > > On Fri, Oct 31, 2025 at 05:27:27PM +0800, Hongyang Zhao wrote:
> > > > > On Sat, Oct 25, 2025 at 08:27:22PM +0800, Hongyang Zhao wrote:
> > > > > > Add DTS for Thundercomm qcs6490-rubikpi3 board which uses
> > > > > > QCS6490 SoC.
> > > > > >
> > > > > > Works:
> > > > > > - Bluetooth (AP6256)
> > > > > > - Wi-Fi (AP6256)
> > > > > > - Ethernet (AX88179B connected to UPD720201)
> > > > > > - FAN
> > > > > > - Two USB Type-A 3.0 ports (UPD720201 connected to PCIe0)
> > > > > > - M.2 M-Key 2280 PCIe 3.0
> > > > > > - RTC
> > > > > > - USB Type-C
> > > > > > - USB Type-A 2.0 port
> > > > > > - 40PIN: I2C x1, UART x1
> > > > > >
> > > > > > Signed-off-by: Hongyang Zhao <hongyang.zhao@thundersoft.com>
> > > > > > Reviewed-by: Roger Shimizu <rosh@debian.org>
> > > > > > Cc: Casey Connolly <casey.connolly@linaro.org>
> > > > > > Cc: Christopher Obbard <christopher.obbard@linaro.org>
> > > > > > Cc: Loic Minier <loic.minier@oss.qualcomm.com>
> > > > > > ---
> > > > > > arch/arm64/boot/dts/qcom/Makefile | 1 +
> > > > > > .../dts/qcom/qcs6490-thundercomm-rubikpi3.dts | 1390 +++++++++++++++++
> > > > > > 2 files changed, 1391 insertions(+)
> > > > > > create mode 100644 arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts
> > > > > >
> > > > > > + vreg_lt9611_3p3: vreg_lt9611_3p3 {
> > > > >
> > > > > regulator-foo-bar-baz, please. This way VPH PWR doesn't stand out.
> > > >
> > > > Understood, I will check the entire device tree and change:
> > > > vreg_lt9611_3v3: regulator-lt9611-3v3
> > > > vreg_m2_1v8: regulator-m2-1v8
> > > > vreg_sdio_wifi_1v8: regulator-wifi-1v8
> > > > ...
> > > >
> > > > > > +
> > > > > > + vph_pwr: vph-pwr-regulator {
> > > > >
> > > > > Otherwise you currently stuffed it in the middle of other regulators,
> > > > > although it doesn't belong here.
> > > >
> > > > Understood, I will move vph-pwr-regulator after usb1-sbu-mux.
> > >
> > > I hope, you are talking about regulator-vph-pwr now.
> >
> > Got it,
> > I will change it to regulator-vph-pwr and put it before all regulators:
> >
> > reserved-memory { ... }
> > vph_pwr: regulator-vph-pwr { ... }
> > vreg_lt9611_3v3: regulator-lt9611-3v3 { ... }
>
> Why?? What is the sort order?
>
Sorry, the sorting was incorrect.
I will correct it according to the alphabetical order of the node names:
fan0: pwm-fan { ... }
vreg_eth_1v8: regulator-eth-1v8 { ... }
vreg_lt9611_3v3: regulator-lt9611-3v3 { ... }
vreg_m2_1v8: regulator-m2-1v8 { ... }
vreg_usbhub_pwr_1v8: regulator-usbhub-pwr-1v8 { ... }
vreg_usbhub_rest_1v8: regulator-usbhub-rest-1v8 { ... }
vph_pwr: regulator-vph-pwr { ... }
vreg_wifi_1v8: regulator-wifi-1v8 { ... }
reserved-memory { ... }
> > [...]
> >
> > >
> > > > > > +
> > > > > > + led@1 {
> > > > > > + reg = <1>;
> > > > > > + color = <LED_COLOR_ID_GREEN>;
> > > > > > + function = LED_FUNCTION_INDICATOR;
> > > > > > + function-enumerator = <3>;
> > > > > > + linux,default-trigger = "none";
> > > > > > + default-state = "off";
> > > > > > + panic-indicator;
> > > > > > + label = "red";
> > > > >
> > > > > So, is it "red" or LED_COLOR_ID_GREEN?
> > > >
> > > > This should be changed to:
> > > > color = <LED_COLOR_ID_RED>;
> > >
> > > So, what is the actual LED colour? Also, is it a single multi-colour LED
> > > or several separate LEDs?
> >
> > The actual color is the same as the label attribute.
> >
> > It's actually an LED package that combines three LEDs side-by-side.
> > Our hardware colleagues thought it was three separate LEDs.
> > I've uploaded a photo of the LEDs to Github:
> > https://hongyang-rp.github.io
>
> Then please use the the multicolour or rgb led to describe it.
>
Understood, I will change it to:
&pm8350c_pwm {
status = "okay";
multi-led {
color = <LED_COLOR_ID_RGB>;
function = LED_FUNCTION_INDICATOR;
#address-cells = <1>;
#size-cells = <0>;
led@1 {
reg = <1>;
color = <LED_COLOR_ID_RED>;
};
led@2 {
reg = <2>;
color = <LED_COLOR_ID_GREEN>;
};
led@3 {
reg = <3>;
color = <LED_COLOR_ID_BLUE>;
};
};
};
> >
> > >
> > > >
> > > > >
> > > > > > + };
> > > > > > +
> > > > > > + led@2 {
> > > > > > + reg = <2>;
> > > > > > + color = <LED_COLOR_ID_GREEN>;
> > > > > > + function = LED_FUNCTION_INDICATOR;
> > > > > > + function-enumerator = <2>;
> > > > > > + linux,default-trigger = "none";
> > > > > > + default-state = "off";
> > > > > > + label = "green";
> > > > > > + };
> > > > > > +
> > > > > > + led@3 {
> > > > > > + reg = <3>;
> > > > > > + color = <LED_COLOR_ID_GREEN>;
> > > > > > + function = LED_FUNCTION_INDICATOR;
> > > > > > + function-enumerator = <1>;
> > > > > > + linux,default-trigger = "none";
> > > > > > + default-state = "off";
> > > > > > + label = "blue";
> > > > >
> > > > > Likewise, why is this blue?
> > > >
> > > > This should be changed to:
> > > > color = <LED_COLOR_ID_BLUE>;
> > > >
> > > > >
> > > > > > + };
> > > > > > +};
> > > > > > +
> >
---
Thank you for the review!
Hongyang
next prev parent reply other threads:[~2025-11-03 6:42 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-10-25 12:27 [PATCH v5 0/2] arm64: dts: qcom: rubikpi3: Add qcs6490-rubikpi3 board dts Hongyang Zhao
2025-10-25 12:27 ` [PATCH v5 1/2] " Hongyang Zhao
2025-10-27 14:51 ` Dmitry Baryshkov
2025-10-31 9:27 ` Hongyang Zhao
2025-11-01 8:37 ` Dmitry Baryshkov
2025-11-02 3:09 ` Hongyang Zhao
2025-11-02 22:13 ` Dmitry Baryshkov
2025-11-03 4:20 ` Hongyang Zhao [this message]
2025-11-03 11:57 ` Konrad Dybcio
2025-11-03 12:33 ` Hongyang Zhao
2025-11-03 12:53 ` Konrad Dybcio
2025-10-25 12:27 ` [PATCH v5 2/2] dt-bindings: arm: qcom: rubikpi3: document rubikpi3 board binding Hongyang Zhao
2025-10-26 9:05 ` Krzysztof Kozlowski
2025-10-30 2:33 ` [PATCH v5 2/2] arm64: dts: qcom: rubikpi3: Add qcs6490-rubikpi3 board dts Hongyang Zhao
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=20251103042004.24260-1-hongyang.zhao@thundersoft.com \
--to=hongyang.zhao@thundersoft.com \
--cc=andersson@kernel.org \
--cc=casey.connolly@linaro.org \
--cc=christopher.obbard@linaro.org \
--cc=dmitry.baryshkov@oss.qualcomm.com \
--cc=linux-arm-msm@vger.kernel.org \
--cc=loic.minier@oss.qualcomm.com \
--cc=rosh@debian.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).