diff mbox series

[1/2] arm64: dts: mediatek: mt8173-elm: Move pwm pinctrl to pwm0 node

Message ID 20211102144224.457446-1-angelogioacchino.delregno@collabora.com (mailing list archive)
State New, archived
Headers show
Series [1/2] arm64: dts: mediatek: mt8173-elm: Move pwm pinctrl to pwm0 node | expand

Commit Message

AngeloGioacchino Del Regno Nov. 2, 2021, 2:42 p.m. UTC
The PWM pinctrl belongs to the PWM0 node, as it's strictly pwm related.

Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
---
 arch/arm64/boot/dts/mediatek/mt8173-elm.dtsi | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Matthias Brugger Nov. 19, 2021, 10:35 a.m. UTC | #1
On 02/11/2021 15:42, AngeloGioacchino Del Regno wrote:
> The PWM pinctrl belongs to the PWM0 node, as it's strictly pwm related.
> 
> Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>

both patches applied to v5.16-next/dts64

thanks!

> ---
>   arch/arm64/boot/dts/mediatek/mt8173-elm.dtsi | 4 ++--
>   1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/arch/arm64/boot/dts/mediatek/mt8173-elm.dtsi b/arch/arm64/boot/dts/mediatek/mt8173-elm.dtsi
> index e666ebb28980..f292ca459a9a 100644
> --- a/arch/arm64/boot/dts/mediatek/mt8173-elm.dtsi
> +++ b/arch/arm64/boot/dts/mediatek/mt8173-elm.dtsi
> @@ -27,8 +27,6 @@ backlight: backlight {
>   		power-supply = <&bl_fixed_reg>;
>   		enable-gpios = <&pio 95 GPIO_ACTIVE_HIGH>;
>   
> -		pinctrl-names = "default";
> -		pinctrl-0 = <&disp_pwm0_pins>;
>   		status = "okay";
>   	};
>   
> @@ -901,6 +899,8 @@ pins1 {
>   };
>   
>   &pwm0 {
> +	pinctrl-names = "default";
> +	pinctrl-0 = <&disp_pwm0_pins>;
>   	status = "okay";
>   };
>   
>
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/mediatek/mt8173-elm.dtsi b/arch/arm64/boot/dts/mediatek/mt8173-elm.dtsi
index e666ebb28980..f292ca459a9a 100644
--- a/arch/arm64/boot/dts/mediatek/mt8173-elm.dtsi
+++ b/arch/arm64/boot/dts/mediatek/mt8173-elm.dtsi
@@ -27,8 +27,6 @@  backlight: backlight {
 		power-supply = <&bl_fixed_reg>;
 		enable-gpios = <&pio 95 GPIO_ACTIVE_HIGH>;
 
-		pinctrl-names = "default";
-		pinctrl-0 = <&disp_pwm0_pins>;
 		status = "okay";
 	};
 
@@ -901,6 +899,8 @@  pins1 {
 };
 
 &pwm0 {
+	pinctrl-names = "default";
+	pinctrl-0 = <&disp_pwm0_pins>;
 	status = "okay";
 };