From patchwork Thu Sep 26 18:09:02 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sean Anderson X-Patchwork-Id: 13813575 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 3106ACDE029 for ; Thu, 26 Sep 2024 18:12:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=TRuU9KdPy6lP4O/MNPKfp9ilvVG7NzDTE6U2XYHJ1dY=; b=JMops2IIXAWAlQFweKvOuTxyxd PvlIJm9Ekm6kVNWlNYcGGdNkHuAJw52HHthV4j6osifBrxwsnARAyzn78JsdCVembQVc6aGwoy8Ya 6mj5GAELR9JMf3FlILjaM3l78OWIb7CDmZGjJBlGMeddEviCNg0kKhhnPk8rGSD7jxkp2pZr20gKQ 3PrQP6uLAxhA5KM7OgDCJDxJ7YZzhETDh4GMIVp9kPFx5YcQUX3AgfUJhyMDf7bhX1VaKkhOlbrLQ YK/VEFGUDXYrx7CZqrLEhv+kPi/IbJxco7T8jfumBCoBbGGDhzgikswHNdTmt7Najgq1PlzHLg1c2 EJ7+lxgQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1stsy0-000000095sf-3Cx2; Thu, 26 Sep 2024 18:11:52 +0000 Received: from out-177.mta1.migadu.com ([2001:41d0:203:375::b1]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1stsvk-000000095T1-0skK for linux-arm-kernel@lists.infradead.org; Thu, 26 Sep 2024 18:09:33 +0000 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1727374169; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=TRuU9KdPy6lP4O/MNPKfp9ilvVG7NzDTE6U2XYHJ1dY=; b=DsGp96BOofrh1lrRptw8GP+n9hJ7JoUP/WYw2uqRzP35OS/LarDkDS4llYMw/hL5GWsjpw ldCJP8wQ+n3p7HezxB8cESGYyEajcdMOkTAYCo+JV/CIplgSup2berkorPxhn0TAC/Mp0I 0xcXJ2BmPMJPw/jF2wsUuBtxsbbThBU= From: Sean Anderson To: Arnd Bergmann , Olof Johansson , linux-arm-kernel@lists.infradead.org Cc: Krzysztof Kozlowski , Rob Herring , linux-renesas-soc@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Conor Dooley , Magnus Damm , Geert Uytterhoeven , Sean Anderson Subject: [PATCH 1/2] arm64: dts: renesas: salvator-xs: Add SD/OE pin properties Date: Thu, 26 Sep 2024 14:09:02 -0400 Message-Id: <20240926180903.479895-2-sean.anderson@linux.dev> In-Reply-To: <20240926180903.479895-1-sean.anderson@linux.dev> References: <20240926180903.479895-1-sean.anderson@linux.dev> MIME-Version: 1.0 X-Migadu-Flow: FLOW_OUT X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240926_110932_413431_CEAED3A1 X-CRM114-Status: UNSURE ( 9.46 ) X-CRM114-Notice: Please train this message. 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 Add SD/OE pin properties to the devicetree so that Linux can configure the pin without relying on the OTP. This matches the register configuration reported by Geert [1], as well as my inspection of the schematic (which shows the SD/OE pin permanently tied high). [1] https://lore.kernel.org/linux-clk/CAMuHMdW9LMuQLuPEF-Fcs1E6Q7dDzY17VZqu4awKDj5WSTRt=A@mail.gmail.com/ Signed-off-by: Sean Anderson Reviewed-by: Geert Uytterhoeven Tested-by: Geert Uytterhoeven --- arch/arm64/boot/dts/renesas/salvator-xs.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/boot/dts/renesas/salvator-xs.dtsi b/arch/arm64/boot/dts/renesas/salvator-xs.dtsi index 08b925624e12..1d18dedb1ff0 100644 --- a/arch/arm64/boot/dts/renesas/salvator-xs.dtsi +++ b/arch/arm64/boot/dts/renesas/salvator-xs.dtsi @@ -25,6 +25,8 @@ versaclock6: clock-generator@6a { #clock-cells = <1>; clocks = <&x23_clk>; clock-names = "xin"; + idt,shutdown = <0>; + idt,output-enable-active = <1>; }; }; From patchwork Thu Sep 26 18:09:03 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sean Anderson X-Patchwork-Id: 13813576 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 86EA1CDE02A for ; Thu, 26 Sep 2024 18:13:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=Mtm2tEn6+0ysbxRZCa9NK2SpqJBjdy9coOdju9E6VL4=; b=ZOm45sFYd4FWC8Tz8SFO73NH2o VXZdPWJviZf+eTRuYexFuHbxqDRc78FGGaJOkXNjnY5KAHdW85yTjJXhx5h5FsWtRq8taw3MUv1Gl 21sFmheihZMUjTIwME6mUVmG79bfQU3JKWPVUQzSICeyvOfx3Xv58xTUiYncS/ZtayaUwEvorXN8d PNeI+lJ4n7zkstGQcorAuEAupvEYa3xTEkUXbjFDtwPMgxorbKrymzTm2BJut7/mtzJbC2EB251L3 jnD0D36vKmnmBHdZzLLKXsuA3q1fZD3fgqHkQEyzowtBtu4rfzbr71/+kzRNIowexmpAlWZ8jIujK miMColkw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1stsz8-0000000960d-44wm; Thu, 26 Sep 2024 18:13:03 +0000 Received: from out-172.mta1.migadu.com ([2001:41d0:203:375::ac]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1stsvn-000000095TC-13zR for linux-arm-kernel@lists.infradead.org; Thu, 26 Sep 2024 18:09:36 +0000 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1727374171; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Mtm2tEn6+0ysbxRZCa9NK2SpqJBjdy9coOdju9E6VL4=; b=O9o+YpqOYzWoFfC6sMVyedxU6uVvTrnsEW0gevy1l9MYltp8/wE72b2jaFnMsd0tetmp57 fopC0KEdgGMYBecsYa0+adB+rtcmWvGOTWspz+4SPDJY88/tGVx+BpG3Ny7VcvmYccg2IJ FSYo6F9xT8hRXieg0gWZGl4H3DwXk0o= From: Sean Anderson To: Arnd Bergmann , Olof Johansson , linux-arm-kernel@lists.infradead.org Cc: Krzysztof Kozlowski , Rob Herring , linux-renesas-soc@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Conor Dooley , Magnus Damm , Geert Uytterhoeven , Sean Anderson Subject: [PATCH 2/2] arm64: dts: renesas: ulcb: Add SD/OE pin properties Date: Thu, 26 Sep 2024 14:09:03 -0400 Message-Id: <20240926180903.479895-3-sean.anderson@linux.dev> In-Reply-To: <20240926180903.479895-1-sean.anderson@linux.dev> References: <20240926180903.479895-1-sean.anderson@linux.dev> MIME-Version: 1.0 X-Migadu-Flow: FLOW_OUT X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240926_110935_455792_7642E4E9 X-CRM114-Status: UNSURE ( 9.64 ) X-CRM114-Notice: Please train this message. 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 Add SD/OE pin properties to the devicetree so that Linux can configure the pin without relying on the OTP. This configuration is based on inspection of the schematic (which shows the SD/OE pin permanently tied high). Signed-off-by: Sean Anderson Reviewed-by: Geert Uytterhoeven Tested-by: Geert Uytterhoeven --- arch/arm64/boot/dts/renesas/ulcb.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/boot/dts/renesas/ulcb.dtsi b/arch/arm64/boot/dts/renesas/ulcb.dtsi index a2f66f916048..2a2cd788ffec 100644 --- a/arch/arm64/boot/dts/renesas/ulcb.dtsi +++ b/arch/arm64/boot/dts/renesas/ulcb.dtsi @@ -234,6 +234,8 @@ versaclock5: clock-generator@6a { #clock-cells = <1>; clocks = <&x23_clk>; clock-names = "xin"; + idt,shutdown = <0>; + idt,output-enable-active = <1>; }; };