soc: fsl: add GUTS driver for QorIQ platforms
authoryangbo lu <yangbo.lu@nxp.com>
Wed, 9 Nov 2016 03:14:08 +0000 (11:14 +0800)
committerUlf Hansson <ulf.hansson@linaro.org>
Tue, 29 Nov 2016 08:17:20 +0000 (09:17 +0100)
commita6fc3b698130230a2342baacd7821eea0405154c
tree37edafb8747b0d0e22cdd68d02705ff43eecb7b1
parenta8c759c78f709a8c0642a67debf88ec597d74757
soc: fsl: add GUTS driver for QorIQ platforms

The global utilities block controls power management, I/O device
enabling, power-onreset(POR) configuration monitoring, alternate
function selection for multiplexed signals,and clock control.

This patch adds a driver to manage and access global utilities block.
Initially only reading SVR and registering soc device are supported.
Other guts accesses, such as reading RCW, should eventually be moved
into this driver as well.

Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/soc/Kconfig
drivers/soc/fsl/Kconfig [new file with mode: 0644]
drivers/soc/fsl/Makefile
drivers/soc/fsl/guts.c [new file with mode: 0644]
include/linux/fsl/guts.h