diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2015-10-23 12:51:59 +0200 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2015-10-23 21:55:45 +0200 |
commit | dd6fd4a3279310bac214867e31848f47e13caa6f (patch) | |
tree | 9401cce7a8d2fe547d63d3e55db6c88369fed2ae /Documentation/devicetree/bindings/i2c/i2c-uniphier.txt | |
parent | i2c: designware: reverts "i2c: designware: Add support for AMD I2C controller" (diff) | |
download | linux-dd6fd4a3279310bac214867e31848f47e13caa6f.tar.xz linux-dd6fd4a3279310bac214867e31848f47e13caa6f.zip |
i2c: uniphier: add UniPhier FIFO-less I2C driver
Add support for on-chip I2C controller used on old UniPhier SoCs
such as PH1-LD4, PH1-sLD8, etc. This adapter is so simple that
it has no FIFO in it.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'Documentation/devicetree/bindings/i2c/i2c-uniphier.txt')
-rw-r--r-- | Documentation/devicetree/bindings/i2c/i2c-uniphier.txt | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/i2c/i2c-uniphier.txt b/Documentation/devicetree/bindings/i2c/i2c-uniphier.txt new file mode 100644 index 000000000000..26f9d95b3436 --- /dev/null +++ b/Documentation/devicetree/bindings/i2c/i2c-uniphier.txt @@ -0,0 +1,25 @@ +UniPhier I2C controller (FIFO-less) + +Required properties: +- compatible: should be "socionext,uniphier-i2c". +- #address-cells: should be 1. +- #size-cells: should be 0. +- reg: offset and length of the register set for the device. +- interrupts: a single interrupt specifier. +- clocks: phandle to the input clock. + +Optional properties: +- clock-frequency: desired I2C bus frequency in Hz. The maximum supported + value is 400000. Defaults to 100000 if not specified. + +Examples: + + i2c0: i2c@58400000 { + compatible = "socionext,uniphier-i2c"; + reg = <0x58400000 0x40>; + #address-cells = <1>; + #size-cells = <0>; + interrupts = <0 41 1>; + clocks = <&i2c_clk>; + clock-frequency = <100000>; + }; |