RE: [RFC v1 PATCH 3/3] driver: update all the code that use soc_device_match

2021-04-19 Thread Alice Guo (OSS)
> -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

RE: [RFC v1 PATCH 3/3] driver: update all the code that use soc_device_match

2021-04-19 Thread Alice Guo (OSS)
> -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

RE: [RFC v1 PATCH 1/3] drivers: soc: add support for soc_device_match returning -EPROBE_DEFER

2021-04-19 Thread Alice Guo (OSS)
> -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

[RFC v1 PATCH 3/3] driver: update all the code that use soc_device_match

2021-04-18 Thread Alice Guo (OSS)
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

[RFC v1 PATCH 2/3] caam: add defer probe when the caam driver cannot identify SoC

2021-04-18 Thread Alice Guo (OSS)
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

[RFC v1 PATCH 1/3] drivers: soc: add support for soc_device_match returning -EPROBE_DEFER

2021-04-18 Thread Alice Guo (OSS)
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

[RFC v1 PATCH 0/3] support soc_device_match to return -EPROBE_DEFER

2021-04-18 Thread Alice Guo (OSS)
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

RE: [EXT] regression due to soc_device_match not handling defer (Was: [PATCH v4 4/4] soc: imx8m: change to use platform driver)

2021-03-29 Thread Alice Guo (OSS)
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...@k

[PATCH v1] arm64: dts: imx8m: add pmu node

2021-02-22 Thread Alice Guo (OSS)
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

RE: [PATCH v1] LF-3434: arm64: dts: imx8m: add pmu node

2021-02-22 Thread Alice Guo (OSS)
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

[PATCH v1] LF-3434: arm64: dts: imx8m: add pmu node

2021-02-22 Thread Alice Guo (OSS)
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

[PATCH v10 2/4] arm64: dts: imx8m: add SoC ID compatible

2021-01-04 Thread Alice Guo (OSS)
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

[PATCH v10 3/4] arm64: dts: imx8m: add NVMEM provider and consumer to read soc unique ID

2021-01-04 Thread Alice Guo (OSS)
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

[PATCH v10 4/4] soc: imx8m: change to use platform driver

2021-01-04 Thread Alice Guo (OSS)
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

[PATCH v10 1/4] dt-bindings: soc: imx8m: add DT Binding doc for soc unique ID

2021-01-04 Thread Alice Guo (OSS)
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

[PATCH v9 3/4] arm64: dts: imx8m: add NVMEM provider and consumer to read soc unique ID

2020-12-22 Thread Alice Guo (OSS)
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

[PATCH v9 4/4] soc: imx8m: change to use platform driver

2020-12-22 Thread Alice Guo (OSS)
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

[PATCH v9 2/4] arm64: dts: imx8m: add SoC ID compatible

2020-12-22 Thread Alice Guo (OSS)
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 '---' Changes

[PATCH v9 1/4] dt-bindings: soc: imx8m: add DT Binding doc for soc unique ID

2020-12-22 Thread Alice Guo (OSS)
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

RE: [PATCH v8 1/4] dt-bindings: soc: imx8m: add DT Binding doc for soc unique ID

2020-12-21 Thread Alice Guo (OSS)
> -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

RE: [PATCH v8 3/4] arm64: dts: imx8m: add NVMEM provider and consumer to read soc unique ID

2020-12-20 Thread Alice Guo (OSS)
> -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

RE: [PATCH v8 4/4] soc: imx8m: change to use platform driver

2020-12-20 Thread Alice Guo (OSS)
> -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

RE: [PATCH v8 1/4] dt-bindings: soc: imx8m: add DT Binding doc for soc unique ID

2020-12-18 Thread Alice Guo (OSS)
> -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

RE: [PATCH v8 1/4] dt-bindings: soc: imx8m: add DT Binding doc for soc unique ID

2020-12-18 Thread Alice Guo (OSS)
> -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

[PATCH v8 4/4] soc: imx8m: change to use platform driver

2020-12-18 Thread Alice Guo (OSS)
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

[PATCH v8 2/4] arm64: dts: imx8m: add SoC ID compatible

2020-12-18 Thread Alice Guo (OSS)
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: - none Changes

