From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gregory CLEMENT Subject: [PATCH 08/12] dt-bindings: mmc: Add Xenon description Date: Thu, 9 Jun 2016 09:10:14 +0200 Message-ID: <1465456218-28354-9-git-send-email-gregory.clement@free-electrons.com> References: <1465456218-28354-1-git-send-email-gregory.clement@free-electrons.com> Return-path: In-Reply-To: <1465456218-28354-1-git-send-email-gregory.clement@free-electrons.com> Sender: linux-mmc-owner@vger.kernel.org To: Ulf Hansson , Adrian Hunter , linux-mmc@vger.kernel.org Cc: Rob Herring , devicetree@vger.kernel.org, Jason Cooper , Andrew Lunn , Sebastian Hesselbarth , Gregory CLEMENT , Thomas Petazzoni , linux-arm-kernel@lists.infradead.org, Nadav Haklai , Victor Gu , Romain Perier , Omri Itach , Marcin Wojtas , Wilson Ding , Shadi Ammouri List-Id: devicetree@vger.kernel.org This patch documents the Xenon SDHCI controller that we can find in the Armada 37xx and the Armada 7K and 8K SoCs. Signed-off-by: Gregory CLEMENT --- .../devicetree/bindings/mmc/sdhci-xenon.txt | 27 ++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 Documentation/devicetree/bindings/mmc/sdhci-xenon.txt diff --git a/Documentation/devicetree/bindings/mmc/sdhci-xenon.txt b/Documentation/devicetree/bindings/mmc/sdhci-xenon.txt new file mode 100644 index 000000000000..e8d49fda5f12 --- /dev/null +++ b/Documentation/devicetree/bindings/mmc/sdhci-xenon.txt @@ -0,0 +1,27 @@ +* Marvell sdhci-xenon controller + +This file documents differences between the core properties in mmc.txt +and the properties used by the sdhci-xenon drivers. + +Required properties: +- compatible: Should be "marvell,xenon-sdhci". +- reg: + one register area for the SDHCI registers. +- interrupts-extended: interrupt number and attributes +- clocks: array of clocks required for SDHCI. +- bus-width: max bus width in unit of bit, normally should be 1 bit, 4 bits or 8 bits + +Optional properties: +- non-removable: whether card is non-removable. +- auto-cmd12: whether cmd12 is sent automatically. +Example: + +sdhci0: sdhci@D8000 { + compatible = "marvell,xenon-sdhci"; + reg = <0xD8000 0x300>; + interrupts-extended = <&gic GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>; + non-removable; + bus-width = <8>; + auto-cmd12; + status = "disabled"; +}; -- 2.5.0