lkml.org 
[lkml]   [2020]   [Jan]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH AUTOSEL 4.9 050/251] ARM: dts: lpc32xx: add required clocks property to keypad device node
    Date
    From: Vladimir Zapolskiy <vz@mleia.com>

    [ 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>
    ---
    arch/arm/boot/dts/lpc32xx.dtsi | 1 +
    1 file changed, 1 insertion(+)

    diff --git a/arch/arm/boot/dts/lpc32xx.dtsi b/arch/arm/boot/dts/lpc32xx.dtsi
    index 5fa3111731cb..da375813afd0 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";
    };
    --
    2.20.1
    \
     
     \ /
      Last update: 2020-01-16 18:37    [W:4.166 / U:0.192 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site