aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/i2c/samsung-i2c.txt
diff options
context:
space:
mode:
authorWolfram Sang <wolfram@the-dreams.de>2012-11-13 12:16:43 -0500
committerGrant Likely <grant.likely@secretlab.ca>2012-11-15 10:57:07 -0500
commit16c4c52435cf8bb6e5986c14d36d93a0dd4c98df (patch)
tree5a70d9d8c31df5f20e86e9c1960e1205fe0fb9b5 /Documentation/devicetree/bindings/i2c/samsung-i2c.txt
parentda63d20bfb12827dd7747a841ea27348af3abc0a (diff)
bindings: i2c: use consistent naming for i2c binding descriptions
Filenames of devictree binding documentation seems to be arbitrary and for me it is unneeded hazzle to find the corresponding documentation for a specific driver. Naming the description the same as the driver is a lot easier and makes sense to me since the driver defines the binding it understands. Also, remove a reference in one source to the binding documentation, since path information easily gets stale. Signed-off-by: Wolfram Sang <wolfram@the-dreams.de> Cc: Rob Herring <robherring2@gmail.com> Cc: Grant Likely <grant.likely@secretlab.ca> Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'Documentation/devicetree/bindings/i2c/samsung-i2c.txt')
-rw-r--r--Documentation/devicetree/bindings/i2c/samsung-i2c.txt43
1 files changed, 0 insertions, 43 deletions
diff --git a/Documentation/devicetree/bindings/i2c/samsung-i2c.txt b/Documentation/devicetree/bindings/i2c/samsung-i2c.txt
deleted file mode 100644
index b6cb5a12c672..000000000000
--- a/Documentation/devicetree/bindings/i2c/samsung-i2c.txt
+++ /dev/null
@@ -1,43 +0,0 @@
1* Samsung's I2C controller
2
3The Samsung's I2C controller is used to interface with I2C devices.
4
5Required properties:
6 - compatible: value should be either of the following.
7 (a) "samsung, s3c2410-i2c", for i2c compatible with s3c2410 i2c.
8 (b) "samsung, s3c2440-i2c", for i2c compatible with s3c2440 i2c.
9 (c) "samsung, s3c2440-hdmiphy-i2c", for s3c2440-like i2c used
10 inside HDMIPHY block found on several samsung SoCs
11 - reg: physical base address of the controller and length of memory mapped
12 region.
13 - interrupts: interrupt number to the cpu.
14 - samsung,i2c-sda-delay: Delay (in ns) applied to data line (SDA) edges.
15
16Optional properties:
17 - gpios: The order of the gpios should be the following: <SDA, SCL>.
18 The gpio specifier depends on the gpio controller. Required in all
19 cases except for "samsung,s3c2440-hdmiphy-i2c" whose input/output
20 lines are permanently wired to the respective client
21 - samsung,i2c-slave-addr: Slave address in multi-master enviroment. If not
22 specified, default value is 0.
23 - samsung,i2c-max-bus-freq: Desired frequency in Hz of the bus. If not
24 specified, the default value in Hz is 100000.
25
26Example:
27
28 i2c@13870000 {
29 compatible = "samsung,s3c2440-i2c";
30 reg = <0x13870000 0x100>;
31 interrupts = <345>;
32 samsung,i2c-sda-delay = <100>;
33 samsung,i2c-max-bus-freq = <100000>;
34 gpios = <&gpd1 2 0 /* SDA */
35 &gpd1 3 0 /* SCL */>;
36 #address-cells = <1>;
37 #size-cells = <0>;
38
39 wm8994@1a {
40 compatible = "wlf,wm8994";
41 reg = <0x1a>;
42 };
43 };