diff mbox series

[2/2] arm64: dts: imx8mp: Add snvs clock to powerkey

Message ID 1583998450-19292-2-git-send-email-Anson.Huang@nxp.com (mailing list archive)
State Mainlined
Commit 6c389f29beb74c4a66e272a8df20367821ad3daa
Headers show
Series [1/2] arm64: dts: imx8mn: Add snvs clock to powerkey | expand

Commit Message

Anson Huang March 12, 2020, 7:34 a.m. UTC
SNVS powerkey driver needs snvs clock for proper clock management,
add support for it.

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
---
 arch/arm64/boot/dts/freescale/imx8mp.dtsi | 2 ++
 1 file changed, 2 insertions(+)

Comments

Horia Geanta March 12, 2020, 7:56 a.m. UTC | #1
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 <Anson.Huang@nxp.com>
Reviewed-by: Horia Geantă <horia.geanta@nxp.com>

Thanks,
Horia
diff mbox series

Patch

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