aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm2708/patches-4.14/950-0224-overlays-i2c-gpio-Explain-bus-numbers-in-README.patch
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/brcm2708/patches-4.14/950-0224-overlays-i2c-gpio-Explain-bus-numbers-in-README.patch')
-rw-r--r--target/linux/brcm2708/patches-4.14/950-0224-overlays-i2c-gpio-Explain-bus-numbers-in-README.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/target/linux/brcm2708/patches-4.14/950-0224-overlays-i2c-gpio-Explain-bus-numbers-in-README.patch b/target/linux/brcm2708/patches-4.14/950-0224-overlays-i2c-gpio-Explain-bus-numbers-in-README.patch
new file mode 100644
index 0000000000..21715314fb
--- /dev/null
+++ b/target/linux/brcm2708/patches-4.14/950-0224-overlays-i2c-gpio-Explain-bus-numbers-in-README.patch
@@ -0,0 +1,25 @@
+From 5fa522d6069313f96c93c255a20ca40e2d2a6c57 Mon Sep 17 00:00:00 2001
+From: Phil Elwell <phil@raspberrypi.org>
+Date: Tue, 20 Feb 2018 10:47:27 +0000
+Subject: [PATCH 224/454] overlays: i2c-gpio: Explain bus numbers in README
+
+Signed-off-by: Phil Elwell <phil@raspberrypi.org>
+---
+ arch/arm/boot/dts/overlays/README | 6 +++++-
+ 1 file changed, 5 insertions(+), 1 deletion(-)
+
+--- a/arch/arm/boot/dts/overlays/README
++++ b/arch/arm/boot/dts/overlays/README
+@@ -694,7 +694,11 @@ Params: i2c_gpio_sda GPIO use
+ (default "2" = ~100kHz)
+
+ bus Set to a unique, non-zero value if wanting
+- multiple i2c-gpio busses (default "0")
++ multiple i2c-gpio busses. If set, will be used
++ as the preferred bus number (/dev/i2c-<n>). If
++ not set, the default value is 0, but the bus
++ number will be dynamically assigned - probably
++ 3.
+
+
+ Name: i2c-mux