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/display-vga-640x480_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/display-vga-640x480_overlay.dtsi')
-rw-r--r-- | overlays/display-vga-640x480_overlay.dtsi | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/overlays/display-vga-640x480_overlay.dtsi b/overlays/display-vga-640x480_overlay.dtsi new file mode 100644 index 0000000..4f4556e --- /dev/null +++ b/overlays/display-vga-640x480_overlay.dtsi @@ -0,0 +1,29 @@ +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT +/* + * Copyright 2022 Toradex + */ + +// VGA Signal 640x480@60Hz Industry standard timing + +&panel_dpi { + compatible = "panel-dpi"; + status = "okay"; + + /* for 0.3mm pixels */ + width-mm = <192>; + height-mm = <144>; + + panel-timing { + clock-frequency = <25175000>; + hactive = <640>; + vactive = <480>; + hsync-len = <96>; + hfront-porch = <16>; + hback-porch = <48>; + vsync-len = <2>; + vfront-porch = <10>; + vback-porch = <33>; + hsync-active = <0>; + vsync-active = <0>; + }; +}; |