[PATCH openfirmware] Add more info to device tree

James Cameron quozl at laptop.org
Sun Feb 27 22:32:01 EST 2011

On Sun, Feb 27, 2011 at 10:17:10PM +0000, Daniel Drake wrote:
> In Linux we plan to use the device tree for probing the DCON, battery,
> and XO-1 RTC drivers.
> Add the required information using the naming scheme suggested by
> Grant Likely.

Tested on XO-1.5 using a build of Q3A62 plus this patch, against 10.1.3
and 11.2.0 os11, the following /ofw entries were visible:

/ofw/pci/isa at 11/rtc at i70/compatible -> 'olpc,xo1-rtc' 'pnpPNP,b00'
(previously only 'pnpPNP,b00')

/ofw/pci/display at 1/dcon/compatible -> 'olpc,xo1-dcon'
(previously not present)

/ofw/battery at 0/compatible -> 'olpc,xo1-battery'
(previously not present)

Reviewed-by: James Cameron <quozl at laptop.org>
Tested-by: James Cameron <quozl at laptop.org>

James Cameron

More information about the Devel mailing list