diff mbox series

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

Message ID 1583998450-19292-1-git-send-email-Anson.Huang@nxp.com (mailing list archive)
State Mainlined
Commit c2a2f44649684489102de7a8a57d71992e293935
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/imx8mn.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
Shawn Guo March 16, 2020, 1:45 a.m. UTC | #2
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 <Anson.Huang@nxp.com>

Applied both, thanks.
diff mbox series

Patch

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";