From patchwork Wed Aug 18 11:16:52 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bough Chen X-Patchwork-Id: 12444139 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-17.4 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D924DC4338F for ; Wed, 18 Aug 2021 11:41:26 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id AB36261075 for ; Wed, 18 Aug 2021 11:41:26 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org AB36261075 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=nxp.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:List-Subscribe:List-Help: List-Post:List-Archive:List-Unsubscribe:List-Id:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=fcJPhuHBiTiSxREogF2USVg/z8HEUjfrQS+OQ+vFWyw=; b=ro5AkrE1cd+0kq cHstOqn2O5zJm6Ye7iyStexvCwXlKfSyK4+Pii6sGp3dxrQKeVwC3qbKy7CKIAFjbvp3NAKWdyxjF 0GRWzSrEyYO/fQk5GiX14oDIjW+nXsiYyKix7Lp9AF4xgAL4H1r+hTNIQEPZkzBb1GmZEe8alJHhK NcDcWbKhtqRzaBODbvItY5uGzhefVKjcYiMuat5viRmDRxmsLwmkWD/4/JvWSVhzas5Cazwe/R5Lt gtY/5J3d068302bExW0GrlBI1DXvfxx3cXVf+FCRvylx2BHlBN1LsK7z/dvbIvaqEuuJrWYpKrRsJ xaWT/4SOe7UOxVdaYdCw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mGJua-005MCF-DT; Wed, 18 Aug 2021 11:39:12 +0000 Received: from inva020.nxp.com ([92.121.34.13]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mGJuB-005M6o-Na for linux-arm-kernel@lists.infradead.org; Wed, 18 Aug 2021 11:38:49 +0000 Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 803B31A50E2; Wed, 18 Aug 2021 13:38:46 +0200 (CEST) Received: from aprdc01srsp001v.ap-rdc01.nxp.com (aprdc01srsp001v.ap-rdc01.nxp.com [165.114.16.16]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 487AE1A50DE; Wed, 18 Aug 2021 13:38:46 +0200 (CEST) Received: from localhost.localdomain (shlinux2.ap.freescale.net [10.192.224.44]) by aprdc01srsp001v.ap-rdc01.nxp.com (Postfix) with ESMTP id BA07C183ACDE; Wed, 18 Aug 2021 19:38:44 +0800 (+08) From: haibo.chen@nxp.com To: adrian.hunter@intel.com, ulf.hansson@linaro.org, shawnguo@kernel.org, robh+dt@kernel.org, s.hauer@pengutronix.de Cc: kernel@pengutronix.de, festevam@gmail.com, linux-mmc@vger.kernel.org, linux-imx@nxp.com, haibo.chen@nxp.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH v2 3/6] dt-bindings: mmc: fsl-imx-esdhc: add fsl, broken-auto-tuning binding Date: Wed, 18 Aug 2021 19:16:52 +0800 Message-Id: <1629285415-7495-3-git-send-email-haibo.chen@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1629285415-7495-1-git-send-email-haibo.chen@nxp.com> References: <1629285415-7495-1-git-send-email-haibo.chen@nxp.com> X-Virus-Scanned: ClamAV using ClamSMTP X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210818_043848_026832_61C8031F X-CRM114-Status: UNSURE ( 8.91 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Haibo Chen Add a new fsl,broken-auto-tuning binding for sdio devices. When sdio device support sdio interrupt, need to use this property to disable auto-tuning. Auto-tuning circuit is conflict with sdio interrupt. Signed-off-by: Haibo Chen --- Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.yaml b/Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.yaml index b5baf439fbac..d7c8e5880473 100644 --- a/Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.yaml +++ b/Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.yaml @@ -93,6 +93,15 @@ properties: tuning step can't find the proper delay window within limited tuning retries. default: 0 + fsl,broken-auto-tuning: + description: | + Recommend for SDIO cards that enables SDIO interrupt for SDR104 and SDR50 mode. + SDIO interrupt uses DAT[1] to signal the card's interrupt. Auto-tuning circuit + will detect this interrupt on DAT[1] when in 4Bit bus mode, and take it just + as normal data, wrongly adjust the delay cell. This property is used to disable + the auto-tuning function. + type: boolean + fsl,strobe-dll-delay-target: $ref: /schemas/types.yaml#/definitions/uint32 description: |