brcm2708: update 4.1 patches
[openwrt/openwrt.git] / target / linux / brcm2708 / patches-4.1 / 0218-BCM270X_DT-Fix-overlay-README-anomalies.patch
1 From fd898e41ab16efaab945e7b5e65908711b8095af Mon Sep 17 00:00:00 2001
2 From: Phil Elwell <phil@raspberrypi.org>
3 Date: Tue, 17 Nov 2015 10:07:08 +0000
4 Subject: [PATCH 218/222] BCM270X_DT: Fix overlay README anomalies
5
6 ---
7 arch/arm/boot/dts/overlays/README | 13 ++++++-------
8 1 file changed, 6 insertions(+), 7 deletions(-)
9
10 --- a/arch/arm/boot/dts/overlays/README
11 +++ b/arch/arm/boot/dts/overlays/README
12 @@ -227,7 +227,7 @@ Params: gpio_pin Input p
13
14 Name: gpio-poweroff
15 Info: Drives a GPIO high or low on reboot
16 -Load: gpio-poweroff,<param>=<val>
17 +Load: dtoverlay=gpio-poweroff,<param>=<val>
18 Params: gpiopin GPIO for signalling (default 26)
19
20 active_low Set if the power control device requires a
21 @@ -302,7 +302,7 @@ Params: speed Display
22
23 Name: i2c-gpio
24 Info: Adds support for software i2c controller on gpio pins
25 -Load: dtoverlay=i2c-gpio,<param>
26 +Load: dtoverlay=i2c-gpio,<param>=<val>
27 Params: i2c_gpio_sda GPIO used for I2C data (default "23")
28
29 i2c_gpio_scl GPIO used for I2C clock (default "24")
30 @@ -313,7 +313,7 @@ Params: i2c_gpio_sda GPIO us
31
32 Name: i2c-rtc
33 Info: Adds support for a number of I2C Real Time Clock devices
34 -Load: dtoverlay=i2c-rtc,<param>
35 +Load: dtoverlay=i2c-rtc,<param>=<val>
36 Params: ds1307 Select the DS1307 device
37
38 ds3231 Select the DS3231 device
39 @@ -348,7 +348,7 @@ Params: <None>
40 Name: lirc-rpi
41 Info: Configures lirc-rpi (Linux Infrared Remote Control for Raspberry Pi)
42 Consult the module documentation for more details.
43 -Load: dtoverlay=lirc-rpi,<param>=<val>,...
44 +Load: dtoverlay=lirc-rpi,<param>=<val>
45 Params: gpio_out_pin GPIO for output (default "17")
46
47 gpio_in_pin GPIO for input (default "18")
48 @@ -440,7 +440,7 @@ Params: speed Display
49
50 Name: piscreen2r
51 Info: PiScreen 2 with resistive TP display by OzzMaker.com
52 -Load: dtoverlay=piscreen,<param>=<val>
53 +Load: dtoverlay=piscreen2r,<param>=<val>
54 Params: speed Display SPI bus speed
55
56 rotate Display rotation {0,90,180,270}
57 @@ -505,7 +505,6 @@ Info: Configures a single PWM channel
58 3) So be careful mixing audio and PWM.
59 4) Currently the clock must have been enabled and configured
60 by other means.
61 -Load: dtoverlay=pwm-2chan,<param>=<val>
62 Load: dtoverlay=pwm,<param>=<val>
63 Params: pin Output pin (default 18) - see table
64 func Pin function (default 2 = Alt5) - see above
65 @@ -708,7 +707,7 @@ Params: gpiopin GPIO fo
66 Name: w1-gpio-pullup
67 Info: Configures the w1-gpio Onewire interface module.
68 Use this overlay if you *do* need a GPIO to drive an external pullup.
69 -Load: dtoverlay=w1-gpio-pullup,<param>=<val>,...
70 +Load: dtoverlay=w1-gpio-pullup,<param>=<val>
71 Params: gpiopin GPIO for I/O (default "4")
72
73 pullup Non-zero, "on", or "y" to enable the parasitic