From patchwork Sat Jan 4 17:45:14 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephan Gerhold X-Patchwork-Id: 239098 List-Id: U-Boot discussion From: stephan at gerhold.net (Stephan Gerhold) Date: Sat, 4 Jan 2020 18:45:14 +0100 Subject: [RFC PATCH 0/5] arm: Restore minimal support for ST-Ericsson U8500 SoC Message-ID: <20200104174519.19238-1-stephan@gerhold.net> This patch series restores minimal U-Boot support for the ST-Ericsson NovaThor U8500 SoC. Previous support for U8500 was removed in commit 68282f55b846 ("arm: Remove unused ST-Ericsson u8500 arch") since none of the boards were converted to generic boards before the deadline. The motivation for adding the SoC and board is explained in - Patch 3 ("arm: Add support for ST-Ericsson U8500 SoC") and - Patch 5 ("board: Add new Samsung "stemmy" board based on ST-Ericsson U8500") I have additional patches for MMC, USB, display and the "stemmy" board, that configure it to provide an Android fastboot interface with similar functionality as the original Samsung bootloader. Some of the patches require some additional work, so I thought it is easier to start with some minimal changes first (only UART). I think this makes the patch series quite straightforward, with only ~225 new lines of C code, plus device tree and documentation. The only patch that stands out with ~1.8k lines is the device tree import, directly copied (without modification) from the Linux kernel. Stephan Gerhold (5): timer: Add driver for Nomadik Multi Timer Unit (MTU) arm: dts: Import device tree for ST-Ericsson Ux500 arm: Add support for ST-Ericsson U8500 SoC MAINTAINERS: Add ARM U8500 board: Add new Samsung "stemmy" board based on ST-Ericsson U8500 MAINTAINERS | 8 + arch/arm/Kconfig | 20 + arch/arm/Makefile | 1 + arch/arm/dts/Makefile | 2 + arch/arm/dts/ste-ab8500.dtsi | 328 ++++++ arch/arm/dts/ste-ab8505.dtsi | 275 +++++ arch/arm/dts/ste-dbx5x0-u-boot.dtsi | 29 + arch/arm/dts/ste-dbx5x0.dtsi | 1144 ++++++++++++++++++++ arch/arm/dts/ste-ux500-samsung-stemmy.dts | 20 + arch/arm/include/asm/gpio.h | 2 +- arch/arm/mach-u8500/Kconfig | 27 + arch/arm/mach-u8500/Makefile | 4 + arch/arm/mach-u8500/cache.c | 37 + arch/arm/mach-u8500/cpuinfo.c | 25 + board/ste/stemmy/Kconfig | 12 + board/ste/stemmy/MAINTAINERS | 6 + board/ste/stemmy/Makefile | 2 + board/ste/stemmy/README | 49 + board/ste/stemmy/stemmy.c | 18 + configs/stemmy_defconfig | 18 + drivers/timer/Kconfig | 9 + drivers/timer/Makefile | 1 + drivers/timer/nomadik-mtu-timer.c | 114 ++ include/configs/stemmy.h | 29 + include/dt-bindings/arm/ux500_pm_domains.h | 15 + include/dt-bindings/clock/ste-ab8500.h | 12 + include/dt-bindings/mfd/dbx500-prcmu.h | 84 ++ 27 files changed, 2290 insertions(+), 1 deletion(-) create mode 100644 arch/arm/dts/ste-ab8500.dtsi create mode 100644 arch/arm/dts/ste-ab8505.dtsi create mode 100644 arch/arm/dts/ste-dbx5x0-u-boot.dtsi create mode 100644 arch/arm/dts/ste-dbx5x0.dtsi create mode 100644 arch/arm/dts/ste-ux500-samsung-stemmy.dts create mode 100644 arch/arm/mach-u8500/Kconfig create mode 100644 arch/arm/mach-u8500/Makefile create mode 100644 arch/arm/mach-u8500/cache.c create mode 100644 arch/arm/mach-u8500/cpuinfo.c create mode 100644 board/ste/stemmy/Kconfig create mode 100644 board/ste/stemmy/MAINTAINERS create mode 100644 board/ste/stemmy/Makefile create mode 100644 board/ste/stemmy/README create mode 100644 board/ste/stemmy/stemmy.c create mode 100644 configs/stemmy_defconfig create mode 100644 drivers/timer/nomadik-mtu-timer.c create mode 100644 include/configs/stemmy.h create mode 100644 include/dt-bindings/arm/ux500_pm_domains.h create mode 100644 include/dt-bindings/clock/ste-ab8500.h create mode 100644 include/dt-bindings/mfd/dbx500-prcmu.h