2020-03-12 07:43:00

by Anson Huang

[permalink] [raw]
Subject: [PATCH 1/2] arm64: dts: imx8mn: Add snvs clock to powerkey

SNVS powerkey driver needs snvs clock for proper clock management,
add support for it.

Signed-off-by: Anson Huang <[email protected]>
---
arch/arm64/boot/dts/freescale/imx8mn.dtsi | 2 ++
1 file changed, 2 insertions(+)

diff --git a/arch/arm64/boot/dts/freescale/imx8mn.dtsi b/arch/arm64/boot/dts/freescale/imx8mn.dtsi
index e3f6b28..ba9e415 100644
--- a/arch/arm64/boot/dts/freescale/imx8mn.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx8mn.dtsi
@@ -410,6 +410,8 @@
compatible = "fsl,sec-v4.0-pwrkey";
regmap = <&snvs>;
interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&clk IMX8MN_CLK_SNVS_ROOT>;
+ clock-names = "snvs-pwrkey";
linux,keycode = <KEY_POWER>;
wakeup-source;
status = "disabled";
--
2.7.4


2020-03-12 07:57:14

by Horia Geanta

[permalink] [raw]
Subject: Re: [PATCH 1/2] arm64: dts: imx8mn: Add snvs clock to powerkey

On 3/12/2020 9:40 AM, Anson Huang wrote:
> SNVS powerkey driver needs snvs clock for proper clock management,
> add support for it.
>
> Signed-off-by: Anson Huang <[email protected]>
Reviewed-by: Horia Geantă <[email protected]>

Thanks,
Horia

2020-03-16 01:47:12

by Shawn Guo

[permalink] [raw]
Subject: Re: [PATCH 1/2] arm64: dts: imx8mn: Add snvs clock to powerkey

On Thu, Mar 12, 2020 at 03:34:09PM +0800, Anson Huang wrote:
> SNVS powerkey driver needs snvs clock for proper clock management,
> add support for it.
>
> Signed-off-by: Anson Huang <[email protected]>

Applied both, thanks.