Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp2926934rwb; Mon, 15 Aug 2022 14:12:19 -0700 (PDT) X-Google-Smtp-Source: AA6agR4CVCP0vZskY2ztYj2D23/1ynA4lNkIDQBtkSyN7KCImlHlhT4MKB1Uy7wubaN0NT1b1rVf X-Received: by 2002:a17:907:6e12:b0:730:bc12:82e3 with SMTP id sd18-20020a1709076e1200b00730bc1282e3mr11873028ejc.36.1660597939362; Mon, 15 Aug 2022 14:12:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660597939; cv=none; d=google.com; s=arc-20160816; b=wHaxXnESoiaeWSBwyhpCAHp+q2YYQbUET4J/kJaG1DqDO0R/X2BhM118xbRAEEa0kn lXFQZIaGSg2hf1mG09nNWj4GHfNKYJBTgPOB/xnMEnw5pXFaC6oBBZxEPu+Qro+H9XaD z6eHaKpI/pM81s59AGX6ZqQRqrt4vlrJa3yC/JKQ4TlzYog+wvvto0Eol34FunyRhgU0 sW6hvy1R9p1W0sCc3AALjel8dzCMt9hONrlinmB9zFYO84spnaTjLg3oSW3hBq0UexRz LUjv/4nIs16Afzdpm7DNXl1TbCSz1oE0fRLsscBa9N9mTXnCXr2QGwpoLlJrLqhjXmal 4R1w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=vkG78zxTOVsWL3f2/HfQ17h8EqqHBdCqreLrmwYhGr8=; b=wJJJNLk4VbBfXbPol8Gt671JI78n+MH3IjWNqy3P/fO6zqxl8aTXEnmSWUmhqk9hIE /mk3r9bd2PCSV9af+PWVqASgcdQlPE6OoTNqG4Qh68hqwkRYy4fIDqTpd1ddtjB5dA7K zmILumMwC9h0ZV/Riv/4GQoqNtBLUrAxA/6ojnCm4QennWTu79Zy3yTG9YlDluXOsGJd W3NaIYIJazS8/54jwv1j/ZaqAVeWx33YcLdZI4WLpFWtA0hx+p51c67HIECAkfJNO1XQ Ma/tSBvli/Vq3yZJ+wIQdZuK5psEoX0OYVJmqqzHBEhBYrZ1ZkYtIJgPTwJIneg6/BLl +UPg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=EzC3ARo5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hz6-20020a1709072ce600b0072a477a55e0si10313851ejc.369.2022.08.15.14.11.53; Mon, 15 Aug 2022 14:12:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=EzC3ARo5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240894AbiHOSjQ (ORCPT + 99 others); Mon, 15 Aug 2022 14:39:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53622 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242120AbiHOSiZ (ORCPT ); Mon, 15 Aug 2022 14:38:25 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 060663CBFF; Mon, 15 Aug 2022 11:23:41 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 313FA60C07; Mon, 15 Aug 2022 18:23:41 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1A9B2C433D6; Mon, 15 Aug 2022 18:23:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1660587820; bh=7yTsgTxRPiTe1CNGAyg1LU8nwoKF2gMiyP+86hKk4o4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=EzC3ARo5Mbqhtxd4BelbW2+SFbV/GxYkdRudOUDJGVPfwFpvzcTcrID9Wvzy0FYKJ SNZTp1L6xC04akHkxJSDm7WBmXFeDMSWkaYPOyP8TYDhgOxP4fS8jzAXy01EFnjbaR tVSKLhdWFhHw8GfKZ68Jm7SfJ2I3qyNwrcAe6Zxo= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, =?UTF-8?q?Tam=C3=A1s=20Sz=C5=B1cs?= , Thierry Reding , Sasha Levin Subject: [PATCH 5.15 206/779] arm64: tegra: Fix SDMMC1 CD on P2888 Date: Mon, 15 Aug 2022 19:57:30 +0200 Message-Id: <20220815180346.082702041@linuxfoundation.org> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20220815180337.130757997@linuxfoundation.org> References: <20220815180337.130757997@linuxfoundation.org> User-Agent: quilt/0.67 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Tamás Szűcs [ Upstream commit b415bb7c976f1d595ed752001c0938f702645dab ] Hook SDMMC1 CD up with CVM GPIO02 (SOC_GPIO11) used for card detection on J4 (uSD socket) on the carrier. Fixes: ef633bfc21e9 ("arm64: tegra: Enable card detect for SD card on P2888") Signed-off-by: Tamás Szűcs Signed-off-by: Thierry Reding Signed-off-by: Sasha Levin --- arch/arm64/boot/dts/nvidia/tegra194-p2888.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/nvidia/tegra194-p2888.dtsi b/arch/arm64/boot/dts/nvidia/tegra194-p2888.dtsi index c4058ee36fec..1a444705517f 100644 --- a/arch/arm64/boot/dts/nvidia/tegra194-p2888.dtsi +++ b/arch/arm64/boot/dts/nvidia/tegra194-p2888.dtsi @@ -75,7 +75,7 @@ eeprom@50 { /* SDMMC1 (SD/MMC) */ mmc@3400000 { - cd-gpios = <&gpio TEGRA194_MAIN_GPIO(A, 0) GPIO_ACTIVE_LOW>; + cd-gpios = <&gpio TEGRA194_MAIN_GPIO(G, 7) GPIO_ACTIVE_LOW>; }; /* SDMMC4 (eMMC) */ -- 2.35.1