Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp2727770pxa; Tue, 25 Aug 2020 01:15:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwon/6vraogkyhLCShwtIB02Od1uIAaWB/SUKDq2qNwicKVzTwHcbjxnPRuYkB7AP0AV1Yh X-Received: by 2002:a17:906:7c46:: with SMTP id g6mr9095298ejp.178.1598343358369; Tue, 25 Aug 2020 01:15:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598343358; cv=none; d=google.com; s=arc-20160816; b=gqmAgLYzA70z0ducC1oTKEMA7bfOcRwwlzUEqFOtUuWi5Tj1XYB8T32vNkDZrgvyut JtCd3nkybFbt5+Tkt++pLvEGmgCCE5WH7RUmwzGfE+7l3vNgnAzZfl0ksSXJ6t1eD/5z oDDprmGRD5qClYCcTjRNHb2h/u8AbrLFZXhCF5j6yKixU2dhfJqpOivyQiIEVC5J0497 00rbS1DYUWLB32GciHvDgSJFKo+nBBdx3MSG3/JxT9rB0y4hI4nxVMOSL0XQp9tJ3gzu AQhJn7vL5Su190oYuaaMtazIMdiy1xL4extxsjwNIRrwi5TlEuslqjRi+TWR4GwVa/jp wyBA== 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=kA0aE6JE2ceqwT5ShUoopMuyqmGFMqfdtQfvl0Y0RtU=; b=kFTFIxvfo/oVLGfM/FEVTFd7Vdq4PYdpLl9Z58L0DG1bFlTo+hwPClTZDKsADo9fNR XAeMqq/mHFXi7ZyOsyqRjGOyDKKW+iZ/tN1Nnooj43gtiSMsSJrncoPKQnPzq54TRaOw R/ffmlbPOupiYVqGA8VmO+JysR9I3RzabA10QJ4Eo3gILuVcErfeyYYPsJM0ZkI7nRH7 J5pT3boHZVU4EQ3IMHM+wuZcj2rzyM8OmtoPObthuiMSdun9DkC5dUxgWnUHfKIFB2AD PL6JQirIozWWTj9hTAtJ3EQ20hNrcmHVSfpSAxFOInSvlL3x4TVuu7SSI+qc6zyh4xBM nPZQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@microchip.com header.s=mchp header.b=SVB6uWFX; 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 h21si8216140edw.233.2020.08.25.01.15.35; Tue, 25 Aug 2020 01:15:58 -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=SVB6uWFX; 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 S1728561AbgHYIOX (ORCPT + 99 others); Tue, 25 Aug 2020 04:14:23 -0400 Received: from esa6.microchip.iphmx.com ([216.71.154.253]:54046 "EHLO esa6.microchip.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728475AbgHYIOO (ORCPT ); Tue, 25 Aug 2020 04:14:14 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1598343254; x=1629879254; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=DbytSfKn7/klAmnphM+fVPOisjgAJ7NQoSCsRn7cEDU=; b=SVB6uWFXf3me+VOMl1jjmWm7pgaeO7iECRFyddTUPgMsA38FHz1NdKY2 BhQJHKM0/1PdkhEAwhyY4oIwfDDWRMEm/Iule6oRX0dGB+G9R607JfjJ2 3KmAhEkHhP/+C7G9ECSH8iFFjN7N6ASoSn33HqhZuL2M1Rdir8VcABVlu W1k4In7eXGxPIPrTdDs5nxdNF1HH468otFF00Pkw/aKveJtA85SmxqXN3 rHk971JyJkuEXlnx9MV8d2vlROUAWZSxhIrMutvkgWCIb2dMk6lAWEQNC IRYy9EglR0clyQdZY9Bt81Ox/hJSkpxJUKi4xFx0t6HuQQtuV8/qvuBUJ A==; IronPort-SDR: 5REzyD1Vo8PfrGwJZ/Gul/FqCHWls9sjxFITn99GWDGDVKm5Br+frkam+V229ZahSEByn3HQFW hmcLetXB4xEAPL7rJvZ/5ELbZGzpowTjpgDZ9PkhRNAY6rS8dLnmIwaB71nGnNfTqr8tSx9OOh j6pl7ByIQAo4EGG7dJqn0+o7GAVDw+UkZXPWKwgOqStZ8QPAmkzmkY5nLkl1XYTW+34OMuau+z /dG9WV5+zqRX8+cja8QC4P7oIpsEU4BvaZtjP1yg2S0vzhVz9tVbMfyhXRjOwhPBXRFbqAbMt9 Wnc= X-IronPort-AV: E=Sophos;i="5.76,351,1592895600"; d="scan'208";a="24141058" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa6.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 25 Aug 2020 01:14:13 -0700 Received: from chn-vm-ex02.mchp-main.com (10.10.87.72) by chn-vm-ex02.mchp-main.com (10.10.87.72) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1979.3; Tue, 25 Aug 2020 01:13:32 -0700 Received: from soft-dev15.microsemi.net (10.10.115.15) by chn-vm-ex02.mchp-main.com (10.10.85.144) with Microsoft SMTP Server id 15.1.1979.3 via Frontend Transport; Tue, 25 Aug 2020 01:13:30 -0700 From: Lars Povlsen To: Ulf Hansson , Adrian Hunter , SoC Team , Rob Herring CC: Lars Povlsen , Microchip Linux Driver Support , , , , , Alexandre Belloni Subject: [PATCH v5 1/3] dt-bindings: mmc: Add Sparx5 SDHCI controller bindings Date: Tue, 25 Aug 2020 10:13:55 +0200 Message-ID: <20200825081357.32354-2-lars.povlsen@microchip.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200825081357.32354-1-lars.povlsen@microchip.com> References: <20200825081357.32354-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 000000000000..c9a572863b88 --- /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: mmc0@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