From patchwork Fri Mar 11 09:37:58 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuldeep Singh X-Patchwork-Id: 12777715 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 9C41AC433EF for ; Fri, 11 Mar 2022 09:39:39 +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=p5Hj9onHKyZvsDa2TO3CPfkRnY9RcEMN+YAnifjNxyw=; b=FhbTbGhp49MZNa uQRm8jKTrWjiyQxEVExnC6gjfM0sGj6wPHqEZOhQUeRL3OYoRPOzyni5iDFrJMhUOyxlq7Z0tbyWt F/Yhp9jYzyxrTWKTnTdKKzNlBUkgOqOO/LU/zShNKnwuOKbDGO875HuMsRRW6TSaXxRLBtNp+F0+m Xgqd81+4lvEf/tT+zhGEq6VNUE6cPE6BlevQOTUxoiVx5kIZ19btqWWfhCu+cqmrhopnwWuifnSXt 5QdGFjDYNWLy2kLzFComiesppr1p5qkiqHv+3Ew3FXxvBxF1wx08djlbDu4J+clQZbQ/MOjCds23E 7t88/W3d91VUvRg7QH9Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nSbj4-00FplW-Pl; Fri, 11 Mar 2022 09:38:22 +0000 Received: from mail-pl1-x62c.google.com ([2607:f8b0:4864:20::62c]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nSbis-00FphA-Jo for linux-arm-kernel@lists.infradead.org; Fri, 11 Mar 2022 09:38:13 +0000 Received: by mail-pl1-x62c.google.com with SMTP id e2so7232293pls.10 for ; Fri, 11 Mar 2022 01:38:09 -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=+sti7R5r7TlUzIhwq2afJWAsp4Iedj4R4baq+ryUh2g=; b=UPsLXqoS5RBH3+XHcocj3dT6VT/oGbCNu4zvXSVjMWOQiIW4Zv17pEQjwbEJSmuHKq nwt/rKa9jWswtdLbCpD7380vcsbGTynIJOI+EJOU1h24OKwK9TOjMpg9t2KCq89gkedX rrzz28GkgRUXbJ8yI9rda/V2EE7WzDjn74gJiwec3XUzXqWu84Tv355++8yxsjlK8OCr slB+drV0Yvrnt1rRSJOGrEFj/+gHKsH53kXryJxw9tB1AIbdUcpyjUv0Z9hkhy0DOKEd 5pv8Y9K17lZ4i1+xAmlhZruknJN1k+vaMTTA0LNYp6VuZm+Ut3GT05DuXjkEdPPJjUZu sMbQ== 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=+sti7R5r7TlUzIhwq2afJWAsp4Iedj4R4baq+ryUh2g=; b=5NsGBSg/l+lzeRNkGZOLu6SWJc3ohuOSNRG9Z7VgQwh75zko6E17QvnAhAVXysBoE4 VLRDQm3STwfSnLr7KC4RAFExP1GGpsIQ3mF0Ce642fpR8BPXoxGUtQbVFvXnB9lnLSnI 7mj13bUfLC7bxNCrnM16JrKeFl1ITOh/ixO2bQAHTcPOQ+cV66ASPJYGJHjBLLwpjy2A 0QLcZR72eCKvsff+xNc+6aNCVsllNJ3uUCSyXcSeah7zzuytjSVbaEoenC13tIUvMAZl uO8//76MLpwDzKzkdIFspOJCnHESNWGBAOcarxQAvW5qZ1jEFfqU5tdIPszKnDCs3eHn B6kQ== X-Gm-Message-State: AOAM532M7dbjO/WHdHQvVKN8wUn6asQJdvmO+xYrscXjdPDn4JS9OlE2 TJVo8j1ZHoLH7Ilv1NLLg70= X-Google-Smtp-Source: ABdhPJzYRJlhVYjsiUbgyuUOuHb8yYvjyX5Y3NPJ7anc1+dPGbWZPcJPM2mEEqB5bo8jjieTu90yqg== X-Received: by 2002:a17:90b:1c86:b0:1bf:2a7e:5c75 with SMTP id oo6-20020a17090b1c8600b001bf2a7e5c75mr9954721pjb.145.1646991489547; Fri, 11 Mar 2022 01:38:09 -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.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 11 Mar 2022 01:38:09 -0800 (PST) From: Kuldeep Singh To: Arnd Bergmann , Olof Johansson , soc@kernel.org, Brijesh Singh , Suravee Suthikulpanit , Tom Lendacky , Rob Herring Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Rob Herring Subject: [PATCH v2 1/3] arm64: dts: seattle: Update spi clock properties Date: Fri, 11 Mar 2022 15:07:58 +0530 Message-Id: <20220311093800.18778-2-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_013810_736527_BA3FD3D8 X-CRM114-Status: GOOD ( 12.54 ) 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 AMD seattle platform does't comply with binding 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: Tom Lendacky Signed-off-by: Kuldeep Singh Acked-by: Rob Herring --- v2: - Resend to soc ML - Add Rob's acked-by tag arch/arm64/boot/dts/amd/amd-seattle-soc.dtsi | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm64/boot/dts/amd/amd-seattle-soc.dtsi b/arch/arm64/boot/dts/amd/amd-seattle-soc.dtsi index b664e7af74eb..2aa21d98d560 100644 --- a/arch/arm64/boot/dts/amd/amd-seattle-soc.dtsi +++ b/arch/arm64/boot/dts/amd/amd-seattle-soc.dtsi @@ -113,8 +113,8 @@ spi0: spi@e1020000 { reg = <0 0xe1020000 0 0x1000>; spi-controller; interrupts = <0 330 4>; - clocks = <&uartspiclk_100mhz>; - clock-names = "apb_pclk"; + clocks = <&uartspiclk_100mhz>, <&uartspiclk_100mhz>; + clock-names = "sspclk", "apb_pclk"; }; spi1: spi@e1030000 { @@ -123,8 +123,8 @@ spi1: spi@e1030000 { reg = <0 0xe1030000 0 0x1000>; spi-controller; interrupts = <0 329 4>; - clocks = <&uartspiclk_100mhz>; - clock-names = "apb_pclk"; + clocks = <&uartspiclk_100mhz>, <&uartspiclk_100mhz>; + clock-names = "sspclk", "apb_pclk"; num-cs = <1>; #address-cells = <1>; #size-cells = <0>;