From: Tony Prisk <linux@prisktech.co.nz>
To: cjb@laptop.org
Cc: linux-mmc@vger.kernel.org, devicetree-discuss@lists.ozlabs.org,
Tony Prisk <linux@prisktech.co.nz>
Subject: [RFC PATCH 1/2] MMC: DTS: Add binding for Wondermedia WM8505 SDHC
Date: Mon, 15 Oct 2012 21:24:52 +1300 [thread overview]
Message-ID: <1350289493-30533-2-git-send-email-linux@prisktech.co.nz> (raw)
In-Reply-To: <1350289493-30533-1-git-send-email-linux@prisktech.co.nz>
Binding documentation for WMT SD/MMC Host Controller found on
Wondermedia 8xxx series SoCs.
Based on mmc.txt binding with additional properties.
Signed-off-by: Tony Prisk <linux@prisktech.co.nz>
---
.../devicetree/bindings/mmc/vt8500-sdmmc.txt | 24 ++++++++++++++++++++
1 file changed, 24 insertions(+)
create mode 100644 Documentation/devicetree/bindings/mmc/vt8500-sdmmc.txt
diff --git a/Documentation/devicetree/bindings/mmc/vt8500-sdmmc.txt b/Documentation/devicetree/bindings/mmc/vt8500-sdmmc.txt
new file mode 100644
index 0000000..69a817e
--- /dev/null
+++ b/Documentation/devicetree/bindings/mmc/vt8500-sdmmc.txt
@@ -0,0 +1,24 @@
+* Wondermedia WM8505/WM8650 SD/MMC Host Controller
+
+Required properties:
+- compatible: Should be "wm,wm8505-sdhc".
+- reg: Memory for sdhc controller.
+- interrupts: Two interrupts are required - regular irq and dma irq.
+- clocks: pHandle to clock for controller.
+- bus-width: <1>,<4> or <8> data lines connected
+
+Optional properties:
+- sdon-inverted: SD_ON bit is inverted on the controller
+- cd-inverted: CD bit is inverted on the controller
+
+Examples:
+
+sdhc@d800a000 {
+ compatible = "wm,wm8505-sdhc";
+ reg = <0xd800a000 0x1000>;
+ interrupts = <20 21>;
+ clocks = <&sdhc>;
+ bus-width = <4>;
+ sdon-inverted;
+};
+
--
1.7.9.5
next prev parent reply other threads:[~2012-10-15 8:33 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-10-15 8:24 [RFC PATCH 0/2] MMC: Add support for Wondermedia SoC SDHC Tony Prisk
2012-10-15 8:24 ` Tony Prisk [this message]
2012-10-15 8:24 ` [RFC PATCH 2/2] MMC: SD/MMC Host Controller for Wondermedia WM8505/WM8650 Tony Prisk
2012-10-15 12:32 ` Girish K S
2012-10-15 17:37 ` Tony Prisk
2012-10-16 13:34 ` Girish K S
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1350289493-30533-2-git-send-email-linux@prisktech.co.nz \
--to=linux@prisktech.co.nz \
--cc=cjb@laptop.org \
--cc=devicetree-discuss@lists.ozlabs.org \
--cc=linux-mmc@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.