Received: by 2002:ac8:156:0:b0:3e0:cd10:60c8 with SMTP id f22csp1266267qtg; Thu, 30 Mar 2023 11:38:33 -0700 (PDT) X-Google-Smtp-Source: AKy350Zu/MWJB7/RWdfBZ0wgpLpPBXkYApKCPpJawNku0tkQvnGz8MrvSNa0lPGnDioEApoiVFi3 X-Received: by 2002:a17:906:101c:b0:929:b101:937d with SMTP id 28-20020a170906101c00b00929b101937dmr2802337ejm.1.1680201513070; Thu, 30 Mar 2023 11:38:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680201513; cv=none; d=google.com; s=arc-20160816; b=q285bq83G/koNIZxvw+oRvMkEINv9EbqdAIGDKPzXSR0GJuxGyjuoA03WW3EJHYCiA iCQOfpovTtFXhDx7jzdJ7XAXB6WijbKuN5fORGKoDUHceguzdwgQIllO38kkxJuKDn58 qFJ7UO/cm+qMkwt2GN3f3c4aiTgBCsJ6H7/FoQaeYXXz9QQgUo978CdCkBDarKnKWZry 3aaANlpF1QTIlOdsTZXEQzHA0jIkVC+vi8nqcJOVNvTGZj61wBHHnmQzPwBtSvBQfyqq PNu3bH/EB90vyQJCrvnTzZn9AGDKex1N7bQCHjbfpvy5YpJpK4GZ5CnqMxpO+zRgpmVz JzaQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=iwVvxxRviT6unOdLjY9LnCnWTXA8oTUOvdHCBztIn4Y=; b=J2t6rC+V1EusNMsYfavI4rwEmt9vB8XGyBJaCIBCkoSwlekZIaglZQWSwpUKGjKrGr 57lpp6+V5Ftui991LacIjeocENjlofQt/u6mrR/3pvVi1ouHVO2weLwvpo/sO4ho6Be0 kO1XPBONDWNZs9sd2fyBYH20Mky+iDTquXET6mMNbiG+DX2JzyU24AMD+dX+ACQm9IjY VRF9GJLSHxNWH1nZctRmw9vn7TsyoqdoCYPKZ6Y5xoBOVvUR20oXShAaInGECrL8k+hw Aw+PMQoSYb3m2YjyJixoU5L5Dm/n3zL+sHCV5ngsbZBnHttdspEIQgoGbsmyCbIwaKrr efIw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=o8RFiSyo; 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 ga4-20020a170906b84400b009318e114d7dsi199774ejb.929.2023.03.30.11.38.04; Thu, 30 Mar 2023 11:38:33 -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=o8RFiSyo; 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 S230119AbjC3S1y (ORCPT + 99 others); Thu, 30 Mar 2023 14:27:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57464 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231254AbjC3S1x (ORCPT ); Thu, 30 Mar 2023 14:27:53 -0400 Received: from fllv0016.ext.ti.com (fllv0016.ext.ti.com [198.47.19.142]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3123DEC78; Thu, 30 Mar 2023 11:27:47 -0700 (PDT) Received: from lelv0265.itg.ti.com ([10.180.67.224]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 32UIRZvH051124; Thu, 30 Mar 2023 13:27:35 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1680200855; bh=iwVvxxRviT6unOdLjY9LnCnWTXA8oTUOvdHCBztIn4Y=; h=Date:From:To:CC:Subject:References:In-Reply-To; b=o8RFiSyoupCLX3l+sReRbvjwU+3QYgCbUgmIU/JM29f1oJhfKsbUfBE622Hp8BqoL nue6EOUT6JoOBGQDYh0G93KHQfUqlICdsSL/KHxqpJ63RElfbI3e8o0IIjAXNfo2GK nLYPcsPA8bt2xykk3ld5e1YlE9mN9sFGhjBXyuZA= Received: from DFLE103.ent.ti.com (dfle103.ent.ti.com [10.64.6.24]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 32UIRZPD007347 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 30 Mar 2023 13:27:35 -0500 Received: from DFLE105.ent.ti.com (10.64.6.26) by DFLE103.ent.ti.com (10.64.6.24) 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 13:27:35 -0500 Received: from lelv0326.itg.ti.com (10.180.67.84) by DFLE105.ent.ti.com (10.64.6.26) 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 13:27:35 -0500 Received: from localhost (ileaxei01-snat.itg.ti.com [10.180.69.5]) by lelv0326.itg.ti.com (8.15.2/8.15.2) with ESMTP id 32UIRZPC023276; Thu, 30 Mar 2023 13:27:35 -0500 Date: Thu, 30 Mar 2023 13:27:35 -0500 From: Nishanth Menon To: Bhavya Kapoor CC: Apurva Nandan , Vignesh Raghavendra , Tero Kristo , Rob Herring , Krzysztof Kozlowski , , , , "Kumar, Udit" Subject: Re: [PATCH] arm64: dts: ti: k3-j784s4-evm: Add eMMC mmc0 support Message-ID: <20230330182735.2lkuplsqcjku5enh@unnoticed> References: <20230327083100.12587-1-a-nandan@ti.com> <20230330152406.fmpri7nnzybf7uqh@jubilance> <8f4e8265-da64-1e53-e1ed-b925e0326cad@ti.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <8f4e8265-da64-1e53-e1ed-b925e0326cad@ti.com> 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,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 23:14-20230330, Bhavya Kapoor wrote: > > 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 Aah, yes - thanks for clarifying. -- Regards, Nishanth Menon Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3 1A34 DDB5 849D 1736 249D