From patchwork Tue Nov 5 21:18:39 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Rob Herring (Arm)" X-Patchwork-Id: 13863553 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A6A53216202 for ; Tue, 5 Nov 2024 21:18:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730841531; cv=none; b=t7N8Olpkt3sGDtdEXHqrlKj3AHlVWa7vq5qhEHKb0QntWte2SRkAQ0yKUXAvQO2I7EeWZfLJcWDc298eziQN9OjrsgmVfkmd+hjDJGOBHvTyzcNgIVxXd8wQihafUxvlprQhLQ+9aOepEpWHdV8oTaz0qzj1TeWmk8GwL/2O6Uc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730841531; c=relaxed/simple; bh=Mggfy6UFGifZiD8v24Nk2yRnIHy9cWVERK7EVwoH540=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=ZFKO0vLdKahGubKwuRCUoxHG1XR9ucU+dAgUZgcXLAJlQWrSqQQDlQy4ocUt7c/wXfmJBrxPMmCYl6xMh9zXw34cgh6QN5fphGLIuDWYayG/h2LxdS6Z4Fp8au/3Zs/yQ//MeBDam2ATfQluwkfXjyauZpzjvurC59PyL41NWIc= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=dSbbvE0/; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="dSbbvE0/" Received: by smtp.kernel.org (Postfix) id 779D3C4CED1; Tue, 5 Nov 2024 21:18:51 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 37E73C4CECF; Tue, 5 Nov 2024 21:18:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1730841531; bh=Mggfy6UFGifZiD8v24Nk2yRnIHy9cWVERK7EVwoH540=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=dSbbvE0/MJLi+MTyjeh/jTIxgGMBrMg7Uio/wlkfsa4ctlYN9aNJvXRw7xnyEC6S5 jqISww+Mnu7BtIsa0FaVvRb5LnJ6jlfpQsU/uGonByI5uR5rzZLjF8idnjogLK33pG ZC6K276kvUaCS+PdxA9Kd/D2CfRdTzglI0MA42b2MXrrHgWyou+Iwoe9T1I0uko9Uz EZnk7ZZwiIx9D+6hi36uI3VKnOtxLztmdAH1MxfREtCA3/07B3j7GE2HJoes0ugfxx 3FTKY+notdCWY6CSFMq1BB7yfVJ9pG7ReMYvayQRl60LlNZeRusKDqS6qhmDxdgjDg uTbO0mFSxjMmg== From: "Rob Herring (Arm)" Date: Tue, 05 Nov 2024 15:18:39 -0600 Subject: [PATCH RESEND v2 1/2] arm64: dts: seattle: Update spi clock properties Precedence: bulk X-Mailing-List: soc@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20241105-dts-spi-fixes-v2-1-623501e5d1ca@kernel.org> References: <20241105-dts-spi-fixes-v2-0-623501e5d1ca@kernel.org> In-Reply-To: <20241105-dts-spi-fixes-v2-0-623501e5d1ca@kernel.org> To: soc@kernel.org, Kuldeep Singh , Suravee Suthikulpanit , Tom Lendacky , Krzysztof Kozlowski , Conor Dooley , Chanho Min , Vladimir Zapolskiy , Piotr Wojtaszczyk Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org X-Mailer: b4 0.15-dev From: Kuldeep Singh 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 Signed-off-by: Rob Herring (Arm) --- Arnd, Please apply directly. --- 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 690020589d41..d3d931eb7677 100644 --- a/arch/arm64/boot/dts/amd/amd-seattle-soc.dtsi +++ b/arch/arm64/boot/dts/amd/amd-seattle-soc.dtsi @@ -123,8 +123,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 { @@ -133,8 +133,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>; From patchwork Tue Nov 5 21:18:40 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Rob Herring (Arm)" X-Patchwork-Id: 13863554 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E1D59216429 for ; Tue, 5 Nov 2024 21:18:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730841534; cv=none; b=cFAUzAlAWz3VBqmA3rJJOF2pnKsbo3KTNVtv3z4BGNxzcgPwTzw1DigCjJte3vw5hFWt4Al8PiB/QrmBXqOitWfSkCNUWGCHFq7JKaSh5aU4/C/sFUKj0JmSgILMsXExh5sQ+IKIaFcT4vO96AV1TnO4aHusOcvcilKpzHQ5IIs= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730841534; c=relaxed/simple; bh=En2hPkHBBMmKe1JVp358wJIe+shZ/brfNZXSPnqrzrg=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=ls/tKJI29UyUjTmAsBImPd3zbKDuuIhqA1kf8uk2lzvpDRfKB8L4AZdJg51swNu0Za1+UkMwtof60ikZLD0qqYZxmeardI91VhvAezFoXZIC8ectkmBh2ZLh8t2xJpHynZ/nr2lWAe7qVpvewgqgIKzUspNj1Rre8ibi/a+5rMQ= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=io0q0Zf9; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="io0q0Zf9" Received: by smtp.kernel.org (Postfix) id 68C2BC4CED3; Tue, 5 Nov 2024 21:18:53 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1A533C4CED4; Tue, 5 Nov 2024 21:18:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1730841533; bh=En2hPkHBBMmKe1JVp358wJIe+shZ/brfNZXSPnqrzrg=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=io0q0Zf9yriBWQH2ety7yUT2nRhznVr1gFCNneaLd1fcJcH5xZ3t20ozKaiiQBuA0 FBuSyXC+nbBnwVE0G4Rb1OvjDpt0x/iCW3KPklj4YnSo1oVNBZ/8jehpbm2LG8XeED ha8F5n2wy9gtDp3GagtwChoBIPmSJrq1Exb2N0zhDbKW4ToKqcD2Ox0gCYjViZjmYa AASSkXsl6TQbQRLtKm3hCD+RdeDkLiFCSCL1unEt04jvEaNOBc5aIRLYHdA/DYy9Oe /7RETzsYXlCjJfTsUr407H+nq0Mti4gIsagDP7MYFAdAvQwLoyAcBtEQLOFFMW4orl 9k8NT0y8q3ENA== From: "Rob Herring (Arm)" Date: Tue, 05 Nov 2024 15:18:40 -0600 Subject: [PATCH RESEND v2 2/2] arm64: dts: lg131x: Update spi clock properties Precedence: bulk X-Mailing-List: soc@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20241105-dts-spi-fixes-v2-2-623501e5d1ca@kernel.org> References: <20241105-dts-spi-fixes-v2-0-623501e5d1ca@kernel.org> In-Reply-To: <20241105-dts-spi-fixes-v2-0-623501e5d1ca@kernel.org> To: soc@kernel.org, Kuldeep Singh , Suravee Suthikulpanit , Tom Lendacky , Krzysztof Kozlowski , Conor Dooley , Chanho Min , Vladimir Zapolskiy , Piotr Wojtaszczyk Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org X-Mailer: b4 0.15-dev From: Kuldeep Singh 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 Signed-off-by: Rob Herring (Arm) --- Arnd, Please apply directly. --- 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 b864ffa74ea8..bb0bcc6875dc 100644 --- a/arch/arm64/boot/dts/lg/lg1312.dtsi +++ b/arch/arm64/boot/dts/lg/lg1312.dtsi @@ -173,15 +173,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 996fb39bb50c..c07d670bc465 100644 --- a/arch/arm64/boot/dts/lg/lg1313.dtsi +++ b/arch/arm64/boot/dts/lg/lg1313.dtsi @@ -173,15 +173,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";