From patchwork Wed Jun 4 16:07:26 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Griffin X-Patchwork-Id: 31371 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-qa0-f69.google.com (mail-qa0-f69.google.com [209.85.216.69]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id DD117203AC for ; Wed, 4 Jun 2014 16:07:49 +0000 (UTC) Received: by mail-qa0-f69.google.com with SMTP id j5sf19617476qaq.8 for ; Wed, 04 Jun 2014 09:07:49 -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=jIwC2JtKzI7OAgscIK+oUq2tGY2E7yLRGRpIcCXGYMk=; b=JUsbQjJbs4EQ3+sEl7bLovUVA2BzXBTpApcgAFruUox8UohRzlhz7uJjM4jyn+KGdX LliuWhvqJwi/vLqrrpySL0NrDxKBAy5utsx/rteIKl69Y8U7kJLbv0f0zStQ2XBkLAfs JwtHczNZ641Ldv6Gdubl0rovpGX0NHIOD1f+EavNIhPSRvXZz/lnQQrICg3edbMoU/6s YhOyFtJ4qUyrX4UUr8Favasd99yG2hrurfrko5KmTdumMeiaCaIrY3HFz30aruqMsTJb ek1Qlbim1P3hbzCq73P9FFty/7brUBEZjr6njnmjBCBzLRpVb0mlF5/MC1EHaH9g1FDd 4WpQ== X-Gm-Message-State: ALoCoQk3L8oFIF1Q9jVbPqNi+t/CVzIqETj/mvuNwJz0vFrblZ1mnTBgANQ7Nsnxhc5vKbYbVV3b X-Received: by 10.236.110.68 with SMTP id t44mr18391594yhg.31.1401898069452; Wed, 04 Jun 2014 09:07:49 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.97.200 with SMTP id m66ls3105829qge.83.gmail; Wed, 04 Jun 2014 09:07:49 -0700 (PDT) X-Received: by 10.58.28.205 with SMTP id d13mr3549854veh.55.1401898069339; Wed, 04 Jun 2014 09:07:49 -0700 (PDT) Received: from mail-vc0-f173.google.com (mail-vc0-f173.google.com [209.85.220.173]) by mx.google.com with ESMTPS id v18si719224vcu.0.2014.06.04.09.07.49 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 04 Jun 2014 09:07:49 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.173 as permitted sender) client-ip=209.85.220.173; Received: by mail-vc0-f173.google.com with SMTP id ik5so5901409vcb.4 for ; Wed, 04 Jun 2014 09:07:49 -0700 (PDT) X-Received: by 10.58.216.163 with SMTP id or3mr2733606vec.80.1401898069242; Wed, 04 Jun 2014 09:07:49 -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 vs6csp56797vcb; Wed, 4 Jun 2014 09:07:48 -0700 (PDT) X-Received: by 10.68.247.131 with SMTP id ye3mr65059318pbc.40.1401898068401; Wed, 04 Jun 2014 09:07:48 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id il2si6719731pbc.87.2014.06.04.09.07.47; Wed, 04 Jun 2014 09:07:47 -0700 (PDT) Received-SPF: none (google.com: devicetree-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 S1751998AbaFDQHo (ORCPT + 8 others); Wed, 4 Jun 2014 12:07:44 -0400 Received: from mail-we0-f170.google.com ([74.125.82.170]:41165 "EHLO mail-we0-f170.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752679AbaFDQHl (ORCPT ); Wed, 4 Jun 2014 12:07:41 -0400 Received: by mail-we0-f170.google.com with SMTP id u57so8953224wes.1 for ; Wed, 04 Jun 2014 09:07:40 -0700 (PDT) X-Received: by 10.194.58.43 with SMTP id n11mr6236887wjq.92.1401898060265; Wed, 04 Jun 2014 09:07:40 -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 fq2sm10425695wib.2.2014.06.04.09.07.39 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 04 Jun 2014 09:07:39 -0700 (PDT) From: Peter Griffin To: peter.griffin@linaro.org, chris@printf.net, ulf.hansson@linaro.org, maxime.coquelin@st.com, patrice.chotard@st.com, srinivas.kandagatla@gmail.com Cc: linux-mmc@vger.kernel.org, devicetree@vger.kernel.org Subject: [PATCH v2 02/10] mmc: sdhci-st: ST Microelectronics SDHCI binding documentation. Date: Wed, 4 Jun 2014 17:07:26 +0100 Message-Id: <1401898054-686-3-git-send-email-peter.griffin@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1401898054-686-1-git-send-email-peter.griffin@linaro.org> References: <1401898054-686-1-git-send-email-peter.griffin@linaro.org> Sender: devicetree-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: devicetree@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.173 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> +};