Re: [PATCH] Input: mpu3050: add of_match table for device-tree probing

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

 



On 12/23/2011 09:58 AM, Olof Johansson wrote:
> Hi,
> 
> On Fri, Dec 23, 2011 at 1:22 AM, Dmitry Torokhov
> <dmitry.torokhov@xxxxxxxxx> wrote:
>> Hi Olof,
>>
>> On Thu, Dec 22, 2011 at 06:39:52PM -0800, Olof Johansson wrote:
>>> Adding invn,mpu3050 as the initial id.
>>>
>>
>> I believe you also need to add this to
>> Documentation/devicetree/bindings/input/
> 
> For simple i2c devices that only have a name, address and possibly an
> interrupt, there's no need to document a binding (it hasn't been done
> in the past for the vast majority of those devices).

But then how do you find out if there is a existing binding for a device
without searching in the kernel source tree? The binding docs are
planned to be moved out as they are not Linux specific. There needs to
be 1 location to find binding information.

I do wonder if we should have a more structured registry or database of
bindings than free form text files...

Rob
--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media Devel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Linux Wireless Networking]     [Linux Omap]

  Powered by Linux