[PATCH] ARM: dts: stm32: Fix DH PDK2 display PWM channel

Alexandre Torgue alexandre.torgue at st.com
Wed Sep 23 10:32:59 EDT 2020


Hi Marek

On 8/22/20 10:32 PM, Marek Vasut wrote:
> The display PWM channel is number 3 (PWM2 CH4), make it so.
> 
> Signed-off-by: Marek Vasut <marex at denx.de>
> Cc: Alexandre Torgue <alexandre.torgue at st.com>
> Cc: Maxime Coquelin <mcoquelin.stm32 at gmail.com>
> Cc: Patrice Chotard <patrice.chotard at st.com>
> Cc: Patrick Delaunay <patrick.delaunay at st.com>
> Cc: linux-stm32 at st-md-mailman.stormreply.com
> To: linux-arm-kernel at lists.infradead.org
> ---
>   arch/arm/boot/dts/stm32mp15xx-dhcom-pdk2.dtsi | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/arch/arm/boot/dts/stm32mp15xx-dhcom-pdk2.dtsi b/arch/arm/boot/dts/stm32mp15xx-dhcom-pdk2.dtsi
> index 7c4bd615b311..075e2a95713f 100644
> --- a/arch/arm/boot/dts/stm32mp15xx-dhcom-pdk2.dtsi
> +++ b/arch/arm/boot/dts/stm32mp15xx-dhcom-pdk2.dtsi
> @@ -26,7 +26,7 @@ clk_ext_audio_codec: clock-codec {
>   
>   	display_bl: display-bl {
>   		compatible = "pwm-backlight";
> -		pwms = <&pwm2 0 500000 PWM_POLARITY_INVERTED>;
> +		pwms = <&pwm2 3 500000 PWM_POLARITY_INVERTED>;
>   		brightness-levels = <0 16 22 30 40 55 75 102 138 188 255>;
>   		default-brightness-level = <8>;
>   		enable-gpios = <&gpioi 0 GPIO_ACTIVE_HIGH>;
> 


Applied on stm32-next.

Thanks.
Alex



More information about the linux-arm-kernel mailing list