diff options
author | André Draszik <git@andred.net> | 2020-02-25 16:11:57 +0000 |
---|---|---|
committer | Shawn Guo <shawnguo@kernel.org> | 2020-03-11 14:46:38 +0800 |
commit | 135be16d350565a1779db3548d751eea663f0d96 (patch) | |
tree | a2c5c7f1912261e9954934f19aca7bbfae3c39d9 /arch/arm/boot/dts/imx7s.dtsi | |
parent | 8cdff3241f63da30b0228d8719cf04b72d671f7d (diff) | |
download | linux-135be16d350565a1779db3548d751eea663f0d96.tar.gz linux-135be16d350565a1779db3548d751eea663f0d96.tar.bz2 linux-135be16d350565a1779db3548d751eea663f0d96.zip |
ARM: dts: imx7s: add snvs clock to pwrkey
On i.MX7, the SNVS requires a clock. This is similar to the clock
bound to the SNVS RTC node, but if the SNVS RTC driver isn't enabled,
then SNVS doesn't work, and as such the pwrkey driver doesn't
work (i.e. hangs the kernel, as the clock isn't enabled).
Also see commit ec2a844ef7c1
("ARM: dts: imx7s: add snvs rtc clock")
for a similar fix.
Signed-off-by: André Draszik <git@andred.net>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Diffstat (limited to 'arch/arm/boot/dts/imx7s.dtsi')
-rw-r--r-- | arch/arm/boot/dts/imx7s.dtsi | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/imx7s.dtsi b/arch/arm/boot/dts/imx7s.dtsi index 196bbd6f6fcc..5df205f8a066 100644 --- a/arch/arm/boot/dts/imx7s.dtsi +++ b/arch/arm/boot/dts/imx7s.dtsi @@ -606,6 +606,8 @@ compatible = "fsl,sec-v4.0-pwrkey"; regmap = <&snvs>; interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&clks IMX7D_SNVS_CLK>; + clock-names = "snvs-pwrkey"; linux,keycode = <KEY_POWER>; wakeup-source; status = "disabled"; |