From patchwork Fri Apr 13 14:05:09 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 7785 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id BC76823E23 for ; Fri, 13 Apr 2012 14:05:31 +0000 (UTC) Received: from mail-iy0-f180.google.com (mail-iy0-f180.google.com [209.85.210.180]) by fiordland.canonical.com (Postfix) with ESMTP id 7E703A18163 for ; Fri, 13 Apr 2012 14:05:31 +0000 (UTC) Received: by mail-iy0-f180.google.com with SMTP id e36so5854428iag.11 for ; Fri, 13 Apr 2012 07:05:31 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-forwarded-to:x-forwarded-for:delivered-to:received-spf:from:to:cc :subject:date:message-id:x-mailer:in-reply-to:references :x-gm-message-state; bh=LJ09FVwBkBTC93Zq3jLOyaXYT9B/YJS3YjW8+mb7DKY=; b=gNcYpo9WP9kFYQ24IWmxNR85CwBiDP51UinhXT/DACyAJ6+bqFIvkhURdjT4K2vXXE yzCXdOqcDRvvfja36J6Z1Fvz8vkx3hgvhVG9JIkzQTYkmTK8V9T7FmBlTYpXxmQL9mnY tLMZqHhBB3ho7Y/X5JUC4f+RfNcRCo+Avu8ivDvzhXImspKuVhg5lNRgUkMLsEX9fJst Kjea5wnisNPxIHx2RsL9mLhnqtlOemi5/mpMbjWyhg3neQBLDGl+Gr4IMArBNWVMGSAi JuTxVidnopRuU+DXfjx4r0m6Y2k8vMFSBcJakED8pLgfR/A1Xf4uZlZhgUpsi2NWIIuK KS2w== Received: by 10.50.187.137 with SMTP id fs9mr1654938igc.50.1334325930951; Fri, 13 Apr 2012 07:05:30 -0700 (PDT) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.231.70.69 with SMTP id c5csp30167ibj; Fri, 13 Apr 2012 07:05:30 -0700 (PDT) Received: by 10.180.94.33 with SMTP id cz1mr5053758wib.13.1334325929678; Fri, 13 Apr 2012 07:05:29 -0700 (PDT) Received: from mail-we0-f178.google.com (mail-we0-f178.google.com [74.125.82.178]) by mx.google.com with ESMTPS id dn7si2389551wib.25.2012.04.13.07.05.29 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 13 Apr 2012 07:05:29 -0700 (PDT) Received-SPF: neutral (google.com: 74.125.82.178 is neither permitted nor denied by best guess record for domain of lee.jones@linaro.org) client-ip=74.125.82.178; Authentication-Results: mx.google.com; spf=neutral (google.com: 74.125.82.178 is neither permitted nor denied by best guess record for domain of lee.jones@linaro.org) smtp.mail=lee.jones@linaro.org Received: by mail-we0-f178.google.com with SMTP id a13so2641698wer.37 for ; Fri, 13 Apr 2012 07:05:29 -0700 (PDT) Received: by 10.216.135.105 with SMTP id t83mr1038738wei.105.1334325929159; Fri, 13 Apr 2012 07:05:29 -0700 (PDT) Received: from localhost.localdomain (cpc1-aztw13-0-0-cust473.18-1.cable.virginmedia.com. [77.102.241.218]) by mx.google.com with ESMTPS id h8sm8338466wix.4.2012.04.13.07.05.27 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 13 Apr 2012 07:05:28 -0700 (PDT) From: Lee Jones To: linux-arm-kernel@lists.infradead.org Cc: arnd@arndb.de, linus.walleij@stericsson.com, grant.likely@secretlab.ca, cjb@laptop.org, linux@arm.linux.org.uk, Lee Jones Subject: [PATCH 7/7] MMC: mmci: Add required documentation for Device Tree bindings Date: Fri, 13 Apr 2012 15:05:09 +0100 Message-Id: <1334325909-5779-8-git-send-email-lee.jones@linaro.org> X-Mailer: git-send-email 1.7.9.1 In-Reply-To: <1334325909-5779-1-git-send-email-lee.jones@linaro.org> References: <1334325909-5779-1-git-send-email-lee.jones@linaro.org> X-Gm-Message-State: ALoCoQkvKXmgG8nwgfrMqNq0dMV5cO6VlJnRxxfvULugdfdmOQgrmTRbDPSjC0EiPF/BNysyI1dj This provides full documentation detailing each compulsory, optional and device (variant) specific properties available for use within the MMCI Device Tree. Signed-off-by: Lee Jones --- Documentation/devicetree/bindings/mmc/mmci.txt | 19 +++++++++++++++++++ 1 files changed, 19 insertions(+), 0 deletions(-) create mode 100644 Documentation/devicetree/bindings/mmc/mmci.txt diff --git a/Documentation/devicetree/bindings/mmc/mmci.txt b/Documentation/devicetree/bindings/mmc/mmci.txt new file mode 100644 index 0000000..14a81d5 --- /dev/null +++ b/Documentation/devicetree/bindings/mmc/mmci.txt @@ -0,0 +1,19 @@ +* ARM PrimeCell MultiMedia Card Interface (MMCI) PL180/1 + +The ARM PrimeCell MMCI PL180 and PL181 provides and interface for +reading and writing to MultiMedia and SD cards alike. + +Required properties: +- compatible : contains "arm,pl18x", "arm,primecell". +- reg : contains pl18x registers and length. +- interrupts : contains the device IRQ(s). +- arm,primecell-periphid : contains the PrimeCell Peripheral ID. + +Optional properties: +- wp-gpios : contains any write protect (ro) gpios +- cd-gpios : contains any card detection gpios +- cd-inverted : indicates whether the cd gpio is inverted +- max-frequency : contains the maximum operating frequency +- bus-width : number of data lines, can be <1>, <4>, or <8> +- mmc-cap-mmc-highspeed : indicates whether MMC is high speed capable +- mmc-cap-sd-highspeed : indicates whether SD is high speed capable