bcm27xx: import latest patches from the RPi foundation
[openwrt/staging/ynezz.git] / target / linux / bcm27xx / patches-5.4 / 950-1017-overlays-Complete-the-sdtweak-excision.patch
1 From 572fe7f4e008792e3f14822d5ddddb37c86329fe Mon Sep 17 00:00:00 2001
2 From: Phil Elwell <phil@raspberrypi.com>
3 Date: Thu, 5 Nov 2020 09:54:33 +0000
4 Subject: [PATCH] overlays: Complete the sdtweak excision
5
6 Signed-off-by: Phil Elwell <phil@raspberrypi.com>
7 ---
8 arch/arm/boot/dts/overlays/Makefile | 1 -
9 arch/arm/boot/dts/overlays/README | 27 ++++-----------------------
10 2 files changed, 4 insertions(+), 24 deletions(-)
11
12 --- a/arch/arm/boot/dts/overlays/Makefile
13 +++ b/arch/arm/boot/dts/overlays/Makefile
14 @@ -159,7 +159,6 @@ dtbo-$(CONFIG_ARCH_BCM2835) += \
15 sc16is752-spi1.dtbo \
16 sdhost.dtbo \
17 sdio.dtbo \
18 - sdtweak.dtbo \
19 sh1106-spi.dtbo \
20 smi.dtbo \
21 smi-dev.dtbo \
22 --- a/arch/arm/boot/dts/overlays/README
23 +++ b/arch/arm/boot/dts/overlays/README
24 @@ -2407,29 +2407,10 @@ Load: <Deprecated>
25
26
27 Name: sdtweak
28 -Info: Tunes the bcm2835-sdhost SD/MMC driver
29 - N.B. This functionality is now available via the sd_* dtparams in the
30 - base DTB.
31 -Load: dtoverlay=sdtweak,<param>=<val>
32 -Params: overclock_50 Clock (in MHz) to use when the MMC framework
33 - requests 50MHz
34 -
35 - force_pio Disable DMA support (default off)
36 -
37 - pio_limit Number of blocks above which to use DMA
38 - (default 1)
39 -
40 - debug Enable debug output (default off)
41 -
42 - poll_once Looks for a card once after booting. Useful
43 - for network booting scenarios to avoid the
44 - overhead of continuous polling. N.B. Using
45 - this option restricts the system to using a
46 - single card per boot (or none at all).
47 - (default off)
48 -
49 - enable Set to off to completely disable the interface
50 - (default on)
51 +Info: This overlay is now deprecated. Use the sd_* dtparams in the
52 + base DTB, e.g. "dtoverlay=sdtweak,poll_once" becomes
53 + "dtparam=sd_poll_once".
54 +Load: <Deprecated>
55
56
57 Name: sh1106-spi