From patchwork Wed Mar 9 18:24:03 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuldeep Singh X-Patchwork-Id: 12775419 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 0C42EC433F5 for ; Wed, 9 Mar 2022 18:25: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=L4dzzmkcacPyuUFCoNsbCaJ8BTxxWGz0JtKvkV8Lyeg=; b=pChaNivP+sxYtF qIfmF4giy1IsV4zIKY7RJ+l0RRUMauQmS56TnRb2BwaCPxp2Btou32bhO8YHXJBDuYx/XS37cOkQo oWka4zVzbWiz7e6xL1xtXff2DjzcvLV+aNx+QgKTfHJhPoQFBsTsn1Zy59H1pJB6izujktMTd91dp HNLPRnz9BaG4TOjJX6281rEGw4mxJj+WvRO0mhB6WkTTCp3mrNJW/ntwwOZ8HaOR0wSIygis5cGYF 7Y5LqVU/EuXyQ3Fu5Ye/jpZObTySKN6wfemxp13XrUjytcRwKO612fkX+vnwWCNBJyviS2bZOVeYY ArldHjRHSBAkfhOcNKWw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nS0zL-00A3jQ-1j; Wed, 09 Mar 2022 18:24:43 +0000 Received: from mail-pl1-x634.google.com ([2607:f8b0:4864:20::634]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nS0yv-00A3Wj-ON for linux-arm-kernel@lists.infradead.org; Wed, 09 Mar 2022 18:24:19 +0000 Received: by mail-pl1-x634.google.com with SMTP id w4so2665523ply.13 for ; Wed, 09 Mar 2022 10:24: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=WyFR/kU7qEinohcbAhpnze0ZURr4Dc+TGzdf/KYIuI8=; b=DdJi19NuBfgMY1qs8tcQOYFivoeapErXkr1ckIthF2873grIvIUQGdMyHZFoDO9w5s +qnVRzesNobZJRkXvP7I6XF9prHoZmGgc4sTykK25sVlu+geSHPbxdheBrG/f5ar2yEN vbhfJW24VWlsU0nDdg1j12LNZk2P1AFvpckKbrs7QJ+4QEKzRICGhD9K/5H50uXoYQE/ c8s40DdxU1X0Uve2m8tgC0Jn/fCIkGKGFwFxsEhxRnkixQXmXQVEwjPAAg/0/BMHll2f Sb+2KaBO0QmiWcqWI553k3ZmIwMBeB7rPrkJmuNv/q/gL4N0lwA/otmPh2uZqbBET2b6 lV2w== 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=WyFR/kU7qEinohcbAhpnze0ZURr4Dc+TGzdf/KYIuI8=; b=gdsLpBuY611OmCkhfu8Cz3gogsCeRi7tForlVyp7wB8Uj+nW36iRlpkzfwuNKvLLn1 f5l5Y3sdEh/e2+GmZkU1V7pyZonQdIIUJzHnTlv22iK9hB+BbKvq1UURofiaFLJO/kZ7 FsQBKTkZSx5hiOIon7G0+FxdfTfTgrz97nirVbmUxTq+wO3Qr+M8+FIkkr9a6eqzbv7U x9gdmYb9zMcow/pA2HYaKtAx60ao8I5IkF9offWjnK1Z2D6vseU6XM/8Sq22kuFwYt7U VbZC63my59HWeoeSnW1TVHlR2t2rzZTuJjQAo2B1IzLG/vCFy4ZS2ZQFOHrBOscX1Mtw mpBg== X-Gm-Message-State: AOAM530VYQdU40U3bw+bn3PaUjdsaSnX3rS2mJR5x2eV7DEfOzGDbCko ZTERWq/3UCqf0+W9kqZ0H54= X-Google-Smtp-Source: ABdhPJwdPdgLlQnIryYBH0cEHLNlT+wD+rPXDzNWdLOnxmy/ZVoIgRf5UmtLdf5XZCOZTUdpeYMOcw== X-Received: by 2002:a17:902:e811:b0:151:f486:a32f with SMTP id u17-20020a170902e81100b00151f486a32fmr719693plg.141.1646850253390; Wed, 09 Mar 2022 10:24:13 -0800 (PST) Received: from localhost.localdomain ([122.161.53.68]) by smtp.gmail.com with ESMTPSA id f21-20020a056a00239500b004f754dd3d4csm3950988pfc.3.2022.03.09.10.24.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Mar 2022 10:24:13 -0800 (PST) From: Kuldeep Singh To: Rob Herring , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: Chanho Min , Tom Lendacky Subject: [PATCH 2/2] arm64: dts: seattle: Update spi node properties Date: Wed, 9 Mar 2022 23:54:03 +0530 Message-Id: <20220309182403.12968-3-singh.kuldeep87k@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220309182403.12968-1-singh.kuldeep87k@gmail.com> References: <20220309182403.12968-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-20220309_102417_835896_C47CA615 X-CRM114-Status: GOOD ( 12.25 ) 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. 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 --- 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>;