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 --- ...67-overlays-mcp23017-Support-the-MCP23008.patch | 49 ++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 target/linux/bcm27xx/patches-4.19/950-0267-overlays-mcp23017-Support-the-MCP23008.patch (limited to 'target/linux/bcm27xx/patches-4.19/950-0267-overlays-mcp23017-Support-the-MCP23008.patch') diff --git a/target/linux/bcm27xx/patches-4.19/950-0267-overlays-mcp23017-Support-the-MCP23008.patch b/target/linux/bcm27xx/patches-4.19/950-0267-overlays-mcp23017-Support-the-MCP23008.patch new file mode 100644 index 0000000000..44f295a89e --- /dev/null +++ b/target/linux/bcm27xx/patches-4.19/950-0267-overlays-mcp23017-Support-the-MCP23008.patch @@ -0,0 +1,49 @@ +From c85a1ccbc6b1cab51a5fe5b916bcaf40bcd9096c Mon Sep 17 00:00:00 2001 +From: Phil Elwell +Date: Mon, 21 Jan 2019 12:19:57 +0000 +Subject: [PATCH] overlays: mcp23017: Support the MCP23008 + +Add an 'mcp23008' parameter to enable support for the MCP23008 device. + +See: https://github.com/raspberrypi/linux/issues/2818 + +Signed-off-by: Phil Elwell +--- + arch/arm/boot/dts/overlays/README | 2 ++ + arch/arm/boot/dts/overlays/mcp23017-overlay.dts | 10 +++++++++- + 2 files changed, 11 insertions(+), 1 deletion(-) + +--- a/arch/arm/boot/dts/overlays/README ++++ b/arch/arm/boot/dts/overlays/README +@@ -1212,6 +1212,8 @@ Params: gpiopin Gpio pin + + addr I2C address of the MCP23017 (default: 0x20) + ++ mcp23008 Configure an MCP23008 instead. ++ + + Name: mcp23s17 + Info: Configures the MCP23S08/17 SPI GPIO expanders. +--- a/arch/arm/boot/dts/overlays/mcp23017-overlay.dts ++++ b/arch/arm/boot/dts/overlays/mcp23017-overlay.dts +@@ -44,11 +44,19 @@ + }; + }; + }; +- ++ ++ fragment@3 { ++ target = <&mcp23017>; ++ __dormant__ { ++ compatible = "microchip,mcp23008"; ++ }; ++ }; ++ + __overrides__ { + gpiopin = <&mcp23017_pins>,"brcm,pins:0", + <&mcp23017>,"interrupts:0"; + addr = <&mcp23017>,"reg:0"; ++ mcp23008 = <0>,"=3"; + }; + }; + -- cgit v1.2.3