Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: i2c: add binding for Socionext SynQuacer I2C

Add a binding for the I2C controller that can be found in the Socionext
SynQuacer SoC.

Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>

authored by

Ard Biesheuvel and committed by
Wolfram Sang
730b35e0 50888b01

+29
+29
Documentation/devicetree/bindings/i2c/i2c-synquacer.txt
··· 1 + Socionext SynQuacer I2C 2 + 3 + Required properties: 4 + - compatible : Must be "socionext,synquacer-i2c" 5 + - reg : Offset and length of the register set for the device 6 + - interrupts : A single interrupt specifier 7 + - #address-cells : Must be <1>; 8 + - #size-cells : Must be <0>; 9 + - clock-names : Must contain "pclk". 10 + - clocks : Must contain an entry for each name in clock-names. 11 + (See the common clock bindings.) 12 + 13 + Optional properties: 14 + - clock-frequency : Desired I2C bus clock frequency in Hz. As only Normal and 15 + Fast modes are supported, possible values are 100000 and 16 + 400000. 17 + 18 + Example : 19 + 20 + i2c@51210000 { 21 + compatible = "socionext,synquacer-i2c"; 22 + reg = <0x51210000 0x1000>; 23 + interrupts = <GIC_SPI 165 IRQ_TYPE_LEVEL_HIGH>; 24 + #address-cells = <1>; 25 + #size-cells = <0>; 26 + clock-names = "pclk"; 27 + clocks = <&clk_i2c>; 28 + clock-frequency = <400000>; 29 + };