Re: [PATCH 1/3] dt-bindings: virtio: Add Qualcomm DCP transport
From: Krzysztof Kozlowski
Date: Sun Nov 29 2026 - 04:55:46 EST
On Thu, Nov 26, 2026 at 11:53:59AM +0530, Jayant Shekhar wrote:
> +maintainers:
> + - Jayant Shekhar <jayant.shekhar@xxxxxxxxxxxxxxxx>
> +
> +description: |
> + Qualcomm DCP VirtIO transport. The IPCC power-notify channel and
> + associated interrupts are required before the transport can access its
> + MMIO registers. This is a Qualcomm-specific transport and must not use the
> + generic virtio-mmio driver. The DCP VirtIO function is described as a child
> + node and is assigned to the registered VirtIO device by this transport.
> +
> +properties:
> + compatible:
> + const: qcom,dcp-virtio
Both this and descripton feels like describing driver.
> +
> + reg:
> + maxItems: 1
> +
> + interrupts-extended:
There is no such syntax. Please use existing sources as an
example/starting point.
> + minItems: 2
> + maxItems: 2
> + description: The VirtIO-MMIO and DCP power-notify interrupts, in that order.
> +
> + iommus:
> + maxItems: 1
> +
> + iommu-ranges:
> + $ref: /schemas/types.yaml#/definitions/uint32-array
> + description: |
> + The firmware-visible IOVA range, specified using the parent bus's
> + #address-cells followed by its #size-cells. The DCP transport uses two
> + cells for each, encoding a 64-bit IOVA base followed by a 64-bit range
> + size.
> + items:
> + - description: IOVA base, high cell
> + $ref: /schemas/types.yaml#/definitions/uint32
> + - description: IOVA base, low cell
> + $ref: /schemas/types.yaml#/definitions/uint32
> + - description: IOVA range size, high cell
> + $ref: /schemas/types.yaml#/definitions/uint32
> + - description: IOVA range size, low cell
> + $ref: /schemas/types.yaml#/definitions/uint32
> +
> + dma-coherent: true
> +
> + mboxes:
> + maxItems: 1
> +
> + mbox-names:
> + const: dcp-power-tx
> +
> + display-subsystem:
> + $ref: ../display/msm/qcom,dcp.yaml#
1. Need full paths.
2. Fails tests, fails merging.
> +
> +required:
> + - compatible
> + - reg
> + - interrupts-extended
> + - iommus
> + - iommu-ranges
> + - dma-coherent
> + - mboxes
> + - mbox-names
> + - display-subsystem
> +
> +additionalProperties: false
> +
> +examples:
> + - |
> + #include <dt-bindings/gpio/gpio.h>
> + #include <dt-bindings/interrupt-controller/arm-gic.h>
> + #include <dt-bindings/interrupt-controller/irq.h>
> + #include <dt-bindings/mailbox/qcom-ipcc.h>
> +
> + / {
Nope
> + compatible = "qcom,hawi-mtp", "qcom,hawi";
> + model = "Qualcomm Technologies, Inc. Hawi MTP";
> + #address-cells = <2>;
> + #size-cells = <2>;
No, really. Neither needed nor correct.
> +
> + virtio@9be8000 {
Not correct, how this can be in top-level?
Best regards,
Krzysztof