From patchwork Fri Jan 24 09:25:33 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Greg KH X-Patchwork-Id: 233036 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.8 required=3.0 tests=DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY, SPF_HELO_NONE, SPF_PASS, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 64764C35242 for ; Fri, 24 Jan 2020 11:08:52 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 3189720663 for ; Fri, 24 Jan 2020 11:08:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1579864132; bh=zZtmPqfF+D7Jz/0py0pIgVH7JR3UhY/oZUZOwab+zDg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=0MmxAo/BBDatwhxhlkb/aCJtl///i9mSo6VnnhDnQTXp7/pKKJmACm6zm3RZeOYo5 Ryr+cruw7SFd4/G7eyVf7Jhoww0QU5RUs1UHcV158hULCHpN0DW/SIJ+cf6WJIcVBT AesEhRr35au3ngDT10KAV6Po7aovr56IfCol0dQQ= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389699AbgAXLIs (ORCPT ); Fri, 24 Jan 2020 06:08:48 -0500 Received: from mail.kernel.org ([198.145.29.99]:44252 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389697AbgAXLIr (ORCPT ); Fri, 24 Jan 2020 06:08:47 -0500 Received: from localhost (ip-213-127-102-57.ip.prioritytelecom.net [213.127.102.57]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 9AFD520663; Fri, 24 Jan 2020 11:08:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1579864127; bh=zZtmPqfF+D7Jz/0py0pIgVH7JR3UhY/oZUZOwab+zDg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=fAJ80SPP6CRGnEVTv1MdrHUOcZ68CS9W4fj8Ymejx6tdr+39uoNZW6nE6yHRiV6Tz H1cPuya6vRRkQUN2PuL0Z+NSzfwn+t9LduCbPeAsGnSeOMjlrct47VkmqEExhaNLyk WMUC5Twbwd68VrhqYTS0vC4UUVTgTrj5OGOBWZQ8= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Vladimir Zapolskiy , Sasha Levin Subject: [PATCH 4.19 163/639] ARM: dts: lpc32xx: add required clocks property to keypad device node Date: Fri, 24 Jan 2020 10:25:33 +0100 Message-Id: <20200124093107.610504545@linuxfoundation.org> X-Mailer: git-send-email 2.25.0 In-Reply-To: <20200124093047.008739095@linuxfoundation.org> References: <20200124093047.008739095@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Sender: stable-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org From: Vladimir Zapolskiy [ 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 Signed-off-by: Sasha Levin --- 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 ed0d6fb20122a..d4368eeff1b9a 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"; };