From patchwork Thu Jun 9 07:10:14 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gregory CLEMENT X-Patchwork-Id: 9166337 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 0255E60832 for ; Thu, 9 Jun 2016 07:11:37 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E7E732830C for ; Thu, 9 Jun 2016 07:11:36 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id DC84328310; Thu, 9 Jun 2016 07:11:36 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9142A28326 for ; Thu, 9 Jun 2016 07:11:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1162076AbcFIHLe (ORCPT ); Thu, 9 Jun 2016 03:11:34 -0400 Received: from down.free-electrons.com ([37.187.137.238]:46286 "EHLO mail.free-electrons.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1162058AbcFIHLb (ORCPT ); Thu, 9 Jun 2016 03:11:31 -0400 Received: by mail.free-electrons.com (Postfix, from userid 110) id F39F1467; Thu, 9 Jun 2016 09:11:28 +0200 (CEST) Received: from localhost (81-67-231-93.rev.numericable.fr [81.67.231.93]) by mail.free-electrons.com (Postfix) with ESMTPSA id BC1E31BC; Thu, 9 Jun 2016 09:11:28 +0200 (CEST) From: Gregory CLEMENT 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 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> X-Mailer: git-send-email 2.5.0 In-Reply-To: <1465456218-28354-1-git-send-email-gregory.clement@free-electrons.com> References: <1465456218-28354-1-git-send-email-gregory.clement@free-electrons.com> Sender: linux-mmc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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"; +};