[RFC PATCH 0/7] QEMU patches to generate FDT from qdevs
Grant Likely
grant.likely at secretlab.ca
Wed Apr 7 14:09:57 EST 2010
Hi everyone,
This is an experimental set of patches for populating the flattened
device tree (fdt) data from the actual set of qdevs in the platform.
I'm not expecting this to get merged anytime soon, but I wanted to get
it out there to solicit comments. My target for this is testing
device tree support on ARM.
The approach is by no means final, and there are still a number of
details to work out, but I've got it working well with the versatile
platform and I've got the kernel using fdt data to bind against the
smc91x device driver. I'll be posting my associated kernel patches
real-soon-now.
This series is based on Jeremy Kerr's device tree branch found here:
git://kernel.ubuntu.com/jk/dt/qemu.git
Cheers,
g.
---
Grant Likely (7):
devicetree: Add fdt_populate hook to smc91x device
devicetree: Add fdt_populate hook to pl011 device
devicetree: Add helper to register devices with an fdt_populate hook
devicetree: Add sysbus fdt populate hooks.
devicetree: add helper for determining IRQ properties in the device tree
devicetree: auto-populate the device tree with qdev data
devicetree: Add 8k instead of double dtb size when reserving extra memory
device_tree.c | 4 +-
hw/arm_boot.c | 3 +
hw/pl011.c | 29 ++++++++++--
hw/qdev.c | 139 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
hw/qdev.h | 9 ++++
hw/smc91c111.c | 20 ++++++++
hw/sysbus.c | 107 +++++++++++++++++++++++++++++++++++++++++++
hw/sysbus.h | 4 ++
8 files changed, 309 insertions(+), 6 deletions(-)
--
Signature
More information about the devicetree-discuss
mailing list