From patchwork Fri Mar 11 09:38:00 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuldeep Singh X-Patchwork-Id: 12777717 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 2DBB8C433EF for ; Fri, 11 Mar 2022 09:39:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=AZM/vrlLVlK0dz7tTD8/seVvHyOh2YB8fTohdFMV4ec=; b=q7MqwdoIlZ77Wo NlCvvWiNoIE56ERPuFDjat78leqs/B3gepuxpgy7CDAiCGWMBdv+0ob8DxpAT3am2e6p9vHTrMMmH SxKHldADY00vRdvt5ouf4E1wzWJ+1hPgMOW3ngdVw49pSPm8jF/ST5sFjFCOOkOhGfwVReNSIUO51 1X17gEBXpzZ/oqO8ToDIfYeJRZvPrq/zYQkjNPnjHUTViolXpo22DsBAUsDuk6GFEiShGzdg0IW7i MLcnjPiXOsBznOGBuZqzNe5XgCrQBiMDPO9ZirqtuZDYPx927nxnUHyXP8/depmIYIBwB2htx9Phq fYBUxCLjaC9LXOw5ZDRQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nSbjR-00FpsL-GL; Fri, 11 Mar 2022 09:38:45 +0000 Received: from mail-pf1-x42d.google.com ([2607:f8b0:4864:20::42d]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nSbiz-00Fpja-SI for linux-arm-kernel@lists.infradead.org; Fri, 11 Mar 2022 09:38:19 +0000 Received: by mail-pf1-x42d.google.com with SMTP id f8so7422819pfj.5 for ; Fri, 11 Mar 2022 01:38:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=jav/fi0zl69Rvu23rBiGYix2mFrzEsj77NIMSen2XaI=; b=VjXQZHqxoLRyLX7F5aLPCv15b6AqvVlWnJmiQAdhuWRn0KwoNJkh+SWWcsI7FnZmf3 QVV+IwB8MxlMtI49THKmoI7J0WQnla7zXbAdsVn+/pQN4uWe3YzlZhCOTwprUtGSA9XM j87N6Mzm+a9aIKfdVMwABIi+Tumyo9DCxLGi/W8umPpCpjiRk6uaykb/Vk/kicwzAqBs oVfxU0QmdMG/uXMPNAbr3NPpQhSdiKggcJ7ZZLU5G70a0lOMD0JTj4QcTiVRXltqGhho DBBCDqYlv5Q+E0o3yJ5X7LhZ28W0WOtjzCMLKaHNqVZ8Oh6KORLUUC0gZUViKMcGiV7G jRCA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=jav/fi0zl69Rvu23rBiGYix2mFrzEsj77NIMSen2XaI=; b=JQo4PIkHZ3aDmTh6MrlW9DyPhC1hfkMn2WOc1YVu+GUV9fjsjnSjVyC8dphRs52eK/ eBE8tB5EBN442hoBLMpcg/kFcFm2Uak3b5esUWSyFU5BRbN0yp39+6AWWJ/Ij4SJd9pz 1vlpEQWHnU0Fcc25jFhMsYf4oY5zgtyTi+DHQHGAHckBzHkEDFQxruKN5A1UqTsfECFy tN2K9JToZ6djBiMPEs8QQyj4LP1K/FqkMXcHlKQS2cR0eqWh1BbPDSMWcqJDiBfS/c1d HLAuCz+HCYn9/kdCnmV024HGs0epliGz2gNjV32XGg3y1SduBlOSNiuN2pEp/Ztfzs+G 5znQ== X-Gm-Message-State: AOAM532DChHhpqNz8ZhZNr6e5q0TnwP1rj+QCID9747Gj+aj0hQREe2/ Dd4++5lanvMG091ach8XB0s= X-Google-Smtp-Source: ABdhPJwjrAfYTZPyQMA6MOU0MwTXYXZdKqKf5YBttfZnCBljGWbZ5bAoYsy7+x/Yzo4rposTNrmpUA== X-Received: by 2002:a65:6c0c:0:b0:378:d9d6:cd0a with SMTP id y12-20020a656c0c000000b00378d9d6cd0amr7526184pgu.117.1646991496787; Fri, 11 Mar 2022 01:38:16 -0800 (PST) Received: from localhost.localdomain ([122.161.53.68]) by smtp.gmail.com with ESMTPSA id m11-20020a056a00080b00b004f75d5f9b5csm9011011pfk.26.2022.03.11.01.38.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 11 Mar 2022 01:38:16 -0800 (PST) From: Kuldeep Singh To: Arnd Bergmann , Olof Johansson , soc@kernel.org, Rob Herring , Vladimir Zapolskiy Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 3/3] ARM: dts: lpc32xx: Update spi clock properties Date: Fri, 11 Mar 2022 15:08:00 +0530 Message-Id: <20220311093800.18778-4-singh.kuldeep87k@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220311093800.18778-1-singh.kuldeep87k@gmail.com> References: <20220311093800.18778-1-singh.kuldeep87k@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220311_013817_970081_986DC1E2 X-CRM114-Status: GOOD ( 13.49 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org PL022 binding require two clocks to be defined but lpc platform doesn't comply with bindings and define only one clock i.e apb_pclk. Update spi clocks and clocks-names property by adding appropriate clock reference to make it compliant with bindings. CC: Vladimir Zapolskiy Signed-off-by: Kuldeep Singh --- v2: - New patch with similar changeset - Send to soc ML arch/arm/boot/dts/lpc32xx.dtsi | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm/boot/dts/lpc32xx.dtsi b/arch/arm/boot/dts/lpc32xx.dtsi index c87066d6c995..30958e02d5e2 100644 --- a/arch/arm/boot/dts/lpc32xx.dtsi +++ b/arch/arm/boot/dts/lpc32xx.dtsi @@ -178,8 +178,8 @@ ssp0: spi@20084000 { compatible = "arm,pl022", "arm,primecell"; reg = <0x20084000 0x1000>; interrupts = <20 IRQ_TYPE_LEVEL_HIGH>; - clocks = <&clk LPC32XX_CLK_SSP0>; - clock-names = "apb_pclk"; + clocks = <&clk LPC32XX_CLK_SSP0>, <&clk LPC32XX_CLK_SSP0>; + clock-names = "sspclk", "apb_pclk"; #address-cells = <1>; #size-cells = <0>; status = "disabled"; @@ -202,8 +202,8 @@ ssp1: spi@2008c000 { compatible = "arm,pl022", "arm,primecell"; reg = <0x2008c000 0x1000>; interrupts = <21 IRQ_TYPE_LEVEL_HIGH>; - clocks = <&clk LPC32XX_CLK_SSP1>; - clock-names = "apb_pclk"; + clocks = <&clk LPC32XX_CLK_SSP1>, <&clk LPC32XX_CLK_SSP1>; + clock-names = "sspclk", "apb_pclk"; #address-cells = <1>; #size-cells = <0>; status = "disabled";