Genio 1200-EVK

The end user can operate the camera through the V4L2 devices exposed. For the usage, please check the following sections.

MediaTek Imagsensor Architecture

The following figure shows the MediaTek Imgsensor architecture with the camera ISP and both RAW and YUV sensor.

../../../../_images/sw_yocto_app-dev_raw_camera_arch.svg

MediaTek Imgsensor - RAW sensor

../../../../_images/sw_yocto_app-dev_yuv_camera_arch.svg

MediaTek Imgsensor - YUV sensor

The Camera ISP feature includes 4 major components:

Camera ISP Feature Components

Item

Description

Repo Path

Sensor OOT Driver

The sensor drivers under MediaTek proprietary imgsensor framework. It’s maintained in the out-of-tree repository.

mtk-camisp-driver/drivers/misc/mediatek/imgsensor

Camera ISP OOT Driver

The drivers, camsys and imgsys, for MediaTek proprietary camera ISP hardware. It’s maintained in the out-of-tree repository.

mtk-camisp-driver/drivers/media/platform/mtk-isp

Camera ISP Middleware

The binary-released userspace library controlling the whole ISP devices, managing buffers and streams, and exporting MediaTek proprietary user interface.

mtk-camisp-prebuilts (Require NDA)

V4L2 Adapter

The V4L2 Adapter contains the binary-released userspace executable and source-released kernel driver.

The executable, camd, is a service daemon. It uses the middleware library to control the camera and transfers image buffers to the adapter driver.

The driver, mtk-camera, provides the V4L2 interface which can be used by OSS tools, such as v4l2-utils, GStreamer, OpenCV, etc.

mtk-camisp-prebuilts (Require NDA)

mtk-camisp-driver/drivers/media/platform/mtk-camera

V4L2 Sensor Architecture

The following figure shows the standard V4L2 sensor architecture with the YUV sensor. The sensor driver and the camsys driver follow the V4L2 framework. The user can access the video device node created by the camsys driver to get the pipeline stream on.

../../../../_images/sw_yocto_app-dev_v4l2_yuv_camera_arch.svg

V4L2 Sensor - YUV sensor

Camera Pin Definition

The following tables show the pins used for camera (CSI socket) on Genio 1200-EVK.

Pin definitions of CSI0 socket on Genio 1200-EVK

CSI0

Pin #

Function

GPIO #

Pin #

Function

GPIO #

B1

GND

A1

GND

B2

N/C

A2

N/C

B3

N/C

A3

N/C

B4

CSI0_LDN3-CON

A4

CAM0_AVDD_EN

56

B5

CSI0_LDP3-CON

A5

CAM1_DVDD_EN

58

B6

CSI0_LDN1-CON

A6

CAM1_AVDD_EN

59

B7

CSI0_LDP1-CON

A7

CAM0_DVDD_EN

60

B8

GND

A8

CMMRST

25

B9

CSI0_LCKN-CON

A9

GND

B10

CSI0_LCKP-CON

A10

CMMCLK0

22

B11

CSI0_LDN0-CON

A11

GND

B12

CSI0_LDP0-CON

A12

CMMPDN

26

B13

CSI0_LDN2-CON

A13

N/C

B14

CSI0_LDP2-CON

A14

N/C

B15

GND

A15

N/C

B16

SCL0

9

A16

N/C

B17

SDA0

8

A17

VCAM_3.3V

B18

VCAM_5V

A18

VCAM_3.3V

Pin definitions of CSI1 socket on Genio 1200-EVK

CSI1

Pin #

Function

GPIO #

Pin #

Function

GPIO #

B1

GND

A1

GND

B2

N/C

A2

N/C

B3

N/C

A3

N/C

B4

CSI1_LDN3-CON

A4

CAM0_AVDD_EN

56

B5

CSI1_LDP3-CON

A5

CAM1_DVDD_EN

58

B6

CSI1_LDN1-CON

A6

CAM1_AVDD_EN

59

B7

CSI1_LDP1-CON

A7

CAM0_DVDD_EN

60

B8

GND

A8

CMMRST

25

B9

CSI1_LCKN-CON

A9

GND

B10

CSI1_LCKP-CON

A10

CMMCLK1

23

B11

CSI1_LDN0-CON

A11

GND

B12

CSI1_LDP0-CON

A12

CMMPDN

26

B13

CSI1_LDN2-CON

A13

N/C

B14

CSI1_LDP2-CON

A14

N/C

B15

GND

A15

N/C

B16

SCL0

9

A16

N/C

B17

SDA0

8

A17

VCAM_3.3V

B18

VCAM_5V

A18

VCAM_3.3V

Pin definitions of CSI2 socket on Genio 1200-EVK

CSI2

Pin #

Function

GPIO #

Pin #

Function

GPIO #

B1

GND

A1

GND

B2

CSI2B_LDN1-CON

A2

SCL2

13

B3

CSI2B_LDP1-CON

A3

SDA2

12

B4

CSI2B_LCKN-CON

A4

CAM0_AVDD_EN

56

B5

CSI2B_LCKP-CON

A5

CAM1_DVDD_EN

58

B6

CSI2B_LDN0-CON

A6

CAM1_AVDD_EN

59

B7

CSI2B_LDP0-CON

A7

CAM0_DVDD_EN

60

B8

GND

A8

CMMRST

25

B9

CSI2A_LDP1-CON

A9

GND

B10

CSI2A_LDN1-CON

A10

CMMCLK2

24

B11

CSI2A_LCKN-CON

A11

GND

B12

CSI2A_LCKP-CON

A12

CMMPDN

26

B13

CSI2A_LDN0-CON

A13

N/C

B14

CSI2A_LDP0-CON

A14

N/C

B15

GND

A15

N/C

B16

SCL1

11

A16

N/C

B17

SDA1

10

A17

VCAM_3.3V

B18

VCAM_5V

A18

VCAM_3.3V