diff options
author | Vladimir Zapolskiy <vz@mleia.com> | 2019-01-26 16:29:20 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-01-27 14:46:16 +0100 |
commit | 25b8cd12a15c73acf75dcb0483d3857cfbae4c48 (patch) | |
tree | e3319259554b3f29dfa3e08741cf6975e13817b6 /arch/arm | |
parent | d7ee5bfb5541b2d8b652f1026c12a5a631d14b8e (diff) | |
download | linux-stable-25b8cd12a15c73acf75dcb0483d3857cfbae4c48.tar.gz linux-stable-25b8cd12a15c73acf75dcb0483d3857cfbae4c48.tar.bz2 linux-stable-25b8cd12a15c73acf75dcb0483d3857cfbae4c48.zip |
ARM: dts: lpc32xx: add required clocks property to keypad device node
[ Upstream commit 3e88bc38b9f6fe4b69cecf81badd3c19fde97f97 ]
NXP LPC32xx keypad controller requires a clock property to be defined.
The change fixes the driver initialization problem:
lpc32xx_keys 40050000.key: failed to get clock
lpc32xx_keys: probe of 40050000.key failed with error -2
Fixes: 93898eb775e5 ("arm: dts: lpc32xx: add clock properties to device nodes")
Signed-off-by: Vladimir Zapolskiy <vz@mleia.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/boot/dts/lpc32xx.dtsi | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/lpc32xx.dtsi b/arch/arm/boot/dts/lpc32xx.dtsi index d077bd2b9583..2ca881055ef0 100644 --- a/arch/arm/boot/dts/lpc32xx.dtsi +++ b/arch/arm/boot/dts/lpc32xx.dtsi @@ -462,6 +462,7 @@ key: key@40050000 { compatible = "nxp,lpc3220-key"; reg = <0x40050000 0x1000>; + clocks = <&clk LPC32XX_CLK_KEY>; interrupts = <54 IRQ_TYPE_LEVEL_HIGH>; status = "disabled"; }; |