summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Krummenacher <max.krummenacher@toradex.com>2024-01-23 16:55:38 +0100
committerMax Krummenacher <max.krummenacher@toradex.com>2024-01-24 11:02:03 +0100
commit82fcaa544ed92c50c7d8ac15ddb0bf990cc3e4ba (patch)
tree88397f0cc9990dc6b44a880d1d56b52ae72f8b9a
parentc5271d37e9e77c5461ab1f12d880906fb76640c6 (diff)
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 <max.krummenacher@toradex.com>
-rw-r--r--overlays/verdin-am62_panel-cap-touch-10inch-dsi_overlay.dts2
1 files changed, 1 insertions, 1 deletions
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 = <&reg_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 {