mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Sakari Ailus <sakari.ailus@linux.intel.com>
To: Danila Tikhonov <danila@mainlining.org>,
	Luca Weiss <luca.weiss@fairphone.com>,
	Griffin Kroah-Hartman <griffin.kroah@fairphone.com>
Cc: "Mauro Carvalho Chehab" <mchehab@kernel.org>,
	"Rob Herring" <robh@kernel.org>,
	"Krzysztof Kozlowski" <krzk+dt@kernel.org>,
	"Conor Dooley" <conor+dt@kernel.org>,
	"André Apitzsch" <git@apitzsch.eu>,
	"Daniel Scally" <dan.scally@ideasonboard.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>,
	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
Subject: Re: [PATCH RFT 2/3] media: i2c: dw9719: Add DW9800W support
Date: Wed, 5 Aug 2026 14:29:36 +0300	[thread overview]
Message-ID: <anMeoKP6rUlgtKyR@kekkonen.localdomain> (raw)
In-Reply-To: <f7cae569-0c51-41fe-92ab-f29311a22761@mainlining.org>

Hi Danila, Griffin,

On Tue, Aug 04, 2026 at 09:27:01PM +0300, Danila Tikhonov wrote:
> Hi Sakari,
> 
> Thank you for your comment.
> 
> On 04/08/2026 11:40, Sakari Ailus wrote:
> > Hi Danila,
> > 
> > Thank you for the patch.
> > 
> > On Sat, Aug 01, 2026 at 09:04:15PM +0300, Danila Tikhonov wrote:
> > > The DW9800W uses the same chip ID and register layout as the DW9800K,
> > > but requires different default VCM frequency value.
> > Is this a real difference between the two models or what fits for the
> > attached lens? Too bad the datasheet isn't publicly available. :-(
> > 
> > At least the differing default and constraints for dongwoon,vcm-prescale
> > needs to be documented in bindings.
> I share your skepticism and have essentially the same concerns. Since I
> do not have the DW9800K datasheet, I cannot say with certainty how it
> differs from the DW9800W.

Indeed. The limits should have been added for dw9800k, too, but I guess I
missed this in review. :-\

> 
> In particular, the parameter referred to as the VCM frequency in the
> driver is used to derive the SACT value. For the DW9800W, SACT[5:0]
> defines the actuator resonance period in SAC mode and the one-step
> period in LSC mode. The datasheet gives the corresponding formulas as:
> - tVIB = 6.3 ms + SACT * 0.1 ms
> - LSC 1-step period = 252 µs + SACT * 4 µs
> 
> Therefore, the default value may differ between the DW9800K and DW9800W
> if the formulas or timing characteristics used to calculate SACT are
> different.

Griffin, would you be able to comment this?

Another matter: the comment on dw9800k says there's no device ID. So is
there a device ID that wasn't just checked earlier or is there really no
device ID?

-- 
Regards,

Sakari Ailus

  reply	other threads:[~2026-08-05 11:29 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-08-01 18:04 [PATCH RFT 0/3] Add UW Camera Actuator support for Nothing Phone (1) Danila Tikhonov
2026-08-01 18:04 ` [PATCH RFT 1/3] dt-bindings: media: i2c: dw9719: Document DW9800W Danila Tikhonov
2026-08-04  8:29   ` Krzysztof Kozlowski
2026-08-01 18:04 ` [PATCH RFT 2/3] media: i2c: dw9719: Add DW9800W support Danila Tikhonov
2026-08-01 19:03   ` Neko
2026-08-04  8:40   ` Sakari Ailus
2026-08-04 18:27     ` Danila Tikhonov
2026-08-05 11:29       ` Sakari Ailus [this message]
2026-08-07 14:30         ` Griffin Kroah-Hartman
2026-08-08 12:42           ` Danila Tikhonov
2026-08-12  7:47             ` Luca Weiss
2026-08-01 18:04 ` [PATCH RFT 3/3] arm64: dts: qcom: sm7325-nothing-spacewar: Add UW camera actuator Danila Tikhonov
2026-08-01 19:02   ` Neko

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=anMeoKP6rUlgtKyR@kekkonen.localdomain \
    --to=sakari.ailus@linux.intel.com \
    --cc=achill@achill.org \
    --cc=andersson@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=dan.scally@ideasonboard.com \
    --cc=danila@mainlining.org \
    --cc=devicetree@vger.kernel.org \
    --cc=fekz115@gmail.com \
    --cc=git@apitzsch.eu \
    --cc=griffin.kroah@fairphone.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=~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

all inboxes | Powered by JetHome®