linux/drivers/soc
Alice Guo 7d981405d0 soc: imx8m: change to use platform driver
Directly reading ocotp register depends on that bootloader enables ocotp
clk, which is not always effective, so change to use nvmem API. Using
nvmem API requires to support driver defer probe and thus change
soc-imx8m.c to use platform driver.

The other reason is that directly reading ocotp register causes kexec
kernel hang because the 1st kernel running will disable unused clks
after kernel boots up, and then ocotp clk will be disabled even if
bootloader enables it. When kexec kernel, ocotp clk needs to be enabled
before reading ocotp registers, and nvmem API with platform driver
supported can accomplish this.

Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: Alice Guo <alice.guo@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2021-01-11 10:46:09 +08:00
..
actions soc: actions: include header to fix missing prototype 2020-09-22 12:45:16 +05:30
amlogic soc: amlogic: replace devm_reset_control_array_get() 2020-11-30 16:23:11 -08:00
aspeed soc: aspeed: Enable drivers with ARCH_ASPEED 2020-11-19 23:01:36 +10:30
atmel ARM: at91: sam9x60 SiP types added to soc description 2020-10-28 21:27:39 +01:00
bcm soc: bcm: brcmstb: pm: pm-arm: Provide prototype for brcmstb_pm_s3_finish() 2020-11-03 19:25:04 -08:00
dove
fsl ARM: SoC drivers for v5.11 2020-12-16 16:38:41 -08:00
gemini
imx soc: imx8m: change to use platform driver 2021-01-11 10:46:09 +08:00
ixp4xx soc: ixp4xx: Protect IXP4xx SoC drivers by ARCH_IXP4XX || COMPILE_TEST 2019-08-29 17:34:38 +02:00
kendryte riscv: K210: Add a built-in device tree 2020-05-18 11:38:06 -07:00
lantiq soc: lantiq: convert to devm_platform_ioremap_resource 2020-01-10 11:44:52 -08:00
litex drivers/soc/litex: add LiteX SoC Controller driver 2020-11-09 21:07:00 +09:00
mediatek soc: mediatek: mmsys: Specify HAS_IOMEM dependency for MTK_MMSYS 2020-12-10 15:33:56 +01:00
qcom soc: qcom: rpmhpd: Add SDX55 power domains 2020-11-26 11:50:31 -06:00
renesas soc: renesas: rmobile-sysc: Stop using __raw_*() I/O accessors 2020-11-27 14:09:37 +01:00
rockchip soc: rockchip: io-domain: Fix error return code in rockchip_iodomain_probe() 2020-12-04 11:20:47 +01:00
samsung soc: samsung: exynos-chipid: initialize later - with arch_initcall 2020-12-05 15:12:02 +01:00
sifive soc: sifive: l2 cache: Mark l2_get_priv_group as static 2020-05-28 15:57:49 -07:00
sunxi soc: sunxi: Fix compilation of sunxi_mbus 2020-11-24 11:58:33 +01:00
tegra soc/tegra: Changes for v5.11-rc1 2020-11-27 17:56:10 +01:00
ti dmaengine updates for v5.11-rc1 2020-12-17 12:52:23 -08:00
ux500 soc: ux500: Use custom soc attribute group instead of device_create_file 2020-07-06 09:48:06 +01:00
versatile soc: integrator: Drop pointless static qualifier in integrator_soc_init() 2020-08-20 08:57:05 +02:00
xilinx soc: xilinx: vcu: use vcu-settings syscon registers 2020-12-09 19:36:33 +01:00
zte treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 194 2019-05-30 11:29:22 -07:00
Kconfig drivers/soc/litex: add LiteX SoC Controller driver 2020-11-09 21:07:00 +09:00
Makefile OpenRISC updates for 5.11 2020-12-17 13:41:27 -08:00