Re: [PATCH 0/6] media: sun6i: Separate H3 compatible from A31
From: Chen-Yu Tsai <hidden>
Date: 2018-12-14 02:24:03
Also in:
linux-arm-kernel, linux-media, lkml
On Fri, Dec 14, 2018 at 6:10 AM [off-list ref] wrote:
Hi Chen-Yu, On Fri, Nov 30, 2018 at 03:58:43PM +0800, Chen-Yu Tsai wrote:quoted
The CSI (camera sensor interface) controller found on the H3 (and H5) is a reduced version of the one found on the A31. It only has 1 channel, instead of 4 channels supporting time-multiplexed BT.656 on the A31. Since the H3 is a reduced version, it cannot "fallback" to a compatible that implements more features than it supports. This series separates support for the H3 variant from the A31 variant. Patches 1 ~ 3 separate H3 CSI from A31 CSI in the bindings, driver, and device tree, respectively. Patch 4 adds a pinmux setting for the MCLK (master clock). Some camera sensors use the master clock from the SoC instead of a standalone crystal.I've picked patches 1 and 2, but I presume patches 3 and 4 would go through another tree. Is that right?
We'll merge patch 3 through the sunxi tree, probably as a fix for 4.21-rc. Maxime has said that pinmux settings won't be merged unless there are actual users in tree, so patch 4 won't be merged for now. Thanks! ChenYu
quoted
Patches 5 and 6 are examples of using a camera sensor with an SBC. Since the modules are detachable, these changes should not be merged. They should be implemented as overlays instead. Please have a look. In addition, I found that the first frame captured seems to always be incomplete, with either parts cropped, out of position, or missing color components.-- Regards, Sakari Ailus