You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
freifunkist-firmware/target/linux/brcm2708/patches-4.1/0218-BCM270X_DT-Fix-overlay...

73 lines
3.1 KiB

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