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 1/4] arm64: dts: st: add imx335/csi/dcmipp nodes on stm32mp257f-dk
Date: Mon, 14 Sep 2026 07:03:24 +0000	[thread overview]
Message-ID: <20260914070324.A96A91F00898@smtp.kernel.org> (raw)
In-Reply-To: <20260914-stm32mp2-dk-camera-v1-1-2f2bd719bb63@foss.st.com>

Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Medium] Using a `gpio-hog` to enable the IMX335 power line circumvents the camera driver's runtime power management.
--

commit 933d75b3c84530835787fe0315d18eced64336b3
Author: Alain Volmat <alain.volmat@foss.st.com>

arm64: dts: st: add imx335/csi/dcmipp nodes on stm32mp257f-dk

This commit adds all nodes necessary for the imx335 camera capture via CSI
and DCMIPP on the stm32mp257f discovery board.

> diff --git a/arch/arm64/boot/dts/st/stm32mp257f-dk.dts b/arch/arm64/boot/dts/st/stm32mp257f-dk.dts
> index 8daf3dfd51339..39ad23d95069c 100644
> --- a/arch/arm64/boot/dts/st/stm32mp257f-dk.dts
> +++ b/arch/arm64/boot/dts/st/stm32mp257f-dk.dts

[ ... ]

> @@ -160,6 +205,16 @@ phy1_eth1: ethernet-phy@1 {
>  	};
>  };
>  
> +&gpiob {
> +	/* Enable the IMX335 power line */
> +	imx335-en-hog {
> +		gpio-hog;

[Severity: Medium]
Does using a gpio-hog to enable the IMX335 power line circumvent the camera
driver's runtime power management?

By permanently asserting the power line upon boot, the IMX335 camera sensor
remains fully powered at all times, preventing the system from reducing power
draw when the camera is not active. This wastes energy and breaks the expected
runtime power management.

> +		gpios = <11 GPIO_ACTIVE_HIGH>;
> +		output-high;
> +		line-name = "imx335_en";
> +	};
> +};
>  
>  &i2c2 {

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20260914-stm32mp2-dk-camera-v1-0-2f2bd719bb63@foss.st.com?part=1

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

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-14  6:54 [PATCH 0/4] arm64: dts: st: enable camera on stm32mp2x-dk and correct stm32mp2x-ev Alain Volmat
2026-09-14  6:54 ` [PATCH 1/4] arm64: dts: st: add imx335/csi/dcmipp nodes on stm32mp257f-dk Alain Volmat
2026-09-14  7:03   ` sashiko-bot [this message]
2026-09-14  6:54 ` [PATCH 2/4] arm64: dts: st: ensure IMX335 is enabled on stm32mp257f-ev1 Alain Volmat
2026-09-14  7:01   ` sashiko-bot
2026-09-14  6:54 ` [PATCH 3/4] arm64: dts: st: use video-interfaces media bus type in stm32mp257f-ev1 Alain Volmat
2026-09-14  6:54 ` [PATCH 4/4] arm64: dts: st: add imx335/csi/dcmipp nodes on stm32mp235f-dk Alain Volmat
2026-09-28 12:36 ` [PATCH 0/4] arm64: dts: st: enable camera on stm32mp2x-dk and correct stm32mp2x-ev 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=20260914070324.A96A91F00898@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.