linux_dsm_epyc7002/drivers/soc
Heiko Stuebner 4c58063d42 soc: rockchip: add driver handling grf setup
The General Register Files are an area of registers containing a lot
of single-bit settings for numerous components as well full components
like usbphy control. Therefore all used components are accessed
via the syscon provided by the grf nodes or from the sub-devices
created through the simple-mfd created from the grf node.

Some settings are not used by anything but will need to be set up
according to expectations on the kernel side.

Best example is the force_jtag setting, which defaults to on and
results in the soc switching the pin-outputs between jtag and sdmmc
automatically depending on the card-detect status. This conflicts
heavily with how the dw_mmc driver expects to do its work and also
with the clock-controller, which has most likely deactivated the
jtag clock due to it being unused.

So far the handling of this setting was living in the mach-rockchip
code for the arm32-based rk3288 but that of course doesn't work
for arm64 socs and would also look ugly for further arm32 socs.

Also always disabling this setting is quite specific to linux and
its subsystems, other operating systems might prefer other settings,
so that the bootloader cannot really set a sane default for all.

So introduce a top-level driver for the grf that handles these
settings that need to be a certain way but nobody cares about.

Other needed settings might surface in the future and can then
be added here, but only as a last option. Ideally general GRF
settings should be handled in the driver needing them.

Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Reviewed-by: Douglas Anderson <dianders@chromium.org>
2017-01-06 10:28:19 +01:00
..
bcm soc: raspberrypi-power: add CONFIG_OF dependency 2016-07-07 14:58:38 +02:00
dove soc: dove: add legacy support to PMU driver 2015-12-08 13:19:29 +01:00
fsl powerpc updates for 4.10 2016-12-16 09:26:42 -08:00
mediatek soc: mediatek: Add MT2701 scpsys driver 2016-10-31 00:58:58 +01:00
qcom soc: qcom: smd: Reset rx tail rather than tx 2016-09-01 14:19:50 -05:00
renesas ARM: SoC driver updates for v4.10 2016-12-15 16:03:25 -08:00
rockchip soc: rockchip: add driver handling grf setup 2017-01-06 10:28:19 +01:00
samsung ARM: EXYNOS: Remove calls to of_genpd_get_from_provider() 2016-09-13 02:49:33 +02:00
sunxi drivers: soc: sunxi: Fix mask generation for SRAM mapping 2016-01-27 20:29:20 +01:00
tegra soc/tegra: pmc: Use consistent naming for PM domains 2016-11-15 15:51:56 +01:00
ti soc: ti: qmss: fix the case when !SMP 2016-11-30 22:10:23 +01:00
ux500 ARM: ux500: move soc_id driver to drivers/soc 2016-07-12 11:24:09 +02:00
versatile soc: versatile: dynamically detect RealView HBI numbers 2016-04-04 10:58:47 +02:00
Kconfig soc: fsl: add GUTS driver for QorIQ platforms 2016-11-29 09:17:20 +01:00
Makefile This is a set of cleanups for the Ux500 that reduce the number 2016-07-14 15:23:19 +02:00