]> git.karo-electronics.de Git - karo-tx-uboot.git/commit
x86: crownbay: Support Topcliff integrated pci uart devices with driver model
authorBin Meng <bmeng.cn@gmail.com>
Mon, 24 Aug 2015 08:14:03 +0000 (01:14 -0700)
committerLothar Waßmann <LW@KARO-electronics.de>
Thu, 10 Sep 2015 09:29:48 +0000 (11:29 +0200)
commitb7a1c662d91ba7335ad419089d0e28dfc53607f6
treee4025923ab2e0b5ff97549d186bf03d5066f3752
parent1802626719f4b42ee1743e75de7a9c1e6f2c1e06
x86: crownbay: Support Topcliff integrated pci uart devices with driver model

In order to make a pci uart device node to be properly bound to its
driver, we need make sure its parent node has a compatible string
which matches a driver that scans all of its child device nodes in
the device tree.

Change all pci bridge nodes under root pci node to use "pci-bridge"
compatible driver, as well as corresponding <reg> properties to
indicate its devfn. At last, adding "u-boot,dm-pre-reloc" to each
of these nodes for driver model to initialize them before relocation.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Acked-by: Simon Glass <sjg@chromium.org>
arch/x86/dts/crownbay.dts