mirror of
https://github.com/torvalds/linux.git
synced 2024-11-19 18:41:48 +00:00
791d3ef2e1
'interrupt-parent' is often documented as part of define bindings, but it is really outside the scope of a device binding. It's never required in a given node as it is often inherited from a parent node. Or it can be implicit if a parent node is an 'interrupt-controller' node. So remove it from all the binding files. Cc: Mark Rutland <mark.rutland@arm.com> Cc: devicetree@vger.kernel.org Signed-off-by: Rob Herring <robh@kernel.org>
32 lines
770 B
Plaintext
32 lines
770 B
Plaintext
* Ingenic JZ4780 I2C Bus controller
|
|
|
|
Required properties:
|
|
- compatible: should be "ingenic,jz4780-i2c"
|
|
- reg: Should contain the address & size of the I2C controller registers.
|
|
- interrupts: Should specify the interrupt provided by parent.
|
|
- clocks: Should contain a single clock specifier for the JZ4780 I2C clock.
|
|
- clock-frequency: desired I2C bus clock frequency in Hz.
|
|
|
|
Recommended properties:
|
|
- pinctrl-names: should be "default";
|
|
- pinctrl-0: phandle to pinctrl function
|
|
|
|
Example
|
|
|
|
/ {
|
|
i2c4: i2c4@10054000 {
|
|
compatible = "ingenic,jz4780-i2c";
|
|
reg = <0x10054000 0x1000>;
|
|
|
|
interrupt-parent = <&intc>;
|
|
interrupts = <56>;
|
|
|
|
clocks = <&cgu JZ4780_CLK_SMB4>;
|
|
clock-frequency = <100000>;
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&pins_i2c4_data>;
|
|
|
|
};
|
|
};
|
|
|