overlays: Support i2c3-6 in container overlays
authorPhil Elwell <phil@raspberrypi.com>
Tue, 5 Jul 2022 16:00:50 +0000 (17:00 +0100)
committerPhil Elwell <phil@raspberrypi.com>
Tue, 5 Jul 2022 16:00:50 +0000 (17:00 +0100)
commit1131d880f3917c697abd64f1c79ddd8a9611286b
tree6d1b52ccdf2d49e5eb3213391205a97aa3128579
parentdf1e772886002b0ccf273102cc5fc0f7edfb459a
overlays: Support i2c3-6 in container overlays

The I2C container overlays (i2c-rtc, i2c-fan and now i2c-sensor)
take parameters to select which I2C bus to use. Extend the list of
busses to include I2C3 to I2C6.

Note that this has been possible in a way that does prevent the overlay
from loading on older Pis due to the use of target-path = "i2c3"
instead of target = <&i2c3>. The latter fails on a non-BCM2711 Pi when
the overlay is loaded, whereas the former only fails when the fragment
in question is applied (and not at all if the fragment is dormant, or
path is created by a parameter that is not used).

Signed-off-by: Phil Elwell <phil@raspberrypi.com>
arch/arm/boot/dts/overlays/README
arch/arm/boot/dts/overlays/i2c-fan-overlay.dts
arch/arm/boot/dts/overlays/i2c-rtc-overlay.dts
arch/arm/boot/dts/overlays/i2c-sensor-common.dtsi [new file with mode: 0755]
arch/arm/boot/dts/overlays/i2c-sensor-overlay.dts