[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1446312957-18744-1-git-send-email-mans@mansr.com>
Date: Sat, 31 Oct 2015 17:35:56 +0000
From: Mans Rullgard <mans@...sr.com>
To: Wolfram Sang <wsa@...-dreams.de>, Rob Herring <robh+dt@...nel.org>,
Pawel Moll <pawel.moll@....com>,
Mark Rutland <mark.rutland@....com>,
Ian Campbell <ijc+devicetree@...lion.org.uk>,
Kumar Gala <galak@...eaurora.org>, linux-i2c@...r.kernel.org,
devicetree@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: [PATCH 1/2] devicetree: i2c: add binding for Sigma Designs SMP8642 I2C master
This adds a binding for the Sigma Designs SMP8642 built-in I2C master
controller.
Signed-off-by: Mans Rullgard <mans@...sr.com>
---
.../devicetree/bindings/i2c/sigma,smp8642-i2c.txt | 24 ++++++++++++++++++++++
1 file changed, 24 insertions(+)
create mode 100644 Documentation/devicetree/bindings/i2c/sigma,smp8642-i2c.txt
diff --git a/Documentation/devicetree/bindings/i2c/sigma,smp8642-i2c.txt b/Documentation/devicetree/bindings/i2c/sigma,smp8642-i2c.txt
new file mode 100644
index 0000000..117fc8b
--- /dev/null
+++ b/Documentation/devicetree/bindings/i2c/sigma,smp8642-i2c.txt
@@ -0,0 +1,24 @@
+Sigma Designs SMP8642 I2C master
+
+Required properties:
+- compatible: should be "sigma,smp8642-i2c"
+- reg: physical address space of the device
+- interrupts: the interrupt of the device
+- clocks: phandle of the clock for the device
+- #address-cells: should be <1>
+- #size-cells: should be <0>
+
+Optional properties:
+- clock-frequency: frequency of bus clock in Hz, default 100kHz
+
+Example:
+
+i2c@...80 {
+ compatible = "sigma,smp8642-i2c";
+ reg = <0x10480 0x2c>;
+ interrupts = <22 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&sys_clk>;
+ clock-frequency = <100000>;
+ #address-cells = <1>;
+ #size-cells = <0>;
+};
--
2.6.2
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists