From: Hans de Goede <hansg@kernel.org>
To: Sakari Ailus <sakari.ailus@linux.intel.com>,
Andy Shevchenko <andy.shevchenko@gmail.com>
Cc: "Ilpo Järvinen" <ilpo.jarvinen@linux.intel.com>,
"Andy Shevchenko" <andy@kernel.org>,
platform-driver-x86@vger.kernel.org
Subject: Re: [PATCH 2/2] platform/x86: int3472: Increase ov08x40 handshake GPIO delay to 45 ms
Date: Fri, 25 Jul 2025 22:43:17 +0200 [thread overview]
Message-ID: <c4b280a3-e621-483e-932c-1f0547be5e79@kernel.org> (raw)
In-Reply-To: <aIPDGsNVrd7tBvY8@kekkonen.localdomain>
Hi,
On 25-Jul-25 7:47 PM, Sakari Ailus wrote:
> Hi Hans, Andy,
>
> On Fri, Jul 25, 2025 at 04:52:26PM +0200, Andy Shevchenko wrote:
>> On Fri, Jul 25, 2025 at 4:44 PM Hans de Goede <hansg@kernel.org> wrote:
>>>
>>> On HP laptops with an ov08x40 sensor the 25 ms delay coming from Intel's
>>> out of tree drivers is not enough. Testing has confirmed that 45 ms does
>>> work.
>>>
>>> Add a quirk to the int3472_gpio_map[] to increase the delay to 45 ms to fix
>>> probing of the ov08x40 sensor failing on these laptops.
>>>
>>> Note this only impacts laptops which actually use an ov08x40 sensor with
>>> a handshake GPIO.
>>
>> ...
>>
>>> + /*
>>> + * ov08x40 sensor with a handshake pin needs a 45 ms delay on some HP laptops
>>> + * https://bugzilla.redhat.com/show_bug.cgi?id=2333331
>>> + */
>>> + { "OVTI08F4", INT3472_GPIO_TYPE_HANDSHAKE, INT3472_GPIO_TYPE_HANDSHAKE,
>>> + false, "dvdd", 45 * USEC_PER_MSEC },
>>> };
>>
>> My gut feeling is that this might be needed for most of the cameras
>> with the handshake signal. Do you have ones that work without this
>> delay?
For those laptops with the CV chip that Sakari talks about below,
25 ms, which is what is currently the default delay seems to be
enough.
> I'd expect this to depend on the CV chip, if not solely then primarily at
> least (firmware could play a part maybe??). Isn't there a way to figure
> that out?
These HP laptops do not appear to use a CV chip at all, yet they do
have a handshake signal... Specifically there is no CV / USBIO chip
on the USB bus and the I2c and GPIOs for the camera sensor come
directly from the main SoC.
With that said, even if there were a CV chip, then given all
the problems we're having with those I do not expect us to be
able to get this info from the CV chip.
Just getting the basic IO-expander functionality upstream has
been and still is a very troublesome process.
Which includes very different behavior between USBIO chips which report
the exact same firmware version, it looks like the fw-version reported
over USB does not always get updated in fw updates...
Regards,
Hans
next prev parent reply other threads:[~2025-07-25 20:43 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-07-25 14:44 [PATCH 0/2] platform/x86: int3472: Increase ov08x40 handshake GPIO delay to 45 ms Hans de Goede
2025-07-25 14:44 ` [PATCH 1/2] platform/x86: int3472: Rework regulator enable-time handling Hans de Goede
2025-07-25 14:49 ` Andy Shevchenko
2025-07-25 20:38 ` Hans de Goede
2025-07-25 14:44 ` [PATCH 2/2] platform/x86: int3472: Increase ov08x40 handshake GPIO delay to 45 ms Hans de Goede
2025-07-25 14:52 ` Andy Shevchenko
2025-07-25 17:47 ` Sakari Ailus
2025-07-25 20:43 ` Hans de Goede [this message]
2025-07-28 22:56 ` Sakari Ailus
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=c4b280a3-e621-483e-932c-1f0547be5e79@kernel.org \
--to=hansg@kernel.org \
--cc=andy.shevchenko@gmail.com \
--cc=andy@kernel.org \
--cc=ilpo.jarvinen@linux.intel.com \
--cc=platform-driver-x86@vger.kernel.org \
--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