From mboxrd@z Thu Jan 1 00:00:00 1970 From: heiko@sntech.de (Heiko =?utf-8?q?St=C3=BCbner?=) Date: Fri, 21 Jun 2013 00:39:14 +0200 Subject: [PATCH v5 0/3] arm: add basic support for Rockchip Cortex-A9 SoCs Message-ID: <201306210039.14740.heiko@sntech.de> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org Fifth version of basic Rockchip A9 support. Following a comment from Arnd, I stripped the submission from all specific clocks, only using dummy clocks for now. It's enough to reach a shell in an initramfs. MMC patches are currently pending on the mmc list, so if they also get merged accessing the sd controllers would also be possible. Changes since v4: - remove ifdef around l2x0 init - only use dummy clocks Changes since v3: - split out standalone dw_mmc patches (submitted to linux-mmc) - Remove divider and mux clocks and use fixed rate clocks instead until divider and mux clocks have got their generic dt bindings - Make the gate clock use CLK_OF_DECLARE and document the bindings Changes since v2: - use common (pending review) HIWORD_MASK clock flag from Haojian Zhuang and me - pinctrl driver is already in the pinctrl tree - add core-periph clock that supplies the twd - split "mmc: dw_mmc-pltfm: add Rockchip variant" into move and feature parts as suggested by Andy Shevchenko Changes since v1: - addressed Linus Walleij's comments to the pinctrl driver, including the move to generic pinconfig (hopefully I did catch all) - renamed the clocks to use the SoC name of the initial user as suggested by Olof Johansson - fixed the uart address, found by Arnd Bergmann - address Arnd's comments on the board file (use of_clk_init and friends, remove map_io, use real soc names) - removed Makefile.boot as suggested by Thomas Petazzoni no dependencies anymore Heiko Stuebner (3): arm: Add basic clocks for Rockchip rk3066a SoCs arm: add debug uarts for rockchip rk29xx and rk3xxx series arm: add basic support for Rockchip RK3066a boards arch/arm/Kconfig | 2 + arch/arm/Kconfig.debug | 34 +++ arch/arm/Makefile | 1 + arch/arm/boot/dts/rk3066a-clocks.dtsi | 52 +++++ arch/arm/boot/dts/rk3066a.dtsi | 390 +++++++++++++++++++++++++++++++++ arch/arm/include/debug/rockchip.S | 42 ++++ arch/arm/mach-rockchip/Kconfig | 16 ++ arch/arm/mach-rockchip/Makefile | 1 + arch/arm/mach-rockchip/rockchip.c | 52 +++++ 9 files changed, 590 insertions(+) create mode 100644 arch/arm/boot/dts/rk3066a-clocks.dtsi create mode 100644 arch/arm/boot/dts/rk3066a.dtsi create mode 100644 arch/arm/include/debug/rockchip.S create mode 100644 arch/arm/mach-rockchip/Kconfig create mode 100644 arch/arm/mach-rockchip/Makefile create mode 100644 arch/arm/mach-rockchip/rockchip.c -- 1.7.10.4 From mboxrd@z Thu Jan 1 00:00:00 1970 From: Heiko =?utf-8?q?St=C3=BCbner?= Subject: [PATCH v5 0/3] arm: add basic support for Rockchip Cortex-A9 SoCs Date: Fri, 21 Jun 2013 00:39:14 +0200 Message-ID: <201306210039.14740.heiko@sntech.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: devicetree-discuss-bounces+gldd-devicetree-discuss=m.gmane.org-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org Sender: "devicetree-discuss" To: Olof Johansson Cc: Grant Likely , devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org, Rob Herring , "linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org" List-Id: devicetree@vger.kernel.org Fifth version of basic Rockchip A9 support. Following a comment from Arnd, I stripped the submission from all specific clocks, only using dummy clocks for now. It's enough to reach a shell in an initramfs. MMC patches are currently pending on the mmc list, so if they also get merged accessing the sd controllers would also be possible. Changes since v4: - remove ifdef around l2x0 init - only use dummy clocks Changes since v3: - split out standalone dw_mmc patches (submitted to linux-mmc) - Remove divider and mux clocks and use fixed rate clocks instead until divider and mux clocks have got their generic dt bindings - Make the gate clock use CLK_OF_DECLARE and document the bindings Changes since v2: - use common (pending review) HIWORD_MASK clock flag from Haojian Zhuang and me - pinctrl driver is already in the pinctrl tree - add core-periph clock that supplies the twd - split "mmc: dw_mmc-pltfm: add Rockchip variant" into move and feature parts as suggested by Andy Shevchenko Changes since v1: - addressed Linus Walleij's comments to the pinctrl driver, including the move to generic pinconfig (hopefully I did catch all) - renamed the clocks to use the SoC name of the initial user as suggested by Olof Johansson - fixed the uart address, found by Arnd Bergmann - address Arnd's comments on the board file (use of_clk_init and friends, remove map_io, use real soc names) - removed Makefile.boot as suggested by Thomas Petazzoni no dependencies anymore Heiko Stuebner (3): arm: Add basic clocks for Rockchip rk3066a SoCs arm: add debug uarts for rockchip rk29xx and rk3xxx series arm: add basic support for Rockchip RK3066a boards arch/arm/Kconfig | 2 + arch/arm/Kconfig.debug | 34 +++ arch/arm/Makefile | 1 + arch/arm/boot/dts/rk3066a-clocks.dtsi | 52 +++++ arch/arm/boot/dts/rk3066a.dtsi | 390 +++++++++++++++++++++++++++++++++ arch/arm/include/debug/rockchip.S | 42 ++++ arch/arm/mach-rockchip/Kconfig | 16 ++ arch/arm/mach-rockchip/Makefile | 1 + arch/arm/mach-rockchip/rockchip.c | 52 +++++ 9 files changed, 590 insertions(+) create mode 100644 arch/arm/boot/dts/rk3066a-clocks.dtsi create mode 100644 arch/arm/boot/dts/rk3066a.dtsi create mode 100644 arch/arm/include/debug/rockchip.S create mode 100644 arch/arm/mach-rockchip/Kconfig create mode 100644 arch/arm/mach-rockchip/Makefile create mode 100644 arch/arm/mach-rockchip/rockchip.c -- 1.7.10.4