diff options
author | Oleksandr Suvorov <oleksandr.suvorov@toradex.com> | 2020-09-03 16:24:37 +0300 |
---|---|---|
committer | Oleksandr Suvorov <oleksandr.suvorov@toradex.com> | 2020-09-09 18:39:59 +0300 |
commit | 19d92e14a7820a4e106180d4c1c6ff9e9a28603d (patch) | |
tree | effd61ac5a070a5ecaac17bce1cd50992a27ddf3 /overlays/colibri-imx8x_parallel-rgb_overlay.dts | |
parent | 0ea88c51a3c64708f15d479a5988ad4c18a6a53a (diff) |
colibri-imx8x: move lcdif and panel linkage to overlay
LCDIF interface, backlight and DPI panel are disabled by default in
toradex_5.4-2.1.x-imx kernel. Revert overlay to enable lcdif interface,
backlight and panel-dpi.
Related-to: ELB-2907
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
Diffstat (limited to 'overlays/colibri-imx8x_parallel-rgb_overlay.dts')
-rw-r--r-- | overlays/colibri-imx8x_parallel-rgb_overlay.dts | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/overlays/colibri-imx8x_parallel-rgb_overlay.dts b/overlays/colibri-imx8x_parallel-rgb_overlay.dts new file mode 100644 index 0000000..b996658 --- /dev/null +++ b/overlays/colibri-imx8x_parallel-rgb_overlay.dts @@ -0,0 +1,49 @@ +// Enable the parallel RGB interface on Colibri iMX8X + +#include "dt-bindings/gpio/gpio.h" +#include "dt-bindings/pinctrl/pads-imx8qxp.h" +#include "dt-bindings/pwm/pwm.h" + +/dts-v1/; +/plugin/; +/ { + compatible = "toradex,colibri-imx8x"; +}; + +&adma_pwm { + status = "okay"; +}; + +&backlight { + brightness-levels = <0 45 63 88 119 158 203 255>; + default-brightness-level = <4>; + power-supply = <®_3v3>; + pwms = <&adma_pwm 0 6666667 PWM_POLARITY_INVERTED>; + status = "okay"; +}; + +&display_lcdif { + status = "okay"; + + #address-cells = <1>; + #size-cells = <0>; + + port@1 { + reg = <1>; + + lcd_display_out: endpoint { + remote-endpoint = <&lcd_panel_in>; + }; + }; +}; + +&panel_dpi { + status = "okay"; + + port { + lcd_panel_in: endpoint { + remote-endpoint = <&lcd_display_out>; + }; + }; +}; + |