diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2019-03-30 00:56:53 +0300 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2019-03-30 00:56:53 +0300 |
commit | 4ad528360cf6455bfaaf9164350ed74cbfadc7c5 (patch) | |
tree | 770e453bf85a6f4ffe4bbb8cc83e53b3ff7f743e /Documentation/devicetree/bindings/i2c/i2c-wmt.txt | |
parent | 9a4a6f0dc1eaa7b5e4a834b13596faeb0d4b7ac3 (diff) | |
parent | 080a910414659dfd18ffaf60a1e95b96c3f50eab (diff) | |
download | linux-4ad528360cf6455bfaaf9164350ed74cbfadc7c5.tar.xz |
Merge branch 'i2c/for-current' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux
Pull i2c fixes from Wolfram Sang:
"A new ID for the i801 driver and some Documentation fixes to make it
easier for people to find the bindings (which is also a basis for
further improvements in that area)"
* 'i2c/for-current' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux:
i2c: wmt: make bindings file name match the driver
i2c: sun6i-p2wi: make bindings file name match the driver
i2c: stu300: make bindings file name match the driver
i2c: mt65xx: make bindings file name match the driver
i2c: iop3xx: make bindings file name match the driver
i2c: i801: Add support for Intel Comet Lake
Diffstat (limited to 'Documentation/devicetree/bindings/i2c/i2c-wmt.txt')
-rw-r--r-- | Documentation/devicetree/bindings/i2c/i2c-wmt.txt | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/i2c/i2c-wmt.txt b/Documentation/devicetree/bindings/i2c/i2c-wmt.txt new file mode 100644 index 000000000000..94a425eaa6c7 --- /dev/null +++ b/Documentation/devicetree/bindings/i2c/i2c-wmt.txt @@ -0,0 +1,24 @@ +* Wondermedia I2C Controller + +Required properties : + + - compatible : should be "wm,wm8505-i2c" + - reg : Offset and length of the register set for the device + - interrupts : <IRQ> where IRQ is the interrupt number + - clocks : phandle to the I2C clock source + +Optional properties : + + - clock-frequency : desired I2C bus clock frequency in Hz. + Valid values are 100000 and 400000. + Default to 100000 if not specified, or invalid value. + +Example : + + i2c_0: i2c@d8280000 { + compatible = "wm,wm8505-i2c"; + reg = <0xd8280000 0x1000>; + interrupts = <19>; + clocks = <&clki2c0>; + clock-frequency = <400000>; + }; |