Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp2213641pxa; Mon, 24 Aug 2020 08:13:18 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxS4J+Z9zieA7q5c3YTMLzLj983i2/Ynu0EG4vbtFlGvXcBqUxiPCWE8daDdT0FnwUfRajP X-Received: by 2002:a17:906:4810:: with SMTP id w16mr5262120ejq.298.1598281998452; Mon, 24 Aug 2020 08:13:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598281998; cv=none; d=google.com; s=arc-20160816; b=QP+Gzq0Kk6GNLU6IJnbkbLMPrhyW1LduWWK3rKY5mIuAgkoSllspXvKcogOB47YWsn D/6TG6TLm2OJG2GnCsKlo2W+I/9Lw8ePyavNQoK316ZN3ZMQG7JPaCtCs4j0b9E6QG+U L1+7rRXLcswwHqxo7lXJq8sZlcxk89gfWIryNBg5UcYCaWZpTlp9CrcseFwkaHXt8Wx1 S0GFUr6UfX1ZNMKuHRneUJfoNoNX8i7gnKYOuscDTUeYXLNpwmLvXGC/nBNrTxZDWYzz SoGvMC//p8wGUDyOTI2uSUCxAsccNaFPC4NhZjfJSeegYTd1OuRxHaosp9Dj3T/HkAEg p3Qg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :ironport-sdr:dkim-signature; bh=MkoYfASDGFXosVo7ammTGL9VZGe5kR7W6TzdU962Q3o=; b=fv4WmN0/vvSiy5ZfmW2ruD1BbfTIWfGiM9Sf6riOt8/8itSXBEZe6505T6l3IrIV+P oTyssKwURAHYD1GmggYPFBrXF7KneGXdeAp+aws90R04+5RXd4XIN7k+5oE5LoEtbn3S 71raaBjor8QGGlNNOjnaVL2VL2+fHWnvQJpcMB4zdMq/qx7IeDvVGwDljaxSCn0b0c6y 8ytGNM42rCrmK8HS0Hk3JpcsgPi4wDbA8SEdh0CAzTr/ZuwRDUoVgm0lw+sq9Y/fnK+q 0REisA7hEtdQLSMobaSa83KDwuVpUF5sfXaIn2TTpm5Wc+K5mAwjsmR0mojR670hSyaE fnMg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@microchip.com header.s=mchp header.b=MFiALiEI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s18si6718202ejh.195.2020.08.24.08.12.55; Mon, 24 Aug 2020 08:13:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@microchip.com header.s=mchp header.b=MFiALiEI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727954AbgHXPL1 (ORCPT + 99 others); Mon, 24 Aug 2020 11:11:27 -0400 Received: from esa2.microchip.iphmx.com ([68.232.149.84]:22095 "EHLO esa2.microchip.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727894AbgHXPKy (ORCPT ); Mon, 24 Aug 2020 11:10:54 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1598281853; x=1629817853; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=Olbw4+eagxlIiCMHRbBmMPr4NjxHK3uFqmkVqHcK/q4=; b=MFiALiEIcMPgLGqb71oVI6vuXBT2/pJknUeK03uJSriP1n4g3M8H586z ImGGeA2ZdUx7+bN0mOjPo+d/KxnB7KY83Obd2VuG09SuPog+MXKnrjtBw PSq3am3QvO3bxHWTfeJ8SelwJt1FxJLQKILQOAP5vH6qcqWQbNAdpP2pW jF4IyYZbleC1xK4Xl48L8bTQPpZpxioI67225phtFxPijDpHdMLWpVsP6 ujo7/QtUsqyfxInMyrzUqJRi4DTspcWSTqsBBjDa3TvPbfk10Z8dNrGTC qHVgkWsLJnbPX+d5xIGSQrGB8iH8er2jDz2Ocxp9Uwf6sDed8Dpblq8YH A==; IronPort-SDR: l6xZfwp0+YCYmNFBUJ610+1789b35PQU9MMYkn1FPg3R0jHyLbiabiAqItRsG6hOuLhkQBaScu qZ5d/iawBKWsi+4qRfBntul44U/DGn6UUip/nwgyyn1YUFgXVV5ylb6eBmXFCDyz+21+Wty96L azJ+7TUBu5oZ8caO79DN2A79Hy3BqIPv4b+UHeBBAWbdklstKcPhEQeY6gpb5S25hEupWNjeXu vv0yyh8oKFDrjQh+Jv5xNcGAEfsAFxJPncs2TdONMAAzmJS3Jx10oYFo75TbLJiE4NKsazMfg1 a7c= X-IronPort-AV: E=Sophos;i="5.76,349,1592895600"; d="scan'208";a="86699606" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa2.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 24 Aug 2020 08:10:52 -0700 Received: from chn-vm-ex04.mchp-main.com (10.10.85.152) by chn-vm-ex04.mchp-main.com (10.10.85.152) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1979.3; Mon, 24 Aug 2020 08:10:49 -0700 Received: from soft-dev15.microsemi.net (10.10.115.15) by chn-vm-ex04.mchp-main.com (10.10.85.152) with Microsoft SMTP Server id 15.1.1979.3 via Frontend Transport; Mon, 24 Aug 2020 08:10:46 -0700 From: Lars Povlsen To: Ulf Hansson , Adrian Hunter , SoC Team , Rob Herring CC: Lars Povlsen , Microchip Linux Driver Support , , , , , Alexandre Belloni Subject: [PATCH v4 1/3] dt-bindings: mmc: Add Sparx5 SDHCI controller bindings Date: Mon, 24 Aug 2020 17:10:33 +0200 Message-ID: <20200824151035.31093-2-lars.povlsen@microchip.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200824151035.31093-1-lars.povlsen@microchip.com> References: <20200824151035.31093-1-lars.povlsen@microchip.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The Sparx5 SDHCI controller is based on the Designware controller IP. Signed-off-by: Lars Povlsen --- .../mmc/microchip,dw-sparx5-sdhci.yaml | 65 +++++++++++++++++++ 1 file changed, 65 insertions(+) create mode 100644 Documentation/devicetree/bindings/mmc/microchip,dw-sparx5-sdhci.yaml diff --git a/Documentation/devicetree/bindings/mmc/microchip,dw-sparx5-sdhci.yaml b/Documentation/devicetree/bindings/mmc/microchip,dw-sparx5-sdhci.yaml new file mode 100644 index 0000000000000..55883290543b9 --- /dev/null +++ b/Documentation/devicetree/bindings/mmc/microchip,dw-sparx5-sdhci.yaml @@ -0,0 +1,65 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/mmc/microchip,dw-sparx5-sdhci.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Microchip Sparx5 Mobile Storage Host Controller Binding + +allOf: + - $ref: "mmc-controller.yaml" + +maintainers: + - Lars Povlsen + +# Everything else is described in the common file +properties: + compatible: + const: microchip,dw-sparx5-sdhci + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + clocks: + maxItems: 1 + description: + Handle to "core" clock for the sdhci controller. + + clock-names: + items: + - const: core + + microchip,clock-delay: + description: Delay clock to card to meet setup time requirements. + Each step increase by 1.25ns. + $ref: "/schemas/types.yaml#/definitions/uint32" + minimum: 1 + maximum: 15 + +required: + - compatible + - reg + - interrupts + - clocks + - clock-names + +examples: + - | + #include + #include + sdhci0: mmc@600800000 { + compatible = "microchip,dw-sparx5-sdhci"; + reg = <0x00800000 0x1000>; + pinctrl-0 = <&emmc_pins>; + pinctrl-names = "default"; + clocks = <&clks CLK_ID_AUX1>; + clock-names = "core"; + assigned-clocks = <&clks CLK_ID_AUX1>; + assigned-clock-rates = <800000000>; + interrupts = ; + bus-width = <8>; + microchip,clock-delay = <10>; + }; -- 2.27.0