Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp2915083rwb; Mon, 15 Aug 2022 13:59:48 -0700 (PDT) X-Google-Smtp-Source: AA6agR6isskss45B5uCuUuSV0bQguZmfDXD1Cpo/ISZEdYyn7vmvW4oAA8AUV28ROkio/8PQQXME X-Received: by 2002:a62:1a14:0:b0:52d:daae:b289 with SMTP id a20-20020a621a14000000b0052ddaaeb289mr17901316pfa.55.1660597187658; Mon, 15 Aug 2022 13:59:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660597187; cv=none; d=google.com; s=arc-20160816; b=lcLuhbVwFJRWb3DQ4L3OsadMaFRcJvxlZcCG4p2o/VKX00Xa4A0ZSNlqJKCkIrpYb7 1UhzoEXdva5i90Y8o27xHCvdjT5yva/qHLKXHjoZbZx1HZPZFX/F83i1RaVLtaKnKUu4 ubGfJPfrxpYFt4KtLOuB2eojCx9YwY3/bFBx2+ItgsITpwbs4p0sMOWtkNAk7Qdl5Zdr yMyLMGbwy2unfGf+s0hek90W1JDzd9MlEvw7ypG1L++VLxZmU7rLTbzIm5lS1UQMoDGY 3b9umCYToYDCfhFp7flWTC14IAyv4rSWuJUyNi5nqqklcge2C4dBz7+N4sds1/hV4tnU ItPA== 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=pAjnuXxeAFd4DrnoxfxDexyBzibXBF1z9rW6wKEfDGg=; b=JN8nLeJv5P40oqIv09GBmTppbiEN1TdfxEXvif+NRl8E/aaYh2WwrRUGEpQ1BDxMue 3GYVpN+1xU1rn/mWAsDSLn7K7p6v/sCfJ3mNk36ZBNd4f2bJn5YopbwjCLvSDl8xDSLx f1YemAnf2FUiBwa7XPcIcHBwpok9FBAX8l/yVt9cc73ua9Jl9qcTc1bpY7KG46qSgx91 vN7U3KhIDkh9R5wIAJqG8ENBP8/L5/EWbWi9hBzR61hahV7zY41qoEJS3ZHhsGjChJXq hiV0TIqkgTcbmqCA4r8q9/30vO+niLvdj6sRIFXylnb5bo/NcsVuGanUkze6wWmHScRc kgVw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=k18h7JrV; 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 x5-20020aa78f05000000b005251a2f06bbsi11393356pfr.59.2022.08.15.13.59.36; Mon, 15 Aug 2022 13:59:47 -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=k18h7JrV; 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 S1345809AbiHOUos (ORCPT + 99 others); Mon, 15 Aug 2022 16:44:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33898 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1347277AbiHOUml (ORCPT ); Mon, 15 Aug 2022 16:42:41 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DA822B275F; Mon, 15 Aug 2022 12:07:52 -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 ams.source.kernel.org (Postfix) with ESMTPS id 9C839B81107; Mon, 15 Aug 2022 19:07:50 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C537BC433D7; Mon, 15 Aug 2022 19:07:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1660590469; bh=PTajQ6vCQBXIMFfY1mQIEBHxTvgpJvmAcciNKVsTvXE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=k18h7JrVkdRP5erXxnNFlENekOtv6w6tklXAYWsWuQAoH+OcKzqEmLEQ4icaV3Ufa eAqHIlXnOe8s2AjUI8mQAVCm4+SuaWGOcDyHQ61TMfsUhcBNzCZKQsYDAQHVc3K96j wFyIYiR5TaU81hnognWg1EOPcpydMKw5DlgZPwfU= 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.18 0262/1095] arm64: tegra: Fix SDMMC1 CD on P2888 Date: Mon, 15 Aug 2022 19:54:21 +0200 Message-Id: <20220815180440.591852741@linuxfoundation.org> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20220815180429.240518113@linuxfoundation.org> References: <20220815180429.240518113@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 a7d7cfd66379..b0f9393dd39c 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