From: sashiko-bot@kernel.org
To: "Jayant Shekhar" <jayant.shekhar@oss.qualcomm.com>
Cc: dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org,
robh@kernel.org, conor+dt@kernel.org, media-ci@linuxtv.org
Subject: Re: [PATCH v3 01/21] dt-bindings: display: msm: Add Qualcomm DCP
Date: Thu, 26 Nov 2026 06:44:57 +0000 [thread overview]
Message-ID: <sashiko-outbox-234896@kernel.org> (raw)
In-Reply-To: <20261126-jshekhar-v3-dcp-v3-1-f1e9d7505039@oss.qualcomm.com>
Thank you for your contribution! Sashiko AI review found 2 potential
issues to consider:
- [Medium] dt-bindings: display: msm: qcom,dcp globally claims generic
virtio,device34
- [Low] dt-bindings: display: msm: qcom,dcp: non-canonical property
order in interface@
--
commit f399de20b9c1b05effa463501fa719abbb97394c
Author: Jayant Shekhar <jayant.shekhar@oss.qualcomm.com>
dt-bindings: display: msm: Add Qualcomm DCP
This commit adds the Device Tree binding schema for the Qualcomm Display
Co-Processor (DCP) VirtIO display function.
> diff --git a/Documentation/devicetree/bindings/display/msm/qcom,dcp.yaml b/Documentation/devicetree/bindings/display/msm/qcom,dcp.yaml
> new file mode 100644
> index 0000000000000..ff7dc4e5c5eef
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/display/msm/qcom,dcp.yaml
> @@ -0,0 +1,159 @@
[ ... ]
> +properties:
> + compatible:
> + const: virtio,device34
[Severity: Medium]
Does defining compatible solely as const: virtio,device34 without a select
rule cause dtschema to apply this Qualcomm DCP schema globally to every
vendor-specific VirtIO device node?
VIRTIO_ID_VENDOR (0x34) is a generic device ID shared across all
vendor-specific VirtIO functions, and virtio_device_of_init() matches child
nodes against virtio,device<hex_id>. Without select: false (assuming the
parent transport schema references this schema directly) or a device-specific
compatible string, dtbs_check will enforce Qualcomm DCP's required properties
(iommus, ports, #address-cells, #size-cells) and unevaluatedProperties: false
on any non-DCP device using virtio,device34. In addition, commit "virtio:
Add vendor-specific device ID" notes that device ID 52 (0x34) is only proposed
for VirtIO TC allocation and not yet formally allocated, so hardcoding
virtio,device34 here ties the DT binding ABI to an unallocated ID.
[ ... ]
> +patternProperties:
> + "^interface@[0-9a-f]+$":
> + type: object
> + properties:
> + "#address-cells":
> + const: 1
> + "#size-cells":
> + const: 0
> + reg:
> + maxItems: 1
> + description: DCP INTF index matching the output port.
[Severity: Low]
This isn't a bug, but in ^interface@[0-9a-f]+$, reg should be listed before
#address-cells and #size-cells under properties to match the canonical DT
property ordering as well as this node's required list and example.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261126-jshekhar-v3-dcp-v3-0-f1e9d7505039@oss.qualcomm.com?part=1
next prev parent reply other threads:[~2026-11-26 6:44 UTC|newest]
Thread overview: 39+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-26 6:29 [PATCH v3 00/21] drm/msm/dcp: Add Qualcomm DCP display support Jayant Shekhar
2026-11-26 6:29 ` [PATCH v3 01/21] dt-bindings: display: msm: Add Qualcomm DCP Jayant Shekhar
2026-11-26 6:44 ` sashiko-bot [this message]
2026-11-26 6:29 ` [PATCH v3 02/21] drm/msm/dcp: Add HFI packet helpers Jayant Shekhar
2026-11-26 6:52 ` sashiko-bot
2026-11-26 6:29 ` [PATCH v3 03/21] drm/msm/dcp: Add HFI device definitions Jayant Shekhar
2026-11-26 6:29 ` [PATCH v3 04/21] drm/msm/dcp: Add HFI display definitions Jayant Shekhar
2026-11-26 6:29 ` [PATCH v3 05/21] drm/msm/dcp: Add HFI panel definitions Jayant Shekhar
2026-11-26 6:40 ` sashiko-bot
2026-11-26 6:29 ` [PATCH v3 06/21] drm/msm/dcp: Add HFI VirtIO transport Jayant Shekhar
2026-11-26 6:51 ` sashiko-bot
2026-11-26 6:29 ` [PATCH v3 07/21] drm/msm/dcp: Handle asynchronous HFI responses Jayant Shekhar
2026-11-26 6:49 ` sashiko-bot
2026-11-26 6:29 ` [PATCH v3 08/21] drm/msm/dcp: Add generic HFI display commands Jayant Shekhar
2026-11-26 6:45 ` sashiko-bot
2026-11-26 6:29 ` [PATCH v3 09/21] drm/msm/dcp: Add HFI DSI and panel commands Jayant Shekhar
2026-11-26 6:54 ` sashiko-bot
2026-11-26 6:29 ` [PATCH v3 10/21] drm/msm/dcp: Add DCP CRTCs Jayant Shekhar
2026-11-26 6:58 ` sashiko-bot
2026-11-26 6:29 ` [PATCH v3 11/21] drm/msm/dcp: Add DCP planes Jayant Shekhar
2026-11-26 7:02 ` sashiko-bot
2026-11-26 6:29 ` [PATCH v3 12/21] drm/msm/dcp: Route HFI display events Jayant Shekhar
2026-11-26 6:50 ` sashiko-bot
2026-11-26 6:29 ` [PATCH v3 13/21] drm/msm/dcp: Add DCP encoder Jayant Shekhar
2026-11-26 6:42 ` sashiko-bot
2026-11-26 6:29 ` [PATCH v3 14/21] drm/msm/dcp: Add DCP DSI host and panel support Jayant Shekhar
2026-11-26 7:06 ` sashiko-bot
2026-11-26 6:29 ` [PATCH v3 15/21] drm/msm/dcp: Integrate the DSI bridge with KMS Jayant Shekhar
2026-11-26 6:53 ` sashiko-bot
2026-11-26 6:29 ` [PATCH v3 16/21] drm/msm/dcp: Register DCP display pipeline Jayant Shekhar
2026-11-26 7:03 ` sashiko-bot
2026-11-26 6:29 ` [PATCH v3 17/21] drm/msm: Export GPU component matching helper Jayant Shekhar
2026-11-26 6:29 ` [PATCH v3 18/21] drm/msm/dcp: Add DCP VirtIO driver Jayant Shekhar
2026-11-26 7:07 ` sashiko-bot
2026-11-26 6:29 ` [PATCH v3 19/21] drm/msm: Support KMS backends without a display IRQ Jayant Shekhar
2026-11-26 6:29 ` [PATCH v3 20/21] drm/msm: Register the DCP backend Jayant Shekhar
2026-11-26 7:00 ` sashiko-bot
2026-11-26 6:29 ` [PATCH v3 21/21] arm64: dts: qcom: hawi: Add DCP support Jayant Shekhar
2026-11-26 7:10 ` sashiko-bot
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=sashiko-outbox-234896@kernel.org \
--to=sashiko-bot@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=jayant.shekhar@oss.qualcomm.com \
--cc=media-ci@linuxtv.org \
--cc=robh@kernel.org \
--cc=sashiko-reviews@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).