diff options
author | Aishwarya Kothari <aishwarya.kothari@toradex.com> | 2022-09-08 16:09:27 +0200 |
---|---|---|
committer | Max Krummenacher <max.krummenacher@toradex.com> | 2022-10-03 16:23:30 +0200 |
commit | bcb97544083ee6fe87ed4238bf1839842ffd9996 (patch) | |
tree | f69ed025a6f35f7b44b42c886e13d8fdddd5e42a /overlays/colibri-imx6_parallel-rgb_overlay.dtsi | |
parent | e9291c3ef183c55ce000450fb2abc4ec4de9b540 (diff) |
colibri-imx6: move to one overlay per accessory
Move the existing overlays to dtsi files and include them into one
accessory dts.
Provide data-mapping timings appropriately for each machine instead
of the hardcoding and use a single overlay per SoC to avoid code
duplication.
Signed-off-by: Aishwarya Kothari <aishwarya.kothari@toradex.com>
Diffstat (limited to 'overlays/colibri-imx6_parallel-rgb_overlay.dtsi')
-rw-r--r-- | overlays/colibri-imx6_parallel-rgb_overlay.dtsi | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/overlays/colibri-imx6_parallel-rgb_overlay.dtsi b/overlays/colibri-imx6_parallel-rgb_overlay.dtsi new file mode 100644 index 0000000..d760797 --- /dev/null +++ b/overlays/colibri-imx6_parallel-rgb_overlay.dtsi @@ -0,0 +1,25 @@ +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT +/* + * Copyright 2020-2022 Toradex + */ + +// Enable the parallel RGB interface on the Colibri iMX6. + +&backlight { + status = "okay"; +}; + +&lcd_display { + /* use the bus-format as specified from the panel */ + interface-pix-fmt = ""; + status = "okay"; +}; + +&panel_dpi { + data-mapping = "bgr666"; + status = "okay"; +}; + +&pwm3 { + status = "okay"; +}; |