summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/i2c/i2c-brcmstb.txt
diff options
context:
space:
mode:
authorKamal Dasu <kdasu.kdev@gmail.com>2015-06-09 22:36:20 +0300
committerWolfram Sang <wsa@the-dreams.de>2015-06-10 16:02:57 +0300
commitdd1aa2524bc55345ede0b13853c54e1b0be22b9f (patch)
treecced9b59b0f881ce8a46eb8d05a018f2350ba121 /Documentation/devicetree/bindings/i2c/i2c-brcmstb.txt
parent5e3cfc6c4e37ec7040fa235f42586b3312c0ebf2 (diff)
downloadlinux-dd1aa2524bc55345ede0b13853c54e1b0be22b9f.tar.xz
i2c: brcmstb: Add Broadcom settop SoC i2c controller driver
Adding support for i2c controller driver for Broadcom settop SoCs. Signed-off-by: Kamal Dasu <kdasu.kdev@gmail.com> [wsa: removed superfluous owner in platform_driver] Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'Documentation/devicetree/bindings/i2c/i2c-brcmstb.txt')
-rw-r--r--Documentation/devicetree/bindings/i2c/i2c-brcmstb.txt28
1 files changed, 28 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/i2c/i2c-brcmstb.txt b/Documentation/devicetree/bindings/i2c/i2c-brcmstb.txt
new file mode 100644
index 000000000000..d6f724efdcf2
--- /dev/null
+++ b/Documentation/devicetree/bindings/i2c/i2c-brcmstb.txt
@@ -0,0 +1,28 @@
+Broadcom stb bsc iic master controller
+
+Required properties:
+
+- compatible: should be "brcm,brcmstb-i2c"
+- clock-frequency: 32-bit decimal value of iic master clock freqency in Hz
+ valid values are 375000, 390000, 187500, 200000
+ 93750, 97500, 46875 and 50000
+- reg: specifies the base physical address and size of the registers
+
+Optional properties :
+
+- interrupt-parent: specifies the phandle to the parent interrupt controller
+ this one is cascaded from
+- interrupts: specifies the interrupt number, the irq line to be used
+- interrupt-names: Interrupt name string
+
+Example:
+
+bsca: i2c@f0406200 {
+ clock-frequency = <390000>;
+ compatible = "brcm,brcmstb-i2c";
+ interrupt-parent = <&irq0_intc>;
+ reg = <0xf0406200 0x58>;
+ interrupts = <0x18>;
+ interrupt-names = "upg_bsca";
+};
+