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: 13813572 X-Patchwork-Delegate: geert@linux-m68k.org Received: from out-188.mta1.migadu.com (out-188.mta1.migadu.com [95.215.58.188]) (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 A047B16630E for ; Thu, 26 Sep 2024 18:09:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=95.215.58.188 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727374174; cv=none; b=nfTdiwmQs03ndjr2u/76JWVO7s9A36nQVyNS55vW+WdgO/iAH4nkszy7DaReen8zZO5REWH+/Ipi7PR0yw2RrpxYAM1Spt3lzPbxVR5Zza8dEGIrlbGyfV2DoVCCWdwF1wCFYIFGgY94pbF5Y1Ghsvj+DDCtPI/elgVujN3R3gc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727374174; c=relaxed/simple; bh=78ntUi6PBQLJowyAu8PKT5+QvDiRhLIZlSav7nDzn9M=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=tz3aFpGUDxOPBKTfzvPcSVnQ3yV/Q6gmYN6i4D13XS+xPkEAYLbllOd7RAEPgSSB/mXzXYbBy4uc7ib0HOWoiQV/EghMyTVgUZpf/WvaKV5/8bhqP6XkmUXV28P97h/cZrKTjpuoUcJa5+Q1HEzIh6ggrgoSIsBUTmbUtmS/Ek8= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev; spf=pass smtp.mailfrom=linux.dev; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b=DsGp96BO; arc=none smtp.client-ip=95.215.58.188 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="DsGp96BO" 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> Precedence: bulk X-Mailing-List: linux-renesas-soc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Migadu-Flow: FLOW_OUT 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>; }; };