[RFC 3/3] olpc-battery: bind to device tree

Daniel Drake dsd at laptop.org
Sun Mar 13 04:56:12 EST 2011


On 5 March 2011 04:54, Grant Likely <grant.likely at secretlab.ca> wrote:
> I want to see all new compatible properties documented in
> Documentation/devicetree/bindings.  It may not be the best place for
> binding documentation since it is currently tied to Linux, but it is
> better than anything else we currently have.

Ok, how do you think it should look?

Something simple like this? new file at bindings/power_supply/olpc_battery.txt :

OLPC battery
~~~~~~~~~~~~

Required properties:
  - compatible : "olpc,xo1-battery"




Daniel


More information about the devicetree-discuss mailing list