diff options
Diffstat (limited to 'target/linux/brcm2708/patches-4.4/0558-BCM270X_DT-Add-i2c-sensor-overlay.patch')
-rw-r--r-- | target/linux/brcm2708/patches-4.4/0558-BCM270X_DT-Add-i2c-sensor-overlay.patch | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/target/linux/brcm2708/patches-4.4/0558-BCM270X_DT-Add-i2c-sensor-overlay.patch b/target/linux/brcm2708/patches-4.4/0558-BCM270X_DT-Add-i2c-sensor-overlay.patch index 2248fe8113..3a2f3e6ade 100644 --- a/target/linux/brcm2708/patches-4.4/0558-BCM270X_DT-Add-i2c-sensor-overlay.patch +++ b/target/linux/brcm2708/patches-4.4/0558-BCM270X_DT-Add-i2c-sensor-overlay.patch @@ -15,8 +15,6 @@ Signed-off-by: Phil Elwell <phil@raspberrypi.org> 3 files changed, 45 insertions(+), 2 deletions(-) create mode 100644 arch/arm/boot/dts/overlays/i2c-sensor-overlay.dts -diff --git a/arch/arm/boot/dts/overlays/Makefile b/arch/arm/boot/dts/overlays/Makefile -index c4186aa..bc7f4a9 100644 --- a/arch/arm/boot/dts/overlays/Makefile +++ b/arch/arm/boot/dts/overlays/Makefile @@ -42,6 +42,7 @@ dtbo-$(RPI_DT_OVERLAYS) += i2c-gpio.dtbo @@ -27,11 +25,9 @@ index c4186aa..bc7f4a9 100644 dtbo-$(RPI_DT_OVERLAYS) += i2c0-bcm2708.dtbo dtbo-$(RPI_DT_OVERLAYS) += i2c1-bcm2708.dtbo dtbo-$(RPI_DT_OVERLAYS) += i2s-gpio28-31.dtbo -diff --git a/arch/arm/boot/dts/overlays/README b/arch/arm/boot/dts/overlays/README -index 4a77ee6..80ea3de 100644 --- a/arch/arm/boot/dts/overlays/README +++ b/arch/arm/boot/dts/overlays/README -@@ -283,8 +283,7 @@ Params: swap_lr Reverse the channel allocation, which will also +@@ -283,8 +283,7 @@ Params: swap_lr Reverse Name: bmp085_i2c-sensor @@ -41,7 +37,7 @@ index 4a77ee6..80ea3de 100644 Load: dtoverlay=bmp085_i2c-sensor Params: <None> -@@ -536,6 +535,15 @@ Params: abx80x Select one of the ABx80x family: +@@ -536,6 +535,15 @@ Params: abx80x Select o source @@ -57,9 +53,6 @@ index 4a77ee6..80ea3de 100644 Name: i2c0-bcm2708 Info: Enable the i2c_bcm2708 driver for the i2c0 bus. Not all pin combinations are usable on all platforms. -diff --git a/arch/arm/boot/dts/overlays/i2c-sensor-overlay.dts b/arch/arm/boot/dts/overlays/i2c-sensor-overlay.dts -new file mode 100644 -index 0000000..f6d134c --- /dev/null +++ b/arch/arm/boot/dts/overlays/i2c-sensor-overlay.dts @@ -0,0 +1,34 @@ @@ -97,6 +90,3 @@ index 0000000..f6d134c + bmp280 = <&bmp280>,"status"; + }; +}; --- -2.1.4 - |