aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm2708/patches-4.14/950-0224-overlays-i2c-gpio-Explain-bus-numbers-in-README.patch
blob: 21715314fbbd38297c6b6bf1bd3893413d87bafe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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