On Mon, Dec 3, 2018 at 6:07 PM Jagan Teki <jagan@xxxxxxxxxxxxxxxxxxxx> wrote: > > This series support CSI on Allwinner A64. > > The CSI controller seems similar to that of in H3, so fallback > compatible is used to load the driver. > > Unlike other SoC's A64 has set of GPIO Pin gropus SDA, SCK intead > of dedicated I2C controller, so this series used i2c-gpio bitbanging. > > Right now the camera is able to detect, but capture images shows > sequence of red, blue line. any suggestion please help. The CSI controller doesn't seem to work properly at the default clock rate of 600 MHz. Dropping it down to 300 MHz, the default rate used by the BSP, fixes things. The BSP also tries to use different clock rates (multiples of 108 MHz) according to the captured image size. I've not tried this since the driver no longer exports sub-device controls, and I currently don't know how to handle that to change the resolution. Regards ChenYu