linux/drivers/soc
Dong Aisheng 3a317f5235 soc: imx: gpc: fix the wrong using of regmap cache
Without providing the proper reg_defaults, the regmap registers first
read out may be always 0 if enabling cache, which results in the
following issue we met.
e.g. During driver probe in imx6_pm_domain_power_on():
regmap_read(pd->regmap, pd->reg_offs + GPC_PGC_PUPSCR_OFFS, &val);
The PGC_PUPSCR register val is always 0 but it's actually 0xf01 in HW.

Since GPC registers are tightly related to CPU bring up and may be
changed in bootloader, we don't want to provide defaults.
And the cache really does not save too much for GPC module.

Therefore, simply disable cache to fix the issue and make life easy.

Reviewed-by: Lucas Stach <l.stach@pengutronix.de>
Fixes: 721cabf6c6 ("soc: imx: move PGC handling to a new GPC driver")
Signed-off-by: Dong Aisheng <aisheng.dong@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2017-03-24 13:41:51 +08:00
..
bcm soc: raspberrypi-power: add CONFIG_OF dependency 2016-07-07 14:58:38 +02:00
dove soc: dove: constify reset_control_ops structures 2017-01-27 17:52:57 +01:00
fsl sched/headers: Prepare to move signal wakeup & sigpending methods from <linux/sched.h> into <linux/sched/signal.h> 2017-03-02 08:42:32 +01:00
imx soc: imx: gpc: fix the wrong using of regmap cache 2017-03-24 13:41:51 +08:00
mediatek soc: mediatek: Add MT2701 scpsys driver 2016-10-31 00:58:58 +01:00
qcom remoteproc: qcom: mdt_loader: Use signed type for offset 2017-02-22 02:07:13 -08: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 Improve the PM domains driver for Exynos by displaying a user-friendly name of 2017-02-07 17:20:07 +01: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 ARM: SoC driver updates 2017-02-23 15:57:04 -08: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
zte soc: zte: pm_domains: Add support for zx296718 2017-01-11 16:21:14 +08:00
Kconfig soc: zte: pm_domains: Prepare for supporting ARMv8 zx2967 family 2017-01-11 16:21:10 +08:00
Makefile soc: imx: move PGC handling to a new GPC driver 2017-03-08 11:55:47 +01:00