forked from torvalds/linux
-
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 more i2c updates from Wolfram Sang: "I2C has two more new drivers: Altera FPGA and STM32F7" * 'i2c/for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux: i2c: i2c-stm32f7: add driver i2c: i2c-stm32f4: use generic definition of speed enum dt-bindings: i2c-stm32: Document the STM32F7 I2C bindings i2c: altera: Add Altera I2C Controller driver dt-bindings: i2c: Add Altera I2C Controller
- Loading branch information
Showing
9 changed files
with
1,602 additions
and
14 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,39 @@ | ||
* Altera I2C Controller | ||
* This is Altera's synthesizable logic block I2C Controller for use | ||
* in Altera's FPGAs. | ||
|
||
Required properties : | ||
- compatible : should be "altr,softip-i2c-v1.0" | ||
- reg : Offset and length of the register set for the device | ||
- interrupts : <IRQ> where IRQ is the interrupt number. | ||
- clocks : phandle to input clock. | ||
- #address-cells = <1>; | ||
- #size-cells = <0>; | ||
|
||
Recommended properties : | ||
- clock-frequency : desired I2C bus clock frequency in Hz. | ||
|
||
Optional properties : | ||
- fifo-size : Size of the RX and TX FIFOs in bytes. | ||
- Child nodes conforming to i2c bus binding | ||
|
||
Example : | ||
|
||
i2c@100080000 { | ||
compatible = "altr,softip-i2c-v1.0"; | ||
reg = <0x00000001 0x00080000 0x00000040>; | ||
interrupt-parent = <&intc>; | ||
interrupts = <0 43 4>; | ||
clocks = <&clk_0>; | ||
clock-frequency = <100000>; | ||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
fifo-size = <4>; | ||
|
||
eeprom@51 { | ||
compatible = "atmel,24c32"; | ||
reg = <0x51>; | ||
pagesize = <32>; | ||
}; | ||
}; | ||
|
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 |
---|---|---|
|
@@ -644,6 +644,11 @@ ALPS PS/2 TOUCHPAD DRIVER | |
R: Pali Rohár <[email protected]> | ||
F: drivers/input/mouse/alps.* | ||
|
||
ALTERA I2C CONTROLLER DRIVER | ||
M: Thor Thayer <[email protected]> | ||
S: Maintained | ||
F: drivers/i2c/busses/i2c-altera.c | ||
|
||
ALTERA MAILBOX DRIVER | ||
M: Ley Foon Tan <[email protected]> | ||
L: [email protected] (moderated for non-subscribers) | ||
|
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.