dt-bindings: i2c: iproc: make 'interrupts' optional

Update the binding document to make the 'interrupts' property optional.
For certain revisions of the I2C controller (e.g., iProc NIC I2C), I2C
interrupt is unwired to the interrupt controller. In such case, this
'interrupts' property should be left unspecified, and driver will fall
back to polling mode

Signed-off-by: Ray Jui <ray.jui@broadcom.com>
Signed-off-by: Rayagonda Kokatanur <rayagonda.kokatanur@broadcom.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
This commit is contained in:
Ray Jui 2019-04-02 18:18:25 -07:00 committed by Wolfram Sang
parent 1b23fa2e18
commit 682587080d
1 changed files with 8 additions and 3 deletions

View File

@ -9,9 +9,6 @@ Required properties:
Define the base and range of the I/O address space that contain the iProc Define the base and range of the I/O address space that contain the iProc
I2C controller registers I2C controller registers
- interrupts:
Should contain the I2C interrupt
- clock-frequency: - clock-frequency:
This is the I2C bus clock. Need to be either 100000 or 400000 This is the I2C bus clock. Need to be either 100000 or 400000
@ -21,6 +18,14 @@ Required properties:
- #size-cells: - #size-cells:
Always 0 Always 0
Optional properties:
- interrupts:
Should contain the I2C interrupt. For certain revisions of the I2C
controller, I2C interrupt is unwired to the interrupt controller. In such
case, this property should be left unspecified, and driver will fall back
to polling mode
Example: Example:
i2c0: i2c@18008000 { i2c0: i2c@18008000 {
compatible = "brcm,iproc-i2c"; compatible = "brcm,iproc-i2c";