Re: [PATCH] dt: Update I2C trivial devices list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Stephen Warren <swarren@xxxxxxxxxxxxx> writes:

> On 12/16/2013 05:12 PM, Ben Gamari wrote:
>
>> diff --git a/Documentation/devicetree/bindings/i2c/trivial-devices.txt b/Documentation/devicetree/bindings/i2c/trivial-devices.txt
>
>>  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 to lookup the
>> +modalias of the driver which will handle the device. The compatible
>> +string may begin with a manufacturer prefix (separated from the
>> +modalias by a comma) which will be stripped off during lookup.
>
> This part of the patch described Linux-specific behaviour, whereas DT
> bindings should be OS-agnostic.
>
I see your point but it would be nice to have language like this
somewhere. One of the biggest challenges in diving in to writing a
devicetree is figuring out details like this.

> BTW, you didn't CC the DT binding maintainers.
>
Very true. Fixed.

Cheers,

- Ben

Attachment: pgp0gCJgdKZIj.pgp
Description: PGP signature


[Index of Archives]     [Linux GPIO]     [Linux SPI]     [Linux Hardward Monitoring]     [LM Sensors]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux