From patchwork Wed Mar 9 18:24:02 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuldeep Singh X-Patchwork-Id: 12775418 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 01DF5C433EF for ; Wed, 9 Mar 2022 18:25:44 +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=elhc+CU2MpBdHvT0lfwSBhgeqDYfoD8kdODKkNaBWWM=; b=HS0Gid+WLbxd6p 6gYodY+m3tdHANSOaEYslI5GF8oAr+t6L3ovyAj1lFF22tKTaAv+LJMdQGwB09tSkfQ+o9YtunbBS ZxgUbfPXdE7VdwxgznX6sEIPwd4YqcY/wNhOMIvDoMKTCH8OgaIXiNTM6rDBE6AQhZhcx8mblmzQF G6ObL/0AsnOAmzb+hS4ab3BL5pcxvLQS7CKxn+a8zBOPIzPZHhPLIXrBqwYun8QAGKuFNHqk1mtEN qRTy15YRJWHgqc6BBcoDEvEx11QS1n/nmNVHSjmU00kY1jla5j8glXbAu2Er5Lhk1Ly9JS5usYqA5 dBk2pxZ/ML9hCqcEQolA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nS0z3-00A3aP-7Z; Wed, 09 Mar 2022 18:24:25 +0000 Received: from mail-pg1-x534.google.com ([2607:f8b0:4864:20::534]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nS0yq-00A3Vi-0o for linux-arm-kernel@lists.infradead.org; Wed, 09 Mar 2022 18:24:13 +0000 Received: by mail-pg1-x534.google.com with SMTP id 27so2652733pgk.10 for ; Wed, 09 Mar 2022 10:24:11 -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=7o4bcq84ORiYQ44P3Igppv3qOw9Xfy++n8UKnpQvdoE=; b=FIqZORydqW+du2tV7iJy9KcKJKmbVP9y3NhVPbxpZ1rDGvWZ1tlHLuH0mgJmy3v1cN 0j+dliGB4/itlgK38LCp4mERQk8uVDiLuFUWptm3A06F7+MP5u2f7HIge89Xw48VR9/Q PI3Fte8B/RRE54HP5tpf+tmuluXLkL29mBUrrVcAFtGYFjhpz/dhHMoVh8JxJ4L4Kdes Q3nxJnN429ESCvQgW9yvjnF4iPUGzin2ZFWyGUcYWDLIX/kuoJkdcOYnwJvcB7xiuLj/ oAMLyAKU8Oo+Wrqro3NH9sRC7WdyhVyyxeFG+iYWO2uRJu4+Z+FN0/rTXcARWJDWKVfr 2AHQ== 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=7o4bcq84ORiYQ44P3Igppv3qOw9Xfy++n8UKnpQvdoE=; b=XNnCew6xlLJcuNmCvnGzaYcTzTxrWHrZREdOl5IhrlVCMM14XVBksfFDya/gXntoNx MghCNuO6hi5+DzAQ6FfAu8j5+bNolY0vD+1oyXL/4KjkxcsGOTRpMSpT3tvphfbspu1r Ncz1+iNsAV42HwKQW7xWFs6dueSPXp3ODVTQpJMnpzq+WLhTNgel29+cg8pcvGvOaYay gHYRkJfrgTivQjW8hm3lYZYPB0fKxQhIckPSLfRSsSmfvEMNv0Z2SZtQYudEaoKreG09 Mo/1eaPC3vW0yBWMWKfwb1q0DQDPXT1vGMMya2ZK3TJEDAXg8N9Mxu5WjK+mN9OsZ0fv 5h6g== X-Gm-Message-State: AOAM530lu+Oj+/bSOuqG3Glqv1CM7sVvJ6wEteEk9W9WQzIMHka0Qo91 Gto5FOtb+Mkn/otwBeDUtPw= X-Google-Smtp-Source: ABdhPJx+O/3dozyigTWZ7VTnoUbMeobLLlIDN6vSGIdftyJoPbnLjaYXdG2ByuCAHGBltrxl2fh92w== X-Received: by 2002:a63:3c10:0:b0:380:37f0:7067 with SMTP id j16-20020a633c10000000b0038037f07067mr861192pga.254.1646850250958; Wed, 09 Mar 2022 10:24:10 -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.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Mar 2022 10:24:10 -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 1/2] arm64: dts: lg131x: Update spi clock properties Date: Wed, 9 Mar 2022 23:54:02 +0530 Message-Id: <20220309182403.12968-2-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_102412_087104_DCF07C98 X-CRM114-Status: GOOD ( 12.40 ) 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 LG1213 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 --- 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 081fe7a9f605..fa44e0b67400 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@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 604bb6975337..b61b5e20189c 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@c1128000 { compatible = "arm,pl330", "arm,primecell"; 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>;