All of lore.kernel.org
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Alain Volmat" <alain.volmat@foss.st.com>
Cc: conor+dt@kernel.org, devicetree@vger.kernel.org, robh@kernel.org
Subject: Re: [PATCH 2/2] arm64: dts: st: add dcmi node on stm32mp23x
Date: Mon, 14 Sep 2026 07:21:14 +0000	[thread overview]
Message-ID: <20260914072115.5CE4F1F00893@smtp.kernel.org> (raw)
In-Reply-To: <20260914-stm32mp2x-dcmi-v1-2-c594e081d21b@foss.st.com>

Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Low] Missing unconditionally required 'port' property in the newly added 'dcmi' node, causing a dtbs_check warning.
--

commit 42a2863a4d17c3ffce4549b0b100b843b4aeb937
Author: Alain Volmat <alain.volmat@foss.st.com>

arm64: dts: st: add dcmi node on stm32mp23x

This commit adds the devicetree node for the DCMI controller in the
stm32mp231.dtsi include file.

> diff --git a/arch/arm64/boot/dts/st/stm32mp231.dtsi b/arch/arm64/boot/dts/st/stm32mp231.dtsi
> index 0feb8943efae6..ad008049384b7 100644
> --- a/arch/arm64/boot/dts/st/stm32mp231.dtsi
> +++ b/arch/arm64/boot/dts/st/stm32mp231.dtsi
> @@ -646,6 +646,20 @@ uart7: serial@40370000 {
>  				status = "disabled";
>  			};
>  
> +			dcmi: dcmi@404a0000 {
> +				compatible = "st,stm32-dcmi";
> +				reg = <0x404a0000 0x400>;
> +				interrupts = <GIC_SPI 141 IRQ_TYPE_LEVEL_HIGH>;
> +				resets = <&rcc CCI_R>;
> +				clocks = <&rcc CK_BUS_CCI>;
> +				clock-names = "mclk";
> +				dmas = <&hpdma 137 0x60 0x00003012>;
> +				dma-names = "tx";
> +				access-controllers = <&rifsc 88>;
> +				power-domains = <&cluster_pd>;
> +				status = "disabled";
> +			};

[Severity: Low]
Does this node need a 'port' property to satisfy the st,stm32-dcmi.yaml
dt-binding?

While the driver safely handles a missing endpoint in dcmi_probe() by
returning -ENODEV:

drivers/media/platform/st/stm32/stm32-dcmi.c:dcmi_probe() {
	...
	np = of_graph_get_endpoint_by_regs(np, 0, -1);
	if (!np) {
		dev_err(&pdev->dev, "Could not find the endpoint\n");
		return -ENODEV;
	}
	...
}

the binding schema unconditionally requires the port property, which will
trigger a dtbs_check warning when omitted.

[ ... ]

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20260914-stm32mp2x-dcmi-v1-0-c594e081d21b@foss.st.com?part=2

  reply	other threads:[~2026-09-14  7:21 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-14  7:09 [PATCH 0/2] arm64: dts: st: add dcmi nodes in stm32mp231 / stm32mp251 Alain Volmat
2026-09-14  7:09 ` [PATCH 1/2] arm64: dts: st: add dcmi node on stm32mp25x Alain Volmat
2026-09-14  7:09 ` [PATCH 2/2] arm64: dts: st: add dcmi node on stm32mp23x Alain Volmat
2026-09-14  7:21   ` sashiko-bot [this message]
2026-09-28 12:39 ` [PATCH 0/2] arm64: dts: st: add dcmi nodes in stm32mp231 / stm32mp251 Alexandre TORGUE

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=20260914072115.5CE4F1F00893@smtp.kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=alain.volmat@foss.st.com \
    --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.