overlays: Add a sample hat_map
authorPhil Elwell <phil@raspberrypi.com>
Tue, 19 Sep 2023 19:31:34 +0000 (20:31 +0100)
committerDom Cobley <popcornmix@gmail.com>
Mon, 19 Feb 2024 11:33:40 +0000 (11:33 +0000)
commit03b9c05018876a32211e3913b81f8ce60d7abe00
treefb4d3c14a5b5e254c357b2ce2bf5f806bc437fc4
parent011166dc482fbedac908149d6fe6ece90711212b
overlays: Add a sample hat_map

The HAT map is way of associating named overlays with HATs whose
EEPROMs were programmed with the contents of the overlay.
Unfortunately, change in the DT and kernel drivers has meant that some
of these embedded overlays no longer function, or even don't apply.

The HAT map is a mapping from HAT UUIDs to overlay names. If a HAT with
a listed UUID is detected, the embedded overlay is ignored and the
overlay named in the mapping is loaded in its place.

Signed-off-by: Phil Elwell <phil@raspberrypi.com>
arch/arm/boot/dts/overlays/Makefile
arch/arm/boot/dts/overlays/hat_map.dts [new file with mode: 0644]