From patchwork Wed Jun 4 16:30:16 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Griffin X-Patchwork-Id: 31387 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-vc0-f199.google.com (mail-vc0-f199.google.com [209.85.220.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 3E147203AC for ; Wed, 4 Jun 2014 16:31:59 +0000 (UTC) Received: by mail-vc0-f199.google.com with SMTP id id10sf35191266vcb.10 for ; Wed, 04 Jun 2014 09:31:59 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=Bg4YwSnkzA08k9XHeqoPBe3FjYvjkYSPX36ZKLVTuG4=; b=CH2zpIT7er3MbQAVbyt7AQs19/UeOxazDACUGdwZX+o3i3Cjni2ljXOgGw8B7cSXI4 Xm77LTneVZfI/FHuedUbjSBMH2hZMtZMZwN5oiOV1HY5CY9Sz/pRaEFC3jD4RwCNMQYE Kq/4SnwT0n8fBBDAQ7VkUBrr8EhJXPQUKUrvLpqYgebj67uyfd25FoCEI2OCXD96FoRY WLw9wF1zlCiZbJto0eUWt3dMVikovxBjKuWW6FWyEgmpLJgNcp2i/b1exzs45EJCecj9 xQuJpiMEILvJDL7FHN2efK3LrIjUwenrEx5iMh0eRkVf9aRnqOwju3Dq5xaV1NVEK72d gHqA== X-Gm-Message-State: ALoCoQm5F4NRSjuaFPRxqLQ9PEjZmwl7UcF7oPgaxYQDids1yNMTxQvHePc9idb8tTi+aSNoOPlg X-Received: by 10.236.228.98 with SMTP id e92mr9726053yhq.58.1401899519039; Wed, 04 Jun 2014 09:31:59 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.86.100 with SMTP id o91ls3218557qgd.30.gmail; Wed, 04 Jun 2014 09:31:59 -0700 (PDT) X-Received: by 10.220.47.201 with SMTP id o9mr3666640vcf.65.1401899518969; Wed, 04 Jun 2014 09:31:58 -0700 (PDT) Received: from mail-vc0-f177.google.com (mail-vc0-f177.google.com [209.85.220.177]) by mx.google.com with ESMTPS id tk8si753268vcb.62.2014.06.04.09.31.58 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 04 Jun 2014 09:31:58 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.177 as permitted sender) client-ip=209.85.220.177; Received: by mail-vc0-f177.google.com with SMTP id hy4so5935466vcb.36 for ; Wed, 04 Jun 2014 09:31:58 -0700 (PDT) X-Received: by 10.221.26.10 with SMTP id rk10mr45115255vcb.0.1401899518862; Wed, 04 Jun 2014 09:31:58 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.221.54.6 with SMTP id vs6csp58519vcb; Wed, 4 Jun 2014 09:31:58 -0700 (PDT) X-Received: by 10.68.178.194 with SMTP id da2mr65318881pbc.151.1401899517765; Wed, 04 Jun 2014 09:31:57 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id ps5si6858482pbb.80.2014.06.04.09.31.57; Wed, 04 Jun 2014 09:31:57 -0700 (PDT) Received-SPF: none (google.com: linux-kernel-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754191AbaFDQbP (ORCPT + 27 others); Wed, 4 Jun 2014 12:31:15 -0400 Received: from mail-wi0-f180.google.com ([209.85.212.180]:35447 "EHLO mail-wi0-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754081AbaFDQbM (ORCPT ); Wed, 4 Jun 2014 12:31:12 -0400 Received: by mail-wi0-f180.google.com with SMTP id hi2so1836677wib.13 for ; Wed, 04 Jun 2014 09:31:11 -0700 (PDT) X-Received: by 10.194.186.178 with SMTP id fl18mr6334197wjc.83.1401899470956; Wed, 04 Jun 2014 09:31:10 -0700 (PDT) Received: from localhost.localdomain (cpc14-aztw22-2-0-cust189.18-1.cable.virginm.net. [82.45.1.190]) by mx.google.com with ESMTPSA id s10sm4355698wjs.29.2014.06.04.09.31.09 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 04 Jun 2014 09:31:10 -0700 (PDT) From: Peter Griffin To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, chris@printf.net, ulf.hansson@linaro.org, maxime.coquelin@st.com, patrice.chotard@st.com, srinivas.kandagatla@gmail.com Cc: peter.griffin@linaro.org, kernel@stlinux.com, linux-mmc@vger.kernel.org, devicetree@vger.kernel.org, Giuseppe Cavallaro Subject: [PATCH v3 02/10] mmc: sdhci-st: ST Microelectronics SDHCI binding documentation. Date: Wed, 4 Jun 2014 17:30:16 +0100 Message-Id: <1401899424-1365-3-git-send-email-peter.griffin@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1401899424-1365-1-git-send-email-peter.griffin@linaro.org> References: <1401899424-1365-1-git-send-email-peter.griffin@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: peter.griffin@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.177 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , This patch adds the device tree binding documentation for the ST SDHCI driver. It documents the differences between the core properties described by mmc.txt and the properties used by the sdhci-st driver. Signed-off-by: Giuseppe Cavallaro Signed-off-by: Peter Griffin Acked-by: Lee Jones Acked-by: Maxime Coquelin --- Documentation/devicetree/bindings/mmc/sdhci-st.txt | 33 ++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 Documentation/devicetree/bindings/mmc/sdhci-st.txt diff --git a/Documentation/devicetree/bindings/mmc/sdhci-st.txt b/Documentation/devicetree/bindings/mmc/sdhci-st.txt new file mode 100644 index 0000000..7527db4 --- /dev/null +++ b/Documentation/devicetree/bindings/mmc/sdhci-st.txt @@ -0,0 +1,33 @@ +* STMicroelectronics sdhci-st MMC/SD controller + +This file documents the differences between the core properties in +Documentation/devicetree/bindings/mmc/mmc.txt and the properties +used by the sdhci-st driver. + +Required properties: +- compatible : Must be "st,sdhci" +- clock-names : Should be "mmc" + See: Documentation/devicetree/bindings/resource-names.txt +- clocks : Phandle of the clock used by the sdhci controler + See: Documentation/devicetree/bindings/clock/clock-bindings.txt + +Optional properties: +- non-removable: non-removable slot + See: Documentation/devicetree/bindings/mmc/mmc.txt +- bus-width: Number of data lines + See: Documentation/devicetree/bindings/mmc/mmc.txt + +Example: + +mmc0: sdhci@fe81e000 { + compatible = "st,sdhci"; + status = "disabled"; + reg = <0xfe81e000 0x1000>; + interrupts = ; + interrupt-names = "mmcirq"; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_mmc0>; + clock-names = "mmc"; + clocks = <&clk_s_a1_ls 1>; + bus-width = <8> +};