All of lore.kernel.org
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Alexander Koskovich" <akoskovich@pm.me>
Cc: conor+dt@kernel.org, devicetree@vger.kernel.org, robh@kernel.org
Subject: Re: [PATCH v4 2/3] media: iris: Add support for Milos (VPU v2.0)
Date: Mon, 06 Jul 2026 22:20:09 +0000	[thread overview]
Message-ID: <20260706222009.E13571F000E9@smtp.kernel.org> (raw)
In-Reply-To: <20260706-milos-iris-v4-2-119cbe0a7262@pm.me>

Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Low] The devicetree compatible string uses the internal codename 'milos' instead of the SoC name, violating DT naming conventions.
--

--- Patch [2]: [PATCH v4 2/3] media: iris: Add support for Milos (VPU v2.0) ---
commit 70c032abc00c4a3de218f6fa34ded1b140a7719c
Author: Alexander Koskovich <akoskovich@pm.me>

media: iris: Add support for Milos (VPU v2.0)

This commit adds support for the Milos Iris codec. It targets the variant
found on the SM7635-AB which has half of its pipes disabled.

> diff --git a/drivers/media/platform/qcom/iris/iris_probe.c b/drivers/media/platform/qcom/iris/iris_probe.c
> index c2dcb50a27824..353cda58514c2 100644
> --- a/drivers/media/platform/qcom/iris/iris_probe.c
> +++ b/drivers/media/platform/qcom/iris/iris_probe.c
> @@ -360,6 +360,10 @@ static const struct dev_pm_ops iris_pm_ops = {
>  };
>  
>  static const struct of_device_id iris_dt_match[] = {
> +	{
> +		.compatible = "qcom,milos-iris",

[Severity: Low]
This isn't a bug, but should the compatible string in iris_dt_match[] use the
SoC identifier (e.g., "qcom,sm7635-iris") instead of the internal codename
"milos"? 

Using codenames violates standard devicetree naming conventions for Qualcomm
blocks and creates a non-standard ABI that is difficult to deprecate once
merged.

> +		.data = &milos_data,
> +	},
>  	{
>  		.compatible = "qcom,qcs8300-iris",
>  		.data = &qcs8300_data,

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20260706-milos-iris-v4-0-119cbe0a7262@pm.me?part=2

  reply	other threads:[~2026-07-06 22:20 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-07-06 22:05 [PATCH v4 0/3] Add support for the Iris codec on Milos Alexander Koskovich
2026-07-06 22:05 ` [PATCH v4 1/3] dt-bindings: media: qcom,milos-iris: Add Milos video codec Alexander Koskovich
2026-07-06 22:05 ` [PATCH v4 2/3] media: iris: Add support for Milos (VPU v2.0) Alexander Koskovich
2026-07-06 22:20   ` sashiko-bot [this message]
2026-07-06 22:42   ` Dmitry Baryshkov
2026-07-06 22:06 ` [PATCH v4 3/3] arm64: dts: qcom: milos: Add Iris VPU v2.0 Alexander Koskovich

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=20260706222009.E13571F000E9@smtp.kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=akoskovich@pm.me \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.