Subject: Re: [PATCH] ARM: dts: imx6q-dhcom: Add DH 560-200 display unit support

From: Christoph Niedermaier <[email-masked]>
Date: Tue, 10 Mar 2020 09:08:51 +0000

Hi Marek,

From: linux-arm-kernel [mailto:[email-masked]] On Behalf Of Marek Vasut
Sent: Monday, March 9, 2020 9:08 PM

> +	display_bl: display-bl {
> +		compatible = "pwm-backlight";
> +		pwms = <&pwm1 0 50000 PWM_POLARITY_INVERTED>;
> +		brightness-levels = <0 16 22 30 40 55 75 102 138 188 255>;
> +		default-brightness-level = <8>;
> +		enable-gpios = <&gpio3 27 GPIO_ACTIVE_HIGH>;
> +		status = "okay";
> +	};
...
> +&pwm1 {
> +	pinctrl-names = "default";
> +	pinctrl-0 = <&pinctrl_pwm1>;
> +	status = "okay";
> +};

To get PWM_POLARITY_INVERTED, shouldn't we add the following line to pwm1:
#pwm-cells = <3>;

Regards,
Christoph

_______________________________________________
linux-arm-kernel mailing list
[email-masked]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel