Skip to content

ARM: sun8i: a83t: Support Camera Sensor Interface controller

Chen-Yu Tsai linux-arm-kernel linux-clk linux-devicetree linux-media lkml 1 version Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 18 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/6clk: sunxi-ng: a83t: Add pll-video0 as parent of csi-mclkdrivers/clk/sunxi-ng/ccu-sun8i-a83t.c+3 -21 reply
2/6dt-bindings: media: sun6i-csi: Add compatible string for A83T variantDocumentation/devicetree/bindings/media/sun6i-csi.txt+1 -02 replies
3/6media: sun6i: Support A83T variantdrivers/media/platform/sunxi/sun6i-csi/sun6i_csi.c+1 -01 reply
4/6ARM: dts: sun8i: a83t: Add device node for CSI (Camera Sensor Interface)arch/arm/boot/dts/sun8i-a83t.dtsi+31 -013 replies
5/6ARM: dts: sun8i: a83t: Add I2C2 pinmux setting for PE pinsarch/arm/boot/dts/sun8i-a83t.dtsi+6 -01 reply
6/6ARM: dts: sun8i: a83t: bananapi-m3: Enable BPI OV5640 cameraarch/arm/boot/dts/sun8i-a83t-bananapi-m3.dts+101 -00 replies

Reviews trailers per patch

2 of 6 patches have a Reviewed-by or Acked-by.

PatchMaxime RipardRob Herring
1/6
2/6A-b R-b
3/6A-b
4/6
5/6
6/6

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/6] ARM: sun8i: a83t: Support Camera Sensor Interface controller

From: Chen-Yu Tsai <[email protected]>

Hi everyone,

This series adds support for the camera sensor interface controller found on the Allwinner A83T SoC. The controller is similar to the one found on the H3, with the addition of a MIPI CSI-2 interface. However, this series only supports parallel and BT.656 interfaces, based on the existing driver.

Patch 1 adds an undocumented clock parent of the CSI MCLK. This was found after finding the default value to sometimes work and sometimes not, and then comparing against BSP code.

Patch 2 adds a compatible string for the A83T variant.

Patch 3 adds support for the A83T variant to the existing sun6i-csi driver.

Patch 4 adds a device node for the controller, as well as commonly used pin muxing options.

Patch 5 adds a pin muxing option for I2C1 on the PE pins, used in conjunction with the CSI pins.

Patch 6 provides an example usage of the CSI controller: the Bananapi M3 with its camera module attached.

Please have a look.

Regards
ChenYu

Chen-Yu Tsai (6):
clk: sunxi-ng: a83t: Add pll-video0 as parent of csi-mclk
dt-bindings: media: sun6i-csi: Add compatible string for A83T variant
media: sun6i: Support A83T variant
ARM: dts: sun8i: a83t: Add device node for CSI (Camera Sensor
Interface)
ARM: dts: sun8i: a83t: Add I2C2 pinmux setting for PE pins [DO NOT MERGE] ARM: dts: sun8i: a83t: bananapi-m3: Enable BPI OV5640
camera

 .../devicetree/bindings/media/sun6i-csi.txt   |   1 +
 arch/arm/boot/dts/sun8i-a83t-bananapi-m3.dts  | 101 ++++++++++++++++++
 arch/arm/boot/dts/sun8i-a83t.dtsi             |  37 +++++++
 drivers/clk/sunxi-ng/ccu-sun8i-a83t.c         |   5 +-
 .../platform/sunxi/sun6i-csi/sun6i_csi.c      |   1 +
 5 files changed, 143 insertions(+), 2 deletions(-)
Signature · 1 line
2.20.1