Thread (8 messages) 8 messages, 2 authors, 2021-01-05

Re: [PATCH v4 2/3] media: i2c: Add support for the OV8865 image sensor

From: Paul Kocialkowski <hidden>
Date: 2021-01-05 09:39:49
Also in: linux-devicetree, linux-media, lkml

Hi Sakari,

On Mon 04 Jan 21, 14:07, Sakari Ailus wrote:
Hi Paul,

On Thu, Dec 31, 2020 at 03:27:01PM +0100, Paul Kocialkowski wrote:
quoted
The OV8865 is a 8 Mpx CMOS image sensor producing 3264x2448 at 30 fps.
Other modes (including some with sub-sampling) are available too.
It outputs 10-bit bayer CFA data through a MIPI CSI-2 interface with
up to 4 lanes supported.
I've added the patches to a pull request to Mauro; there appear to still be
some checkpatch.pl issues in both of the drivers.

I don't mind the warnings on the assignment or the mutex though. Could you
address these in additional patches, please?
Sorry about that, I realized that I never run checkpatch with --strict
so I completely missed those.

I'll fix the cosmetic issues in a following patch.

Just to clarify one thing:
#define OV8865_PAD_PK_DRIVE_STRENGTH_2X		(1 << 5)
#define OV8865_BLC_CTRL1_COL_SHIFT_128		(1 << 4)

these are not single-bit fields so even though it looks like they should
use BIT(), this would be incoherent with other possible values, such as:
#define OV8865_PAD_PK_DRIVE_STRENGTH_3X		(2 << 5)
#define OV8865_BLC_CTRL1_COL_SHIFT_64		(2 << 4)

Cheers,

Paul

-- 
Paul Kocialkowski, Bootlin
Embedded Linux and kernel engineering
https://bootlin.com
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help