From patchwork Fri Mar 11 09:37:59 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuldeep Singh X-Patchwork-Id: 12777716 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 A50EDC433F5 for ; Fri, 11 Mar 2022 09:39:53 +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=g+jvjhk1jR9DfrvCVF3Pf0ojGs0mm4yn63Yobj5YPtw=; b=hlkSChzTb5ej2k mxNFr36nGczGERAWpPmC+9+Na37Zss3dElVGEoDZSMKB4UVCpBOXeh9WRapzjVpA2gCO76IBM8Ehz OQZF46KftSa6DpsUaFilsb3omonXdsETJ8mfw8KqWjF2CseGtcu5Fg1UuQpvzniTRDwHNh+d/lx2u Y9/t7oI/nP/TxJjKc4kcOPOJWtOiTn+14ouRgIjqjnPNCKhOLya+QVknTeUsUJFQTwp5e4gxBeXuz bTIhLG2uq9eBkLBPscshd2rQBhXG4lkOyUB69jt+yA9h23bJY7iUrtC9XODg4FJEmiXIId216di7b NO+ogxcl3AoOCOK+2ehQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nSbjH-00Fppy-Tb; Fri, 11 Mar 2022 09:38:36 +0000 Received: from mail-pj1-x102a.google.com ([2607:f8b0:4864:20::102a]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nSbiw-00FpiK-EH for linux-arm-kernel@lists.infradead.org; Fri, 11 Mar 2022 09:38:15 +0000 Received: by mail-pj1-x102a.google.com with SMTP id fs4-20020a17090af28400b001bf5624c0aaso7726838pjb.0 for ; Fri, 11 Mar 2022 01:38:13 -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=iXKoOhJsegCgBWbpQZaKhqPFw+9/pc6YzaaD+yCqeLI=; b=NsC6TSNJe603PGQnszA9PJacCMKoaSa4T+QzSVMgCch1XLq/wM0zgoP5qL9XSpBxi4 AQQV+E8zoKJfPg9NTqIAV/TCByvxBF69OxWRZx4U03ja2g14truZBU26BxBemicDq9hb 8h8iLE6rXHd4UHx24a4c3q7QzfT+6wuX1eW7Jbh0ljsVBK0MRwuEEWwC1awFCJKMAfmQ nDbSx4ni2i7Xij5u5crvpcjpFUkg1QQJW4ceV6WuGs5xbsuqP6dJPnfAinU4VrjzbP+9 yivy2AzAliFv3qvnUdv01GAn4yIFek8TW3jyIJ6aTou9YlsguJy8hR3aeabSYOolieoY BNZw== 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=iXKoOhJsegCgBWbpQZaKhqPFw+9/pc6YzaaD+yCqeLI=; b=qkOdAP+XlQpiXLX0Q71iTnPRyHIRzfIb7sjYmSIK7/4US5hNGrYIW5lWdAZ6Skwha4 V5qi9h6NzBWuna6bg4vqZLVc+eg25QUCTy3ItQ/FYkci89+k1QjMnzV60H46LPioKTfm I+UWQLRtZHSR4xoDnzadqE3Gca3un1VP3u5Hntmow8BXIxrus3ypOrKWkbEUoVdMMJJu rth+83N4nDn35ybgXiGkduwxbKnovilKAMJrOb2XG5gw7VJ3jiWMOCCqJnCjF1wO5N7L IFkgmhVunS83ZxXoW5G+xgjYMjrijBC40r85ttn93hgCMarg5IZXrungbkRC7nILdvl9 07tQ== X-Gm-Message-State: AOAM531N9baKb1PcdSsoVlGQ/xGQ1RFRjvSXm2clgp8Jm75WJ/7/IGuo KelggoX3HErtN82RYstRRFI= X-Google-Smtp-Source: ABdhPJxOwlYZb3pZsNu37/YVDoq39syQkU+41qFjqS4cko1TODNhT00GBLVx5sFkgiyJynay7J/jBg== X-Received: by 2002:a17:90a:d3d3:b0:1bf:2e8d:3175 with SMTP id d19-20020a17090ad3d300b001bf2e8d3175mr10011200pjw.2.1646991493353; Fri, 11 Mar 2022 01:38:13 -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.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 11 Mar 2022 01:38:13 -0800 (PST) From: Kuldeep Singh To: Arnd Bergmann , Olof Johansson , soc@kernel.org, Chanho Min , Rob Herring Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Rob Herring Subject: [PATCH v2 2/3] arm64: dts: lg131x: Update spi clock properties Date: Fri, 11 Mar 2022 15:07:59 +0530 Message-Id: <20220311093800.18778-3-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_013814_507214_386CCC67 X-CRM114-Status: GOOD ( 12.58 ) 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 LG1312 and LG1313 platforms don't comply with bindings and define only one clock. Update spi clocks and clocks-names property by adding appropriate clock reference to make it compliant with bindings. CC: Chanho Min Signed-off-by: Kuldeep Singh Acked-by: Rob Herring --- v2: - Resend to soc ML - Add Rob's acked-by tag arch/arm64/boot/dts/lg/lg1312.dtsi | 8 ++++---- arch/arm64/boot/dts/lg/lg1313.dtsi | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/arch/arm64/boot/dts/lg/lg1312.dtsi b/arch/arm64/boot/dts/lg/lg1312.dtsi index bec97480a960..e4de0f98c685 100644 --- a/arch/arm64/boot/dts/lg/lg1312.dtsi +++ b/arch/arm64/boot/dts/lg/lg1312.dtsi @@ -172,15 +172,15 @@ spi0: spi@fe800000 { compatible = "arm,pl022", "arm,primecell"; reg = <0x0 0xfe800000 0x1000>; interrupts = ; - clocks = <&clk_bus>; - clock-names = "apb_pclk"; + clocks = <&clk_bus>, <&clk_bus>; + clock-names = "sspclk", "apb_pclk"; }; spi1: spi@fe900000 { compatible = "arm,pl022", "arm,primecell"; reg = <0x0 0xfe900000 0x1000>; interrupts = ; - clocks = <&clk_bus>; - clock-names = "apb_pclk"; + clocks = <&clk_bus>, <&clk_bus>; + clock-names = "sspclk", "apb_pclk"; }; dmac0: dma-controller@c1128000 { compatible = "arm,pl330", "arm,primecell"; diff --git a/arch/arm64/boot/dts/lg/lg1313.dtsi b/arch/arm64/boot/dts/lg/lg1313.dtsi index ada3d4dc6305..873baae75035 100644 --- a/arch/arm64/boot/dts/lg/lg1313.dtsi +++ b/arch/arm64/boot/dts/lg/lg1313.dtsi @@ -172,15 +172,15 @@ spi0: spi@fe800000 { compatible = "arm,pl022", "arm,primecell"; reg = <0x0 0xfe800000 0x1000>; interrupts = ; - clocks = <&clk_bus>; - clock-names = "apb_pclk"; + clocks = <&clk_bus>, <&clk_bus>; + clock-names = "sspclk", "apb_pclk"; }; spi1: spi@fe900000 { compatible = "arm,pl022", "arm,primecell"; reg = <0x0 0xfe900000 0x1000>; interrupts = ; - clocks = <&clk_bus>; - clock-names = "apb_pclk"; + clocks = <&clk_bus>, <&clk_bus>; + clock-names = "sspclk", "apb_pclk"; }; dmac0: dma-controller@c1128000 { compatible = "arm,pl330", "arm,primecell";