[PATCH v2 1/3] dt-bindings: interrupt-controller: Add Sophgo SG2042 MSI
Krzysztof Kozlowski
krzk at kernel.org
Mon Dec 9 01:28:36 PST 2024
On Mon, Dec 09, 2024 at 03:11:29PM +0800, Chen Wang wrote:
> + msi-controller: true
> +
> + msi-ranges:
> + maxItems: 1
> +
> + sophgo,msi-doorbell-addr:
> + description:
> + u64 value of the MSI doorbell address
> + $ref: /schemas/types.yaml#/definitions/uint64
reg, as asked last time. 'reg' does not mean you need to ioremap it.
> +
> +required:
> + - compatible
> + - reg
> + - reg-names
> + - msi-controller
> + - msi-ranges
> + - sophgo,msi-doorbell-addr
> +
> +additionalProperties: true
Nope, this cannot be true. There is no single device binding like that,
so do not introduce your own conventions.
> +
> +examples:
> + - |
> + #include <dt-bindings/interrupt-controller/irq.h>
> + msi: msi-controller at 30000000 {
Drop unused label.
Best regards,
Krzysztof
More information about the linux-riscv
mailing list