Thread (98 messages) flat view 98 messages, 11 authors, 2014-05-05
STALE4484d

[PATCH 21/21] ARM: Kirkwood: Remove DT support

From: Simon Guinot <hidden>
Date: 2014-02-25 15:09:44

On Tue, Feb 25, 2014 at 04:36:14PM +0100, Arnd Bergmann wrote:
On Tuesday 25 February 2014, Simon Guinot wrote:
quoted
On Tue, Feb 25, 2014 at 01:44:23PM +0100, Arnd Bergmann wrote:
quoted
On Sunday 23 February 2014, Simon Guinot wrote:
quoted
I am quite busy this days but as soon I get some free time I will take
care of the DT conversion for the Lacie boards.

Basically, we need to fix some minor issues with the Thomas patches:

ARM: kirkwood: convert d2net_v2 to DT
ARM: kirkwood: convert LaCie Net{2, 5}Big v2 platforms to DT

And also a DT binding must be added to the LED driver leds-netxbig.
I just took a brief look at the LED driver. I think it would be
reasonable to move almost all of the platform_data into the driver
itself and associate the two versions with distinct "compatible"
strings. That works in this particular case because while the driver
is generic enough to handle other cases, I also wouldn't expect
it to ever get used again on another platform.
Actually, this driver is also used by the Atom-based LaCie NASes.
Mainline support for this platforms should be provided soon.
Do you use DT for those machines as well, or how do you get the
data into the driver there?
We are using the old fashion platform_device mechanism. The resources
are defined in some board-setup files stored in the arch/x86/platform
repository.
quoted
quoted
The main change to the driver would be to add support for a binding
that gets the seven gpio numbers out of the DT then.
Unfortunately not, we have to pass the whole thing through DT.
Ok :(
Yes, it is pain in the ass :(

Simon
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20140225/12c47ef2/attachment.sig>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help