forked from microsoft/WSL2-Linux-Kernel
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'i2c/for-next' of git://git.kernel.org/pub/scm/linux/ker…
…nel/git/wsa/linux Pull i2c updates from Wolfram Sang: "Highlights from the I2C subsystem for 3.18: - new drivers for Axxia AM55xx, and Hisilicon hix5hd2 SoC. - designware driver gained AMD support, exynos gained exynos7 support The rest is usual driver stuff. Hopefully no lowlights this time" * 'i2c/for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux: i2c: i801: Add Device IDs for Intel Sunrise Point PCH i2c: hix5hd2: add i2c controller driver i2c-imx: Disable the clock on probe failure i2c: designware: Add support for AMD I2C controller i2c: designware: Rework probe() to get clock a bit later i2c: designware: Default to fast mode in case of ACPI i2c: axxia: Add I2C driver for AXM55xx i2c: exynos: add support for HSI2C module on Exynos7 i2c: mxs: detect No Slave Ack on SELECT in PIO mode i2c: cros_ec: Remove EC_I2C_FLAG_10BIT i2c: cros-ec-tunnel: Add of match table i2c: rcar: remove sign-compare flaw i2c: ismt: Use minimum descriptor size i2c: imx: Add arbitration lost check i2c: rk3x: Remove unlikely() annotations i2c: rcar: check for no IRQ in rcar_i2c_irq() i2c: rcar: make rcar_i2c_prepare_msg() *void* i2c: rcar: simplify check for last message i2c: designware: add support of platform data to set I2C mode i2c: designware: add support of I2C standard mode
- Loading branch information
Showing
19 changed files
with
1,404 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
LSI Axxia I2C | ||
|
||
Required properties : | ||
- compatible : Must be "lsi,api2c" | ||
- reg : Offset and length of the register set for the device | ||
- interrupts : the interrupt specifier | ||
- #address-cells : Must be <1>; | ||
- #size-cells : Must be <0>; | ||
- clock-names : Must contain "i2c". | ||
- clocks: Must contain an entry for each name in clock-names. See the common | ||
clock bindings. | ||
|
||
Optional properties : | ||
- clock-frequency : Desired I2C bus clock frequency in Hz. If not specified, | ||
the default 100 kHz frequency will be used. As only Normal and Fast modes | ||
are supported, possible values are 100000 and 400000. | ||
|
||
Example : | ||
|
||
i2c@02010084000 { | ||
compatible = "lsi,api2c"; | ||
device_type = "i2c"; | ||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
reg = <0x20 0x10084000 0x00 0x1000>; | ||
interrupts = <0 19 4>; | ||
clocks = <&clk_per>; | ||
clock-names = "i2c"; | ||
clock-frequency = <400000>; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
I2C for Hisilicon hix5hd2 chipset platform | ||
|
||
Required properties: | ||
- compatible: Must be "hisilicon,hix5hd2-i2c" | ||
- reg: physical base address of the controller and length of memory mapped | ||
region. | ||
- interrupts: interrupt number to the cpu. | ||
- #address-cells = <1>; | ||
- #size-cells = <0>; | ||
- clocks: phandles to input clocks. | ||
|
||
Optional properties: | ||
- clock-frequency: Desired I2C bus frequency in Hz, otherwise defaults to 100000 | ||
- Child nodes conforming to i2c bus binding | ||
|
||
Examples: | ||
I2C0@f8b10000 { | ||
compatible = "hisilicon,hix5hd2-i2c"; | ||
reg = <0xf8b10000 0x1000>; | ||
interrupts = <0 38 4>; | ||
clocks = <&clock HIX5HD2_I2C0_RST>; | ||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.