[PATCH] dt-bindings: rng: Convert i.MX to json-schema

2020-08-04 Thread Anson Huang
Convert the i.MX rng binding to DT schema format using json-schema. Signed-off-by: Anson Huang --- Documentation/devicetree/bindings/rng/imx-rng.txt | 23 -- Documentation/devicetree/bindings/rng/imx-rng.yaml | 50 ++ 2 files changed, 50 insertions(+), 23 deletions

[PATCH 1/3] dt-bindings: crypto: Convert MXS DCP to json-schema

2020-08-04 Thread Anson Huang
Convert the MXS DCP binding to DT schema format using json-schema. Signed-off-by: Anson Huang --- .../devicetree/bindings/crypto/fsl-dcp.txt | 18 .../devicetree/bindings/crypto/fsl-dcp.yaml| 49 ++ 2 files changed, 49 insertions(+), 18 deletions

[PATCH 3/3] dt-bindings: crypto: Convert i.MX sahara to json-schema

2020-08-04 Thread Anson Huang
Convert the i.MX sahara binding to DT schema format using json-schema. Signed-off-by: Anson Huang --- .../devicetree/bindings/crypto/fsl-imx-sahara.txt | 15 -- .../devicetree/bindings/crypto/fsl-imx-sahara.yaml | 35 ++ 2 files changed, 35 insertions(+), 15

[PATCH 2/3] dt-bindings: crypto: Convert i.MX SCC to json-schema

2020-08-04 Thread Anson Huang
Convert the i.MX SCC binding to DT schema format using json-schema. Signed-off-by: Anson Huang --- .../devicetree/bindings/crypto/fsl-imx-scc.txt | 21 - .../devicetree/bindings/crypto/fsl-imx-scc.yaml| 52 ++ 2 files changed, 52 insertions(+), 21 deletions

[PATCH 1/2] char: hw_random: imx-rngc: use devm_platform_ioremap_resource() to simplify code

2019-07-17 Thread Anson . Huang
From: Anson Huang Use the new helper devm_platform_ioremap_resource() which wraps the platform_get_resource() and devm_ioremap_resource() together, to simplify the code. Signed-off-by: Anson Huang --- drivers/char/hw_random/imx-rngc.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions

[PATCH 2/2] char: hw_random: mxc-rnga: use devm_platform_ioremap_resource() to simplify code

2019-07-17 Thread Anson . Huang
From: Anson Huang Use the new helper devm_platform_ioremap_resource() which wraps the platform_get_resource() and devm_ioremap_resource() together, to simplify the code. Signed-off-by: Anson Huang --- drivers/char/hw_random/mxc-rnga.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions

[PATCH V4 1/2] clk: imx: imx7d: add the snvs clock

2018-01-09 Thread Anson Huang
According to the i.MX7D Reference Manual, SNVS block has a clock gate, accessing SNVS block would need this clock gate to be enabled, add it into clock tree so that SNVS module driver can operate this clock gate. Signed-off-by: Anson Huang Acked-by: Dong Aisheng Reviewed-by: Fabio Estevam

RE: [PATCH V3 1/2] clk: imx: imx7d: add the snvs clock

2018-01-09 Thread Anson Huang
Best Regards! Anson Huang > -Original Message- > From: Dong Aisheng [mailto:donga...@gmail.com] > Sent: 2018-01-09 5:44 PM > To: Anson Huang > Cc: Horia Geantă ; Aymen Sghaier > ; herb...@gondor.apana.org.au; > da...@davemloft.net; robh...@kernel.org; mark.rut

[PATCH V4 2/2] ARM: dts: imx7s: add snvs rtc clock

2018-01-09 Thread Anson Huang
Add i.MX7 SNVS RTC clock. Signed-off-by: Anson Huang --- change since v3: add optional for clocks in binding doc statement. Documentation/devicetree/bindings/crypto/fsl-sec4.txt | 17 + arch/arm/boot/dts/imx7s.dtsi | 2 ++ 2 files changed, 19

RE: [PATCH V3 2/2] ARM: dts: imx7s: add snvs rtc clock

2018-01-09 Thread Anson Huang
Best Regards! Anson Huang > -Original Message- > From: Dong Aisheng [mailto:donga...@gmail.com] > Sent: 2018-01-09 5:47 PM > To: Anson Huang > Cc: Horia Geantă ; Aymen Sghaier > ; herb...@gondor.apana.org.au; > da...@davemloft.net; robh...@kernel.org; mark.rut

[PATCH V3 2/2] ARM: dts: imx7s: add snvs rtc clock

2018-01-09 Thread Anson Huang
Add i.MX7 SNVS RTC clock. Signed-off-by: Anson Huang --- changes since v2: improve the binding doc statement about clocks. Documentation/devicetree/bindings/crypto/fsl-sec4.txt | 15 +++ arch/arm/boot/dts/imx7s.dtsi | 2 ++ 2 files changed, 17

[PATCH V3 1/2] clk: imx: imx7d: add the snvs clock

2018-01-09 Thread Anson Huang
According to the i.MX7D Reference Manual, SNVS block has a clock gate, accessing SNVS block would need this clock gate to be enabled, add it into clock tree so that SNVS module driver can operate this clock gate. Signed-off-by: Anson Huang --- drivers/clk/imx/clk-imx7d.c | 1

RE: [PATCH V2 2/2] ARM: dts: imx7s: add snvs rtc clock

2018-01-09 Thread Anson Huang
Best Regards! Anson Huang > -Original Message- > From: Fabio Estevam [mailto:feste...@gmail.com] > Sent: 2018-01-09 5:27 PM > To: Anson Huang > Cc: Horia Geantă ; Aymen Sghaier > ; Herbert Xu ; > David S. Miller ; Rob Herring ; > Mark Rutland ; Shawn Guo

[PATCH V2 1/2] clk: imx: imx7d: add the snvs clock

2018-01-08 Thread Anson Huang
According to the i.MX7D Reference Manual, SNVS block has a clock gate, accessing SNVS block would need this clock gate to be enabled, add it into clock tree so that SNVS module driver can operate this clock gate. Signed-off-by: Anson Huang --- no changes since v1. drivers/clk/imx/clk-imx7d.c

[PATCH V2 2/2] ARM: dts: imx7s: add snvs rtc clock

2018-01-08 Thread Anson Huang
Add i.MX7 SNVS RTC clock. Signed-off-by: Anson Huang --- changes since v1: update snvs lp rtc binding-doc for clock info. Documentation/devicetree/bindings/crypto/fsl-sec4.txt | 16 arch/arm/boot/dts/imx7s.dtsi | 2 ++ 2 files changed, 18