Re: [PATCH] olpc_battery: bind to device tree

2011-05-20 Thread Anton Vorontsov
On Wed, Feb 23, 2011 at 01:34:30PM -0700, Grant Likely wrote: [cc'ing devicetree-discuss@lists.ozlabs.org. Please cc this list for any dt-related patches] On Sat, Feb 19, 2011 at 8:06 AM, Daniel Drake d...@laptop.org wrote: Move from being statically probed by platform presence to binding

Re: [PATCH] olpc_battery: bind to device tree

2011-05-20 Thread Daniel Drake
On 20 May 2011 16:21, Anton Vorontsov cbouatmai...@gmail.com wrote: I just wondering what happened with this patch?.. I sneakily posted it for review prematurely :) I have a corrected version based upon all received feedback, but this patch actually depends on another patch (for x86 tree) which

Re: [PATCH] olpc_battery: bind to device tree

2011-02-25 Thread Daniel Drake
On 25 February 2011 14:19, Daniel Drake d...@laptop.org wrote: /battery@0/compatible property added with value olpc-battery (XO-1 and XO-1.5) /pci/isa@f/rtc@i70/compatible property prepended with olpc-xo1-rtc, That comma at the end should be dropped. I just realised that the separator between

Re: [PATCH] olpc_battery: bind to device tree

2011-02-25 Thread Grant Likely
On Fri, Feb 25, 2011 at 7:19 AM, Daniel Drake d...@laptop.org wrote: On 23 February 2011 20:34, Grant Likely grant.lik...@secretlab.ca wrote: As mentioned in the other thread, matching by name is strongly discouraged.  It isn't very accurate and compatible is the preferred method for binding

Re: [PATCH] olpc_battery: bind to device tree

2011-02-23 Thread Grant Likely
[cc'ing devicetree-discuss@lists.ozlabs.org. Please cc this list for any dt-related patches] On Sat, Feb 19, 2011 at 8:06 AM, Daniel Drake d...@laptop.org wrote: Move from being statically probed by platform presence to binding to the battery node of the device tree. This is cleaner and