diff mbox

[3/3] dt: Describe modalias resolution in i2c/trivial-devices.txt

Message ID 1386536538-14861-3-git-send-email-bgamari.foss@gmail.com
State Superseded, archived
Headers show

Commit Message

Ben Gamari Dec. 8, 2013, 9:02 p.m. UTC
To someone with little device-tree experience these details aren't at
all obvious. Make the fact that the manufacturer prefix is dropped
explicit.

Signed-off-by: Ben Gamari <bgamari.foss@gmail.com>
---
 Documentation/devicetree/bindings/i2c/trivial-devices.txt | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
diff mbox

Patch

diff --git a/Documentation/devicetree/bindings/i2c/trivial-devices.txt b/Documentation/devicetree/bindings/i2c/trivial-devices.txt
index c475c3a..59bbb07 100644
--- a/Documentation/devicetree/bindings/i2c/trivial-devices.txt
+++ b/Documentation/devicetree/bindings/i2c/trivial-devices.txt
@@ -1,6 +1,9 @@ 
 This is a list of trivial i2c devices that have simple device tree
 bindings, consisting only of a compatible field, an address and
-possibly an interrupt line.
+possibly an interrupt line. The compatible field is used by lookup
+the modalias for the driver which will handle the device. A
+manufacturer prefix (separated by a comma) will be stripped off during
+this lookup.
 
 If a device needs more specific bindings, such as properties to
 describe some aspect of it, there needs to be a specific binding