[PATCH v1 0/4] change drivers/soc/imx/soc-imx8m.c to use platform driver
From: Alice Guo
Date: Tue Nov 03 2020 - 22:07:09 EST
Directly reading ocotp register relies on bootloader to enable the ocotp clock,
which is not always true, so we need to use nvmem API. Using nvmem API means
that driver defer probe needs to be supported.
Alice Guo (4):
LF-2571-1: dt-bindings: soc: imx8m: add DT Binding doc for soc unique
ID
LF-2571-2 arm64: dts: imx8m: add compatible string to .dtsi file
LF-2571-3 arm64: dts: imx8m: add nvmem-cell related stuff
LF-2571-4 soc: imx8m: change to use platform driver
.../bindings/soc/imx/imx8m-unique-id.yaml | 32 ++++++++
arch/arm64/boot/dts/freescale/imx8mm.dtsi | 8 +-
arch/arm64/boot/dts/freescale/imx8mn.dtsi | 8 +-
arch/arm64/boot/dts/freescale/imx8mp.dtsi | 8 +-
arch/arm64/boot/dts/freescale/imx8mq.dtsi | 8 +-
drivers/soc/imx/soc-imx8m.c | 75 +++++++++++--------
6 files changed, 102 insertions(+), 37 deletions(-)
create mode 100644 Documentation/devicetree/bindings/soc/imx/imx8m-unique-id.yaml
--
2.17.1