[PATCH v8 1/4] dt-bindings: soc: imx8m: add DT Binding doc for soc unique ID

2020-12-18 Thread Alice Guo (OSS)
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

[PATCH v8 3/4] arm64: dts: imx8m: add NVMEM provider and consumer to read soc unique ID

2020-12-18 Thread Alice Guo (OSS)
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

RE: [PATCH v7 1/4] dt-bindings: soc: imx8m: add DT Binding doc for soc unique ID

2020-12-17 Thread Alice Guo (OSS)
> -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

RE: [PATCH v7 1/4] dt-bindings: soc: imx8m: add DT Binding doc for soc unique ID

2020-12-16 Thread Alice Guo (OSS)
> -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

[PATCH v7 4/4] soc: imx8m: change to use platform driver

2020-12-15 Thread Alice Guo (OSS)
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

[PATCH v7 2/4] arm64: dts: imx8m: add SoC ID compatible

2020-12-15 Thread Alice Guo (OSS)
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: - change

[PATCH v7 3/4] arm64: dts: imx8m: add NVMEM provider and consumer to read soc unique ID

2020-12-15 Thread Alice Guo (OSS)
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

[PATCH v7 1/4] dt-bindings: soc: imx8m: add DT Binding doc for soc unique ID

2020-12-15 Thread Alice Guo (OSS)
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

RE: [PATCH v6 1/4] dt-bindings: soc: imx8m: add DT Binding doc for soc unique ID

2020-12-08 Thread Alice Guo (OSS)
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

RE: [PATCH v6 1/4] dt-bindings: soc: imx8m: add DT Binding doc for soc unique ID

2020-11-30 Thread Alice Guo (OSS)
> -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

RE: [PATCH v6 4/4] soc: imx8m: change to use platform driver

2020-11-25 Thread Alice Guo
> -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 > ;

[PATCH v6 4/4] soc: imx8m: change to use platform driver

2020-11-23 Thread Alice 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

[PATCH v6 3/4] arm64: dts: imx8m: add NVMEM provider and consumer to read soc unique ID

2020-11-23 Thread 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 --- v2: remove the subject prefix "LF-2571-3"

[PATCH v6 2/4] arm64: dts: imx8m: add SoC ID compatible

2020-11-23 Thread 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 --- 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

[PATCH v6 1/4] dt-bindings: soc: imx8m: add DT Binding doc for soc unique ID

2020-11-23 Thread Alice Guo
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

[PATCH v5 4/4] soc: imx8m: change to use platform driver

2020-11-23 Thread Alice 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

[PATCH v5 3/4] arm64: dts: imx8m: add NVMEM provider and consumer to read soc unique ID

2020-11-23 Thread 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 --- v2: remove the subject prefix "LF-2571-3"

[PATCH v5 2/4] arm64: dts: imx8m: add SoC ID compatible

2020-11-23 Thread Alice Guo
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

[PATCH v5 1/4] dt-bindings: soc: imx8m: add DT Binding doc for soc unique ID

2020-11-23 Thread Alice Guo
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

RE: [EXT] Re: [PATCH v4 1/4] dt-bindings: soc: imx8m: add DT Binding doc for soc unique ID

2020-11-22 Thread Alice Guo
> -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

[PATCH v4 4/4] soc: imx8m: change to use platform driver

2020-11-20 Thread Alice Guo
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

[PATCH v4 3/4] arm64: dts: imx8m: add NVMEM provider and consumer to read soc unique ID

2020-11-20 Thread Alice Guo
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 ++

[PATCH v4 2/4] arm64: dts: imx8m: add SoC ID compatible

2020-11-20 Thread Alice Guo
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

[PATCH v4 1/4] dt-bindings: soc: imx8m: add DT Binding doc for soc unique ID

2020-11-20 Thread Alice Guo
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

RE: [EXT] Re: [PATCH v3 1/4] dt-bindings: soc: imx8m: add DT Binding doc for soc unique ID

2020-11-19 Thread Alice Guo
> -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

RE: [EXT] Re: [PATCH v3 4/4] soc: imx8m: change to use platform driver

2020-11-18 Thread Alice Guo
> -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

RE: [EXT] Re: [PATCH v3 4/4] soc: imx8m: change to use platform driver

