From: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
To: "halil.karabacak" <halil.karabacak@boun.edu.tr>,
linux-arm-msm@vger.kernel.org
Subject: Re: Using CCI_I2C Driver for OV9282 on Qualcomm RB5 Vision Kit
Date: Tue, 23 Aug 2022 14:42:40 +0100 [thread overview]
Message-ID: <916574e1-ed62-cf92-a0ba-e7baf1a3f85c@linaro.org> (raw)
In-Reply-To: <e4bf306f4c275655f3fbe577f48fb616@boun.edu.tr>
On 23/08/2022 08:25, halil.karabacak wrote:
> Hello everyone,
>
> I have been trying to use CCI_I2C driver instead of I2C on my OV9282
> with video4linux2(I want to see as /dev/videoX). However, I was not able
> find much, but yesterday I found out
> https://patchwork.kernel.org/project/linux-media/list/?series=647614
> this kernel patchwork focusing on camss & camera drivers. I believe that
> this patch also requires some other patches to work as intended on
> kernel. Is there a way that I can use these drivers on my
> 5.15.0(5.15.0-qcomlt-arm64) kernel?
>
>
> Regards,
> Halil Karabacak
Hi Halil.
Please give this kernel a try.
https://git.linaro.org/people/bryan.odonoghue/kernel.git/log/?h=linux-stable-22-07-18-imx577-camss
I've also included a defconfig there so others may pick up on the work.
To get the ov9282 to power up on the RB5 we will need to add in
regulator_block_dostuff() support as was done with the imx412/imx477/imx577.
* 3de9dc7f67731 - media: i2c: imx412: Add bulk regulator support
* 9a199694c6a15 - media: i2c: imx412: Fix power_off ordering
* bb25f071fc92d - media: i2c: imx412: Fix reset GPIO polarity
Also the polarity on the GPIO now that I look at the git log.
Basically right now the media driver doesn't support switching the
regulator on and we should make sure the polarity is correct for the chip.
I'd not expect the device to respond at all given it is not powered and
might be held in reset as is.
I might find a few cycles to poke at this if you don't get to it first.
---
bod
next prev parent reply other threads:[~2022-08-23 17:19 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-08-23 7:25 Using CCI_I2C Driver for OV9282 on Qualcomm RB5 Vision Kit halil.karabacak
2022-08-23 13:42 ` Bryan O'Donoghue [this message]
[not found] ` <1ecd2058040c8e087ab1e0c34d3aac2d@boun.edu.tr>
[not found] ` <69bdc9d7b5556575bf38cc6adc100e4a@boun.edu.tr>
2022-08-24 13:34 ` Bryan O'Donoghue
2022-09-07 16:03 ` Bryan O'Donoghue
[not found] ` <166258721180.2677993.14675525254961646895@Monstersaurus>
2022-09-08 0:37 ` 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=916574e1-ed62-cf92-a0ba-e7baf1a3f85c@linaro.org \
--to=bryan.odonoghue@linaro.org \
--cc=halil.karabacak@boun.edu.tr \
--cc=linux-arm-msm@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox