From patchwork Wed Jul 9 15:07:33 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Griffin X-Patchwork-Id: 33318 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ig0-f200.google.com (mail-ig0-f200.google.com [209.85.213.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 7D13A208CF for ; Wed, 9 Jul 2014 15:08:32 +0000 (UTC) Received: by mail-ig0-f200.google.com with SMTP id hn18sf6446090igb.7 for ; Wed, 09 Jul 2014 08:08:31 -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=lu6inBflg3+cu7RkIW1Is7MZBDngF6cSgliHXj0jo4fozMZDSyHuS4EZSIceQUly6T qYhGSCRC1uBxnFSPk0FwNJPaGtwyc5xMTumT8hkDtCOe05OxwunY+1wjsVzPtdWyyNJj nxIucjgs+rZv2PCzktu84YVJk7SrnDN8SakiunE6HHDTmIqK2dcVUTvH1OZV4Pv0oJst GQ4TXu2ne5MTy2v2OtdaOQHAJvsRkEE8NgsImMpmUIFKGWcUxI/6ilaVbMOgK6gWj7+K 6c1nLOlFaz8shw8RG8LJnlznNE86wstbpzU5dkl7xnug3EKHUteiTjQ9pOuhcPUNbiTw EbIA== X-Gm-Message-State: ALoCoQm6frvMWUz+jGxp0RJWt6dywRgBBxstb1kLIZ57un8YA1VSTGIcppRQuMeBFH3VVGdkT31y X-Received: by 10.50.25.102 with SMTP id b6mr4722955igg.4.1404918511896; Wed, 09 Jul 2014 08:08:31 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.80.203 with SMTP id c69ls2797480qgd.85.gmail; Wed, 09 Jul 2014 08:08:31 -0700 (PDT) X-Received: by 10.221.26.71 with SMTP id rl7mr653631vcb.69.1404918511798; Wed, 09 Jul 2014 08:08:31 -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 sk10si21672225vec.81.2014.07.09.08.08.31 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 09 Jul 2014 08:08:31 -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 lf12so7002821vcb.4 for ; Wed, 09 Jul 2014 08:08:31 -0700 (PDT) X-Received: by 10.220.15.8 with SMTP id i8mr907032vca.45.1404918511688; Wed, 09 Jul 2014 08:08:31 -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.37.5 with SMTP id tc5csp54998vcb; Wed, 9 Jul 2014 08:08:31 -0700 (PDT) X-Received: by 10.66.189.169 with SMTP id gj9mr15980pac.149.1404918510773; Wed, 09 Jul 2014 08:08:30 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id gq7si46214889pac.237.2014.07.09.08.08.30; Wed, 09 Jul 2014 08:08:30 -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 S932565AbaGIPIK (ORCPT + 28 others); Wed, 9 Jul 2014 11:08:10 -0400 Received: from mail-we0-f171.google.com ([74.125.82.171]:41348 "EHLO mail-we0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932540AbaGIPIF (ORCPT ); Wed, 9 Jul 2014 11:08:05 -0400 Received: by mail-we0-f171.google.com with SMTP id q58so7640610wes.30 for ; Wed, 09 Jul 2014 08:08:03 -0700 (PDT) X-Received: by 10.180.85.1 with SMTP id d1mr12113726wiz.2.1404918483524; Wed, 09 Jul 2014 08:08:03 -0700 (PDT) Received: from griffinp-ThinkPad-X1-Carbon-2nd.home (host86-181-29-22.range86-181.btcentralplus.com. [86.181.29.22]) by mx.google.com with ESMTPSA id cd1sm103941088wjc.19.2014.07.09.08.08.01 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 09 Jul 2014 08:08:02 -0700 (PDT) From: Peter Griffin To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, ulf.hansson@linaro.org, chris@printf.net, maxime.coquelin@st.com, patrice.chotard@st.com, srinivas.kandagatla@gmail.com Cc: peter.griffin@linaro.org, lee.jones@linaro.org, linux-mmc@vger.kernel.org, devicetree@vger.kernel.org, peppe.cavallaro@st.com Subject: [PATCH v4 02/10] mmc: sdhci-st: ST Microelectronics SDHCI binding documentation. Date: Wed, 9 Jul 2014 16:07:33 +0100 Message-Id: <1404918461-25390-3-git-send-email-peter.griffin@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1404918461-25390-1-git-send-email-peter.griffin@linaro.org> References: <1404918461-25390-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.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> +};