Re: [PATCH] of: i2c: Export single device registration method

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

 




Hi Wolfram,

On Jan 13, 2014, at 2:17 PM, Wolfram Sang wrote:

> On Tue, Nov 05, 2013 at 07:57:20PM +0200, Pantelis Antoniou wrote:
>> Dynamically inserting i2c client device nodes requires the use
>> of a single device registration method. Rework and export it.
>> 
>> Don't be put off by the weird patch format, it's a simple move
>> of the operations applied on each device to a function.
>> 
>> Signed-off-by: Pantelis Antoniou <panto@xxxxxxxxxxxxxxxxxxxxxxx>
> 
> Are there public patches somewhere showing the use case of this patch?
> 

Of course.

> https://github.com/pantoniou/linux-beagle-track-mainline/blob/merge-min-20131105/drivers/of/overlay.c#L454

This is the how i2c DT overlays work, and is the method that the beaglebone releases work with i2c devices.

I am in the process of updating the patchset, but this part of the patch is unaffected.

Regards

-- Pantelis

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




[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]
  Powered by Linux