[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <C80926F1-27C6-4F13-93BF-842E50D471DC@antoniou-consulting.com>
Date: Mon, 13 Jan 2014 15:21:17 +0200
From: Pantelis Antoniou <panto@...oniou-consulting.com>
To: Wolfram Sang <wsa@...-dreams.de>
Cc: Grant Likely <grant.likely@...retlab.ca>,
Rob Herring <robherring2@...il.com>,
Stephen Warren <swarren@...dotorg.org>,
Matt Porter <matt.porter@...aro.org>,
Koen Kooi <koen@...inion.thruhere.net>,
Alison Chaiken <Alison_Chaiken@...tor.com>,
Dinh Nguyen <dinh.linux@...il.com>,
Jan Lubbe <jluebbe@...net.de>,
Alexander Sverdlin <alexander.sverdlin@....com>,
Michael Stickel <ms@...able.de>,
Guenter Roeck <linux@...ck-us.net>,
Dirk Behme <dirk.behme@...il.com>,
Alan Tull <delicious.quinoa@...il.com>,
Sascha Hauer <s.hauer@...gutronix.de>,
Michael Bohan <mbohan@...eaurora.org>,
Ionut Nicu <ioan.nicu.ext@....com>,
Michal Simek <monstr@...str.eu>,
Matt Ranostay <mranostay@...il.com>, linux-i2c@...r.kernel.org,
devicetree@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] of: i2c: Export single device registration method
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@...oniou-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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists