mirror of
https://github.com/torvalds/linux.git
synced 2024-12-24 20:01:55 +00:00
e2e5a2c618
Broadcoms DSL, CM (cable modem)and STB I2C core implementation have 8 data in/out registers that can transfer 8 bytes or 32 bytes max. Cable and DSL "Peripheral" i2c cores use single byte per data register and the STB can use 4 byte per data register transfer. Adding support to take care of this difference. Accordingly added the compatible string for SoCs using the "Peripheral" I2C block. Signed-off-by: Kamal Dasu <kdasu.kdev@gmail.com> Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
29 lines
841 B
Plaintext
29 lines
841 B
Plaintext
Broadcom stb bsc iic master controller
|
|
|
|
Required properties:
|
|
|
|
- compatible: should be "brcm,brcmstb-i2c" or "brcm,brcmper-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";
|
|
};
|
|
|