From patchwork Wed Sep 21 16:03:34 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yann Gautier X-Patchwork-Id: 12983940 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 A1C97C6FA82 for ; Wed, 21 Sep 2022 16:05:07 +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=KX3Nr6zoB8U7Sz7K2d6bZIY2awFcSYl/wv//lMtoCqE=; b=BH8oPCdQ1IOLil K1lHd5WwK8OCvsGHy8KR6KIsHSZoe8mgnRt2LN5DCDZk3zJAyJbwZOjwsq/Dub35EfIttLJsoNdf5 76pAusa33POq2CyszWDypZ5k2w5yvqFej2aUl034o2/rnywYyp8iv+r7p+99Ao4WMmKotOaZn09kX LcBVxQ71Tw8Yn4rPMXchtKAke754D+ts7XiTrhNzcTAYKlV+KxQS11eahiuqDZGGa4DVM2Eo6OPP8 FkM9e88aIYHJbZUePeYGHkPTCPXmlTi/paxQvH6xLw4bpW/M5lb2O4Kxuk6Of3kFpVOOLc5HHkHZv YwwZD0Taaz4JlEbqaNkA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ob2Cf-00BvdA-He; Wed, 21 Sep 2022 16:04:01 +0000 Received: from mx07-00178001.pphosted.com ([185.132.182.106]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1ob2Cc-00BvZk-6s for linux-arm-kernel@lists.infradead.org; Wed, 21 Sep 2022 16:03:59 +0000 Received: from pps.filterd (m0241204.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 28LCPv3x027037; Wed, 21 Sep 2022 18:03:44 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foss.st.com; h=from : to : cc : subject : date : message-id : mime-version : content-transfer-encoding : content-type; s=selector1; bh=VE/i7b2eh/6J/jXAW29X53WRmJEGJUA8HEdrYLhNTa4=; b=shEdFuI37aby2s90QNl/QTSqNEWzgirQzN8ckd3IIv62zzcNpMAWCpwAixSqFETaV7Jo aQbkxehA4nv7M4FCyDTh7aIMn925T6G0UNzhTcI/MdwuympCT8ydpF6DWfq8lT/2q27y 6Au5s5vnzxbkYzcDdM4wnF1PcI6eaTlsEEbCvVDgsDDPJ6g++Emlj3vrdQQzD2zz7/Eh yZ7L8+5dzUdTe04alQC7WQBxvTlBFWOPabD/K4Hjwi5zFIS1U2pXEiH4LK66W2DFAFyi k++R8MWAoSwCvF5gJi35Xyx7iG0ZVgZuuBWIUsAj1gd+ahvJJ8kuWWtUP6Tu2SfUo1+2 Zg== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com (PPS) with ESMTPS id 3jn6g5hhwa-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 21 Sep 2022 18:03:44 +0200 Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 66FF510002A; Wed, 21 Sep 2022 18:03:42 +0200 (CEST) Received: from Webmail-eu.st.com (shfdag1node2.st.com [10.75.129.70]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id 6128F23C6AA; Wed, 21 Sep 2022 18:03:42 +0200 (CEST) Received: from localhost (10.75.127.51) by SHFDAG1NODE2.st.com (10.75.129.70) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.2375.31; Wed, 21 Sep 2022 18:03:41 +0200 From: Yann Gautier To: Rob Herring , Krzysztof Kozlowski , Maxime Coquelin , Alexandre Torgue CC: , , , , Yann Gautier Subject: [PATCH] ARM: dts: stm32: add sdmmc cd-gpios for STM32MP135F-DK Date: Wed, 21 Sep 2022 18:03:34 +0200 Message-ID: <20220921160334.3227138-1-yann.gautier@foss.st.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-Originating-IP: [10.75.127.51] X-ClientProxiedBy: SFHDAG2NODE3.st.com (10.75.127.6) To SHFDAG1NODE2.st.com (10.75.129.70) X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.895,Hydra:6.0.528,FMLib:17.11.122.1 definitions=2022-09-21_09,2022-09-20_02,2022-06-22_01 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220921_090358_681623_95FAF1F4 X-CRM114-Status: GOOD ( 15.58 ) 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 On STM32MP135F-DK, the SD card detect GPIO is GPIOH4. Signed-off-by: Yann Gautier --- arch/arm/boot/dts/stm32mp135f-dk.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/stm32mp135f-dk.dts b/arch/arm/boot/dts/stm32mp135f-dk.dts index e6b8ffd332c7..52f86596ce12 100644 --- a/arch/arm/boot/dts/stm32mp135f-dk.dts +++ b/arch/arm/boot/dts/stm32mp135f-dk.dts @@ -82,7 +82,7 @@ &sdmmc1 { pinctrl-0 = <&sdmmc1_b4_pins_a &sdmmc1_clk_pins_a>; pinctrl-1 = <&sdmmc1_b4_od_pins_a &sdmmc1_clk_pins_a>; pinctrl-2 = <&sdmmc1_b4_sleep_pins_a>; - broken-cd; + cd-gpios = <&gpioh 4 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>; disable-wp; st,neg-edge; bus-width = <4>;