diff options
| author | Emanuele Ghidoli <emanuele.ghidoli@toradex.com> | 2025-09-25 13:32:29 +0200 |
|---|---|---|
| committer | Emanuele Ghidoli <emanuele.ghidoli@toradex.com> | 2025-09-26 15:50:49 +0200 |
| commit | c879a43def8b8d164edc0bc0b1d590de4fc73660 (patch) | |
| tree | 4605777864024c5638a7dc5cfa86073dce984b58 | |
| parent | b4f090d50b9fc18d524128ba4a734bf7d05a8624 (diff) | |
verdin-am62: Fix DSI display overlays pin conflict
Connector pin 46 on the Toradex DSI Display Adapter is not used nor
connected to anything.
On the Toradex DSI to LVDS adapter, the same pin is used to enable
the backlight.
The current DSI display overlays configure this pin (I2S_2_D_OUT)
as an output. This is not an issue when the overlays are used with
the Development Board + Toradex DSI Display Adapter. However, when used
with the Ivy carrier board, where a MIPI DSI display connector is
present, the pin is connected to LEDs.GPIO7 (LED D9 Blue),
causing a conflict. The first peripheral to configure the pin succeeds,
while the other fails.
The errors prints are:
pinctrl-single f4000.pinctrl: pin PIN35 already requested by backlight; cannot claim for leds
pinctrl-single f4000.pinctrl: pin-35 (leds) status -22
pinctrl-single f4000.pinctrl: could not request pin 35 (PIN35) from group ivy-leds-default-pins on device pinctrl-single
leds-gpio leds: Error applying setting, reverse things back
Remove the pin configuration from the DSI display overlays to match
the actual hardware setup on both the DSI Display Adapter and the
Ivy carrier board to avoid this conflict.
Related-to: ELB-6595
Signed-off-by: Emanuele Ghidoli <emanuele.ghidoli@toradex.com>
(cherry picked from commit 8d9b21f0ecb03f9138acc418d1a62ed29a7a0eba)
| -rw-r--r-- | overlays/verdin-am62_panel-cap-touch-10inch-dsi_overlay.dts | 4 | ||||
| -rw-r--r-- | overlays/verdin-am62_panel-cap-touch-7inch-dsi_overlay.dts | 4 |
2 files changed, 0 insertions, 8 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 1b97919..4ac5ea5 100644 --- a/overlays/verdin-am62_panel-cap-touch-10inch-dsi_overlay.dts +++ b/overlays/verdin-am62_panel-cap-touch-10inch-dsi_overlay.dts @@ -20,12 +20,8 @@ &{/} { backlight: backlight { compatible = "pwm-backlight"; - pinctrl-names = "default"; - pinctrl-0 = <&pinctrl_i2s_2_d_out_gpio>; brightness-levels = <0 45 63 88 119 158 203 255>; default-brightness-level = <4>; - /* Verdin DSI_1_BKL_EN_LVDS (shared with I2S_2_D_OUT from MCASP1, SODIMM 46) */ - 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 0>; diff --git a/overlays/verdin-am62_panel-cap-touch-7inch-dsi_overlay.dts b/overlays/verdin-am62_panel-cap-touch-7inch-dsi_overlay.dts index 70955d2..9c1bfd0 100644 --- a/overlays/verdin-am62_panel-cap-touch-7inch-dsi_overlay.dts +++ b/overlays/verdin-am62_panel-cap-touch-7inch-dsi_overlay.dts @@ -20,12 +20,8 @@ &{/} { backlight: backlight { compatible = "pwm-backlight"; - pinctrl-names = "default"; - pinctrl-0 = <&pinctrl_i2s_2_d_out_gpio>; brightness-levels = <0 45 63 88 119 158 203 255>; default-brightness-level = <4>; - /* Verdin DSI_1_BKL_EN_LVDS (shared with I2S_2_D_OUT from MCASP1, SODIMM 46) */ - 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 0>; |
