linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Eric Anholt <eric@anholt.net>
To: linux-rpi-kernel@lists.infradead.org
Cc: linux-arm-kernel@lists.infradead.org,
	linux-kernel@vger.kernel.org,
	Stephen Warren <swarren@wwwdotorg.org>,
	Lee Jones <lee@kernel.org>,
	Florian Fainelli <f.fainelli@gmail.com>,
	Rob Herring <robh+dt@kernel.org>, Pawel Moll <pawel.moll@arm.com>,
	Mark Rutland <mark.rutland@arm.com>,
	Ian Campbell <ijc+devicetree@hellion.org.uk>,
	Kumar Gala <galak@codeaurora.org>,
	devicetree@vger.kernel.org, Ulf Hansson <ulf.hansson@linaro.org>,
	linux-mmc@vger.kernel.org, Eric Anholt <eric@anholt.net>
Subject: [PATCH 1/4] dt-bindings: Add binding for brcm,bcm2835-sdhost.
Date: Fri, 26 Feb 2016 15:05:39 -0800	[thread overview]
Message-ID: <1456527942-3045-2-git-send-email-eric@anholt.net> (raw)
In-Reply-To: <1456527942-3045-1-git-send-email-eric@anholt.net>

This is the other SD controller on the platform, which can be swapped
to the role of SD card host using pin muxing.

Signed-off-by: Eric Anholt <eric@anholt.net>
---
 .../bindings/mmc/brcm,bcm2835-sdhost.txt           | 25 ++++++++++++++++++++++
 1 file changed, 25 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/mmc/brcm,bcm2835-sdhost.txt

diff --git a/Documentation/devicetree/bindings/mmc/brcm,bcm2835-sdhost.txt b/Documentation/devicetree/bindings/mmc/brcm,bcm2835-sdhost.txt
new file mode 100644
index 0000000..f55c446
--- /dev/null
+++ b/Documentation/devicetree/bindings/mmc/brcm,bcm2835-sdhost.txt
@@ -0,0 +1,25 @@
+Broadcom BCM2835 SDHOST controller
+
+This file documents differences between the core properties described
+by mmc.txt and the properties that represent the BCM2835 SDHOST controller.
+
+Required properties:
+- compatible:	Must be "brcm,bcm2835-sdhost"
+- clocks:	The phandle for the clock feeding the SDHOST controller
+
+Optional properties:
+- dmas:		DMA channel phandles for read and write
+- dma-names:	DMA channel names for read and write, must be "rx" and "tx"
+	          See Documentation/devicetree/bindings/dma/dma.txt for details
+
+Example:
+
+sdhost: sdhost@7e202000 {
+	compatible = "brcm,bcm2835-sdhost";
+	reg = <0x7e202000 0x100>;
+	interrupts = <2 24>;
+	clocks = <&clocks BCM2835_CLOCK_VPU>;
+	dmas = <&dma 13>,
+	       <&dma 13>;
+	dma-names = "tx", "rx";
+};
-- 
2.7.0

  reply	other threads:[~2016-02-26 23:12 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-26 23:05 [PATCH 0/4] bcm2835 SDHOST controller Eric Anholt
2016-02-26 23:05 ` Eric Anholt [this message]
2016-03-03 22:02   ` [PATCH 1/4] dt-bindings: Add binding for brcm,bcm2835-sdhost Rob Herring
2016-02-26 23:05 ` [PATCH 2/4] mmc: bcm2835-sdhost: Add new driver for the internal SD controller Eric Anholt
2016-02-26 23:05 ` [PATCH 3/4] ARM: bcm2835: Include SDHOST in the device tree Eric Anholt
2016-02-27 18:17   ` Sergei Shtylyov
2016-02-26 23:05 ` [PATCH 4/4] ARM: bcm2835: Enable SDHOST by default Eric Anholt
2016-02-29 10:09 ` [PATCH 0/4] bcm2835 SDHOST controller Martin Sperl
2017-01-27 11:36 [PATCH 0/4] mmc: bcm2835: Add new driver for the internal SD controller Gerd Hoffmann
2017-01-27 11:36 ` [PATCH 1/4] dt-bindings: Add binding for brcm,bcm2835-sdhost Gerd Hoffmann
2017-01-30 21:37   ` Stefan Wahren
2017-01-31  8:10     ` Gerd Hoffmann
2017-01-31 18:40     ` Eric Anholt
2017-02-01 11:06       ` Gerd Hoffmann
2017-02-01 15:02   ` Rob Herring
2017-02-01 15:54     ` Gerd Hoffmann

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=1456527942-3045-2-git-send-email-eric@anholt.net \
    --to=eric@anholt.net \
    --cc=devicetree@vger.kernel.org \
    --cc=f.fainelli@gmail.com \
    --cc=galak@codeaurora.org \
    --cc=ijc+devicetree@hellion.org.uk \
    --cc=lee@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mmc@vger.kernel.org \
    --cc=linux-rpi-kernel@lists.infradead.org \
    --cc=mark.rutland@arm.com \
    --cc=pawel.moll@arm.com \
    --cc=robh+dt@kernel.org \
    --cc=swarren@wwwdotorg.org \
    --cc=ulf.hansson@linaro.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).