From patchwork Fri Dec 2 03:13:30 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Doug Brown X-Patchwork-Id: 630970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 24AA4C4321E for ; Fri, 2 Dec 2022 03:14:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231395AbiLBDOL (ORCPT ); Thu, 1 Dec 2022 22:14:11 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55678 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231578AbiLBDOJ (ORCPT ); Thu, 1 Dec 2022 22:14:09 -0500 Received: from mail-pl1-x62d.google.com (mail-pl1-x62d.google.com [IPv6:2607:f8b0:4864:20::62d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 96A49D49D0 for ; Thu, 1 Dec 2022 19:14:08 -0800 (PST) Received: by mail-pl1-x62d.google.com with SMTP id y4so3501184plb.2 for ; Thu, 01 Dec 2022 19:14:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=schmorgal.com; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=jZkOOgenUOJB+3MNGPa5Gxr5GLs9ZGNUzq9AquBy3H4=; b=gRSfbbdD7UbFjuhxzEcUcf4ybuKWiG9TFNobC9GJlIVcwgb8BYfdhQe/AYFWGN/iTc p6UNf3TfzXhIE/JrHe+4PaVHgznKEyEPUI6/eMU4XA5NryAXkOWIHoFgcNw19HC6AwnB 5pYv0t7P9iGWSZpCbHmJ23uhJ4OUkb2kFqOr4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=jZkOOgenUOJB+3MNGPa5Gxr5GLs9ZGNUzq9AquBy3H4=; b=u3p/8WxDchVcm+sRWdjxywQkYr6LAbxMLD12G10y4CWmrlYdjYALlScoEav/QdcSh6 eJ0p8QlreTHfLyjXMacndZIddOtlkK2U+Bm64WYUjr3UJMgFR0YkbRqyc7g38oZSPjuu k5WKFFeRUcaVz16y2leFxeiLlabBCpTmxhzFOZzemDvBJGlOoXLuSs0Rr5H/xxfmimK0 WJyvBPkXAtaT9YBA55sSA85H2tO2ZltvQ/gZPYFFDCbkPp6mkQmhAFzHu4a0cW7J/000 m+xzOyhwxAYxgYMJc+XC6UZ2lTUgKygy1La2g1y6AUajSk+KkG4YkLpqcnKo9FC+eqIO bx1Q== X-Gm-Message-State: ANoB5pk3uoy5/uI8feqEFknAfGE0N05GSPQQ2iFMOimU9OWZX2Foq330 FFMXNhJrRBMBuDnhNgRf0Z1GNYfLIC/TzffVzOOYDw== X-Google-Smtp-Source: AA0mqf7eDqXjqXHvi9BpcPFLs3p7l/319UMdwsPF8Tt6idO6YQlGJxf8lCwlbe7/B1LiIQbs4STmiA== X-Received: by 2002:a17:90a:d106:b0:213:1944:dde2 with SMTP id l6-20020a17090ad10600b002131944dde2mr72723184pju.193.1669950848040; Thu, 01 Dec 2022 19:14:08 -0800 (PST) Received: from doug-ryzen-5700G.. ([192.183.212.197]) by smtp.gmail.com with ESMTPSA id jx24-20020a17090b46d800b00213202d77d9sm3708410pjb.43.2022.12.01.19.14.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Dec 2022 19:14:07 -0800 (PST) From: Doug Brown To: Ulf Hansson , Adrian Hunter Cc: Rob Herring , Krzysztof Kozlowski , linux-mmc@vger.kernel.org, devicetree@vger.kernel.org, Doug Brown Subject: [PATCH v2 8/8] dt-bindings: mmc: sdhci-pxa: add pxav1 Date: Thu, 1 Dec 2022 19:13:30 -0800 Message-Id: <20221202031330.94130-9-doug@schmorgal.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221202031330.94130-1-doug@schmorgal.com> References: <20221202031330.94130-1-doug@schmorgal.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Add a compatible for the pxav1 controller in the PXA168, along with optional pinctrl properties to use for an errata workaround. Signed-off-by: Doug Brown --- .../devicetree/bindings/mmc/sdhci-pxa.yaml | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/mmc/sdhci-pxa.yaml b/Documentation/devicetree/bindings/mmc/sdhci-pxa.yaml index 1c87f4218e18..8bb0eca506e5 100644 --- a/Documentation/devicetree/bindings/mmc/sdhci-pxa.yaml +++ b/Documentation/devicetree/bindings/mmc/sdhci-pxa.yaml @@ -4,7 +4,7 @@ $id: http://devicetree.org/schemas/mmc/sdhci-pxa.yaml# $schema: http://devicetree.org/meta-schemas/core.yaml# -title: Marvell PXA SDHCI v2/v3 bindings +title: Marvell PXA SDHCI v1/v2/v3 bindings maintainers: - Ulf Hansson @@ -34,6 +34,7 @@ allOf: properties: compatible: enum: + - mrvl,pxav1-mmc - mrvl,pxav2-mmc - mrvl,pxav3-mmc - marvell,armada-380-sdhci @@ -61,6 +62,22 @@ properties: - const: io - const: core + pinctrl-names: + description: + Optional for supporting PXA168 SDIO IRQ errata to switch CMD pin between SDIO CMD and + GPIO mode. + items: + - const: default + - const: state_cmd_gpio + + pinctrl-0: + description: + Should contain default pinctrl. + + pinctrl-1: + description: + Should switch CMD pin to GPIO mode as a high output. + mrvl,clk-delay-cycles: description: Specify a number of cycles to delay for tuning. $ref: /schemas/types.yaml#/definitions/uint32