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

Configure Feed

Select the types of activity you want to include in your feed.

at v4.12-rc2 49 lines 1.9 kB view raw
1I2C for R-Car platforms 2 3Required properties: 4- compatible: 5 "renesas,i2c-r8a7778" if the device is a part of a R8A7778 SoC. 6 "renesas,i2c-r8a7779" if the device is a part of a R8A7779 SoC. 7 "renesas,i2c-r8a7790" if the device is a part of a R8A7790 SoC. 8 "renesas,i2c-r8a7791" if the device is a part of a R8A7791 SoC. 9 "renesas,i2c-r8a7792" if the device is a part of a R8A7792 SoC. 10 "renesas,i2c-r8a7793" if the device is a part of a R8A7793 SoC. 11 "renesas,i2c-r8a7794" if the device is a part of a R8A7794 SoC. 12 "renesas,i2c-r8a7795" if the device is a part of a R8A7795 SoC. 13 "renesas,i2c-r8a7796" if the device is a part of a R8A7796 SoC. 14 "renesas,rcar-gen1-i2c" for a generic R-Car Gen1 compatible device. 15 "renesas,rcar-gen2-i2c" for a generic R-Car Gen2 compatible device. 16 "renesas,rcar-gen3-i2c" for a generic R-Car Gen3 compatible device. 17 "renesas,i2c-rcar" (deprecated) 18 19 When compatible with the generic version, nodes must list the 20 SoC-specific version corresponding to the platform first followed 21 by the generic version. 22 23- reg: physical base address of the controller and length of memory mapped 24 region. 25- interrupts: interrupt specifier. 26 27Optional properties: 28- clock-frequency: desired I2C bus clock frequency in Hz. The absence of this 29 property indicates the default frequency 100 kHz. 30- clocks: clock specifier. 31- dmas: Must contain a list of two references to DMA specifiers, one for 32 transmission, and one for reception. 33- dma-names: Must contain a list of two DMA names, "tx" and "rx". 34 35- i2c-scl-falling-time-ns: see i2c.txt 36- i2c-scl-internal-delay-ns: see i2c.txt 37- i2c-scl-rising-time-ns: see i2c.txt 38 39Examples : 40 41i2c0: i2c@e6508000 { 42 #address-cells = <1>; 43 #size-cells = <0>; 44 compatible = "renesas,i2c-r8a7791", "renesas,rcar-gen2-i2c"; 45 reg = <0 0xe6508000 0 0x40>; 46 interrupts = <0 287 IRQ_TYPE_LEVEL_HIGH>; 47 clocks = <&mstp9_clks R8A7791_CLK_I2C0>; 48 clock-frequency = <400000>; 49};