
From: Konstantin Porotchkin kostap@marvell.com
This set of patches is adding more features for bards based on new Marvell MoChi platforms - Armada-70x0 and Armada-80x0. The patches were applied on top of Stefan's mvebu-related patch set v2 with the last patch named "dm: core: Add dev_get_addr_size_index() to retrieve addr and size".
The test was done on Armada-70x0 and Armada-80x0 development boards equipped with SoC release A1. Since the SPI and I2C channels mapping between A0 and A1 releases were changed, the execution of added features on A0 boards will fail.
Currently 2 major features were added: - BUBT command support - Pin controller driver for A8K family
Changes for v3: - Move patch change log to comments section (all files) - Fix the bubt command implementation: - Minor syntax fixes - Replace zero function pointers with stubs - Replace board-specific macros with platform-specific ones
Konstantin Porotchkin (6): arm64: mvebu: Modify the A8K SPI and I2C config in DTS arm64: mvebu: Add bubt command for flash image burn arm64: mvebu: pinctrl: Add pin control driver for A8K family arm64: mvebu: Add pin control nodes to A8K family DTS files arm64: mvebu: Enable BUBT command support in A8K default config arm64: mvebu: Enable pin control support in A8K default config
arch/arm/dts/armada-7040-db.dts | 64 +- arch/arm/dts/armada-8040-db.dts | 114 ++- arch/arm/dts/armada-ap806.dtsi | 18 + arch/arm/dts/armada-cp110-master.dtsi | 32 + arch/arm/dts/armada-cp110-slave.dtsi | 19 + arch/arm/include/asm/arch-armada8k/soc-info.h | 17 + cmd/Kconfig | 3 + cmd/Makefile | 2 + cmd/mvebu/Kconfig | 52 ++ cmd/mvebu/Makefile | 8 + cmd/mvebu/bubt.c | 767 +++++++++++++++++++++ configs/mvebu_db-88f7040_defconfig | 2 + configs/mvebu_db-88f8040_defconfig | 2 + .../pinctrl/marvell,armada-apn806-pinctrl.txt | 25 + .../pinctrl/marvell,armada-cp110-pinctrl.txt | 270 ++++++++ .../pinctrl/marvell,mvebu-pinctrl.txt | 113 +++ doc/mvebu/cmd/bubt.txt | 64 ++ drivers/pinctrl/Kconfig | 1 + drivers/pinctrl/Makefile | 1 + drivers/pinctrl/mvebu/Kconfig | 7 + drivers/pinctrl/mvebu/Makefile | 7 + drivers/pinctrl/mvebu/pinctrl-mvebu.c | 179 +++++ drivers/pinctrl/mvebu/pinctrl-mvebu.h | 31 + 23 files changed, 1734 insertions(+), 64 deletions(-) create mode 100644 arch/arm/include/asm/arch-armada8k/soc-info.h create mode 100644 cmd/mvebu/Kconfig create mode 100644 cmd/mvebu/Makefile create mode 100644 cmd/mvebu/bubt.c create mode 100644 doc/device-tree-bindings/pinctrl/marvell,armada-apn806-pinctrl.txt create mode 100644 doc/device-tree-bindings/pinctrl/marvell,armada-cp110-pinctrl.txt create mode 100644 doc/device-tree-bindings/pinctrl/marvell,mvebu-pinctrl.txt create mode 100644 doc/mvebu/cmd/bubt.txt create mode 100644 drivers/pinctrl/mvebu/Kconfig create mode 100644 drivers/pinctrl/mvebu/Makefile create mode 100644 drivers/pinctrl/mvebu/pinctrl-mvebu.c create mode 100644 drivers/pinctrl/mvebu/pinctrl-mvebu.h