From 7f35a26c74084d29244a032bce9a420b1564c116 Mon Sep 17 00:00:00 2001 From: Max Krummenacher Date: Tue, 23 Jan 2024 16:55:38 +0100 Subject: verdin-am62: riverdi: fix backlight pwm polarity The Riverdi 10" Capacitive Touch display is brightest when the PWM duty cycle is at 100%, i.e. always 1. Thus keep the PWM polarity at normal. That way 0: backlight off, 1: backlight dark, 7: backlight bright. Signed-off-by: Max Krummenacher --- overlays/verdin-am62_panel-cap-touch-10inch-dsi_overlay.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/overlays/verdin-am62_panel-cap-touch-10inch-dsi_overlay.dts b/overlays/verdin-am62_panel-cap-touch-10inch-dsi_overlay.dts index b11c36d..a56e845 100644 --- a/overlays/verdin-am62_panel-cap-touch-10inch-dsi_overlay.dts +++ b/overlays/verdin-am62_panel-cap-touch-10inch-dsi_overlay.dts @@ -28,7 +28,7 @@ enable-gpios = <&main_gpio0 34 GPIO_ACTIVE_HIGH>; power-supply = <®_3v3>; /* Verdin PWM_3_DSI/PWM_3_DSI_LVDS (SODIMM 19) */ - pwms = <&epwm1 0 6666667 PWM_POLARITY_INVERTED>; + pwms = <&epwm1 0 6666667 0>; }; panel-lvds { -- cgit v1.2.3