> -Original Message-
> From: Dominique MARTINET
> Sent: 2021年4月19日 13:03
> To: Alice Guo (OSS)
> Subject: Re: [RFC v1 PATCH 3/3] driver: update all the code that use
> soc_device_match
>
> Alice Guo (OSS) wrote on Mon, Apr 19, 2021 at 12:27:22PM +0
> -Original Message-
> From: Leon Romanovsky
> Sent: 2021年4月19日 13:02
> To: Alice Guo (OSS)
> Cc: gre...@linuxfoundation.org; raf...@kernel.org; Horia Geanta
> ; Aymen Sghaier ;
> herb...@gondor.apana.org.au; da...@davemloft.net; t...@atomide.com;
> geert+re
> -Original Message-
> From: Dominique MARTINET
> Sent: 2021年4月19日 12:49
> To: Alice Guo (OSS)
> Cc: gre...@linuxfoundation.org; raf...@kernel.org; Horia Geanta
> ; Aymen Sghaier ;
> herb...@gondor.apana.org.au; da...@davemloft.net; t...@atomide.com;
> geert+re
From: Alice Guo
Update all the code that use soc_device_match because add support for
soc_device_match returning -EPROBE_DEFER.
Signed-off-by: Alice Guo
---
drivers/bus/ti-sysc.c | 2 +-
drivers/clk/renesas/r8a7795-cpg-mssr.c| 4 +++-
drivers/clk/renesas/rcar
From: Alice Guo
When imx8_soc_info_driver uses module_platform_driver() to regitser
itself, the caam driver cannot identify the SoC in the machine because
the SoC driver is probed later, so that add return -EPROBE_DEFER.
Signed-off-by: Alice Guo
---
drivers/crypto/caam/ctrl.c | 3 +++
1 file
From: Alice Guo
In i.MX8M boards, the registration of SoC device is later than caam
driver which needs it. Caam driver needs soc_device_match to provide
-EPROBE_DEFER when no SoC device is registered and no
early_soc_dev_attr.
Signed-off-by: Alice Guo
---
drivers/base/soc.c | 5 +
1 file
From: Alice Guo
In patch "soc: imx8m: change to use platform driver", change soc-imx8m.c to use
module platform driver and use NVMEM APIs to ocotp register, the reason is that
directly reading ocotp egister causes kexec kernel hang because kernel will
disable unused clks after kerne
Hi,
Thanks for reporting this issue, I'll check and add a fix to handle defer probe.
Best regards,
Alice Guo
> -Original Message-
> From: Dominique MARTINET
> Sent: 2021年3月29日 17:09
> To: Alice Guo ; Shawn Guo ;
> Krzysztof Kozlowski
> Cc: robh
From: Alice Guo
Adding pmu node supports to use perf tool to monitor the CPU performance
of the inmate cell when enabling Jailhouse and running dual Linux OS.
Signed-off-by: Alice Guo
---
arch/arm64/boot/dts/freescale/imx8mm-evk-inmate.dts | 7 +++
arch/arm64/boot/dts/freescale/imx8mn-evk
Ignore this patch.
> -Original Message-
> From: linux-arm-kernel On
> Behalf Of Alice Guo (OSS)
> Sent: 2021年2月23日 11:08
> To: robh...@kernel.org; shawn...@kernel.org; s.ha...@pengutronix.de;
> ker...@pengutronix.de; feste...@gmail.com; dl-linux-imx
>
> Cc: de
From: Alice Guo
Adding pmu node supports to use perf tool to monitor the CPU performance
of the inmate cell when enabling Jailhouse and running dual Linux OS.
Signed-off-by: Alice Guo
---
arch/arm64/boot/dts/freescale/imx8mm-evk-inmate.dts | 7 +++
arch/arm64/boot/dts/freescale/imx8mn-evk
From: Alice Guo
Add compatible string to .dtsi files for binding of imx8_soc_info and
device.
Reviewed-by: Krzysztof Kozlowski
Signed-off-by: Alice Guo
---
Changes for v10:
- none
Changes for v9:
- none
Changes for v8:
- none
Changes for v7:
- none
Changes for v6:
- leave only the
From: Alice Guo
In order to be able to use NVMEM APIs to read soc unique ID, add the
nvmem data cell and name for nvmem-cells to the "soc" node, and add a
nvmem node which provides soc unique ID to efuse@3035.
Reviewed-by: Krzysztof Kozlowski
Signed-off-by: Alice Guo
---
Chang
From: Alice Guo
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
From: Alice Guo
Add DT Binding doc for the Unique ID of i.MX 8M series.
Reviewed-by: Krzysztof Kozlowski
Reviewed-by: Rob Herring
Signed-off-by: Alice Guo
---
Changes for v10:
- add Reviewed-by
Changes for v9:
- add additionalProperties for "^soc@[0-9a-f]+$"
- add examples
Chan
From: Alice Guo
In order to be able to use NVMEM APIs to read soc unique ID, add the
nvmem data cell and name for nvmem-cells to the "soc" node, and add a
nvmem node which provides soc unique ID to efuse@3035.
Reviewed-by: Krzysztof Kozlowski
Signed-off-by: Alice Guo
---
Chan
From: Alice Guo
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
From: Alice Guo
Add compatible string to .dtsi files for binding of imx8_soc_info and
device.
Reviewed-by: Krzysztof Kozlowski
Signed-off-by: Alice Guo
---
Changes for v9:
- none
Changes for v8:
- none
Changes for v7:
- none
Changes for v6:
- leave only the changelog under '---
From: Alice Guo
Add DT Binding doc for the Unique ID of i.MX 8M series.
Signed-off-by: Alice Guo
---
Changes for v9:
- add additionalProperties for "^soc@[0-9a-f]+$"
- add examples
Changes for v8:
- match soc node with regular expression
Changes for v7:
- change to a separate s
> -Original Message-
> From: Rob Herring
> Sent: 2020年12月18日 22:00
> To: Alice Guo (OSS)
> Cc: Krzysztof Kozlowski ; shawn...@kernel.org;
> s.ha...@pengutronix.de; ker...@pengutronix.de; feste...@gmail.com;
> devicet...@vger.kernel.org; linux-arm-ker...@lists.i
> -Original Message-
> From: Krzysztof Kozlowski
> Sent: 2020年12月19日 20:17
> To: Alice Guo (OSS)
> Cc: robh...@kernel.org; shawn...@kernel.org; s.ha...@pengutronix.de;
> ker...@pengutronix.de; feste...@gmail.com; devicet...@vger.kernel.org;
> linux-arm-ker...@lists
> -Original Message-
> From: Krzysztof Kozlowski
> Sent: 2020年12月19日 20:18
> To: Alice Guo (OSS)
> Cc: robh...@kernel.org; shawn...@kernel.org; s.ha...@pengutronix.de;
> ker...@pengutronix.de; feste...@gmail.com; devicet...@vger.kernel.org;
> linux-arm-ker...@lists
> -Original Message-
> From: Krzysztof Kozlowski
> Sent: 2020年12月18日 17:37
> To: Alice Guo (OSS)
> Cc: robh...@kernel.org; shawn...@kernel.org; s.ha...@pengutronix.de;
> ker...@pengutronix.de; feste...@gmail.com; devicet...@vger.kernel.org;
> linux-arm-ker...@lists
> -Original Message-
> From: Krzysztof Kozlowski
> Sent: 2020年12月18日 16:52
> To: Alice Guo (OSS)
> Cc: robh...@kernel.org; shawn...@kernel.org; s.ha...@pengutronix.de;
> ker...@pengutronix.de; feste...@gmail.com; devicet...@vger.kernel.org;
> linux-arm-ker...@lists
From: Alice Guo
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
From: Alice Guo
Add compatible string to .dtsi files for binding of imx8_soc_info and
device.
Reviewed-by: Krzysztof Kozlowski
Signed-off-by: Alice Guo
---
Changes for v8:
- none
Changes for v7:
- none
Changes for v6:
- leave only the changelog under '---'
Changes for v5:
- no
From: Alice Guo
Add DT Binding doc for the Unique ID of i.MX 8M series.
Signed-off-by: Alice Guo
---
Changes for v8:
- match soc node with regular expression
Changes for v7:
- change to a separate schema file
Changes for v6:
- none
Changes for v5:
- correct the error of using allOf
From: Alice Guo
In order to be able to use NVMEM APIs to read soc unique ID, add the
nvmem data cell and name for nvmem-cells to the "soc" node, and add a
nvmem node which provides soc unique ID to efuse@3035.
Signed-off-by: Alice Guo
---
Changes for v8:
- none
Changes for
> -Original Message-
> From: Rob Herring
> Sent: 2020年12月16日 4:33
> To: Alice Guo (OSS)
> Cc: shawn...@kernel.org; s.ha...@pengutronix.de; ker...@pengutronix.de;
> feste...@gmail.com; k...@kernel.org; devicet...@vger.kernel.org;
> linux-arm-ker...@lists.infrad
> -Original Message-
> From: Krzysztof Kozlowski
> Sent: 2020年12月15日 17:11
> To: Alice Guo (OSS)
> Cc: robh...@kernel.org; shawn...@kernel.org; s.ha...@pengutronix.de;
> ker...@pengutronix.de; feste...@gmail.com; devicet...@vger.kernel.org;
> linux-arm-ker...@lists
From: Alice Guo
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
From: Alice Guo
Add compatible string to .dtsi files for binding of imx8_soc_info and
device.
Reviewed-by: Krzysztof Kozlowski
Signed-off-by: Alice Guo
---
Changes for v7:
- none
Changes for v6:
- leave only the changelog under '---'
Changes for v5:
- none
Changes for v4:
From: Alice Guo
In order to be able to use NVMEM APIs to read soc unique ID, add the
nvmem data cell and name for nvmem-cells to the "soc" node, and add a
nvmem node which provides soc unique ID to efuse@3035.
Reviewed-by: Krzysztof Kozlowski
Signed-off-by: Alice Guo
---
Chan
From: Alice Guo
Add DT Binding doc for the Unique ID of i.MX 8M series.
Signed-off-by: Alice Guo
---
Changes for v7:
- change to a separate schema file
Changes for v6:
- none
Changes for v5:
- correct the error of using allOf
Changes for v4:
- use allOf to limit new version DTS files for
Gentle ping.. and Krzysztof Kozlowski, do you agree?
Best Regards,
Alice Guo
> -Original Message-
> From: linux-arm-kernel On
> Behalf Of Alice Guo (OSS)
> Sent: 2020年12月1日 11:31
> To: Rob Herring ; Krzysztof Kozlowski ;
> shawn...@kernel.org
> Cc: devicet...@vger
> -Original Message-
> From: linux-arm-kernel On
> Behalf Of Rob Herring
> Sent: 2020年12月1日 5:57
> To: Alice Guo
> Cc: devicet...@vger.kernel.org; Peng Fan ;
> s.ha...@pengutronix.de; linux-kernel@vger.kernel.org; k...@kernel.org;
> dl-linux-imx ; shawn...@ker
> -Original Message-
> From: linux-arm-kernel On
> Behalf Of Adam Ford
> Sent: 2020年11月25日 8:45
> To: Alice Guo
> Cc: devicetree ; Peng Fan ;
> Sascha Hauer ; Linux Kernel Mailing List
> ; Krzysztof Kozlowski ; Rob
> Herring ; dl-linux-imx ; Shawn Guo
> ;
can accomplish this.
Signed-off-by: Alice Guo
---
v2: remove the subject prefix "LF-2571-4"
v3: Keep the original way which uses device_initcall to read soc unique
ID, and add the other way which uses module_platform_driver and
nvmem API, so that it will not break the old ve
In order to be able to use NVMEM APIs to read soc unique ID, add the
nvmem data cell and name for nvmem-cells to the "soc" node, and add a
nvmem node which provides soc unique ID to efuse@3035.
Signed-off-by: Alice Guo
---
v2: remove the subject prefix "LF-2571-3"
Add compatible string to .dtsi files for binding of imx8_soc_info and
device.
Reviewed-by: Krzysztof Kozlowski
Signed-off-by: Alice Guo
---
v2: remove the subject prefix "LF-2571-2"
v3: none
v4: change subject and commit message, add Reviewed-by
v5: none
v6: leave only the chang
Add DT Binding doc for the Unique ID of i.MX 8M series.
Signed-off-by: Alice Guo
---
v2: remove the subject prefix "LF-2571-1"
v3: put it into Documentation/devicetree/bindings/arm/fsl.yaml
modify the description of nvmem-cells
use "make ARCH=arm64 dtbs_check" to te
can accomplish this.
Signed-off-by: Alice Guo
---
v2: remove the subject prefix "LF-2571-4"
v3: Keep the original way which uses device_initcall to read soc unique
ID, and add the other way which uses module_platform_driver and
nvmem API, so that it will not break the old ve
In order to be able to use NVMEM APIs to read soc unique ID, add the
nvmem data cell and name for nvmem-cells to the "soc" node, and add a
nvmem node which provides soc unique ID to efuse@3035.
Signed-off-by: Alice Guo
---
v2: remove the subject prefix "LF-2571-3"
Add compatible string to .dtsi files for binding of imx8_soc_info and
device.
v2: remove the subject prefix "LF-2571-2"
v3: none
v4: change subject and commit message, add Reviewed-by
Reviewed-by: Krzysztof Kozlowski
Signed-off-by: Alice Guo
---
v2: remove the subject prefix &quo
Add DT Binding doc for the Unique ID of i.MX 8M series.
Signed-off-by: Alice Guo
---
v2: remove the subject prefix "LF-2571-1"
v3: put it into Documentation/devicetree/bindings/arm/fsl.yaml
modify the description of nvmem-cells
use "make ARCH=arm64 dtbs_check" to te
> -Original Message-
> From: Krzysztof Kozlowski
> Sent: 2020年11月20日 18:51
> To: Alice Guo
> Cc: robh...@kernel.org; shawn...@kernel.org; s.ha...@pengutronix.de;
> dl-linux-imx ; Peng Fan ;
> devicet...@vger.kernel.org; linux-kernel@vger.kernel
ues of_find_matching_node_and_match()
delete of_match_ptr()
Signed-off-by: Alice Guo
---
drivers/soc/imx/soc-imx8m.c | 85 +++--
1 file changed, 73 insertions(+), 12 deletions(-)
diff --git a/drivers/soc/imx/soc-imx8m.c b/drivers/soc/imx/soc-imx8m.c
index cc57a
and sizes to hex
v4: delete "stuff" in subject and commit message, add detailed
description
Signed-off-by: Alice Guo
---
arch/arm64/boot/dts/freescale/imx8mm.dtsi | 6 ++
arch/arm64/boot/dts/freescale/imx8mn.dtsi | 6 ++
arch/arm64/boot/dts/freescale/imx8mp.dtsi | 6 ++
Add compatible string to .dtsi files for binding of imx8_soc_info and
device.
v2: remove the subject prefix "LF-2571-2"
v3: none
v4: change subject and commit message, add Reviewed-by
Reviewed-by: Krzysztof Kozlowski
Signed-off-by: Alice Guo
---
arch/arm64/boot/dts/freescale/imx8m
e allOf to limit new version DTS files for i.MX8M to include
"fsl,imx8mm/n/p/q-soc", nvmem-cells and nvmem-cells-names
Signed-off-by: Alice Guo
---
.../devicetree/bindings/arm/fsl.yaml | 51 +++
1 file changed, 51 insertions(+)
diff --git a/Documentation/devic
> -Original Message-
> From: Krzysztof Kozlowski
> Sent: 2020年11月17日 15:36
> To: Alice Guo
> Cc: robh...@kernel.org; shawn...@kernel.org; s.ha...@pengutronix.de;
> dl-linux-imx ; Peng Fan ;
> devicet...@vger.kernel.org; linux-kernel@vger.kernel
> -Original Message-
> From: Krzysztof Kozlowski
> Sent: 2020年11月18日 22:11
> To: Alice Guo
> Cc: robh...@kernel.org; shawn...@kernel.org; s.ha...@pengutronix.de;
> dl-linux-imx ; Peng Fan ;
> devicet...@vger.kernel.org; linux-kernel@vger.kernel
> -Original Message-
> From: Krzysztof Kozlowski
> Sent: 2020年11月18日 18:42
> To: Alice Guo
> Cc: robh...@kernel.org; shawn...@kernel.org; s.ha...@pengutronix.de;
> dl-linux-imx ; Peng Fan ;
> devicet...@vger.kernel.org; linux-kernel@vger.kernel
> -Original Message-
> From: Krzysztof Kozlowski
> Sent: 2020年11月17日 0:14
> To: Alice Guo
> Cc: robh...@kernel.org; shawn...@kernel.org; s.ha...@pengutronix.de;
> dl-linux-imx ; Peng Fan ;
> devicet...@vger.kernel.org; linux-kernel@vger.kernel
> -Original Message-
> From: Krzysztof Kozlowski
> Sent: 2020年11月17日 0:03
> To: Alice Guo
> Cc: robh...@kernel.org; shawn...@kernel.org; s.ha...@pengutronix.de;
> dl-linux-imx ; Peng Fan ;
> devicet...@vger.kernel.org; linux-kernel@vger.kernel
> -Original Message-
> From: Krzysztof Kozlowski
> Sent: 2020年11月17日 0:03
> To: Alice Guo
> Cc: robh...@kernel.org; shawn...@kernel.org; s.ha...@pengutronix.de;
> dl-linux-imx ; Peng Fan ;
> devicet...@vger.kernel.org; linux-kernel@vger.kernel
> -Original Message-
> From: Krzysztof Kozlowski
> Sent: 2020年11月15日 0:41
> To: Alice Guo
> Cc: robh...@kernel.org; shawn...@kernel.org; s.ha...@pengutronix.de;
> dl-linux-imx ; Peng Fan ;
> devicet...@vger.kernel.org; linux-kernel@vger.kernel
> -Original Message-
> From: Krzysztof Kozlowski
> Sent: 2020年11月15日 0:01
> To: Alice Guo
> Cc: robh...@kernel.org; shawn...@kernel.org; s.ha...@pengutronix.de;
> dl-linux-imx ; Peng Fan ;
> devicet...@vger.kernel.org; linux-kernel@vger.kernel
> -Original Message-
> From: Krzysztof Kozlowski
> Sent: 2020年11月14日 23:57
> To: Alice Guo
> Cc: robh...@kernel.org; shawn...@kernel.org; s.ha...@pengutronix.de;
> dl-linux-imx ; Peng Fan ;
> devicet...@vger.kernel.org; linux-kernel@vger.kernel
> -Original Message-
> From: Krzysztof Kozlowski
> Sent: 2020年11月15日 0:50
> To: Alice Guo
> Cc: robh...@kernel.org; shawn...@kernel.org; s.ha...@pengutronix.de;
> dl-linux-imx ; Peng Fan ;
> devicet...@vger.kernel.org; linux-kernel@vger.kernel.org;
> linux-arm-ke
Add DT Binding doc for the Unique ID of i.MX 8M series.
Signed-off-by: Alice Guo
---
.../devicetree/bindings/arm/fsl.yaml | 25 +++
1 file changed, 25 insertions(+)
diff --git a/Documentation/devicetree/bindings/arm/fsl.yaml
b/Documentation/devicetree/bindings/arm
can accomplish this.
Old .dts files can also work.
Signed-off-by: Alice Guo
---
drivers/soc/imx/soc-imx8m.c | 89 -
1 file changed, 79 insertions(+), 10 deletions(-)
diff --git a/drivers/soc/imx/soc-imx8m.c b/drivers/soc/imx/soc-imx8m.c
index cc57a384d74d
Add compatible string to .dtsi file for binding of imx8_soc_init_driver
and device.
Signed-off-by: Alice Guo
---
arch/arm64/boot/dts/freescale/imx8mm.dtsi | 2 +-
arch/arm64/boot/dts/freescale/imx8mn.dtsi | 2 +-
arch/arm64/boot/dts/freescale/imx8mp.dtsi | 2 +-
arch/arm64/boot/dts/freescale
Add nvmem-cell related stuff for the soc unique ID.
Signed-off-by: Alice Guo
---
arch/arm64/boot/dts/freescale/imx8mm.dtsi | 6 ++
arch/arm64/boot/dts/freescale/imx8mn.dtsi | 6 ++
arch/arm64/boot/dts/freescale/imx8mp.dtsi | 6 ++
arch/arm64/boot/dts/freescale/imx8mq.dtsi | 6
> -Original Message-
> From: Krzysztof Kozlowski
> Sent: 2020年11月5日 17:06
> To: Alice Guo
> Cc: robh...@kernel.org; shawn...@kernel.org; s.ha...@pengutronix.de;
> dl-linux-imx ; Peng Fan ;
> devicet...@vger.kernel.org; linux-kernel@vger.kernel
> -Original Message-
> From: Krzysztof Kozlowski
> Sent: 2020年11月5日 16:26
> To: Alice Guo
> Cc: robh...@kernel.org; shawn...@kernel.org; s.ha...@pengutronix.de;
> dl-linux-imx ; Peng Fan ;
> devicet...@vger.kernel.org; linux-kernel@vger.kernel
Add DT Binding doc for the Unique ID of i.MX 8M series.
Signed-off-by: Alice Guo
---
.../devicetree/bindings/arm/fsl.yaml | 33 +++
1 file changed, 33 insertions(+)
diff --git a/Documentation/devicetree/bindings/arm/fsl.yaml
b/Documentation/devicetree/bindings/arm
Add compatible string to .dtsi file for binding of imx8_soc_init_driver
and device.
Signed-off-by: Alice Guo
---
arch/arm64/boot/dts/freescale/imx8mm.dtsi | 2 +-
arch/arm64/boot/dts/freescale/imx8mn.dtsi | 2 +-
arch/arm64/boot/dts/freescale/imx8mp.dtsi | 2 +-
arch/arm64/boot/dts/freescale
Add nvmem-cell related stuff for the soc unique ID.
Signed-off-by: Alice Guo
---
arch/arm64/boot/dts/freescale/imx8mm.dtsi | 6 ++
arch/arm64/boot/dts/freescale/imx8mn.dtsi | 6 ++
arch/arm64/boot/dts/freescale/imx8mp.dtsi | 6 ++
arch/arm64/boot/dts/freescale/imx8mq.dtsi | 6
can accomplish this.
Signed-off-by: Alice Guo
---
drivers/soc/imx/soc-imx8m.c | 75 +
1 file changed, 42 insertions(+), 33 deletions(-)
diff --git a/drivers/soc/imx/soc-imx8m.c b/drivers/soc/imx/soc-imx8m.c
index cc57a384d74d..83f3297509be 100644
--- a
can accomplish this.
Signed-off-by: Alice Guo
---
drivers/soc/imx/soc-imx8m.c | 75 +
1 file changed, 42 insertions(+), 33 deletions(-)
diff --git a/drivers/soc/imx/soc-imx8m.c b/drivers/soc/imx/soc-imx8m.c
index cc57a384d74d..83f3297509be 100644
--- a
Add nvmem-cell related stuff for the soc unique ID.
Signed-off-by: Alice Guo
---
arch/arm64/boot/dts/freescale/imx8mm.dtsi | 6 ++
arch/arm64/boot/dts/freescale/imx8mn.dtsi | 6 ++
arch/arm64/boot/dts/freescale/imx8mp.dtsi | 6 ++
arch/arm64/boot/dts/freescale/imx8mq.dtsi | 6
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
Add compatible string to .dtsi file for binding of imx8_soc_init_driver
and device.
Signed-off-by: Alice Guo
---
arch/arm64/boot/dts/freescale/imx8mm.dtsi | 2 +-
arch/arm64/boot/dts/freescale/imx8mn.dtsi | 2 +-
arch/arm64/boot/dts/freescale/imx8mp.dtsi | 2 +-
arch/arm64/boot/dts/freescale
Add DT Binding doc for the Unique ID of i.MX 8M series.
Signed-off-by: Alice Guo
---
.../bindings/soc/imx/imx8m-unique-id.yaml | 32 +++
1 file changed, 32 insertions(+)
create mode 100644
Documentation/devicetree/bindings/soc/imx/imx8m-unique-id.yaml
diff --git a
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
Add DT Binding doc for the Unique ID of i.MX 8M series.
Signed-off-by: Alice Guo
---
.../bindings/soc/imx/imx8m-unique-id.yaml | 32 +++
1 file changed, 32 insertions(+)
create mode 100644
Documentation/devicetree/bindings/soc/imx/imx8m-unique-id.yaml
diff --git a
can accomplish this.
Signed-off-by: Alice Guo
---
drivers/soc/imx/soc-imx8m.c | 75 +
1 file changed, 42 insertions(+), 33 deletions(-)
diff --git a/drivers/soc/imx/soc-imx8m.c b/drivers/soc/imx/soc-imx8m.c
index cc57a384d74d..83f3297509be 100644
--- a
Add compatible string to .dtsi file for binding of imx8_soc_init_driver
and device.
Signed-off-by: Alice Guo
---
arch/arm64/boot/dts/freescale/imx8mm.dtsi | 2 +-
arch/arm64/boot/dts/freescale/imx8mn.dtsi | 2 +-
arch/arm64/boot/dts/freescale/imx8mp.dtsi | 2 +-
arch/arm64/boot/dts/freescale
Add nvmem-cell related stuff for the soc unique ID.
Signed-off-by: Alice Guo
---
arch/arm64/boot/dts/freescale/imx8mm.dtsi | 6 ++
arch/arm64/boot/dts/freescale/imx8mn.dtsi | 6 ++
arch/arm64/boot/dts/freescale/imx8mp.dtsi | 6 ++
arch/arm64/boot/dts/freescale/imx8mq.dtsi | 6
80 matches
Mail list logo