From 7d7aa2fd924c27829ec25f825481554dd81bce97 Mon Sep 17 00:00:00 2001 From: Adrian Schmutzler Date: Sat, 8 Feb 2020 21:58:55 +0100 Subject: brcm2708: rename target to bcm27xx MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This change makes the names of Broadcom targets consistent by using the common notation based on SoC/CPU ID (which is used internally anyway), bcmXXXX instead of brcmXXXX. This is even used for target TITLE in make menuconfig already, only the short target name used brcm so far. Despite, since subtargets range from bcm2708 to bcm2711, it seems appropriate to use bcm27xx instead of bcm2708 (again, as already done for BOARDNAME). This also renames the packages brcm2708-userland and brcm2708-gpu-fw. Signed-off-by: Adrian Schmutzler Acked-by: Álvaro Fernández Rojas --- ...-overlays-sdio-Add-enhanced-1-bit-support.patch | 107 --------------------- 1 file changed, 107 deletions(-) delete mode 100644 target/linux/brcm2708/patches-4.19/950-0262-overlays-sdio-Add-enhanced-1-bit-support.patch (limited to 'target/linux/brcm2708/patches-4.19/950-0262-overlays-sdio-Add-enhanced-1-bit-support.patch') diff --git a/target/linux/brcm2708/patches-4.19/950-0262-overlays-sdio-Add-enhanced-1-bit-support.patch b/target/linux/brcm2708/patches-4.19/950-0262-overlays-sdio-Add-enhanced-1-bit-support.patch deleted file mode 100644 index 42a9f112e9..0000000000 --- a/target/linux/brcm2708/patches-4.19/950-0262-overlays-sdio-Add-enhanced-1-bit-support.patch +++ /dev/null @@ -1,107 +0,0 @@ -From 788109b357ddb30a95be72ce46dc22e2335131af Mon Sep 17 00:00:00 2001 -From: Phil Elwell -Date: Thu, 10 Jan 2019 15:27:56 +0000 -Subject: [PATCH] overlays: sdio: Add enhanced 1-bit support - -"dtoverlay=sdio,bus_width=1,gpios_22_25" is equivalent to the sdio-1bit -overlay, which is now deprecated. - -"dtoverlay=sdio,bus_width=1,gpios_34_37" enables 1-bit mode on GPIOs 34-37. - -Signed-off-by: Phil Elwell ---- - arch/arm/boot/dts/overlays/README | 24 +++++++++++---------- - arch/arm/boot/dts/overlays/sdio-overlay.dts | 20 ++++++++++++++++- - 2 files changed, 32 insertions(+), 12 deletions(-) - ---- a/arch/arm/boot/dts/overlays/README -+++ b/arch/arm/boot/dts/overlays/README -@@ -479,8 +479,7 @@ Params: - - Name: bmp085_i2c-sensor - Info: This overlay is now deprecated - see i2c-sensor --Load: dtoverlay=bmp085_i2c-sensor --Params: -+Load: - - - Name: dht11 -@@ -1737,7 +1736,8 @@ Params: overclock_50 Clock (i - - Name: sdio - Info: Selects the bcm2835-sdhost SD/MMC driver, optionally with overclock, -- and enables SDIO via GPIOs 22-27. -+ and enables SDIO via GPIOs 22-27. An example of use in 1-bit mode is -+ "dtoverlay=sdio,bus_width=1,gpios_22_25" - Load: dtoverlay=sdio,= - Params: sdio_overclock SDIO Clock (in MHz) to use when the MMC - framework requests 50MHz -@@ -1747,16 +1747,18 @@ Params: sdio_overclock SDIO Clo - - bus_width Set the SDIO host bus width (default 4 bits) - -+ gpios_22_25 Select GPIOs 22-25 for 1-bit mode. Must be used -+ with bus_width=1. This replaces the sdio-1bit -+ overlay, which is now deprecated. - --Name: sdio-1bit --Info: Selects the bcm2835-sdhost SD/MMC driver, optionally with overclock, -- and enables 1-bit SDIO via GPIOs 22-25. --Load: dtoverlay=sdio-1bit,= --Params: sdio_overclock SDIO Clock (in MHz) to use when the MMC -- framework requests 50MHz -+ gpios_34_37 Select GPIOs 34-37 for 1-bit mode. Must be used -+ with bus_width=1. - -- poll_once Disable SDIO-device polling every second -- (default on: polling once at boot-time) -+ -+Name: sdio-1bit -+Info: This overlay is now deprecated. Use -+ "dtoverlay=sdio,bus_width=1,gpios_22_25" instead. -+Load: - - - Name: sdtweak ---- a/arch/arm/boot/dts/overlays/sdio-overlay.dts -+++ b/arch/arm/boot/dts/overlays/sdio-overlay.dts -@@ -32,7 +32,7 @@ - pinctrl-names = "default"; - pinctrl-0 = <&sdio_ovl_pins>; - non-removable; -- bus-width = <1>; -+ bus-width = <4>; - }; - }; - }; -@@ -49,6 +49,22 @@ - }; - - fragment@3 { -+ target = <&sdio_ovl_pins>; -+ __dormant__ { -+ brcm,pins = <22 23 24 25>; -+ brcm,pull = <0 2 2 2>; -+ }; -+ }; -+ -+ fragment@4 { -+ target = <&sdio_ovl_pins>; -+ __dormant__ { -+ brcm,pins = <34 35 36 37>; -+ brcm,pull = <0 2 2 2>; -+ }; -+ }; -+ -+ fragment@6 { - target-path = "/aliases"; - __overlay__ { - mmc1 = "/soc/sdio@7e300000"; -@@ -59,5 +75,7 @@ - poll_once = <&sdio_ovl>,"non-removable?"; - bus_width = <&sdio_ovl>,"bus-width:0"; - sdio_overclock = <&sdio_ovl>,"brcm,overclock-50:0"; -+ gpios_22_25 = <0>,"=3"; -+ gpios_34_37 = <0>,"=4"; - }; - }; -- cgit v1.2.3