From patchwork Thu Apr 5 10:25:34 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 7667 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 0F3FA23E47 for ; Thu, 5 Apr 2012 10:25:49 +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 AE8FCA1824D for ; Thu, 5 Apr 2012 10:25:48 +0000 (UTC) Received: by mail-iy0-f180.google.com with SMTP id e36so2173069iag.11 for ; Thu, 05 Apr 2012 03:25:48 -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=gFCqH1TIIvUjWf+a1QYaPS2mJszuApZcaHzdwJPBIf0=; b=M9THrRR+vXSVKq6QznnHtaenV34sjf8agQjl7EfRRGcJbR+2zH8J08N8HUo5M6tqDz gSikK/8X60jpdg22ChnAR9HlSDXlK9qIjtLjXPNdVp23LR26cuhMp3xnWpuLH2wbGrj3 TdShAJru7Vb3IaMQVgqkVKse/H6EPZU5WAAQ2xu1s0chTdwgMiwkSjBs1eJizhq8foBW ROA7cCQGFK6oijXcNNQX7vNoyo3Ld8Vgi26rHfc0eJ7KcR05enSdrVCQPBjQTx0cOdTj v9JaiC8QrN/rz7ADgUOCeO7nIwHwjDLc8CeURpCZr5ihYXuge6d0OzTzEtbA3jamXnNu pqgg== Received: by 10.42.155.9 with SMTP id s9mr969921icw.51.1333621548446; Thu, 05 Apr 2012 03:25:48 -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.164.217 with SMTP id f25csp53797iby; Thu, 5 Apr 2012 03:25:47 -0700 (PDT) Received: by 10.216.135.206 with SMTP id u56mr1372380wei.29.1333621547619; Thu, 05 Apr 2012 03:25:47 -0700 (PDT) Received: from mail-wi0-f178.google.com (mail-wi0-f178.google.com [209.85.212.178]) by mx.google.com with ESMTPS id o6si5541789wiz.33.2012.04.05.03.25.47 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 05 Apr 2012 03:25:47 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.212.178 is neither permitted nor denied by best guess record for domain of lee.jones@linaro.org) client-ip=209.85.212.178; Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.212.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-wi0-f178.google.com with SMTP id hq7so946081wib.13 for ; Thu, 05 Apr 2012 03:25:47 -0700 (PDT) Received: by 10.180.107.104 with SMTP id hb8mr3477386wib.8.1333621547059; Thu, 05 Apr 2012 03:25:47 -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 l5sm12490310wia.11.2012.04.05.03.25.44 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 05 Apr 2012 03:25:45 -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: Thu, 5 Apr 2012 11:25:34 +0100 Message-Id: <1333621534-29627-7-git-send-email-lee.jones@linaro.org> X-Mailer: git-send-email 1.7.9.1 In-Reply-To: <1333621534-29627-1-git-send-email-lee.jones@linaro.org> References: <1333621534-29627-1-git-send-email-lee.jones@linaro.org> X-Gm-Message-State: ALoCoQlBLU+QkKsDwGyWmcyOnADbT/wBTkS1BkjMG+Q+EtZPuqr+U+jA4D9f+i+Bg04PBNB6nUwd 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..16502a2 --- /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 +- clock-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