Thread (1 message) 1 message, 1 author, 2012-04-04

Re: [RFC] powerpc/fsl-pci: Document the "fsl, has-isa" property for Freescale PCI

From: Kumar Gala <hidden>
Date: 2012-04-04 13:08:39
Also in: linuxppc-dev

On Apr 1, 2012, at 1:56 AM, Jia Hongtao wrote:
If PCI is primary bus we should set isa_io/mem_base when parsing PCI bridge
resources from device tree. The previous way to check the primary bus based
on a hard-coded address named primary_phb_addr. Now we add a property named
"fsl,has-isa" into device tree. In kernel we use this property to find out
the bus is primary or not. This way is more flexible.

Signed-off-by: Jia Hongtao <redacted>
Signed-off-by: Li Yang <redacted>
---
.../devicetree/bindings/powerpc/fsl/pci.txt        |   36 ++++++++++++++++++++
1 files changed, 36 insertions(+), 0 deletions(-)
create mode 100644 Documentation/devicetree/bindings/powerpc/fsl/pci.txt
This isn't freescale specific, its linux specific.  If anything the property should be linux,has-isa.

But in general I dont think this is a good idea.  In truth one could search the device tree for:

	device_type = "isa";

to try and set this dynamically.

- k
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help