From: Richard Acayan <mailingradian@gmail.com>
To: Sakari Ailus <sakari.ailus@linux.intel.com>
Cc: Bryan O'Donoghue <bryan.odonoghue@linaro.org>,
Mauro Carvalho Chehab <mchehab@kernel.org>,
Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Bjorn Andersson <andersson@kernel.org>,
Konrad Dybcio <konradybcio@kernel.org>,
Tianshu Qiu <tian.shu.qiu@intel.com>,
linux-media@vger.kernel.org, devicetree@vger.kernel.org,
linux-arm-msm@vger.kernel.org,
Robert Mader <robert.mader@collabora.com>,
Vladimir Zapolskiy <vladimir.zapolskiy@linaro.org>,
David Heidelberg <david@ixit.cz>,
phone-devel@vger.kernel.org
Subject: Re: [PATCH v7 2/5] media: i2c: imx355: Support devicetree and power management
Date: Wed, 28 Jan 2026 18:23:43 -0500 [thread overview]
Message-ID: <aXqaf4OmvSCvt5gu@rdacayan> (raw)
In-Reply-To: <aXnB2FUgb5OlGjfn@kekkonen.localdomain>
On Wed, Jan 28, 2026 at 09:59:20AM +0200, Sakari Ailus wrote:
> On Tue, Jan 27, 2026 at 09:53:38PM -0500, Richard Acayan wrote:
> > On Tue, Jan 20, 2026 at 04:49:21PM +0200, Sakari Ailus wrote:
> > > Hi Bryan, others,
> > >
> > > On Tue, Jan 20, 2026 at 12:44:24PM +0000, Bryan O'Donoghue wrote:
> > > > I think reset should be asserted before regulators and power are switched
> > > > on. i.e. before you try to switch the chip on, you should establish that the
> > > > reset pin is in the state that the timing diagram calls for.
> > >
> > > Indeed.
> >
> > I think the discussion is more about whether there should be an assert
> > in the same function as the de-assert.
> >
> > > The xshutdown pin, as it is typically called labelled as "reset" in this
> > > case, functions as both hardware reset and hardware standby mode control.
> > > It should be asserted (i.e. be set to low level) whenever the sensor is
> > > expected to be powered off. Typically deasserting it is the last step in
> > > the sensor's power-up sequence. This applies to nearly all CSI-2 and DVP
> > > (parallel) camera sensors. (There are some exceptions that use explicitly
> > > two GPIOs for similar functions but there are very few of them.)
> >
> > This patch has the reset asserted by the time it gets to
> > imx355_power_on():
> >
> > - when coming from runtime PM, the suspend callback asserted it
> > - when coming from probe, GPIOD_OUT_HIGH asserted it (considering that
> > active-low also affects the initial output setting)
> >
> > Should it be asserted again inside the function, or
> > should the initial `gpiod_set_value_cansleep()` be removed?
>
> Please remove it as requested.
Ok, I will remove it.
next prev parent reply other threads:[~2026-01-28 23:23 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-01-17 4:06 [PATCH v7 0/5] media: i2c: IMX355 for the Pixel 3a Richard Acayan
2026-01-17 4:06 ` [PATCH v7 1/5] dt-bindings: media: i2c: Add Sony IMX355 Richard Acayan
2026-01-17 10:52 ` Krzysztof Kozlowski
2026-01-19 8:40 ` Sakari Ailus
2026-01-17 4:06 ` [PATCH v7 2/5] media: i2c: imx355: Support devicetree and power management Richard Acayan
2026-01-17 12:03 ` Vladimir Zapolskiy
2026-01-20 3:50 ` Richard Acayan
2026-01-20 7:36 ` Sakari Ailus
2026-01-20 9:10 ` Krzysztof Kozlowski
2026-01-20 12:44 ` Bryan O'Donoghue
2026-01-20 14:49 ` Sakari Ailus
2026-01-28 2:53 ` Richard Acayan
2026-01-28 7:59 ` Sakari Ailus
2026-01-28 23:23 ` Richard Acayan [this message]
2026-01-17 4:06 ` [PATCH v7 3/5] arm64: dts: qcom: sdm670: label the camss ports instead of endpoints Richard Acayan
2026-01-17 4:06 ` [PATCH v7 4/5] arm64: dts: qcom: sdm670: add camera mclk pins Richard Acayan
2026-01-17 4:06 ` [PATCH v7 5/5] arm64: dts: qcom: sdm670-google-sargo: add imx355 front camera Richard Acayan
2026-01-17 12:07 ` Vladimir Zapolskiy
2026-01-20 11:00 ` Konrad Dybcio
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=aXqaf4OmvSCvt5gu@rdacayan \
--to=mailingradian@gmail.com \
--cc=andersson@kernel.org \
--cc=bryan.odonoghue@linaro.org \
--cc=conor+dt@kernel.org \
--cc=david@ixit.cz \
--cc=devicetree@vger.kernel.org \
--cc=konradybcio@kernel.org \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=mchehab@kernel.org \
--cc=phone-devel@vger.kernel.org \
--cc=robert.mader@collabora.com \
--cc=robh@kernel.org \
--cc=sakari.ailus@linux.intel.com \
--cc=tian.shu.qiu@intel.com \
--cc=vladimir.zapolskiy@linaro.org \
/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.