Re: [PATCH 1/2] PCI: loongson: add skip-scan property for child DT node

From: Jiaxun Yang
Date: Thu Nov 03 2022 - 07:38:10 EST




在 2022/11/3 09:00, Liu Peibao 写道:
The PCI Controller of 2k1000 could not mask devices by
setting vender id & device id in configuration space header
as invalid values. When there are pins shareble between
the platform device and PCI device, if the platform device
is preferred, we should not scan this PCI device. In the
above scene, add "skip-scan" property in DT node of this
PCI device.

If you are going to add a new property you need to document it somewhere.

From my point of view you can use existing property `status = "disabled"`
to for this semantic...

Thanks.
- Jiaxun



Signed-off-by: Liu Peibao <liupeibao@xxxxxxxxxxx>
---