[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ABB74D9D1E3774F3+5a8c0d7d-fb7f-47c0-8308-e2b69f0628c1@radxa.com>
Date: Mon, 18 Aug 2025 16:26:18 +0900
From: FUKAUMI Naoki <naoki@...xa.com>
To: Chukun Pan <amadeus@....edu.cn>, Heiko Stuebner <heiko@...ech.de>
Cc: Conor Dooley <conor+dt@...nel.org>,
Krzysztof Kozlowski <krzk+dt@...nel.org>, Rob Herring <robh@...nel.org>,
linux-arm-kernel@...ts.infradead.org, linux-rockchip@...ts.infradead.org,
linux-kernel@...r.kernel.org, devicetree@...r.kernel.org
Subject: Re: [PATCH v2 3/3] arm64: dts: rockchip: update pinctrl names for
Radxa E52C
Hi Chukun,
On 8/16/25 17:00, Chukun Pan wrote:
> Updated the pinctrl names of the user key and power LED according
> to the schematic. Also updated the nodenames of other pinctrls.
>
> Signed-off-by: Chukun Pan <amadeus@....edu.cn>
> ---
> arch/arm64/boot/dts/rockchip/rk3582-radxa-e52c.dts | 14 +++++++-------
> 1 file changed, 7 insertions(+), 7 deletions(-)
>
> diff --git a/arch/arm64/boot/dts/rockchip/rk3582-radxa-e52c.dts b/arch/arm64/boot/dts/rockchip/rk3582-radxa-e52c.dts
> index 4a3ae95f122f..f93b129a0032 100644
> --- a/arch/arm64/boot/dts/rockchip/rk3582-radxa-e52c.dts
> +++ b/arch/arm64/boot/dts/rockchip/rk3582-radxa-e52c.dts
> @@ -42,7 +42,7 @@ button-0 {
> keys-1 {
> compatible = "gpio-keys";
> pinctrl-names = "default";
> - pinctrl-0 = <&btn_0>;
> + pinctrl-0 = <&pwm15_ir_m1>;
>
> button-1 {
> label = "User";
> @@ -55,7 +55,7 @@ button-1 {
> leds-0 {
> compatible = "gpio-leds";
> pinctrl-names = "default";
> - pinctrl-0 = <&led_0>;
> + pinctrl-0 = <&power_led>;
>
> led-0 {
> color = <LED_COLOR_ID_GREEN>;
> @@ -306,13 +306,13 @@ &pcie2x1l2 {
>
> &pinctrl {
> keys {
> - btn_0: button-0 {
> + pwm15_ir_m1: pwm15-ir-m1 {
"The name of a node should be somewhat generic".
https://github.com/devicetree-org/devicetree-specification/blob/v0.4/source/chapter2-devicetree-basics.rst?plain=1#L193
https://lore.kernel.org/all/20241216113052.15696-1-naoki@radxa.com/T/#u
(I don't understand why this only applies to me...)
Best regards,
--
FUKAUMI Naoki
Radxa Computer (Shenzhen) Co., Ltd.
> rockchip,pins = <4 RK_PB3 RK_FUNC_GPIO &pcfg_pull_none>;
> };
> };
>
> leds {
> - led_0: led-0 {
> + power_led: power-led {
> rockchip,pins = <3 RK_PC4 RK_FUNC_GPIO &pcfg_pull_none>;
> };
> };
> @@ -328,19 +328,19 @@ pcie20x1_2_perstn_m0: pcie-2 {
> };
>
> regulators {
> - vcc_5v0_pwren_h: regulator-5v0-1 {
> + vcc_5v0_pwren_h: vcc-5v0-pwren-h {
> rockchip,pins = <4 RK_PA3 RK_FUNC_GPIO &pcfg_pull_none>;
> };
> };
>
> rtc {
> - rtc_int_l: rtc-0 {
> + rtc_int_l: rtc-int-l {
> rockchip,pins = <0 RK_PB0 RK_FUNC_GPIO &pcfg_pull_none>;
> };
> };
>
> usb {
> - usb_otg_pwren_h: regulator-5v0-0 {
> + usb_otg_pwren_h: usb-otg-pwren-h {
> rockchip,pins = <0 RK_PD4 RK_FUNC_GPIO &pcfg_pull_none>;
> };
> };
Powered by blists - more mailing lists