diff options
author | Robin Gong <yibin.gong@nxp.com> | 2020-05-11 18:50:28 +0800 |
---|---|---|
committer | Robin Gong <yibin.gong@nxp.com> | 2020-05-11 19:15:11 +0800 |
commit | b5aadaa4a5cd46c3a8386fc8a059ed2cb54cef04 (patch) | |
tree | d478eb2c05969f9b696985c62dc694ad71e21a0e /arch/arm64 | |
parent | 6d730b27cca55a6e140948eca99d62b07964def3 (diff) |
MLK-23659-1: arm64: dts: imx8mp: add snvs clock for snvs_pwrkey
Since snvs clock runtime management added for snvs_rtc, all snvs_pwrkey
should also added snvs clock, otherwise, snvs clock will be off after
snvs-rct driver suspend and snvs_pwrkey interrupt may come after that,
hence, kernel will hang.
Signed-off-by: Robin Gong <yibin.gong@nxp.com>
Reviewed-by: Anson Huang <anson.huang@nxp.com>
Diffstat (limited to 'arch/arm64')
-rw-r--r-- | arch/arm64/boot/dts/freescale/imx8mp.dtsi | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/freescale/imx8mp.dtsi b/arch/arm64/boot/dts/freescale/imx8mp.dtsi index c38dfb94ee92..b3b2f09b46ee 100644 --- a/arch/arm64/boot/dts/freescale/imx8mp.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mp.dtsi @@ -672,6 +672,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"; linux,keycode = <KEY_POWER>; wakeup-source; }; |