linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: tim.kryger@linaro.org (Tim Kryger)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2 1/5] Documentation: dt: Add i2c-bcm-kona binding
Date: Thu, 14 Nov 2013 13:02:12 -0800	[thread overview]
Message-ID: <1384462936-7906-2-git-send-email-tim.kryger@linaro.org> (raw)
In-Reply-To: <1384462936-7906-1-git-send-email-tim.kryger@linaro.org>

Add the binding description for the i2c-bcm-kona block found on
Broadcom's mobile SoCs.

Signed-off-by: Tim Kryger <tim.kryger@linaro.org>
Reviewed-by: Matt Porter <matt.porter@linaro.org>
---
 .../devicetree/bindings/i2c/i2c-bcm-kona.txt       | 35 ++++++++++++++++++++++
 1 file changed, 35 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/i2c/i2c-bcm-kona.txt

diff --git a/Documentation/devicetree/bindings/i2c/i2c-bcm-kona.txt b/Documentation/devicetree/bindings/i2c/i2c-bcm-kona.txt
new file mode 100644
index 0000000..1b87b74
--- /dev/null
+++ b/Documentation/devicetree/bindings/i2c/i2c-bcm-kona.txt
@@ -0,0 +1,35 @@
+Broadcom Kona Family I2C
+=========================
+
+This I2C controller is used in the following Broadcom SoCs:
+
+  BCM11130
+  BCM11140
+  BCM11351
+  BCM28145
+  BCM28155
+
+Required Properties
+-------------------
+- compatible: "brcm,bcm11351-i2c", "brcm,kona-i2c"
+- reg: Physical base address and length of controller registers
+- interrupts: The interrupt number used by the controller
+- clocks: clock specifier for the kona i2c external clock
+- clock-frequency: The I2C bus frequency in Hz
+- #address-cells: Should be <1>
+- #size-cells: Should be <0>
+
+Refer to clocks/clock-bindings.txt for generic clock consumer
+properties.
+
+Example:
+
+i2c at 3e016000 {
+	compatible = "brcm,bcm11351-i2c","brcm,kona-i2c";
+	reg = <0x3e016000 0x80>;
+	interrupts = <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>;
+	clocks = <&bsc1_clk>;
+	clock-frequency = <400000>;
+	#address-cells = <1>;
+	#size-cells = <0>;
+};
-- 
1.8.0.1

  reply	other threads:[~2013-11-14 21:02 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-14 21:02 [PATCH v2 0/5] Add-Broadcom-Kona-I2C-Support Tim Kryger
2013-11-14 21:02 ` Tim Kryger [this message]
2013-11-14 21:02 ` [PATCH v2 2/5] i2c: i2c-bcm-kona: Introduce Broadcom I2C Driver Tim Kryger
2013-11-14 21:02 ` [PATCH v2 3/5] i2c: i2c-bcm-kona: Add support for high-speed mode Tim Kryger
2013-11-14 21:02 ` [PATCH v2 4/5] ARM: dts: bcm281xx: Add i2c busses Tim Kryger
2013-11-14 21:02 ` [PATCH v2 5/5] ARM: dts: bcm28155-ap: Enable all the " Tim Kryger
2013-11-15 22:52 ` [PATCH v2 0/5] Add-Broadcom-Kona-I2C-Support Wolfram Sang
2013-11-15 23:30   ` Tim Kryger
2013-11-18 16:12     ` Christian Daudt

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=1384462936-7906-2-git-send-email-tim.kryger@linaro.org \
    --to=tim.kryger@linaro.org \
    --cc=linux-arm-kernel@lists.infradead.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).