Re: [PATCH v3 2/7] dt-bindings: serial: 8250: aspeed: add aspeed,vuart-over-pci bool prop
Krzysztof Kozlowski <[email protected]> Wed, 24 Jun 2026 09:17:46 +0200
| Newsgroups | org.ozlabs.lists.linux-aspeed,org.infradead.lists.linux-arm-kernel,org.kernel.vger.linux-devicetree,org.kernel.vger.linux-kernel,org.kernel.vger.linux-serial |
|---|---|
| Message-ID | <20260624-original-vigorous-mayfly-dfceac@quoll> |
On Tue, Jun 23, 2026 at 02:25:40PM +0000, Grégoire Layet wrote: > The ASPEED AST2600 has 2 VUART accessible over PCI. What does that mean? How UART can be accessible over PCI bus? > This boolean can be set to specify if the VUART is used over PCI. > > Signed-off-by: Grégoire Layet <[email protected]> > --- > .../devicetree/bindings/serial/8250.yaml | 15 +++++++++++++++ > 1 file changed, 15 insertions(+) > > diff --git a/Documentation/devicetree/bindings/serial/8250.yaml b/Documentation/devicetree/bindings/serial/8250.yaml > index 3cbd0f532e15..b03797f4674d 100644 > --- a/Documentation/devicetree/bindings/serial/8250.yaml > +++ b/Documentation/devicetree/bindings/serial/8250.yaml > @@ -26,6 +26,14 @@ allOf: > anyOf: > - const: aspeed,ast2500-vuart > - const: aspeed,ast2600-vuart > + - if: > + anyOf: > + - required: > + - aspeed,vuart-over-pci > + then: > + properties: > + compatible: > + const: aspeed,ast2600-vuart > - if: > properties: > compatible: > @@ -312,6 +320,13 @@ properties: > polarity (IRQ_TYPE_LEVEL_LOW or IRQ_TYPE_LEVEL_HIGH). Only > applicable to aspeed,ast2500-vuart and aspeed,ast2600-vuart. > > + aspeed,vuart-over-pci: > + type: boolean > + default: false There is no such syntax. Please do not introduce own style. Instead, look at other files how this is done. > + description: | Do not need '|' unless you need to preserve formatting. > + Enable the VUART over the BMC PCI device. Only applicable to > + aspeed,ast2600-vuart. Best regards, Krzysztof