sensor driver - v4l2 - MEDIA_BUS_FMT

2018-04-11 Thread asadpt iqroot
Hi All, We are trying develop a sensor driver code for hdmi2csi adapter. Reguired data format is RGB888. But in media format header file, we could see three macros related to RGB888. Hardware connection is mipi csi2. #define MEDIA_BUS_FMT_RGB888_1X24 0x100a #define MEDIA_BUS_FMT_RGB888_2X12_BE 0x

v4l2 configuration doubt

2018-04-07 Thread asadpt iqroot
Hi All, Need to configure below parameter: Color Format: RGB888 Color Depth: 8 Pixels Per Clock: 2 Is there any macro available for this configuration like MEDIA_BUS_FMT_RGB888_1X24? How to configure pixel per clock in device tree and driver file? Thanks & Regards - Asad

sensor driver configuration

2018-04-06 Thread asadpt iqroot
Hi all, How to configure the below parameters: Color Format: YUV_422 Color Depth: 12 Pixels Per Clock: 2 In Sensor driver and device tree, how to configure these values. In Sensor driver, we may use the macro like this MEDIA_BUS_FMT_UYVY8_1X16. But have the doubts on this. How to specify this P

Re: V4l2 Sensor driver and V4l2 ctrls

2018-04-02 Thread asadpt iqroot
this control in driver, what will happen? Whether this will affect the functionality of the video streaming? or not. Why do we have the standard v4l2 ctrl like this? Thanks for the inputs. On 30 March 2018 at 12:58, Hans Verkuil wrote: > On 30/03/18 09:23, asadpt iqroot wrote: >>

Re: V4l2 Sensor driver and V4l2 ctrls

2018-03-30 Thread asadpt iqroot
Hi Hans, Thanks for the reply. In HDMI receivers, when we need to use this control. What scenario? -Thanks. On 30 March 2018 at 12:13, Hans Verkuil wrote: > On 30/03/18 08:16, asadpt iqroot wrote: >> Hi All, >> >> In reference sensor drivers, they used the >> V

V4l2 Sensor driver and Bridge Driver

2018-03-30 Thread asadpt iqroot
Hi All, Need to write the Sensor driver. I have the below doubts: 1. What are the dependencies between the bridge driver and Sensor driver? 2. To write the sensor driver, what are the things, we need to look in bridge driver? 3. What are the Sensor driver functions called from bridge driver. 4 .

V4l2 Sensor driver and V4l2 ctrls

2018-03-29 Thread asadpt iqroot
Hi All, In reference sensor drivers, they used the V4L2_CID_DV_RX_POWER_PRESENT v4l2 ctrl. It is a standard ctrl and created using v4l2_ctrl_new_std(). The doubts are: 1. Whether in our sensor driver, we need to create this Control Id or not. How to take the decision on this. Since this is the s

Need to write the Sensor driver

2018-03-29 Thread asadpt iqroot
Hi All, Need to write the Sensor driver. I have the below doubts: 1. What are the dependencies between the bridge driver and Sensor driver? 2. To write the sensor driver, what are the things, we need to look in bridge driver? 3. What are the Sensor driver functions called from bridge driver. 4 .