diff options
author | Álvaro Fernández Rojas <noltari@gmail.com> | 2021-02-18 18:04:33 +0100 |
---|---|---|
committer | Álvaro Fernández Rojas <noltari@gmail.com> | 2021-02-18 23:42:32 +0100 |
commit | f07e572f6447465d8938679533d604e402b0f066 (patch) | |
tree | cb333bd2a67e59e7c07659514850a0fd55fc825e /target/linux/bcm27xx/patches-5.4/950-1016-overlays-Deprecate-and-delete-the-sdtweak-overlay.patch | |
parent | 5d3a6fd970619dfc55f8259035c3027d7613a2a6 (diff) | |
download | upstream-f07e572f6447465d8938679533d604e402b0f066.tar.gz upstream-f07e572f6447465d8938679533d604e402b0f066.tar.bz2 upstream-f07e572f6447465d8938679533d604e402b0f066.zip |
bcm27xx: import latest patches from the RPi foundation
bcm2708: boot tested on RPi B+ v1.2
bcm2709: boot tested on RPi 3B v1.2 and RPi 4B v1.1 4G
bcm2710: boot tested on RPi 3B v1.2
bcm2711: boot tested on RPi 4B v1.1 4G
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Diffstat (limited to 'target/linux/bcm27xx/patches-5.4/950-1016-overlays-Deprecate-and-delete-the-sdtweak-overlay.patch')
-rw-r--r-- | target/linux/bcm27xx/patches-5.4/950-1016-overlays-Deprecate-and-delete-the-sdtweak-overlay.patch | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/target/linux/bcm27xx/patches-5.4/950-1016-overlays-Deprecate-and-delete-the-sdtweak-overlay.patch b/target/linux/bcm27xx/patches-5.4/950-1016-overlays-Deprecate-and-delete-the-sdtweak-overlay.patch new file mode 100644 index 0000000000..fb0107c24d --- /dev/null +++ b/target/linux/bcm27xx/patches-5.4/950-1016-overlays-Deprecate-and-delete-the-sdtweak-overlay.patch @@ -0,0 +1,64 @@ +From 88358069ed07f16a0aab0764ed1337e540006e29 Mon Sep 17 00:00:00 2001 +From: Phil Elwell <phil@raspberrypi.com> +Date: Wed, 4 Nov 2020 11:25:02 +0000 +Subject: [PATCH] overlays: Deprecate and delete the sdtweak overlay + +The sdtweak overlay has been superseded by the board-specific +sd_* parameters such as sd_poll_once, sd_overclock etc. + +For example, replace: + + dtoverlay=sdtweak,poll_once + +with: + + dtparam=sd_poll_once + +Signed-off-by: Phil Elwell <phil@raspberrypi.com> +--- + arch/arm/boot/dts/overlays/overlay_map.dts | 4 +++ + .../arm/boot/dts/overlays/sdtweak-overlay.dts | 25 ------------------- + 2 files changed, 4 insertions(+), 25 deletions(-) + delete mode 100644 arch/arm/boot/dts/overlays/sdtweak-overlay.dts + +--- a/arch/arm/boot/dts/overlays/overlay_map.dts ++++ b/arch/arm/boot/dts/overlays/overlay_map.dts +@@ -61,6 +61,10 @@ + deprecated = "use sdio,bus_width=1,gpios_22_25"; + }; + ++ sdtweak { ++ deprecated = "use 'dtparam=sd_poll_once' etc."; ++ }; ++ + spi0-cs { + renamed = "spi0-2cs"; + }; +--- a/arch/arm/boot/dts/overlays/sdtweak-overlay.dts ++++ /dev/null +@@ -1,25 +0,0 @@ +-/dts-v1/; +-/plugin/; +- +-/* Provide backwards compatible aliases for the old sdhost dtparams. */ +- +-/{ +- compatible = "brcm,bcm2835"; +- +- fragment@0 { +- target = <&sdhost>; +- frag0: __overlay__ { +- brcm,overclock-50 = <0>; +- brcm,pio-limit = <1>; +- }; +- }; +- +- __overrides__ { +- overclock_50 = <&frag0>,"brcm,overclock-50:0"; +- force_pio = <&frag0>,"brcm,force-pio?"; +- pio_limit = <&frag0>,"brcm,pio-limit:0"; +- debug = <&frag0>,"brcm,debug?"; +- enable = <&frag0>,"status"; +- poll_once = <&frag0>,"non-removable?"; +- }; +-}; |