From patchwork Wed Mar 14 14:20:03 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 7297 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 9669F23E0C for ; Wed, 14 Mar 2012 14:20:18 +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 5CA31A18217 for ; Wed, 14 Mar 2012 14:20:18 +0000 (UTC) Received: by mail-iy0-f180.google.com with SMTP id e36so3236838iag.11 for ; Wed, 14 Mar 2012 07:20:18 -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=9lGDnFEfqOJDeXLREiZAsuloZkW63z7q0N5Sy1KZCqY=; b=pByHeMOomgxIFgXlv8WVacKxUxAzP8d0EG2V8fHxSODlVCEPqvu/Mr+5zHdkV3W4Ux Fitt8V2iLDuBQvOZUJGyi2uw7Z3MEVgfVfgqSDroXgdAnBGUOFqn+CCyZL+8HYB3Mdyu CXzNrJ1tPDd8NfbpSSPObkaw4mR4wQBBCNSQi1xqEKr4kDfqFVKzru9kbzPrBQlyjkr0 cX6aSnpz/Py536I21ITmnpNWdYkXFm4zccwq3nd2787fsS5dyCT+c88TP8ytJuPz45gX D7pf2XNEarinj+GqJStjI534yihIdAIKjVJkwvcWmlB/ND5z7gGiPHSAzylFqAAmuTjQ 6gpw== Received: by 10.50.45.228 with SMTP id q4mr4724941igm.58.1331734818070; Wed, 14 Mar 2012 07:20:18 -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.53.18 with SMTP id k18csp11187ibg; Wed, 14 Mar 2012 07:20:17 -0700 (PDT) Received: by 10.180.79.231 with SMTP id m7mr6824098wix.11.1331734816806; Wed, 14 Mar 2012 07:20:16 -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 m34si5118801weq.86.2012.03.14.07.20.16 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 14 Mar 2012 07:20:16 -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 a13so2289437wer.37 for ; Wed, 14 Mar 2012 07:20:16 -0700 (PDT) Received: by 10.180.80.40 with SMTP id o8mr6831092wix.10.1331734816120; Wed, 14 Mar 2012 07:20:16 -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 d7sm17077247wiz.6.2012.03.14.07.20.14 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 14 Mar 2012 07:20:15 -0700 (PDT) From: Lee Jones To: linux-arm-kernel@lists.infradead.org Cc: cjb@laptop.org, arnd@arndb.de, niklas.hernaeus@linaro.org, linux-mmc@vger.kernel.org, Lee Jones Subject: [PATCH 5/5] MMC: mmci: Add required documentation for Device Tree bindings Date: Wed, 14 Mar 2012 14:20:03 +0000 Message-Id: <1331734803-17954-6-git-send-email-lee.jones@linaro.org> X-Mailer: git-send-email 1.7.5.4 In-Reply-To: <1331734803-17954-1-git-send-email-lee.jones@linaro.org> References: <1331734803-17954-1-git-send-email-lee.jones@linaro.org> X-Gm-Message-State: ALoCoQlBkAIyEyZvfOK3k9kEF9eCDwAnQEs2lMQMeTL5Qebvhf8SpWJOpP6eJ/uGrrDErTqVPaVf 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 | 27 ++++++++++++++++++++++++ 1 files changed, 27 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..946f080 --- /dev/null +++ b/Documentation/devicetree/bindings/mmc/mmci.txt @@ -0,0 +1,27 @@ +* 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: +- ocr_mask : contains the regulator oscillator mask +- wp-gpios : contains any write protect (ro) gpios +- cd-gpios : contains any card detection gpios +- cd-invert : indicates whether the cd gpio is inverted +- clock_frequency : contains the maximum operating frequency +- mmc_cap_4_bit_data : indicates whether device is 4 bit capable +- mmc_cap_8_bit_data : indicates whether device is 8 bit capable +- mmc_cap_mmc_highspeed : indicates whether MMC is high speed capable +- mmc_cap_sd_highspeed : indicates whether SD is high speed capable + +ux500 variant specific properties: +- gpio-en : contains the level-shifter enable gpio +- gpio-vsel : contains the level-shifter voltage select gpio +- tx_dst_dev_type : contains the tx destination device (DMA) +- rx_src_dev_type : contains the rx source device (DMA)