[PATCH 2/2] dt-bindings: PCI: loongson: Document msi-parent property

Yao Zi posted 2 patches 1 week, 2 days ago
[PATCH 2/2] dt-bindings: PCI: loongson: Document msi-parent property
Posted by Yao Zi 1 week, 2 days ago
Loongson PCI controllers found in LS2K1000/2000 SoCs
(loongson,ls2k-pci), 7A1000/2000 bridge chips (loongson,ls7a-pci), and
RS780E bridge chips (loongson,rs780e-pci) all have their paired MSI
controllers.

Though only the one in LS2K2000 SoC is described in devicetree, we
should document the property for all variants. For the same reason, it
isn't marked as required for now.

Fixes: 83e757ecfd5d ("dt-bindings: Document Loongson PCI Host Controller")
Signed-off-by: Yao Zi <me@ziyao.cc>
---
 Documentation/devicetree/bindings/pci/loongson.yaml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/Documentation/devicetree/bindings/pci/loongson.yaml b/Documentation/devicetree/bindings/pci/loongson.yaml
index e5bba63aa947..26e77218b901 100644
--- a/Documentation/devicetree/bindings/pci/loongson.yaml
+++ b/Documentation/devicetree/bindings/pci/loongson.yaml
@@ -32,6 +32,8 @@ properties:
     minItems: 1
     maxItems: 3
 
+  msi-parent: true
+
 required:
   - compatible
   - reg
-- 
2.51.2
Re: [PATCH 2/2] dt-bindings: PCI: loongson: Document msi-parent property
Posted by Rob Herring (Arm) 1 week, 2 days ago
On Tue, 09 Dec 2025 14:00:06 +0000, Yao Zi wrote:
> Loongson PCI controllers found in LS2K1000/2000 SoCs
> (loongson,ls2k-pci), 7A1000/2000 bridge chips (loongson,ls7a-pci), and
> RS780E bridge chips (loongson,rs780e-pci) all have their paired MSI
> controllers.
> 
> Though only the one in LS2K2000 SoC is described in devicetree, we
> should document the property for all variants. For the same reason, it
> isn't marked as required for now.
> 
> Fixes: 83e757ecfd5d ("dt-bindings: Document Loongson PCI Host Controller")
> Signed-off-by: Yao Zi <me@ziyao.cc>
> ---
>  Documentation/devicetree/bindings/pci/loongson.yaml | 2 ++
>  1 file changed, 2 insertions(+)
> 

Acked-by: Rob Herring (Arm) <robh@kernel.org>
Re: [PATCH 2/2] dt-bindings: PCI: loongson: Document msi-parent property
Posted by Krzysztof Kozlowski 1 week, 2 days ago
On 09/12/2025 23:39, Rob Herring (Arm) wrote:
> 
> On Tue, 09 Dec 2025 14:00:06 +0000, Yao Zi wrote:
>> Loongson PCI controllers found in LS2K1000/2000 SoCs
>> (loongson,ls2k-pci), 7A1000/2000 bridge chips (loongson,ls7a-pci), and
>> RS780E bridge chips (loongson,rs780e-pci) all have their paired MSI
>> controllers.
>>
>> Though only the one in LS2K2000 SoC is described in devicetree, we
>> should document the property for all variants. For the same reason, it
>> isn't marked as required for now.
>>
>> Fixes: 83e757ecfd5d ("dt-bindings: Document Loongson PCI Host Controller")
>> Signed-off-by: Yao Zi <me@ziyao.cc>
>> ---
>>  Documentation/devicetree/bindings/pci/loongson.yaml | 2 ++
>>  1 file changed, 2 insertions(+)
>>
> 
> Acked-by: Rob Herring (Arm) <robh@kernel.org>
> 

Seems my explicit pointing towards Loongarch during OSS talk brought
some effects...

Best regards,
Krzysztof