From patchwork Sat Feb 27 18:01:45 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Carlo Caione X-Patchwork-Id: 8444851 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id A7207C0553 for ; Sat, 27 Feb 2016 18:04:59 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id CAE2B203DA for ; Sat, 27 Feb 2016 18:04:58 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 0DA7F203C4 for ; Sat, 27 Feb 2016 18:04:58 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1aZjCj-0002QL-37; Sat, 27 Feb 2016 18:02:57 +0000 Received: from mail-wm0-x242.google.com ([2a00:1450:400c:c09::242]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1aZjCK-0001rk-QE for linux-arm-kernel@lists.infradead.org; Sat, 27 Feb 2016 18:02:33 +0000 Received: by mail-wm0-x242.google.com with SMTP id p65so3417865wmp.1 for ; Sat, 27 Feb 2016 10:02:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=HTWMcqOkKr5Oxtqk8H6cr3xE/Pr8qqDPkfIL/XEUY/Q=; b=NdIPmxlBl8WsKdc8isfjDLo7NjqlriMBEhSAJH7GA6P/vM5szja7XxHqqrjoSKLLWY yezWDSDRd2CKr4WM4QZC8llAEEYYyThliHiGj3/zHX3ENu6QuUj4T+Ph7+cmf/b/tski 71FsWIu28uyvro5ZUruSI19UiI0N08TM6N25KAFwzkS9sd6enrMFbudFdMSFKEEkzCkZ zjU/9pE4Zo47N4djYZ+OYkLjeM0HDUEIb0u0lVgNAdGPy0Da7C0CnWT8KiVo/Z5ZG1FZ 3+jqnHka/XTCqCaRX2Ew84XVMwCt0rkCMJQLZcHKTwxjSr45fwUVDp0yTnxatA8u4JSd UiEw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references; bh=HTWMcqOkKr5Oxtqk8H6cr3xE/Pr8qqDPkfIL/XEUY/Q=; b=XLSuZV50BKzkkzmbuByrRxdIpHH4uuU5DzGb7C8xjQJQFGuahWevkXeT801NQGQPI3 4jJg7sphj9nGSx7Z7yo3v4k5dKOJ3R+wnLMqt3sQWfkrfctajayM7EJLlya39OHRDMKo aXHUf3jS4CAMqH0g9GL5xTpIHvzguY9a56ZH1jZqq7nLpSwROAnosUqHwQ1Dk4xagA8j m4/p9Bq4ml9xQvhmf0ahEUWS1DPVoxLEGvcoFX0hS2/5Vn01b/dpm3XS+t39HjEb5dzT 4zAK0o5rwHJeYQrQpXNnLZ7zIUExK/+wWVmGP0DPYo1iBfzXsNcdnMNhOjDybinoh6iq SzQQ== X-Gm-Message-State: AD7BkJL4Y3vgqq0PlK88zDL5KAWV8yBCtnDeVQrdBR+6HQwQa/Llq4v6HsDjSuty/UmE5w== X-Received: by 10.194.60.165 with SMTP id i5mr8506358wjr.178.1456596130434; Sat, 27 Feb 2016 10:02:10 -0800 (PST) Received: from localhost.localdomain (2-238-57-164.ip242.fastwebnet.it. [2.238.57.164]) by smtp.gmail.com with ESMTPSA id gg7sm17680003wjd.10.2016.02.27.10.02.09 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 27 Feb 2016 10:02:09 -0800 (PST) From: Carlo Caione To: ulf.hansson@linaro.org, robh+dt@kernel.org, linux-arm-kernel@lists.infradead.org, linux@arm.linux.org.uk, devicetree@vger.kernel.org, linux-meson@googlegroups.com, linux@endlessm.com Subject: [PATCH v5 1/4] mmc: meson: Document Amlogic Meson MMC DT bindings Date: Sat, 27 Feb 2016 19:01:45 +0100 Message-Id: <1456596108-1406-2-git-send-email-carlo@caione.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1456596108-1406-1-git-send-email-carlo@caione.org> References: <1456596108-1406-1-git-send-email-carlo@caione.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160227_100233_078396_7449CB90 X-CRM114-Status: GOOD ( 12.21 ) X-Spam-Score: -2.4 (--) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Carlo Caione MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,RP_MATCHES_RCVD,T_DKIM_INVALID,UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Carlo Caione Signed-off-by: Carlo Caione --- .../devicetree/bindings/mmc/meson-mmc.txt | 30 ++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 Documentation/devicetree/bindings/mmc/meson-mmc.txt diff --git a/Documentation/devicetree/bindings/mmc/meson-mmc.txt b/Documentation/devicetree/bindings/mmc/meson-mmc.txt new file mode 100644 index 0000000..328157e --- /dev/null +++ b/Documentation/devicetree/bindings/mmc/meson-mmc.txt @@ -0,0 +1,30 @@ +* Amlogic Meson MMC controller + +The highspeed MMC host controller on Amlogic SoCs provides an interface +for MMC, SD, SDIO and SDHC types of memory cards. + +Supported maximum speeds are the ones of the eMMC standard 4.41 as well +as the speed of SD standard 2.0. + +Required properties: + - compatible : "amlogic,meson-mmc" + - reg : mmc controller base registers + - interrupts : mmc controller interrupt + - clocks : phandle to clock provider + - pinctrl-names : should contain "sdio_a" or "sdio_b" + - pinctrl-0: Should specify pin control groups used for this controller + +Optional properties: + - meson,sd-port : 0 for port A, 1 for port B + - for cd, bus-width and additional generic mmc parameters + please refer to mmc.txt within this directory + +Examples: + mmc0: mmc@c1108c20 { + pinctrl-names = "sdio_b"; + pinctrl-0 = <&mmc0_sd_b_pins>; + compatible = "amlogic,meson-mmc"; + reg = <0xc1108c20 0x20>; + interrupts = <0 28 1>; + clocks = <&clkc CLKID_CLK81>; + };