arm: add basic support for Rockchip Cortex-A9 SoCs

A patchset in state Mainline for linux-kernel

From: Heiko Stuebner <heiko@...> Date: Tue, 11 Jun 2013 12:44:16 +0200

Third version of basic Rockchip A9 support. The biggest change is probably the missing pinctrl driver which already found its way into the pinctrl tree from Linus Walleij as part of the pinconfig generalisation and should find its way into the mainline kernel from there. But startup of rk3066-based boards will even suceed without the pinctrl driver present, as the bootloader sets up the most basic pins like uarts too. 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 Dependencies: - the 3 clock changes of "support Hisilicon SoC" from Haojian Zhuang - "mmc: dw_mmc: Add support DW SD/MMC driver on SOCFPGA" from Dinh Nguyen that moves the SDMMC_CMD_USE_HOLD_REG constant into the common header, which is required on these Rockchip SoCs - series "dw_apb_timer: osc as sched_clock, clocks and clocksource_of support" Heiko Stuebner (7): clk: divider: add flag to limit possible dividers to even numbers mmc: dw_mmc-pltfm: remove static from dw_mci_pltfm_remove mmc: dw_mmc-pltfm: move probe and remove below dt match table mmc: dw_mmc-pltfm: add Rockchip variant clk: add basic Rockchip rk3066a clock support 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 | 467 +++++++++++++++++++++++++++++++ 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 | 54 ++++ drivers/clk/Makefile | 1 + drivers/clk/clk-divider.c | 14 +- drivers/clk/rockchip/Makefile | 6 + drivers/clk/rockchip/clk-rockchip-pll.c | 131 +++++++++ drivers/clk/rockchip/clk-rockchip-pll.h | 19 ++ drivers/clk/rockchip/clk-rockchip.c | 330 ++++++++++++++++++++++ drivers/mmc/host/dw_mmc-pltfm.c | 47 +++- include/linux/clk-provider.h | 2 + 17 files changed, 1541 insertions(+), 16 deletions(-) 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 create mode 100644 drivers/clk/rockchip/Makefile create mode 100644 drivers/clk/rockchip/clk-rockchip-pll.c create mode 100644 drivers/clk/rockchip/clk-rockchip-pll.h create mode 100644 drivers/clk/rockchip/clk-rockchip.c -- 1.7.2.3

Patches in this set

Statistics

  • 7 individual patches
  • 1543 lines added
  • 18 lines removed
 

Recent Patches

About Us

Sed lacus. Donec lectus. Nullam pretium nibh ut turpis. Nam bibendum. In nulla tortor, elementum vel, tempor at, varius non, purus. Mauris vitae nisl nec metus placerat consectetuer.

Read More...