Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp2485587rwl; Thu, 30 Mar 2023 10:58:22 -0700 (PDT) X-Google-Smtp-Source: AKy350ZxsmNEa4J3T+zEk3FWLcXhUdSj1+dIkHhCX15rvvvSxUn86I5vwApvlpTep6oVfm/N+5bX X-Received: by 2002:a17:903:110c:b0:1a2:1e96:600d with SMTP id n12-20020a170903110c00b001a21e96600dmr3164065plh.2.1680199102399; Thu, 30 Mar 2023 10:58:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680199102; cv=none; d=google.com; s=arc-20160816; b=SgenHjywghUQx+Ze+F4bv7ZnLQ+qEhSMlPpVuOduIHiLVCTOY84oGmHLPK+g40/+Ag WiVZ20DqwH4y9ZHW8g+vCm4Jce1OZZiXqesdpFIj1urc8nc+rCIkt84L9QfP2O7lKodi /RgRRZW8R7sgkzxq8/NbcY4JhKIQxka4QBcZlJas0rcF/oMkNE6vWNYmpqsZqD3sBP+0 38RUwZRQZgueW7tmexD3FKtudjBAFYGK8My5yL+ByALFrM3lLqaXqTlF12cdw6lWfPsf 6q0EX0OZ8ykVwG9R+iWGoWoUpAiqmRiPMP0zoGi29Av7bDUgPaHvusJc4hfYhk27YhZ1 6Zwg== 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 :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=jviOJ9W6akJAPfpX1T4+6yfoFwBwyAfr/XjPPdT+TYc=; b=gm51gEOnAxfn5Vky9oyBaoBL8brKTq6K4Dt7tf0sHG/2+ApokARrZAyfN8ToAAcWkt E9Yix6fvs25EdwQt328UeJ3esjrnQrUxZYXlQkhAY/+4IAkWNofVJh8OxMyEzJtqVQdP F0bEOE08krn6BqKx3+qXDaHH0KLDbN9vYgQivZ5/+6JNLkQnPqVZwgEqeFf13i2cfc0b TEW2tfHHcV8jjOqpw1te4kZKc/jDWG9pC+R4eYIYjM8/jwGaB+TFP8fPDgvojTwmE2sk nzM9HgtI2z/xBHc/z2ANDGDPd7IFF+bcoGn4DpZODAcM4YkBp3RQ0T3fcqAp2duqBIe1 S/6A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=ZPR4O1mc; 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=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ij16-20020a170902ab5000b0019e6b2ed4basi22872plb.483.2023.03.30.10.58.10; Thu, 30 Mar 2023 10:58:22 -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=@ti.com header.s=ti-com-17Q1 header.b=ZPR4O1mc; 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=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230152AbjC3RpI (ORCPT + 99 others); Thu, 30 Mar 2023 13:45:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50188 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231984AbjC3RpH (ORCPT ); Thu, 30 Mar 2023 13:45:07 -0400 Received: from lelv0143.ext.ti.com (lelv0143.ext.ti.com [198.47.23.248]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 34D46DBD1; Thu, 30 Mar 2023 10:45:06 -0700 (PDT) Received: from lelv0265.itg.ti.com ([10.180.67.224]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 32UHiuPt113059; Thu, 30 Mar 2023 12:44:56 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1680198296; bh=jviOJ9W6akJAPfpX1T4+6yfoFwBwyAfr/XjPPdT+TYc=; h=Date:Subject:To:CC:References:From:In-Reply-To; b=ZPR4O1mco+7Z3c9+VJzFmyE5GcV7WnaJ7EcnBKGsmyF6h8OduoldyEpH5RXqTHDIM uXyEurDEOMpYe6xwbupili1Cswn7kwdckgN16FJFQ/Xc3lSMKl1THNBNqxM4vlCslD HJ1Eap7DROq5/1elDcPtoBM+HP1RCB5tl/xJkqdU= Received: from DFLE107.ent.ti.com (dfle107.ent.ti.com [10.64.6.28]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 32UHiuC8014141 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 30 Mar 2023 12:44:56 -0500 Received: from DFLE100.ent.ti.com (10.64.6.21) by DFLE107.ent.ti.com (10.64.6.28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.16; Thu, 30 Mar 2023 12:44:56 -0500 Received: from fllv0039.itg.ti.com (10.64.41.19) by DFLE100.ent.ti.com (10.64.6.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.16 via Frontend Transport; Thu, 30 Mar 2023 12:44:56 -0500 Received: from [10.249.138.125] (ileaxei01-snat.itg.ti.com [10.180.69.5]) by fllv0039.itg.ti.com (8.15.2/8.15.2) with ESMTP id 32UHiqgq015758; Thu, 30 Mar 2023 12:44:53 -0500 Message-ID: <8f4e8265-da64-1e53-e1ed-b925e0326cad@ti.com> Date: Thu, 30 Mar 2023 23:14:51 +0530 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2 Subject: Re: [PATCH] arm64: dts: ti: k3-j784s4-evm: Add eMMC mmc0 support Content-Language: en-US To: Nishanth Menon CC: Apurva Nandan , Vignesh Raghavendra , Tero Kristo , Rob Herring , Krzysztof Kozlowski , , , , "Kumar, Udit" References: <20230327083100.12587-1-a-nandan@ti.com> <20230330152406.fmpri7nnzybf7uqh@jubilance> From: Bhavya Kapoor In-Reply-To: <20230330152406.fmpri7nnzybf7uqh@jubilance> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-Spam-Status: No, score=-2.5 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_MED, SPF_HELO_PASS,SPF_PASS autolearn=unavailable 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 On 30/03/23 20:54, Nishanth Menon wrote: > On 11:50-20230330, Bhavya Kapoor wrote: >> On 27/03/23 14:01, Apurva Nandan wrote: >>> Add support for eMMC card connected to main sdhci0 instance. >>> >>> Signed-off-by: Apurva Nandan >> Reviewed-by: Bhavya Kapoor >> >>> --- >>> arch/arm64/boot/dts/ti/k3-j784s4-evm.dts | 9 +++++++++ >>> 1 file changed, 9 insertions(+) >>> >>> diff --git a/arch/arm64/boot/dts/ti/k3-j784s4-evm.dts b/arch/arm64/boot/dts/ti/k3-j784s4-evm.dts >>> index 7480f37e89e8..1622a01a4667 100644 >>> --- a/arch/arm64/boot/dts/ti/k3-j784s4-evm.dts >>> +++ b/arch/arm64/boot/dts/ti/k3-j784s4-evm.dts >>> @@ -21,6 +21,7 @@ chosen { >>> >>> aliases { >>> serial2 = &main_uart8; >>> + mmc0 = &main_sdhci0; >>> mmc1 = &main_sdhci1; >>> i2c0 = &main_i2c0; >>> }; >>> @@ -225,6 +226,14 @@ exp2: gpio@22 { >>> }; >>> }; >>> >>> +&main_sdhci0 { >>> + /* eMMC */ >>> + status = "okay"; >>> + non-removable; >>> + ti,driver-strength-ohm = <50>; >>> + disable-wp; >>> +}; >>> + >>> &main_sdhci1 { >>> /* SD card */ >>> status = "okay"; >>> -- >>> 2.34.1 >> Looks correct to me. > > Don't you need pinmux? > Hi Nishanth, pinmux is not needed since there is no mux options for emmc pins (mmc0) in datasheet.  -> Kindly refer to datasheet for same : https://www.ti.com/lit/ds/symlink/tda4vh-q1.pdf?ts=1680197698102&ref_url=https%253A%252F%252Fwww.ti.com%252Fproduct%252FTDA4VH-Q1%253FkeyMatch%253DTDA4VH%2BDATASHEET Regards ~B-Kapoor