![Freescale Semiconductor i.MX 6DualLite Скачать руководство пользователя страница 145](http://html1.mh-extra.com/html/freescale-semiconductor/i-mx-6duallite/i-mx-6duallite_reference-manual_2330523145.webp)
1. MIPI CSI2 driver initializes the mipi_csi2_info structure, some key information
about mipi sensor, such as connected IPU ID, CSI ID, virtual channel and date type.
2. The driver initilizes the D-PHY clock and pixel clock. The pixel clock is used for
MIPI D-PHY to transfer data to IPU CSI.
3. The driver waits for sensor connection.
17.2.2 MIPI CSI2 Common API Operation
MIPI CSI2 driver exports a large number of APIs to manage MIPI D-PHY.
The following is the introduction to all APIs:
• mipi_csi2_get_info: get the mipi_csi_info
• mipi_csi2_enable: enable mipi csi2 interface
• mipi_csi2_disable: disable mipi csi2 interface
• mipi_csi2_get_status: get mipi csi2 interface disable/enable status
• mipi_csi2_get_bind_ipu: get the ipu id which mipi csi2 will connect
• mipi_csi2_get_bind_csi: get the csi id which mipi csi2 will connect
• mipi_csi2_get_virtual_channel: get the virtual channel number by which mipi sensor
will tansfer data to MIPI D-PHY
• mipi_csi2_set_lanes: set the lanes number by which mipi sensor will tansfer data to
MIPI D-PHY
• mipi_csi2_set datatype: set the mipi sensor data type
• mipi_csi2_get_datatype: get the mipi sensor data type; This function will be called
by csi module to set csi register
• mipi_csi2_dphy_status: get the MIPI D-PHY status
• mipi_csi2_get_error1: get the mipi error1 register information
• mipi_csi2_get_error2: get the mipi error2 register informaiton
• mipi_csi2_pixelclk_enable: enable the pixel clock
• mipi_csi2_pixelclk_disable: disable the pixel clock
• mipi_csi2_reset: reset the MIPI D-PHY for data receiving and transferring
17.3 Driver Features
• Supporting 1-4 lanes
• Supporting IPU(0,1) and CSI(0,1)
• Supporting 0-3 virtual channels
• Supporting the following date types:
• RGB formats: RGB888, RGB666, RGB565, RGB555, RGB444
Chapter 17 MIPI CSI2 Driver
i.MX 6Solo/6DualLite Linux Reference Manual, Rev. L3.0.35_4.1.0, 09/2013
Freescale Semiconductor, Inc.
145
Содержание i.MX 6DualLite
Страница 1: ...i MX 6Solo 6DualLite Linux Reference Manual Document Number IMX6SDLLXRM Rev L3 0 35_4 1 0 09 2013...
Страница 2: ...i MX 6Solo 6DualLite Linux Reference Manual Rev L3 0 35_4 1 0 09 2013 2 Freescale Semiconductor Inc...
Страница 32: ...Overview i MX 6Solo 6DualLite Linux Reference Manual Rev L3 0 35_4 1 0 09 2013 32 Freescale Semiconductor Inc...
Страница 48: ...Overview i MX 6Solo 6DualLite Linux Reference Manual Rev L3 0 35_4 1 0 09 2013 48 Freescale Semiconductor Inc...
Страница 52: ...Overview i MX 6Solo 6DualLite Linux Reference Manual Rev L3 0 35_4 1 0 09 2013 52 Freescale Semiconductor Inc...
Страница 132: ...Software Operation i MX 6Solo 6DualLite Linux Reference Manual Rev L3 0 35_4 1 0 09 2013 132 Freescale Semiconductor Inc...
Страница 148: ...Driver Features i MX 6Solo 6DualLite Linux Reference Manual Rev L3 0 35_4 1 0 09 2013 148 Freescale Semiconductor Inc...
Страница 152: ...Hardware Operation i MX 6Solo 6DualLite Linux Reference Manual Rev L3 0 35_4 1 0 09 2013 152 Freescale Semiconductor Inc...
Страница 168: ...Unit Test i MX 6Solo 6DualLite Linux Reference Manual Rev L3 0 35_4 1 0 09 2013 168 Freescale Semiconductor Inc...
Страница 176: ...Driver Features i MX 6Solo 6DualLite Linux Reference Manual Rev L3 0 35_4 1 0 09 2013 176 Freescale Semiconductor Inc...
Страница 190: ...Unit Test i MX 6Solo 6DualLite Linux Reference Manual Rev L3 0 35_4 1 0 09 2013 190 Freescale Semiconductor Inc...
Страница 212: ...Introduction i MX 6Solo 6DualLite Linux Reference Manual Rev L3 0 35_4 1 0 09 2013 212 Freescale Semiconductor Inc...
Страница 230: ...Driver Features i MX 6Solo 6DualLite Linux Reference Manual Rev L3 0 35_4 1 0 09 2013 230 Freescale Semiconductor Inc...
Страница 238: ...Driver Features i MX 6Solo 6DualLite Linux Reference Manual Rev L3 0 35_4 1 0 09 2013 238 Freescale Semiconductor Inc...
Страница 256: ...System WakeUp i MX 6Solo 6DualLite Linux Reference Manual Rev L3 0 35_4 1 0 09 2013 256 Freescale Semiconductor Inc...
Страница 292: ...Introduction i MX 6Solo 6DualLite Linux Reference Manual Rev L3 0 35_4 1 0 09 2013 292 Freescale Semiconductor Inc...
Страница 296: ...Software Operation i MX 6Solo 6DualLite Linux Reference Manual Rev L3 0 35_4 1 0 09 2013 296 Freescale Semiconductor Inc...
Страница 310: ...Requirements i MX 6Solo 6DualLite Linux Reference Manual Rev L3 0 35_4 1 0 09 2013 310 Freescale Semiconductor Inc...