-
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: brcmstb: Add Broadcom settop SoC i2c controller driver
Adding support for i2c controller driver for Broadcom settop SoCs. Signed-off-by: Kamal Dasu <kdasu.kdev@gmail.com> [wsa: removed superfluous owner in platform_driver] Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
- Loading branch information
Kamal Dasu
authored and
Wolfram Sang
committed
Jun 10, 2015
1 parent
5e3cfc6
commit dd1aa25
Showing
4 changed files
with
733 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,28 @@ | ||
Broadcom stb bsc iic master controller | ||
|
||
Required properties: | ||
|
||
- compatible: should be "brcm,brcmstb-i2c" | ||
- clock-frequency: 32-bit decimal value of iic master clock freqency in Hz | ||
valid values are 375000, 390000, 187500, 200000 | ||
93750, 97500, 46875 and 50000 | ||
- reg: specifies the base physical address and size of the registers | ||
|
||
Optional properties : | ||
|
||
- interrupt-parent: specifies the phandle to the parent interrupt controller | ||
this one is cascaded from | ||
- interrupts: specifies the interrupt number, the irq line to be used | ||
- interrupt-names: Interrupt name string | ||
|
||
Example: | ||
|
||
bsca: i2c@f0406200 { | ||
clock-frequency = <390000>; | ||
compatible = "brcm,brcmstb-i2c"; | ||
interrupt-parent = <&irq0_intc>; | ||
reg = <0xf0406200 0x58>; | ||
interrupts = <0x18>; | ||
interrupt-names = "upg_bsca"; | ||
}; | ||
|
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.