From patchwork Tue Dec 10 04:06:46 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: E Shattow X-Patchwork-Id: 13900835 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 09B06E77180 for ; Tue, 10 Dec 2024 04:07:55 +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: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:In-Reply-To:References: List-Owner; bh=OdUX0degdHMIybrkzvwboLX5GOuKWrzuNmbnNf5/hoc=; b=mT7Z3BYjmahOQP ms4o7ySIg3uhToix2vluucM8mojXi2iDuHVCgdEZ3du2OsUnDKSJddR9/hQZ94tffsbJ5J3opOK+e /Dn7SYLeggJEe/uzzXO3LGwkYKzNYi8PcsFREjOQrP1s5PXDN59qKQM8X8GDFko+ycqC7sWIC+F3Q DC7/ddv9nqO3jLKIY7SICkN5azgo1Tn8f3jJLMazv3aIlMCGnHsS02N8JHmZutKybHqlvtPW1NppB nTq2OSAuYn+4cty/FPEp0HZGG2zpR5kf5r0FpYPR2yj8Csf3BeFXmUB8fGSly2XaBKLjkwJOxmm03 Dm+BdQGl0x64CXpRwXGg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tKrXF-0000000A9y3-344j; Tue, 10 Dec 2024 04:07:45 +0000 Received: from freeshell.de ([2a01:4f8:231:482b::2]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tKrXC-0000000A9xV-2by2 for linux-riscv@lists.infradead.org; Tue, 10 Dec 2024 04:07:44 +0000 Received: from hay.lan. (unknown [IPv6:2605:59c8:31de:bf00:6ecf:39ff:fe00:8375]) (Authenticated sender: e) by freeshell.de (Postfix) with ESMTPSA id EB949B4B29B1; Tue, 10 Dec 2024 05:07:36 +0100 (CET) From: E Shattow To: Conor Dooley , Emil Renner Berthing , Rob Herring , Krzysztof Kozlowski , Paul Walmsley , Palmer Dabbelt , Albert Ou , Jisheng Zhang Cc: E Shattow , Conor Dooley , Emil Renner Berthing , linux-riscv@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] riscv: dts: starfive: jh7110-common: Use named definition for mmc1 card detect Date: Mon, 9 Dec 2024 20:06:46 -0800 Message-ID: <20241210040652.164030-1-e@freeshell.de> X-Mailer: git-send-email 2.45.2 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241209_200742_803735_8F166F75 X-CRM114-Status: UNSURE ( 6.92 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-riscv@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-riscv" Errors-To: linux-riscv-bounces+linux-riscv=archiver.kernel.org@lists.infradead.org Use named definition for mmc1 card detect GPIO instead of numeric literal. Fixes: ac9a37e2d6b63 ("riscv: dts: starfive: introduce a common board dtsi for jh7110 based boards") Signed-off-by: E Shattow --- arch/riscv/boot/dts/starfive/jh7110-common.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) base-commit: 708d55db3edbe2ccf88d94b5f2e2b404bc0ba37c diff --git a/arch/riscv/boot/dts/starfive/jh7110-common.dtsi b/arch/riscv/boot/dts/starfive/jh7110-common.dtsi index 48fb5091b817..12a90d38ab31 100644 --- a/arch/riscv/boot/dts/starfive/jh7110-common.dtsi +++ b/arch/riscv/boot/dts/starfive/jh7110-common.dtsi @@ -281,7 +281,7 @@ &mmc1 { bus-width = <4>; no-sdio; no-mmc; - cd-gpios = <&sysgpio 41 GPIO_ACTIVE_LOW>; + cd-gpios = <&sysgpio GPI_SYS_SDIO1_CD GPIO_ACTIVE_LOW>; disable-wp; cap-sd-highspeed; post-power-on-delay-ms = <200>;