Devicetree
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Atanas Filipov" <atanas.filipov@oss.qualcomm.com>
Cc: devicetree@vger.kernel.org, robh@kernel.org, krzk+dt@kernel.org,
	conor+dt@kernel.org
Subject: Re: [PATCH 3/3] arm64: qcom: dts: qcm6490: Add JPEG encoder DT properties
Date: Fri, 15 May 2026 12:36:56 +0000	[thread overview]
Message-ID: <20260515123657.3889EC2BCB0@smtp.kernel.org> (raw)
In-Reply-To: <20260515-qcom-jpeg-v4l2-v1-3-f38c2e1b3555@oss.qualcomm.com>

Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Low] The new device tree node violates generic naming conventions and contains properties that will fail DT schema validation.
--

commit b8074fba99ec8410569dbab1538fc6fc7f0597b9
Author: Atanas Filipov <atanas.filipov@oss.qualcomm.com>
arm64: qcom: dts: qcm6490: Add JPEG encoder DT properties

Add the required JPEG encoder definitions to the device tree.

> diff --git a/arch/arm64/boot/dts/qcom/kodiak.dtsi b/arch/arm64/boot/dts/qcom/kodiak.dtsi
> --- a/arch/arm64/boot/dts/qcom/kodiak.dtsi
> +++ b/arch/arm64/boot/dts/qcom/kodiak.dtsi
[ ... ]
> @@ -5305,6 +5305,58 @@ port@4 {
>  			};
>  		};
>  
> +		qcom_jpeg_enc: qcom,jpegenc@ac4e000 {

This isn't a bug, but does this node name violate generic naming
conventions? Devicetree specifications generally require using generic
names such as jpeg-encoder@ac4e000 or video-codec@ac4e000 instead of
vendor-specific names.

> +				cell-index = <0>;

Can this cause a schema validation failure? The cell-index property does
not appear to be defined in the qcom,jpeg-encoder.yaml schema. Since the
schema specifies additionalProperties: false, this undocumented property
will trigger a make dtbs_check validation error.

> +				compatible = "qcom,qcm6490-jenc";
> +
> +				reg =
> +						<0 0xac4e000 0 0x4000>,
> +						<0 0xac40000 0 0x1000>;
> +
> +				reg-names =
> +						"jpeg_regs",
> +						"cpas_regs";

Are these reg-names aligned with the schema constraints? It appears they
use underscores, whereas the schema explicitly constrains these items to
use hyphens (jpeg-regs, cpas-regs). This mismatch will cause schema
validation to fail, even though the driver retrieves them safely by index.

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20260515-qcom-jpeg-v4l2-v1-0-f38c2e1b3555@oss.qualcomm.com?part=3

      parent reply	other threads:[~2026-05-15 12:36 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-05-15 11:46 [PATCH 0/3] Subject: [PATCH 0/3] media: qcom: Add Qualcomm JPEG encoder driver Atanas Filipov
2026-05-15 11:46 ` [PATCH 1/3] media: dt-bindings: qcom: add JPEG encoder binding Atanas Filipov
2026-05-15 11:57   ` sashiko-bot
2026-05-15 12:13   ` Dmitry Baryshkov
2026-05-15 12:16   ` Krzysztof Kozlowski
2026-05-15 11:47 ` [PATCH 2/3] qcom: media: jpeg: Add Qualcomm JPEG V4L2 encoder Atanas Filipov
2026-05-15 12:21   ` Krzysztof Kozlowski
     [not found]     ` <SA1PR02MB11289FA5C2A01466B49C62D4BDD042@SA1PR02MB11289.namprd02.prod.outlook.com>
2026-05-15 12:29       ` Krzysztof Kozlowski
2026-05-15 12:23   ` sashiko-bot
2026-05-15 13:28   ` Dmitry Baryshkov
2026-05-15 13:50     ` Nicolas Dufresne
2026-05-15 11:47 ` [PATCH 3/3] arm64: qcom: dts: qcm6490: Add JPEG encoder DT properties Atanas Filipov
2026-05-15 12:16   ` Dmitry Baryshkov
2026-05-15 12:17   ` Krzysztof Kozlowski
2026-05-15 12:36   ` sashiko-bot [this message]

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=20260515123657.3889EC2BCB0@smtp.kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=atanas.filipov@oss.qualcomm.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=krzk+dt@kernel.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