ARM: dts: am57xx-idk: Add IDK displays and touchscreens
authorAndrew Davis <afd@ti.com>
Tue, 7 Mar 2023 16:17:15 +0000 (10:17 -0600)
committerTony Lindgren <tony@atomide.com>
Mon, 27 Mar 2023 08:07:13 +0000 (11:07 +0300)
commita63945c3b56174537a4a655676fbe965f974b6b1
tree0f0afb765b24757796f603095eab5c6fc51ffc0b
parent26d03d14171c0e90654f6dcc8551bc58ee6db1e8
ARM: dts: am57xx-idk: Add IDK displays and touchscreens

This is a more interesting use of DT Overlays than the previous patches.
Here we have two touchscreen modules. Each is compatible with, and can be
attached to, either of the two AM57xx IDK development board variants
(AM571x or AM572x).

Due to the way the extension header was wired on the development boards,
the touch sensor on the touchscreen modules will connect to different
SoC pins when connected. For this the touch sensor is modeled as an
additional overlay that is specific to the development board for which it
is connected.

Basically the LCD overlay can be swapped, but the touchscreen overlay
that attaches to the LCD must be used with the corresponding base DT
and not to the LCD.

AM571x -\ /- osd101t2045.dtbo -\ /- am571x-idk-touchscreen.dtbo
         X                      X
AM572x -/ \- osd101t2587.dtbo -/ \- am572x-idk-touchscreen.dtbo

Signed-off-by: Andrew Davis <afd@ti.com>
Message-Id: <20230307161715.15209-4-afd@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/boot/dts/Makefile
arch/arm/boot/dts/am571x-idk-touchscreen.dtso [new file with mode: 0644]
arch/arm/boot/dts/am572x-idk-touchscreen.dtso [new file with mode: 0644]
arch/arm/boot/dts/am57xx-idk-lcd-osd101t2045.dtso [new file with mode: 0644]
arch/arm/boot/dts/am57xx-idk-lcd-osd101t2587.dtso [new file with mode: 0644]