[U-Boot] [PATCH v3 0/4] dm: pci: Support pci devices in the device tree with driver model
Bin Meng
bmeng.cn at gmail.com
Sun Aug 23 10:32:57 CEST 2015
This is the 3rd attempt to support pci uart devices in the device tree
with driver model. The v2 patch series is at [1].
With this series, pci uart now works on Intel Crown Bay with driver model.
"dm tree" output below:
=> dm tree
Class Probed Name
----------------------------------------
root [ + ] root_driver
serial [ ] |-- serial
rtc [ ] |-- rtc
gpio [ ] |-- gpioa
gpio [ ] |-- gpiob
spi [ + ] |-- spi
spi_flash [ ] | `-- spi-flash at 0
pci [ + ] |-- pci
pci [ + ] | |-- pcie at 17,0
pci [ + ] | | `-- topcliff at 0,0
serial [ ] | | |-- uart at a,1
serial [ ] | | |-- uart at a,2
serial [ + ] | | |-- uart at a,3
serial [ ] | | |-- uart at a,4
pci_generic [ ] | | |-- pci_2:0.0
pci_generic [ ] | | |-- pci_2:0.1
pci_generic [ ] | | |-- pci_2:0.2
pci_generic [ ] | | |-- pci_2:2.0
pci_generic [ ] | | |-- pci_2:2.1
pci_generic [ ] | | |-- pci_2:2.2
pci_generic [ ] | | |-- pci_2:2.3
pci_generic [ ] | | |-- pci_2:6.0
pci_generic [ ] | | |-- pci_2:8.0
pci_generic [ ] | | |-- pci_2:8.1
pci_generic [ ] | | |-- pci_2:8.2
pci_generic [ ] | | |-- pci_2:8.3
pci_generic [ ] | | |-- pci_2:a.0
pci_generic [ ] | | |-- pci_2:c.0
pci_generic [ ] | | |-- pci_2:c.2
pci_generic [ ] | | `-- pci_2:c.3
pci_generic [ ] | |-- pci_0:0.0
pci_generic [ ] | |-- pci_0:2.0
pci [ + ] | |-- pci_0:18.0
pci [ + ] | |-- pci_0:19.0
pci [ + ] | |-- pci_0:1a.0
pci_generic [ ] | |-- pci_0:1b.0
pci_generic [ ] | `-- pci_0:1f.0
simple_bus [ + ] `-- cpus
cpu [ + ] |-- cpu at 0
cpu [ + ] `-- cpu at 1
[1] http://lists.denx.de/pipermail/u-boot/2015-August/224603.html
Changes in v3:
- Rebase on u-boot-x86/master
- Drop v2 patches which were already applied
Bin Meng (4):
dm: pci: Optimize pci_uclass_post_bind()
dm: core: Test dev->flags after device_probe() in device_probe_child()
x86: crownbay: Support Topcliff integrated pci uart devices with
driver model
dm: pci: Document binding of pci device drivers
arch/x86/dts/crownbay.dts | 15 ++++++---
doc/driver-model/pci-info.txt | 71 +++++++++++++++++++++++++++++++++++++++++--
drivers/core/device.c | 8 +++++
drivers/pci/pci-uclass.c | 7 +++++
4 files changed, 93 insertions(+), 8 deletions(-)
--
1.8.2.1
More information about the U-Boot
mailing list