Message ID | 20221107112246.69242-1-b-kapoor@ti.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp1996886wru; Mon, 7 Nov 2022 03:44:37 -0800 (PST) X-Google-Smtp-Source: AMsMyM7GjyLHWi3tzEKt4Hn+13AvT3kOqt1Sn+VXK2nm+vAnqiigoR2o0wCelJZiByxceyf0BeBr X-Received: by 2002:a17:907:da5:b0:7ad:7e95:6513 with SMTP id go37-20020a1709070da500b007ad7e956513mr48877930ejc.442.1667821477776; Mon, 07 Nov 2022 03:44:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1667821477; cv=none; d=google.com; s=arc-20160816; b=OUMdspSf0EVZBEoOhzXeWQX58TGbY7EzG6E0IxVUvJtvvE/MsRsZonmFJNzHe+3hw4 7GBb7ClJRzqE8p0WGRinqBE091lcRfYdwRZ3hqQzKIM01hKiPIdMa9dHxoGzmF9Af9L4 AS7tDMwBOEHpX3AQYxuOQBlen6IzgQE6E5sUcA74nZUUMdp+hWosGCeK+aEi1hlDaAZv Ww4m/FRShydLSer3IRxQLis45IXMdxUjYTkinZ4FLXKG9vrKuJysfUba54SSTitdDGs6 LydMqtdwJsb3i89undW9NFP80AfxdAhusi/oj0KbeYKYXuERn1PMYB+LAltKs+qlFoWe xK7A== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=YBd8AEWY8tSN4C006kwwfXguJrkOGDAiu3t3jsuQKf4=; b=EKWvfuFC3tgxr6+CwY5vRqxW/sHldFkgguVrYD5RTzVeFsygBm4BKuJI8bdu6d5KrT 1Ybh5JNQ6f+DFJSC+pkh13JwG1aV/3O2+gMMogZTsgGW2p9cdZXyaiZQP3BYlIHaFf0p mcxIlBu1Ato+Qevz3Pn5G9fa/5YVf0kywgMH4QJWWO2y6eXd2gTl587qaSnHKV2Ji3Sx OQmUA7BiIU0V6/EwZZHf/dis/fOmxCGsKIVLqrB52eonZqLHfD3b+Kwc94vn2K923h+h MqTlzPvFhHkRK1NQlvyhGAwqNiv1se63sJ+hh8v1qFcWP3P8SHAuxIs7Hy8+tkUtg2TY 2tpw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=RmFqbC6k; 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: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id gs37-20020a1709072d2500b007882936243fsi8829371ejc.772.2022.11.07.03.44.12; Mon, 07 Nov 2022 03:44:37 -0800 (PST) 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=RmFqbC6k; 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 S231394AbiKGLWz (ORCPT <rfc822;hjfbswb@gmail.com> + 99 others); Mon, 7 Nov 2022 06:22:55 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42066 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229778AbiKGLWx (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 7 Nov 2022 06:22:53 -0500 Received: from lelv0143.ext.ti.com (lelv0143.ext.ti.com [198.47.23.248]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B49D3192BE; Mon, 7 Nov 2022 03:22:52 -0800 (PST) Received: from fllv0035.itg.ti.com ([10.64.41.0]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 2A7BMkFw020072; Mon, 7 Nov 2022 05:22:46 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1667820166; bh=YBd8AEWY8tSN4C006kwwfXguJrkOGDAiu3t3jsuQKf4=; h=From:To:CC:Subject:Date; b=RmFqbC6k6IEgTpg098QZJ2J15W2ycci310lvjLLhDlrp7L3/mP7c4w24rvoQXdE9W g2hYAN0lsp9JzsrHQWIQ8DswFzj6v9E/X8k7dN6rmn7PmJBMuyBU8KjiGzZa1DuzlS fZLsTf4+NLunDRgmCc+/IUaGQNlAIXbBkx3Ci99o= Received: from DLEE105.ent.ti.com (dlee105.ent.ti.com [157.170.170.35]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 2A7BMk7s103394 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 7 Nov 2022 05:22:46 -0600 Received: from DLEE115.ent.ti.com (157.170.170.26) by DLEE105.ent.ti.com (157.170.170.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.6; Mon, 7 Nov 2022 05:22:45 -0600 Received: from lelv0326.itg.ti.com (10.180.67.84) by DLEE115.ent.ti.com (157.170.170.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.6 via Frontend Transport; Mon, 7 Nov 2022 05:22:45 -0600 Received: from localhost (ileaxei01-snat2.itg.ti.com [10.180.69.6]) by lelv0326.itg.ti.com (8.15.2/8.15.2) with ESMTP id 2A7BMiJU032407; Mon, 7 Nov 2022 05:22:45 -0600 From: Bhavya Kapoor <b-kapoor@ti.com> To: <robh+dt@kernel.org>, <krzysztof.kozlowski+dt@linaro.org>, <linux-kernel@vger.kernel.org>, <devicetree@vger.kernel.org> CC: <linux-arm-kernel@lists.infradead.org>, <vigneshr@ti.com>, <nm@ti.com>, <piyali_g@ti.com> Subject: [PATCH] arm64: dts: ti: k3-j721e-main: Remove ti,strobe-sel property Date: Mon, 7 Nov 2022 16:52:46 +0530 Message-ID: <20221107112246.69242-1-b-kapoor@ti.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1748837573735143244?= X-GMAIL-MSGID: =?utf-8?q?1748837573735143244?= |
Series |
arm64: dts: ti: k3-j721e-main: Remove ti,strobe-sel property
|
|
Commit Message
Bhavya Kapoor
Nov. 7, 2022, 11:22 a.m. UTC
According to latest errata of J721e [1], HS400 mode is not supported
in MMCSD0 subsystem (i2024) . Speed modes supported has been already
updated in PATCH eb8f6194e807. 'ti,strobe-sel' property is only
required by HS400 speed mode and thus needs to be removed from kernel
dtsi for J721e soc.
'ti,strobe-sel' is read in sdhci_am654.c line 733 and gets stored in
sdhci_am654->strb_sel. This sdhci_am654->strb_sel is used at only one
place in sdhci_am654.c line 291 which will only get used if HS400
is enabled.
Thus, drop 'ti,strobe-sel' property from kernel dtsi for J721e soc.
[.] https://www.ti.com/lit/er/sprz455/sprz455.pdf
Fixes: eb8f6194e807 ("arm64: dts: ti: k3-j721e-main: Update the speed modes supported and their itap delay values for MMCSD subsystems")
Signed-off-by: Bhavya Kapoor <b-kapoor@ti.com>
---
arch/arm64/boot/dts/ti/k3-j721e-main.dtsi | 1 -
1 file changed, 1 deletion(-)
Comments
On 16:52-20221107, Bhavya Kapoor wrote: > According to latest errata of J721e [1], HS400 mode is not supported > in MMCSD0 subsystem (i2024) . Speed modes supported has been already > updated in PATCH eb8f6194e807. 'ti,strobe-sel' property is only eb8f6194e807 isn't a PATCH :) See Documentation/process/submitting-patches.rst line 99 as an example how to refer to specific commits. > required by HS400 speed mode and thus needs to be removed from kernel > dtsi for J721e soc. s/soc/SoC > > 'ti,strobe-sel' is read in sdhci_am654.c line 733 and gets stored in > sdhci_am654->strb_sel. This sdhci_am654->strb_sel is used at only one > place in sdhci_am654.c line 291 which will only get used if HS400 > is enabled. Please don't describe driver behavior in device tree patch. DT binding should indicate the property behavior. > > Thus, drop 'ti,strobe-sel' property from kernel dtsi for J721e soc. > > [.] https://www.ti.com/lit/er/sprz455/sprz455.pdf Should be [1] ? I think we could simplify it by saying that the commit that implemented the patch missed dropping ti,strobe-sel property that is only meant for HS400. (please rephrase appropriately). Documentation/devicetree/bindings/mmc/sdhci-am654.yaml Now, that said - this could be enforced in dt-schema to prevent such a miss from taking place (if then required) Might be a case to post a separate patch for the enforcement? > > Fixes: eb8f6194e807 ("arm64: dts: ti: k3-j721e-main: Update the speed modes supported and their itap delay values for MMCSD subsystems") > Signed-off-by: Bhavya Kapoor <b-kapoor@ti.com> > --- > arch/arm64/boot/dts/ti/k3-j721e-main.dtsi | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/arch/arm64/boot/dts/ti/k3-j721e-main.dtsi b/arch/arm64/boot/dts/ti/k3-j721e-main.dtsi > index 917c9dc99efa..e4748a838d83 100644 > --- a/arch/arm64/boot/dts/ti/k3-j721e-main.dtsi > +++ b/arch/arm64/boot/dts/ti/k3-j721e-main.dtsi > @@ -1094,7 +1094,6 @@ > ti,itap-del-sel-mmc-hs = <0xa>; > ti,itap-del-sel-ddr52 = <0x3>; > ti,trm-icp = <0x8>; > - ti,strobe-sel = <0x77>; > dma-coherent; > }; > > -- > 2.20.1 >
diff --git a/arch/arm64/boot/dts/ti/k3-j721e-main.dtsi b/arch/arm64/boot/dts/ti/k3-j721e-main.dtsi index 917c9dc99efa..e4748a838d83 100644 --- a/arch/arm64/boot/dts/ti/k3-j721e-main.dtsi +++ b/arch/arm64/boot/dts/ti/k3-j721e-main.dtsi @@ -1094,7 +1094,6 @@ ti,itap-del-sel-mmc-hs = <0xa>; ti,itap-del-sel-ddr52 = <0x3>; ti,trm-icp = <0x8>; - ti,strobe-sel = <0x77>; dma-coherent; };