Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp532887ybk; Wed, 13 May 2020 06:36:06 -0700 (PDT) X-Google-Smtp-Source: APiQypJRhYaScvPUWN0gxf1hQifCBJvK+ZxvUh6vnqPbTZJURy4nVTNAXmSf+lex0bkPVRwXtfiT X-Received: by 2002:aa7:de11:: with SMTP id h17mr13674483edv.268.1589376966757; Wed, 13 May 2020 06:36:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589376966; cv=none; d=google.com; s=arc-20160816; b=wMC19fS6MepINi87+jqz3P5EHkdrRWulDYwgfyx93JtLecj5io04AIYhQevVDfr+3W I4w0I55zjvEsic0KwVBxlXR5KrV8RDf90E9B7ePoRCfDQZGGcT8JGOesFiercUnn7JPv 22qsJIQ0KuK25QMoNsLy+S/ehuw4828/Z3U7YjaCgxKj2GYW03IT32AAoxNKEOoW/TSa nEpm7tcUy27p12jSC5soVRdRLYJc32BmbI+z7ERuBu73vIu5ITMEfWOHVUXJlaU1mf5S TXAjFV8cG87leNKW1buSXXt+rF9YN0gX3ozBvkGrLEDyzP4OgIaeYxoYpyvoKk+d3u0U tejw== 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=uNKwWoSRP2L1Wd32gwvHTigsTwr+gmwYn8eMN0jEZFM=; b=YkobxVnLaQuiiIQQFklmHjLWmiL6/l7w0tkzh9cCQvEz9GcLlju5reQN+12Vkk2gvZ WRvw01WcPIXNPtEc0xxr8AhhhbiyXAPu7cjLxk0SpjV7iTJys/4ZpUpxEwKLafR0IV6D JsoEF9PVoFvJKt1LiNv7PpbWm86mmdjaxe/vtlVJa8I3IWEkDn5zOScn5U6moTosS5Cg PyaGMPhF1zB9aa31uVkOJQ1m9yk3bd3mUo6BjWQEaCmauKD+nBwQJEVAyeJ7kVZwK50y 7GdYIdLZdSrlz0YTa3i/mOIQDrTiG1ggaT+01iTh4PT4iCkX6RCxMaQmWzCXe48AYbTb PX1w== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@microchip.com header.s=mchp header.b=mRudnyqL; 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=NONE sp=NONE 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 v25si9432944ejx.386.2020.05.13.06.35.43; Wed, 13 May 2020 06:36:06 -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=mRudnyqL; 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=NONE sp=NONE dis=NONE) header.from=microchip.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387904AbgEMNbq (ORCPT + 99 others); Wed, 13 May 2020 09:31:46 -0400 Received: from esa5.microchip.iphmx.com ([216.71.150.166]:59452 "EHLO esa5.microchip.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387730AbgEMNbi (ORCPT ); Wed, 13 May 2020 09:31:38 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1589376699; x=1620912699; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=AG6yekCq9w+Y4o5I+LbSFs4Bd1UYKHMBIo4TxQXESP4=; b=mRudnyqLSUrJ5eh5FuH4e1gB3mmsqREz8zZPtl5rQviI/4qG5vjPS03M VJziPwYq4C+p2mqMffewcCr+Tps8vWhCiF84QC1qHmoPo/GeZ346KK+bT w+UWGWLjysoADAMqkmsWN4NpdihJM95rkd3B84dIIsPXIwPRoTN604hr2 Z+bE2qswznbsILcVpg94P4fdh2UB9d2LdGtvvYALKJ7pbVClPATmTQBf5 fKsbZEGhPW82xZhlzD2kq3t2PaLOMitWluG6hPeFEpv5YHS0et9xNW8Fn m+czjZdDsmBPimoIFLRv9MJ7IUXArl6vbxllCX2ghtUC5aMn/dKa3j4BE Q==; IronPort-SDR: yqeBC4bdps3HrLfz9hTpb5YTRL6giEko+oaD2bOrNSDC5hm+BM9D9YvbA5+kHUA5h+ok5u4qrc Y/H8aaDjyx14AXGkuRO3pxIB+mgI68uj0Y3V8ylrx6fl/ZhGp4HhwlQ4Ho8KFDb1hy5IpZ08Hg gQCiL6oryFW7omADF0MZUUEgqrkgccTh3g+fsZT7IxxgEBTBypi6LkK0/tqEfkp8+F5FXshQeT r5A/3ZgsjB0hmi35CEgqUWAUGRzyDPXTGJo+s2n7ej7kXw00vu+0fF34aYCc9g7rg6Af2R2FzB 94Q= X-IronPort-AV: E=Sophos;i="5.73,387,1583218800"; d="scan'208";a="75770613" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa5.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 13 May 2020 06:31:36 -0700 Received: from chn-vm-ex01.mchp-main.com (10.10.85.143) by chn-vm-ex01.mchp-main.com (10.10.85.143) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Wed, 13 May 2020 06:31:38 -0700 Received: from soft-dev15.microsemi.net (10.10.115.15) by chn-vm-ex01.mchp-main.com (10.10.85.143) with Microsoft SMTP Server id 15.1.1713.5 via Frontend Transport; Wed, 13 May 2020 06:31:35 -0700 From: Lars Povlsen To: Ulf Hansson , Adrian Hunter , SoC Team , Rob Herring CC: Lars Povlsen , Microchip Linux Driver Support , , , , , Alexandre Belloni Subject: [PATCH 1/3] dt-bindings: mmc: Add Sparx5 SDHCI controller bindings Date: Wed, 13 May 2020 15:31:20 +0200 Message-ID: <20200513133122.25121-2-lars.povlsen@microchip.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200513133122.25121-1-lars.povlsen@microchip.com> References: <20200513133122.25121-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. Reviewed-by: Alexandre Belloni Signed-off-by: Lars Povlsen --- .../mmc/microchip,dw-sparx5-sdhci.yaml | 57 +++++++++++++++++++ 1 file changed, 57 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..a9901c4bc25d3 --- /dev/null +++ b/Documentation/devicetree/bindings/mmc/microchip,dw-sparx5-sdhci.yaml @@ -0,0 +1,57 @@ +# 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 + +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>; + }; -- 2.26.2