Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1614336
| Path | csiph.com!weretis.net!feeder4.news.weretis.net!news.redatomik.org!aioe.org!bofh.it!news.nic.it!robomod |
|---|---|
| From | Sergio Prado <sergio.prado@e-labworks.com> |
| Newsgroups | linux.kernel |
| Subject | [PATCH v6 1/2] dt-bindings: mmc: add DT binding for S3C24XX MMC/SD/SDIO controller |
| Date | Sat, 01 Apr 2017 02:00:02 +0200 |
| Message-ID | <treCu-2V3-11@gated-at.bofh.it> (permalink) |
| References | <treCu-2V3-13@gated-at.bofh.it> |
| Dkim-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=e-labworks-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=2Aza0rHhwa9zD8vBNybdn9Hsbg7k3TQotLGMPRkM3hU=; b=oFbo7R+srjVGJ4Lc/ObDwojAHflYadJVH+pcTgnBYSHzF2r3/8v2N3Or9vXUBSbuSV +xrWB+rEZ4ng0rgM/xZErXm/I67mnj/DQ3GsfQ+/lX1ctQ3xnrvd5KNZF1pdpVSji9Ah kAp+x2BblqGWQiVi4nI0FR7erGzAPBGqsB1Pbmc93xYMyQ9XBnKg8S/s5hLHnl7eMaXc NsSafkLd6JLlRvJi8N7nSkgn2a8on+0MmtIc01DsyDsbwHLmKwYPJ8U6c/mv/el/yOoZ 0Z9IAQLlyTdT6Y8k3PD114pXuHJFkojIvhNwdbvQeq5fbqbQST4OXs0hlZCava7c6zvs oCHg== |
| X-Google-Dkim-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=2Aza0rHhwa9zD8vBNybdn9Hsbg7k3TQotLGMPRkM3hU=; b=VroCpMpn22L9yeznSHua1hckbn+Gg1J2EHCTTq+RIT15qfB1ohO9MwMkquNu6Q9v5a 1zdWOlD9TfUVeQV9Qxijm04K6800NsypkPW1F3DpXrDQi2ICfvfRHnFmqF5oSmss9lGo q4Z8RE2aCEcT/9VZFddJhnHRIBIyIcnBC5aESJGHQLLUzs39sIsVsCOEtZwM7A+Jss7m PmlXkW3jVHfpsjUEZTqpRSLFMXRzoyjvJbwHxLwuJBsCfuyzTDPRoNZ8f8+UJmX+FZk/ IiEtbUbGbLuIEFqa1JXc9C5SvK6Kz8wM1BLZVHtc4ued7dfh7MNM1Nod16shQNc65Zvu BKJA== |
| X-Gm-Message-State | AFeK/H3TpEyGlDpQUC5MEpTbXQ8BysfNBScXZ6HXOrXTH8vPRRwNht75VKy14n20qaYOug== |
| X-Received | by 10.200.56.97 with SMTP id r30mr5404962qtb.229.1491004277891; Fri, 31 Mar 2017 16:51:17 -0700 (PDT) |
| X-Mailer | git-send-email 1.9.1 |
| Sender | robomod@news.nic.it |
| List-ID | <linux-kernel.vger.kernel.org> |
| X-Mailing-List | linux-kernel@vger.kernel.org |
| Approved | robomod@news.nic.it |
| Lines | 61 |
| Organization | linux.* mail to news gateway |
| X-Original-Cc | Sergio Prado <sergio.prado@e-labworks.com> |
| X-Original-Date | Fri, 31 Mar 2017 20:50:55 -0300 |
| X-Original-Message-ID | <1491004256-13969-2-git-send-email-sergio.prado@e-labworks.com> |
| X-Original-References | <1491004256-13969-1-git-send-email-sergio.prado@e-labworks.com> |
| X-Original-Sender | linux-kernel-owner@vger.kernel.org |
| Xref | csiph.com linux.kernel:1614336 |
Show key headers only | View raw
Adds the device tree bindings description for Samsung S3C24XX
MMC/SD/SDIO controller, used as a connectivity interface with external
MMC, SD and SDIO storage mediums.
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Sergio Prado <sergio.prado@e-labworks.com>
---
.../devicetree/bindings/mmc/samsung,s3cmci.txt | 42 ++++++++++++++++++++++
1 file changed, 42 insertions(+)
create mode 100644 Documentation/devicetree/bindings/mmc/samsung,s3cmci.txt
diff --git a/Documentation/devicetree/bindings/mmc/samsung,s3cmci.txt b/Documentation/devicetree/bindings/mmc/samsung,s3cmci.txt
new file mode 100644
index 000000000000..5f68feb9f9d6
--- /dev/null
+++ b/Documentation/devicetree/bindings/mmc/samsung,s3cmci.txt
@@ -0,0 +1,42 @@
+* Samsung's S3C24XX MMC/SD/SDIO controller device tree bindings
+
+Samsung's S3C24XX MMC/SD/SDIO controller is used as a connectivity interface
+with external MMC, SD and SDIO storage mediums.
+
+This file documents differences between the core mmc properties described by
+mmc.txt and the properties used by the Samsung S3C24XX MMC/SD/SDIO controller
+implementation.
+
+Required SoC Specific Properties:
+- compatible: should be one of the following
+ - "samsung,s3c2410-sdi": for controllers compatible with s3c2410
+ - "samsung,s3c2412-sdi": for controllers compatible with s3c2412
+ - "samsung,s3c2440-sdi": for controllers compatible with s3c2440
+- reg: register location and length
+- interrupts: mmc controller interrupt
+- clocks: Should reference the controller clock
+- clock-names: Should contain "sdi"
+
+Required Board Specific Properties:
+- pinctrl-0: Should specify pin control groups used for this controller.
+- pinctrl-names: Should contain only one value - "default".
+
+Optional Properties:
+- bus-width: number of data lines (see mmc.txt)
+- cd-gpios: gpio for card detection (see mmc.txt)
+- wp-gpios: gpio for write protection (see mmc.txt)
+
+Example:
+
+ mmc0: mmc@5a000000 {
+ compatible = "samsung,s3c2440-sdi";
+ pinctrl-names = "default";
+ pinctrl-0 = <&sdi_pins>;
+ reg = <0x5a000000 0x100000>;
+ interrupts = <0 0 21 3>;
+ clocks = <&clocks PCLK_SDI>;
+ clock-names = "sdi";
+ bus-width = <4>;
+ cd-gpios = <&gpg 8 GPIO_ACTIVE_LOW>;
+ wp-gpios = <&gph 8 GPIO_ACTIVE_LOW>;
+ };
--
1.9.1
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
[PATCH v6 1/2] dt-bindings: mmc: add DT binding for S3C24XX MMC/SD/SDIO controller Sergio Prado <sergio.prado@e-labworks.com> - 2017-04-01 02:00 +0200 Re: [PATCH v6 1/2] dt-bindings: mmc: add DT binding for S3C24XX MMC/SD/SDIO controller Ulf Hansson <ulf.hansson@linaro.org> - 2017-04-10 16:00 +0200
csiph-web