mirror of
https://github.com/torvalds/linux.git
synced 2024-12-26 12:52:30 +00:00
16c4c52435
Filenames of devictree binding documentation seems to be arbitrary and for me it is unneeded hazzle to find the corresponding documentation for a specific driver. Naming the description the same as the driver is a lot easier and makes sense to me since the driver defines the binding it understands. Also, remove a reference in one source to the binding documentation, since path information easily gets stale. Signed-off-by: Wolfram Sang <wolfram@the-dreams.de> Cc: Rob Herring <robherring2@gmail.com> Cc: Grant Likely <grant.likely@secretlab.ca> Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
29 lines
667 B
Plaintext
29 lines
667 B
Plaintext
* Texas Instruments Davinci I2C
|
|
|
|
This file provides information, what the device node for the
|
|
davinci i2c interface contain.
|
|
|
|
Required properties:
|
|
- compatible: "ti,davinci-i2c";
|
|
- reg : Offset and length of the register set for the device
|
|
|
|
Recommended properties :
|
|
- interrupts : standard interrupt property.
|
|
- clock-frequency : desired I2C bus clock frequency in Hz.
|
|
|
|
Example (enbw_cmc board):
|
|
i2c@1c22000 {
|
|
compatible = "ti,davinci-i2c";
|
|
reg = <0x22000 0x1000>;
|
|
clock-frequency = <100000>;
|
|
interrupts = <15>;
|
|
interrupt-parent = <&intc>;
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
|
|
dtt@48 {
|
|
compatible = "national,lm75";
|
|
reg = <0x48>;
|
|
};
|
|
};
|