Devicetree
 help / color / mirror / Atom feed
From: Danila Tikhonov <danila@mainlining.org>
To: Mauro Carvalho Chehab <mchehab@kernel.org>,
	 Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	 Conor Dooley <conor+dt@kernel.org>, Kate Hsuan <hpa@redhat.com>,
	 Sakari Ailus <sakari.ailus@linux.intel.com>,
	 Bjorn Andersson <andersson@kernel.org>,
	 Konrad Dybcio <konradybcio@kernel.org>,
	Eugene Lepshy <fekz115@gmail.com>,
	 Vasiliy Doylov <neko@altlinux.org>,
	Achill Gilgenast <achill@achill.org>,
	 Luca Weiss <luca.weiss@fairphone.com>
Cc: linux-media@vger.kernel.org, devicetree@vger.kernel.org,
	 linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org,
	 ~postmarketos/upstreaming@lists.sr.ht,
	 Danila Tikhonov <danila@mainlining.org>
Subject: [PATCH 2/4] drivers: media: i2c: imx471: Add vdig and vif power supplies
Date: Wed, 05 Aug 2026 22:54:25 +0300	[thread overview]
Message-ID: <20260805-imx471-v1-2-7be79f539ed8@mainlining.org> (raw)
In-Reply-To: <20260805-imx471-v1-0-7be79f539ed8@mainlining.org>

According to the product brief, the IMX471 sensor requires analog
(vana, 2.8V), digital (vdig, 1.05V), and interface (vif, 1.8V) power
supplies. Currently, only the analog supply is requested.

Add 'vdig' and 'vif' to the regulator supply array. Following the
pattern of other media i2c drivers (e.g., imx219, imx415), the regulator
core will automatically substitute dummy regulators if these are
missing.

Signed-off-by: Danila Tikhonov <danila@mainlining.org>
---
 drivers/media/i2c/imx471.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/drivers/media/i2c/imx471.c b/drivers/media/i2c/imx471.c
index 4053aed84340..3ad123699f14 100644
--- a/drivers/media/i2c/imx471.c
+++ b/drivers/media/i2c/imx471.c
@@ -117,7 +117,9 @@
 #define to_imx471(_sd) container_of_const(_sd, struct imx471, sd)
 
 static const char * const imx471_supply_name[] = {
-	"vana",
+	"vana", /* 2p8V */
+	"vdig", /* 1p05V */
+	"vif",  /* 1p8V */
 };
 
 struct imx471_mode {

-- 
2.55.0


  parent reply	other threads:[~2026-08-05 19:55 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-08-05 19:54 [PATCH 0/4] Add front-facing camera support for Nothing Phone (1) Danila Tikhonov
2026-08-05 19:54 ` [PATCH 1/4] dt-bindings: media: i2c: Add Sony IMX471 CMOS Image Sensor Danila Tikhonov
2026-08-06 10:33   ` Sakari Ailus
2026-08-05 19:54 ` Danila Tikhonov [this message]
2026-08-05 19:54 ` [PATCH 3/4] drivers: media: i2c: imx471: Add Device Tree matching support Danila Tikhonov
2026-08-05 20:37   ` sashiko-bot
2026-08-05 19:54 ` [PATCH 4/4] arm64: dts: qcom: sm7325-nothing-spacewar: Add front camera support Danila Tikhonov

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=20260805-imx471-v1-2-7be79f539ed8@mainlining.org \
    --to=danila@mainlining.org \
    --cc=achill@achill.org \
    --cc=andersson@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=fekz115@gmail.com \
    --cc=hpa@redhat.com \
    --cc=konradybcio@kernel.org \
    --cc=krzk+dt@kernel.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-media@vger.kernel.org \
    --cc=luca.weiss@fairphone.com \
    --cc=mchehab@kernel.org \
    --cc=neko@altlinux.org \
    --cc=robh@kernel.org \
    --cc=sakari.ailus@linux.intel.com \
    --cc=~postmarketos/upstreaming@lists.sr.ht \
    /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