From: Phil Elwell Date: Tue, 24 Jan 2023 11:15:02 +0000 (+0000) Subject: overlays: i2c-sensor: Add comment re fragment gap X-Git-Tag: accepted/tizen/unified/20230814.120944~317 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=361878fdeb45b6220f6a292b8cd620dc86e05ca4;p=platform%2Fkernel%2Flinux-rpi.git overlays: i2c-sensor: Add comment re fragment gap From rpi-6.1.y the i2c-sensor overlay includes support for the BNO055, which occupies fragments 30 & 31. The driver for this devices does not exist in the 5.15 kernel, so the rpi-5.15.y version of the overlay does not include it. Forward-porting new sensors added to rpi-5.15.y is made easier if the same fragment numbers are used, so add a comment in the rpi-5.15.y source explaining the gap. Signed-off-by: Phil Elwell --- diff --git a/arch/arm/boot/dts/overlays/i2c-sensor-common.dtsi b/arch/arm/boot/dts/overlays/i2c-sensor-common.dtsi index 4b3519e..ed3a207 100755 --- a/arch/arm/boot/dts/overlays/i2c-sensor-common.dtsi +++ b/arch/arm/boot/dts/overlays/i2c-sensor-common.dtsi @@ -455,6 +455,8 @@ }; }; + // Fragments 30 and 31 omitted due to BNO055 support in rpi-6.1.y + __overrides__ { bme280 = <0>,"+0"; bmp085 = <0>,"+1"; @@ -487,6 +489,7 @@ ms8607 = <0>,"+27"; mpu6050 = <0>,"+28"; mpu9250 = <0>,"+29"; + // Skip 30 and 31 addr = <&bme280>,"reg:0", <&bmp280>,"reg:0", <&tmp102>,"reg:0", <&lm75>,"reg:0", <&hdc100x>,"reg:0", <&sht3x>,"reg:0",