2020-11-18 Thread Alice Guo
> -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

RE: [EXT] Re: [PATCH v3 4/4] soc: imx8m: change to use platform driver

2020-11-18 Thread Alice Guo
> -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

RE: [EXT] Re: [PATCH v3 1/4] dt-bindings: soc: imx8m: add DT Binding doc for soc unique ID

2020-11-16 Thread Alice Guo
> -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

RE: [EXT] Re: [PATCH v3 1/4] dt-bindings: soc: imx8m: add DT Binding doc for soc unique ID

2020-11-16 Thread Alice Guo
> -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

RE: [EXT] Re: [PATCH v3 4/4] soc: imx8m: change to use platform driver

2020-11-16 Thread Alice Guo
> -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

RE: [EXT] Re: [PATCH v3 3/4] arm64: dts: imx8m: add nvmem-cell related stuff

2020-11-15 Thread Alice Guo
> -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

RE: [EXT] Re: [PATCH v3 2/4] arm64: dts: imx8m: add compatible string to .dtsi file

2020-11-15 Thread Alice Guo
> -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

RE: [EXT] Re: [PATCH v3 1/4] dt-bindings: soc: imx8m: add DT Binding doc for soc unique ID

2020-11-15 Thread Alice Guo
> -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

[PATCH v3 1/4] dt-bindings: soc: imx8m: add DT Binding doc for soc unique ID

2020-11-13 Thread Alice Guo
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

[PATCH v3 4/4] soc: imx8m: change to use platform driver

2020-11-13 Thread Alice Guo
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

[PATCH v3 2/4] arm64: dts: imx8m: add compatible string to .dtsi file

2020-11-13 Thread Alice Guo
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

[PATCH v3 3/4] arm64: dts: imx8m: add nvmem-cell related stuff

2020-11-13 Thread Alice Guo
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

RE: [EXT] Re: [PATCH v2 4/4] soc: imx8m: change to use platform driver

2020-11-06 Thread Alice Guo
> -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

RE: [EXT] Re: [PATCH v2 1/4] dt-bindings: soc: imx8m: add DT Binding doc for soc unique ID

2020-11-05 Thread Alice Guo
> -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

[PATCH v2 1/4] dt-bindings: soc: imx8m: add DT Binding doc for soc unique ID

2020-11-04 Thread Alice Guo
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

[PATCH v2 2/4] arm64: dts: imx8m: add compatible string to .dtsi file

2020-11-04 Thread Alice Guo
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

[PATCH v2 3/4] arm64: dts: imx8m: add nvmem-cell related stuff

2020-11-04 Thread Alice Guo
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

[PATCH v2 4/4] soc: imx8m: change to use platform driver

2020-11-04 Thread Alice Guo
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

[PATCH v1 4/4] soc: imx8m: change to use platform driver

2020-11-03 Thread Alice Guo
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

[PATCH v1 3/4] arm64: dts: imx8m: add nvmem-cell related stuff

2020-11-03 Thread Alice Guo
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

[PATCH v1 0/4] change drivers/soc/imx/soc-imx8m.c to use platform driver

2020-11-03 Thread Alice Guo
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

[PATCH v1 2/4] arm64: dts: imx8m: add compatible string to .dtsi file

2020-11-03 Thread Alice Guo
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

[PATCH v1 1/4] dt-bindings: soc: imx8m: add DT Binding doc for soc unique ID

2020-11-03 Thread Alice Guo
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

[PATCH v1 0/4] change drivers/soc/imx/soc-imx8m.c to use platform driver

2020-11-03 Thread Alice Guo
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

[PATCH v1 1/4] LF-2571-1: dt-bindings: soc: imx8m: add DT Binding doc for soc unique ID

2020-11-03 Thread Alice Guo
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

[PATCH v1 4/4] LF-2571-4 soc: imx8m: change to use platform driver

2020-11-03 Thread Alice Guo
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

[PATCH v1 2/4] LF-2571-2 arm64: dts: imx8m: add compatible string to .dtsi file

2020-11-03 Thread Alice Guo
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

[PATCH v1 3/4] LF-2571-3 arm64: dts: imx8m: add nvmem-cell related stuff

2020-11-03 Thread Alice Guo
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