From: Sakari Ailus <sakari.ailus@iki.fi>
To: Martin Kepplinger <martin.kepplinger@puri.sm>
Cc: krzysztof.kozlowski@canonical.com,
laurent.pinchart@ideasonboard.com, devicetree@vger.kernel.org,
kernel@puri.sm, linux-kernel@vger.kernel.org,
linux-media@vger.kernel.org, mchehab@kernel.org,
paul.kocialkowski@bootlin.com, pavel@ucw.cz,
phone-devel@vger.kernel.org, robh@kernel.org,
shawnx.tu@intel.com
Subject: Re: [PATCH v6 3/5] media: i2c: add driver for the SK Hynix Hi-846 8M pixel camera
Date: Thu, 8 Jul 2021 15:57:29 +0300 [thread overview]
Message-ID: <20210708125729.GZ3@valkosipuli.retiisi.eu> (raw)
In-Reply-To: <20210628101054.828579-4-martin.kepplinger@puri.sm>
Hi Martin,
On Mon, Jun 28, 2021 at 12:10:52PM +0200, Martin Kepplinger wrote:
...
> + hi846->clock = devm_clk_get(&client->dev, NULL);
> + if (IS_ERR(hi846->clock)) {
> + dev_err(&client->dev, "failed to get clock: %pe\n", hi846->clock);
> + return PTR_ERR(hi846->clock);
> + }
> +
> + mclk_freq = clk_get_rate(hi846->clock);
> + dev_dbg(&client->dev, "clk rate: %u\n", mclk_freq);
You'll need to check this is the value you expect it to be. The register
lists are specific to that value.
Could you also check Documentation/driver-api/media/camera-sensor.rst
regarding the assigned-clocks etc. properties, and align the bindings with
that?
--
Sakari Ailus
next prev parent reply other threads:[~2021-07-08 12:57 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-06-28 10:10 [PATCH v6 0/5] Add support for the Hynix Hi-846 camera Martin Kepplinger
2021-06-28 10:10 ` [PATCH v6 1/5] dt-bindings: vendor-prefixes: Add SK Hynix Inc Martin Kepplinger
2021-06-28 10:10 ` [PATCH v6 2/5] dt-bindings: media: document SK Hynix Hi-846 MIPI CSI-2 8M pixel sensor Martin Kepplinger
2021-06-28 10:10 ` [PATCH v6 3/5] media: i2c: add driver for the SK Hynix Hi-846 8M pixel camera Martin Kepplinger
2021-07-08 12:54 ` Sakari Ailus
2021-07-08 12:57 ` Sakari Ailus [this message]
2021-06-28 10:10 ` [PATCH v6 4/5] Documentation: i2c-cardlist: add the Hynix hi846 sensor Martin Kepplinger
2021-06-28 10:10 ` [PATCH v6 5/5] arm64: defconfig: enable VIDEO_HI846 Martin Kepplinger
2021-07-08 13:00 ` Sakari Ailus
2021-07-08 15:13 ` Guido Günther
2021-07-08 15:34 ` Laurent Pinchart
2021-07-09 7:06 ` Guido Günther
2021-08-07 7:06 ` Pavel Machek
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=20210708125729.GZ3@valkosipuli.retiisi.eu \
--to=sakari.ailus@iki.fi \
--cc=devicetree@vger.kernel.org \
--cc=kernel@puri.sm \
--cc=krzysztof.kozlowski@canonical.com \
--cc=laurent.pinchart@ideasonboard.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=martin.kepplinger@puri.sm \
--cc=mchehab@kernel.org \
--cc=paul.kocialkowski@bootlin.com \
--cc=pavel@ucw.cz \
--cc=phone-devel@vger.kernel.org \
--cc=robh@kernel.org \
--cc=shawnx.tu@intel.com \
/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;
as well as URLs for NNTP newsgroup(s).