From: Quentin Schulz <quentin.schulz@cherry.de>
To: Bryan O'Donoghue <bryan.odonoghue@linaro.org>,
Sakari Ailus <sakari.ailus@linux.intel.com>,
Mauro Carvalho Chehab <mchehab@kernel.org>,
Quentin Schulz <quentin.schulz@theobroma-systems.com>,
Jacopo Mondi <jacopo@jmondi.org>
Cc: Johan Hovold <johan@kernel.org>,
Kieran Bingham <kieran.bingham@ideasonboard.com>,
linux-media@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH 1/2] media: ov5675: Derive delay cycles from the clock rate reported
Date: Thu, 11 Jul 2024 12:32:22 +0200 [thread overview]
Message-ID: <2e350b8b-a816-42db-b5eb-0dd257df8a58@cherry.de> (raw)
In-Reply-To: <20240711-linux-next-ov5675-v1-1-69e9b6c62c16@linaro.org>
Hi Bryan,
On 7/11/24 12:20 PM, Bryan O'Donoghue wrote:
> The ov5675 driver expresses its reset delays in terms of XVCLK cycles as
> per the ov5675 specification. XVCLK can be anything in the range of 6 MHz
> to 24 MHz inclusive.
>
> Upstream we use 19.2 MHz however, since the delays are calculated in terms
> of clock cycles as opposed to fixed intervals it makes sense to facilitate
> any potential clock we might support.
>
> Do so by reading the XVCLK rate and using the returned rate instead of
> operating from a static definition.
>
We're actually running this sensor at **almost** 19.2MHz but are having
intermittent issues, so this could probably help us too. In the end (for
my employer), we should just add support for 24MHz as that's a frequency
our products support but I'm lacking time right now. One day hopefully.
> Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
The change isn't really useful for upstream yet but makes sense to me, so:
Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
Thanks!
Quentin
next prev parent reply other threads:[~2024-07-11 10:32 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-07-11 10:20 [PATCH 0/2] media: ov5675: Fixup ov5675 reset failures Bryan O'Donoghue
2024-07-11 10:20 ` [PATCH 1/2] media: ov5675: Derive delay cycles from the clock rate reported Bryan O'Donoghue
2024-07-11 10:32 ` Quentin Schulz [this message]
2024-07-11 10:20 ` [PATCH 2/2] media: ov5675: Elongate reset to first transaction minimum gap Bryan O'Donoghue
2024-07-11 10:40 ` Quentin Schulz
2024-07-11 11:17 ` Dave Stevenson
2024-07-11 11:24 ` Bryan O'Donoghue
2024-07-11 11:22 ` Bryan O'Donoghue
2024-07-11 11:28 ` Bryan O'Donoghue
2024-07-11 11:41 ` Quentin Schulz
2024-07-11 12:07 ` Bryan O'Donoghue
2024-07-11 12:22 ` Quentin Schulz
2024-07-11 12:25 ` Bryan O'Donoghue
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=2e350b8b-a816-42db-b5eb-0dd257df8a58@cherry.de \
--to=quentin.schulz@cherry.de \
--cc=bryan.odonoghue@linaro.org \
--cc=jacopo@jmondi.org \
--cc=johan@kernel.org \
--cc=kieran.bingham@ideasonboard.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=mchehab@kernel.org \
--cc=quentin.schulz@theobroma-systems.com \
--cc=sakari.ailus@linux.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