Rockchip: generalize GRF setup

A patchset in state Mainline for linux-kernel

From: Heiko Stuebner <heiko@...> Date: Wed, 16 Nov 2016 23:58:51 +0100

The General register files contain a big bunch of settings for various components. Things like the automatic sdmmc/jtag switch may even affect us in a bad way, while that property (and possibly others) are not even part of the dw_mmc controller itself. And while the rk3288 could still carry adaptions to these defaults in its mach files, this is no longer possible on the arm64 socs, while things like the jtag-switch from above still can affect us there. changes in v3: - remove duplicate regmap header (now they're even sorted alphabetically) - add Dougs Review-tag from v2 - fix the of_find_matching_node_and_match being over 80 chars changes in v2: - address comments from Doug Anderson - drop platform device, as we actual probing may happen at some unspecified later time during boot - add reviews / acks received in v1 Heiko Stuebner (3): dt-bindings: add used but undocumented rockchip grf compatible values soc: rockchip: add driver handling grf setup ARM: rockchip: drop rk3288 jtag/mmc switch handling .../devicetree/bindings/soc/rockchip/grf.txt | 4 + arch/arm/mach-rockchip/rockchip.c | 12 -- drivers/soc/rockchip/Kconfig | 10 ++ drivers/soc/rockchip/Makefile | 1 + drivers/soc/rockchip/grf.c | 133 +++++++++++++++++++++ 5 files changed, 148 insertions(+), 12 deletions(-) create mode 100644 drivers/soc/rockchip/grf.c -- 2.10.2

Patches in this set

Statistics

  • 3 individual patches
  • 149 lines added
  • 12 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...