-
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.
i2c: add support for Amlogic Meson I2C controller
This is a driver for the I2C controller found in Amlogic Meson SoCs. Signed-off-by: Beniamino Galvani <b.galvani@gmail.com> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
- Loading branch information
Beniamino Galvani
authored and
Wolfram Sang
committed
Nov 18, 2014
1 parent
c9449af
commit 30021e3
Showing
4 changed files
with
524 additions
and
0 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,24 @@ | ||
Amlogic Meson I2C controller | ||
|
||
Required properties: | ||
- compatible: must be "amlogic,meson6-i2c" | ||
- reg: physical address and length of the device registers | ||
- interrupts: a single interrupt specifier | ||
- clocks: clock for the device | ||
- #address-cells: should be <1> | ||
- #size-cells: should be <0> | ||
|
||
Optional properties: | ||
- clock-frequency: the desired I2C bus clock frequency in Hz; in | ||
absence of this property the default value is used (100 kHz). | ||
|
||
Examples: | ||
|
||
i2c@c8100500 { | ||
compatible = "amlogic,meson6-i2c"; | ||
reg = <0xc8100500 0x20>; | ||
interrupts = <0 92 1>; | ||
clocks = <&clk81>; | ||
#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
Oops, something went wrong.