Received: by 2002:a05:7412:b10a:b0:f3:1519:9f41 with SMTP id az10csp641822rdb; Thu, 30 Nov 2023 14:20:22 -0800 (PST) X-Google-Smtp-Source: AGHT+IH/Rp6foomsGd7OX0ZZSbwoTSAJK69MHVapPzZidR/+O21GYQwWacpo8GCpBTq9cTyr3zyf X-Received: by 2002:a17:902:c183:b0:1cf:5d4f:1981 with SMTP id d3-20020a170902c18300b001cf5d4f1981mr19079430pld.36.1701382822027; Thu, 30 Nov 2023 14:20:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701382822; cv=none; d=google.com; s=arc-20160816; b=iPp7kDkR7lps4lYHFGfo+NkKnojuvEa3InTrkALmIJa41g8kVhF9dOa7CzD0XvKiKo y9kUbTkY588SSJhzs1brt2rij1OcaTJUZ26nIITsmsCtpLQbBxlVBv9ZBYn/EOZIJRT4 s4MQe6xabPb0BfXF9rgTC7yAj0E+10kKD7Aiy3wUiNzcY0n+SKcLz7eHhOAFwp78O5Vy U9QwaS2gn2Y/bYpiopsj796SRjqomVSoq6O1F08n2PQy4TLTmVSzGpTczdWXk5rJbiaS uo6Jq4owUbYgK0xn3TxU8MfnHSCAhsopL3YZA+Dfr4WfSLhi+e4vhnu2WZRxlEIw+E+1 RIsw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=R/qRqtIKA4EXGEtpCr54N5p1pvu+fDyDEO6B4AAfBpA=; fh=0atS/NI6CtZpuAx9uyoPHJNWG5McOJBSgOmgQB4SLE4=; b=HxcJ8pVjt/DYePyLcGZv1jGbHgxBtRkuPtHh1nIFt5kdMYu354m1N4qBFNCr52mBQz JOVjW31Nb0XNfrTyqrTeyiuqJuuc5ZBesfhUU3T749b2QEHuAxndUle2hHWrNghofCaJ zHvCU4zIiWFY+UPtGO5EZlTlEyBF0S6ZVXsBEHbox1L2UBvHsVXQsAk+Jo27kVoyosgJ COTunW8abGjebYZCm750XUwKeXMNZYrqrqefqkkip7fOtAYTnbMTDzp+aWF4K9kosrPE x8Wi3LQxKZ+ejKgFLP+icWSV7ZY/puT2rGArsR024pqk0DdpACc4VIqASkAoKeYWAV0D lg9w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b="M9/OgnM9"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id jn13-20020a170903050d00b001cfd07bd196si1922838plb.266.2023.11.30.14.20.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 Nov 2023 14:20:22 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b="M9/OgnM9"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id D991680EB852; Thu, 30 Nov 2023 14:20:09 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1377140AbjK3WTv (ORCPT + 99 others); Thu, 30 Nov 2023 17:19:51 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51170 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1377143AbjK3WTt (ORCPT ); Thu, 30 Nov 2023 17:19:49 -0500 Received: from fllv0016.ext.ti.com (fllv0016.ext.ti.com [198.47.19.142]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EBF3B10F3; Thu, 30 Nov 2023 14:19:54 -0800 (PST) Received: from lelv0266.itg.ti.com ([10.180.67.225]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 3AUMJhRv042016; Thu, 30 Nov 2023 16:19:43 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1701382783; bh=R/qRqtIKA4EXGEtpCr54N5p1pvu+fDyDEO6B4AAfBpA=; h=Date:Subject:To:CC:References:From:In-Reply-To; b=M9/OgnM9SX26rzYAUg2lKClsz35RtApdF1NQey7QTpJbENjMUDhwWlZf2R1qpeGYt L1YmRGn5dG/skILY6aB3t+gC7MFA0EgZ4sIO8kP1kR0iCHzHuR5EYyPimLrqDnCaJv sPxx+WlyqPOlqvXvDsODP+Pj3SlHYGfnnKWPD4r4= Received: from DFLE109.ent.ti.com (dfle109.ent.ti.com [10.64.6.30]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 3AUMJh4i026835 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 30 Nov 2023 16:19:43 -0600 Received: from DFLE111.ent.ti.com (10.64.6.32) by DFLE109.ent.ti.com (10.64.6.30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Thu, 30 Nov 2023 16:19:43 -0600 Received: from fllv0039.itg.ti.com (10.64.41.19) by DFLE111.ent.ti.com (10.64.6.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Thu, 30 Nov 2023 16:19:43 -0600 Received: from [128.247.81.105] (ileaxei01-snat.itg.ti.com [10.180.69.5]) by fllv0039.itg.ti.com (8.15.2/8.15.2) with ESMTP id 3AUMJhbU050129; Thu, 30 Nov 2023 16:19:43 -0600 Message-ID: <43cb48da-6ce5-4501-a3c8-071595810bb3@ti.com> Date: Thu, 30 Nov 2023 16:19:43 -0600 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 1/2] arm64: dts: ti: k3-am62a: Enable UHS mode support for SD cards To: Nitin Yadav , CC: , , , , , , , References: <20231026070155.1134063-1-n-yadav@ti.com> <20231026070155.1134063-2-n-yadav@ti.com> Content-Language: en-US From: Judith Mendez In-Reply-To: <20231026070155.1134063-2-n-yadav@ti.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Thu, 30 Nov 2023 14:20:10 -0800 (PST) On 10/26/23 2:01 AM, Nitin Yadav wrote: > Hook up required IO voltage regulators to support UHS modes on > SD cards. > > Signed-off-by: Nitin Yadav > --- > arch/arm64/boot/dts/ti/k3-am62a7-sk.dts | 20 ++++++++++++++++++++ > 1 file changed, 20 insertions(+) > > diff --git a/arch/arm64/boot/dts/ti/k3-am62a7-sk.dts b/arch/arm64/boot/dts/ti/k3-am62a7-sk.dts > index 9f3dfbfbf369..3ae1ea1997a4 100644 > --- a/arch/arm64/boot/dts/ti/k3-am62a7-sk.dts > +++ b/arch/arm64/boot/dts/ti/k3-am62a7-sk.dts > @@ -102,6 +102,19 @@ vdd_mmc1: regulator-3 { > gpio = <&exp1 3 GPIO_ACTIVE_HIGH>; > }; > > + vddshv_sdio: regulator-4 { > + compatible = "regulator-gpio"; > + regulator-name = "vddshv_sdio"; > + pinctrl-names = "default"; > + pinctrl-0 = <&vddshv_sdio_default_pins>; > + regulator-min-microvolt = <1800000>; > + regulator-max-microvolt = <3300000>; > + regulator-boot-on; > + gpios = <&main_gpio0 31 GPIO_ACTIVE_HIGH>; > + states = <1800000 0x0>, > + <3300000 0x1>; > + }; > + > leds { > compatible = "gpio-leds"; > pinctrl-names = "default"; > @@ -189,6 +202,12 @@ AM62AX_IOPAD(0x1f8, PIN_INPUT_PULLUP, 0) /* (AC2) MMC0_DAT7 */ > >; > }; > > + vddshv_sdio_default_pins: vddshv-sdio-default-pins { > + pinctrl-single,pins = < > + AM62AX_IOPAD(0x07c, PIN_OUTPUT, 7) /* (M19) GPMC0_CLK.GPIO0_31 */ Isn't this ball name N22? I might be wrong, but I did check using SYSCONFIG tool and datasheet. > + >; > + }; > + > main_mmc1_pins_default: main-mmc1-default-pins { > pinctrl-single,pins = < > AM62AX_IOPAD(0x23c, PIN_INPUT, 0) /* (A21) MMC1_CMD */ > @@ -294,6 +313,7 @@ &sdhci1 { > /* SD/MMC */ > status = "okay"; > vmmc-supply = <&vdd_mmc1>; > + vqmmc-supply = <&vddshv_sdio>; > pinctrl-names = "default"; > pinctrl-0 = <&main_mmc1_pins_default>; > ti,driver-strength-ohm = <50>;