Received: by 2002:a05:6a10:5594:0:0:0:0 with SMTP id ee20csp164823pxb; Mon, 25 Apr 2022 07:46:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw3DsaR58ObQvqReSXoY81XPakYB5xvMYlEAiJkrGHuUq1e6x2SfbP2X8oKX4TETXgZc89A X-Received: by 2002:a63:5d60:0:b0:3a9:ef9f:eac2 with SMTP id o32-20020a635d60000000b003a9ef9feac2mr15308511pgm.553.1650898015273; Mon, 25 Apr 2022 07:46:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650898015; cv=none; d=google.com; s=arc-20160816; b=rmVcRlCdiZG6Jmq2gX6Kjw6/TOGeMfjOwh56xzJ9pPI1e2skcXaA8xVwhrnDtO+64a xzO+MseyJsgWJOEq/0tsA0Zlmy4NdsUnL+2PTfxdxODrl458v8B/zkbTQbHVDpMQdExW EiCgOKqQsHb32xyhFxpO30ZKWje0Gz9x58GzCnnP/FkPHb6XaF8IdngbrU3lpsm718Sd M5IGjfErlR45kACmUL29FtkOomf9RZeGsDZqV084JlDomweHFaOOGubdlm5Qcu8VClfx aH3omy1g6TzypsmOIJCIcNoZ+z70Cg9USJFgvIkax7/K57xLeIlB1W+y3YvgiFIddQgb yXnQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:mime-version:references:in-reply-to :message-id:date:subject:cc:from:dkim-signature; bh=MJjjRhU5iMB5CEQn17kMdjXHejdiUkwacjzhmT+hPlQ=; b=Nu2C7/L2Ump5MuzLdZNLcHkZjMvTSQXC0cNMXGdsSzSHIt+0INc6TqT/IK+geE8KGy TT6QjNdz45ztHohGKXsqNl9H1jjStBDFAu4BH/GdnEe3b0L6mfuWltqeXMqFGI3VYreC 1B8lRGLu++APIzbw0NFl+AGeMj7bO4PfFOJwoxEoJD4jrvAQIIlDRvMKfCylR1Ky1MYI yKAgPPxd24VXHly0j3Naw3pNl/2Gx+9NYPH4rBUyiRxyV4ch49tsxCFjpzJ0IYjgYu07 odCW4HhmPumo5gMxe4JgtM8HMtKjM8eB+/l7KaPlyl9F7LTNXZZUyljPvTTaQpifOL3e nkng== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@ti.com header.s=ti-com-17Q1 header.b=lyVeMzPx; 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=fail (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 c5-20020a170902d48500b0015d093f3891si4313201plg.584.2022.04.25.07.46.37; Mon, 25 Apr 2022 07:46:55 -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=fail header.i=@ti.com header.s=ti-com-17Q1 header.b=lyVeMzPx; 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=fail (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241395AbiDYGfH (ORCPT + 99 others); Mon, 25 Apr 2022 02:35:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45796 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234803AbiDYGeo (ORCPT ); Mon, 25 Apr 2022 02:34:44 -0400 Received: from lelv0143.ext.ti.com (lelv0143.ext.ti.com [198.47.23.248]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7EC6B2715E; Sun, 24 Apr 2022 23:31:41 -0700 (PDT) Received: from fllv0034.itg.ti.com ([10.64.40.246]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 23P6VVVM010135; Mon, 25 Apr 2022 01:31:31 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1650868291; bh=MJjjRhU5iMB5CEQn17kMdjXHejdiUkwacjzhmT+hPlQ=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=lyVeMzPx4xCfyu2WepF5TN0YrT30pfXkmTIBoR1GGbI07TRW3v9h6ghJjvogRftdm zB2NCJZNWGOXAHQAlTUm+a0Pervmw9ojEQaTepaAh4+0NqO7uVruAq7IomjfuYjtLA LC4LFnhmbv/YKEvUW9A2+GYQ7yGgpfvbfO88wZKg= Received: from DFLE112.ent.ti.com (dfle112.ent.ti.com [10.64.6.33]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 23P6VV2G125708 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 25 Apr 2022 01:31:31 -0500 Received: from DFLE109.ent.ti.com (10.64.6.30) by DFLE112.ent.ti.com (10.64.6.33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.14; Mon, 25 Apr 2022 01:31:31 -0500 Received: from lelv0327.itg.ti.com (10.180.67.183) 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.2308.14 via Frontend Transport; Mon, 25 Apr 2022 01:31:30 -0500 Received: from gsaswath-HP-ProBook-640-G5.dal.design.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by lelv0327.itg.ti.com (8.15.2/8.15.2) with ESMTP id 23P6VNNO079479; Mon, 25 Apr 2022 01:31:28 -0500 From: Aswath Govindraju CC: Vignesh Raghavendra , Aswath Govindraju , Ulf Hansson , Rob Herring , Krzysztof Kozlowski , Adrian Hunter , , , Subject: [PATCH v2 1/2] dt-bindings: mmc: sdhci-am654: Add flag to force setting of TESTCD bit Date: Mon, 25 Apr 2022 12:01:19 +0530 Message-ID: <20220425063120.10135-2-a-govindraju@ti.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20220425063120.10135-1-a-govindraju@ti.com> References: <20220425063120.10135-1-a-govindraju@ti.com> MIME-Version: 1.0 Content-Type: text/plain X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-Spam-Status: No, score=-5.0 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 To: unlisted-recipients:; (no To-header on input) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The ARASAN MMC controller on Keystone 3 class of devices needs the SDCD line to be connected for proper functioning. Similar to the issue pointed out in sdhci-of-arasan.c driver, commit 3794c542641f ("mmc: sdhci-of-arasan: Set controller to test mode when no CD bit"). In cases where SDCD line is not connected, adding "ti,fails-without-test-cd" in the DT node helps to indicate the controller, that the SDCD line has been pulled down, using the TESTCD bit. Signed-off-by: Aswath Govindraju --- Documentation/devicetree/bindings/mmc/sdhci-am654.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Documentation/devicetree/bindings/mmc/sdhci-am654.yaml b/Documentation/devicetree/bindings/mmc/sdhci-am654.yaml index 0566493c4def..0ab07759b472 100644 --- a/Documentation/devicetree/bindings/mmc/sdhci-am654.yaml +++ b/Documentation/devicetree/bindings/mmc/sdhci-am654.yaml @@ -186,6 +186,13 @@ properties: description: Clock Delay Buffer Select $ref: "/schemas/types.yaml#/definitions/uint32" + ti,fails-without-test-cd: + $ref: /schemas/types.yaml#/definitions/flag + description: + When present, indicates that the CD line is not connected + and the controller is required to be forced into Test mode + to set the TESTCD bit. + required: - compatible - reg -- 2.17.1