lkml.org 
[lkml]   [2014]   [Jan]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] of: i2c: Export single device registration method
From
Date
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@antoniou-consulting.com>
>
> 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



\
 
 \ /
  Last update: 2014-01-13 15:01    [W:0.097 / U:0.144 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site