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

Matthias Brugger matthias.bgg at gmail.com
Fri Nov 19 02:35:07 PST 2021



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 at 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";
>   };
>   
> 



More information about the Linux-mediatek mailing list