aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm2708/patches-4.1/0218-BCM270X_DT-Fix-overlay-README-anomalies.patch
blob: d04a0e1b46c8db4e8bd147b790801abedfe1c0f1 (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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
From fd898e41ab16efaab945e7b5e65908711b8095af Mon Sep 17 00:00:00 2001
From: Phil Elwell <phil@raspberrypi.org>
Date: Tue, 17 Nov 2015 10:07:08 +0000
Subject: [PATCH 218/222] BCM270X_DT: Fix overlay README anomalies

---
 arch/arm/boot/dts/overlays/README | 13 ++++++-------
 1 file changed, 6 insertions(+), 7 deletions(-)

--- a/arch/arm/boot/dts/overlays/README
+++ b/arch/arm/boot/dts/overlays/README
@@ -227,7 +227,7 @@ Params: gpio_pin                 Input p
 
 Name:   gpio-poweroff
 Info:   Drives a GPIO high or low on reboot
-Load:   gpio-poweroff,<param>=<val>
+Load:   dtoverlay=gpio-poweroff,<param>=<val>
 Params: gpiopin                  GPIO for signalling (default 26)
 
         active_low               Set if the power control device requires a
@@ -302,7 +302,7 @@ Params: speed                    Display
 
 Name:   i2c-gpio
 Info:   Adds support for software i2c controller on gpio pins
-Load:   dtoverlay=i2c-gpio,<param>
+Load:   dtoverlay=i2c-gpio,<param>=<val>
 Params: i2c_gpio_sda             GPIO used for I2C data (default "23")
 
         i2c_gpio_scl             GPIO used for I2C clock (default "24")
@@ -313,7 +313,7 @@ Params: i2c_gpio_sda             GPIO us
 
 Name:   i2c-rtc
 Info:   Adds support for a number of I2C Real Time Clock devices
-Load:   dtoverlay=i2c-rtc,<param>
+Load:   dtoverlay=i2c-rtc,<param>=<val>
 Params: ds1307                   Select the DS1307 device
 
         ds3231                   Select the DS3231 device
@@ -348,7 +348,7 @@ Params: <None>
 Name:   lirc-rpi
 Info:   Configures lirc-rpi (Linux Infrared Remote Control for Raspberry Pi)
         Consult the module documentation for more details.
-Load:   dtoverlay=lirc-rpi,<param>=<val>,...
+Load:   dtoverlay=lirc-rpi,<param>=<val>
 Params: gpio_out_pin             GPIO for output (default "17")
 
         gpio_in_pin              GPIO for input (default "18")
@@ -440,7 +440,7 @@ Params: speed                    Display
 
 Name:   piscreen2r
 Info:   PiScreen 2 with resistive TP display by OzzMaker.com
-Load:   dtoverlay=piscreen,<param>=<val>
+Load:   dtoverlay=piscreen2r,<param>=<val>
 Params: speed                    Display SPI bus speed
 
         rotate                   Display rotation {0,90,180,270}
@@ -505,7 +505,6 @@ Info:   Configures a single PWM channel
           3) So be careful mixing audio and PWM.
           4) Currently the clock must have been enabled and configured
              by other means.
-Load:   dtoverlay=pwm-2chan,<param>=<val>
 Load:   dtoverlay=pwm,<param>=<val>
 Params: pin                      Output pin (default 18) - see table
         func                     Pin function (default 2 = Alt5) - see above
@@ -708,7 +707,7 @@ Params: gpiopin                  GPIO fo
 Name:   w1-gpio-pullup
 Info:   Configures the w1-gpio Onewire interface module.
         Use this overlay if you *do* need a GPIO to drive an external pullup.
-Load:   dtoverlay=w1-gpio-pullup,<param>=<val>,...
+Load:   dtoverlay=w1-gpio-pullup,<param>=<val>
 Params: gpiopin                  GPIO for I/O (default "4")
 
         pullup                   Non-zero, "on", or "y" to enable the parasitic