[PATCH] [media] atmel-isc: Set the default DMA memory burst size

2017-04-20 Thread Songjun Wu
Sometimes 'DMA single access' is not enough to transfer a frame of image, '8-beat burst access' is set as the default DMA memory burst size. Signed-off-by: Songjun Wu --- drivers/media/platform/atmel/atmel-isc.c | 23 --- 1 file changed, 12 inserti

[PATCH] [media] atmel-isc: Fix the static checker warning

2017-04-17 Thread Songjun Wu
Initialize the pointer 'fmt' before the start of the loop. Reported-by: Dan Carpenter Signed-off-by: Songjun Wu --- drivers/media/platform/atmel/atmel-isc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/media/platform/atmel/atmel-isc.c b/drivers/media/platform/atmel/a

[PATCH v2] [media] atmel-isc: add the isc pipeline function

2017-01-24 Thread Songjun Wu
unction is enabled. Signed-off-by: Songjun Wu --- Changes in v2: - Fix the gama and contrast controls. - Fix some code style issue. drivers/media/platform/atmel/atmel-isc-regs.h | 102 - drivers/media/platform/atmel/atmel-isc.c | 627 +- 2 files changed, 620

[PATCH] [media] atmel-isc: add the isc pipeline function

2016-12-23 Thread Songjun Wu
unction is enabled. Signed-off-by: Songjun Wu --- drivers/media/platform/atmel/atmel-isc-regs.h | 102 - drivers/media/platform/atmel/atmel-isc.c | 629 +- 2 files changed, 623 insertions(+), 108 deletions(-) diff --git a/drivers/media/platform/atmel/atmel-isc

[RFC][PATCH] [media] atmel-isc: add the isc pipeline function

2016-12-02 Thread Songjun Wu
unction is enabled. Signed-off-by: Songjun Wu --- drivers/media/platform/atmel/atmel-isc-regs.h | 77 - drivers/media/platform/atmel/atmel-isc.c | 460 +- 2 files changed, 449 insertions(+), 88 deletions(-) diff --git a/drivers/media/platform/atmel/atmel-isc

[PATCH] [media] atmel-isc: release the filehandle if it's not the only one.

2016-11-01 Thread Songjun Wu
Release the filehandle in 'isc_open' if it's not the only filehandle opened for the associated video_device. Signed-off-by: Songjun Wu --- drivers/media/platform/atmel/atmel-isc.c | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/drivers

[RESEND][PATCH] [media] atmel-isc: start dma in some scenario

2016-10-17 Thread Songjun Wu
If a new vb buf is added to vb queue, the queue is empty and steaming, dma should be started. Signed-off-by: Songjun Wu --- drivers/media/platform/atmel/atmel-isc.c | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/drivers/media/platform/atmel/atmel-isc.c b/drivers

[RESEND][PATCH] [media] atmel-isc: start dma in some scenario

2016-09-28 Thread Songjun Wu
If a new vb buf is added to vb queue, the queue is empty and steaming, dma should be started. Signed-off-by: Songjun Wu --- drivers/media/platform/atmel/atmel-isc.c | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/drivers/media/platform/atmel/atmel-isc.c b/drivers

[PATCH] [media] atmel-isc: start dma in some scenario

2016-09-27 Thread Songjun Wu
If a new vb buf is added to vb queue, the queue is empty and steaming, dma should be started. Signed-off-by: Songjun Wu --- drivers/media/platform/atmel/atmel-isc.c | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/drivers/media/platform/atmel/atmel-isc.c b/drivers

[PATCH] [media] atmel-isc: set the format on the first open

2016-09-12 Thread Songjun Wu
Set the current format on the first open. Signed-off-by: Songjun Wu --- drivers/media/platform/atmel/atmel-isc.c | 30 ++ 1 file changed, 18 insertions(+), 12 deletions(-) diff --git a/drivers/media/platform/atmel/atmel-isc.c b/drivers/media/platform/atmel/atmel

[RESEND PATCH] [media] atmel-isc: remove the warning

2016-08-24 Thread Songjun Wu
Replace the 'IS_ERR_VALUE(irq)' with 'ret < 0' in function 'atmel_isc_probe'. Reported-by: Hans Verkuil Signed-off-by: Songjun Wu --- drivers/media/platform/atmel/atmel-isc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/me

[PATCH] [media] atmel-isc: remove the warning

2016-08-23 Thread Songjun Wu
Replace the 'IS_ERR_VALUE(irq)' with 'ret < 0' in function 'atmel_isc_probe'. Reported-by: hverk...@xs4all.nl Signed-off-by: Songjun Wu --- drivers/media/platform/atmel/atmel-isc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/me

[PATCH v10 1/3] [media] atmel-isc: add the Image Sensor Controller code

2016-08-16 Thread Songjun Wu
Add driver for the Image Sensor Controller. It manages incoming data from a parallel based CMOS/CCD sensor. It has an internal image processor, also integrates a triple channel direct memory access controller master interface. Signed-off-by: Songjun Wu --- Changes in v10: - If 's_power

[PATCH v10 3/3] MAINTAINERS: atmel-isc: add entry for Atmel ISC

2016-08-16 Thread Songjun Wu
Add the MAINTAINERS' entry for Microchip / Atmel Image Sensor Controller. Signed-off-by: Songjun Wu --- Changes in v10: None Changes in v9: None Changes in v8: None Changes in v7: None Changes in v6: None Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2:

[PATCH v10 0/3] [media] atmel-isc: add driver for Atmel ISC

2016-08-16 Thread Songjun Wu
robe() with module_platform_driver(). - Remove the unit address of the endpoint. - Add the unit address to the clock node. - Avoid using underscores in node names. - Drop the "0x" in the unit address of the i2c node. - Modify the description of 'atmel,sensor-preferred'. - Add the d

[PATCH v10 2/3] [media] atmel-isc: DT binding for Image Sensor Controller driver

2016-08-16 Thread Songjun Wu
DT binding documentation for ISC driver. Acked-by: Rob Herring Signed-off-by: Songjun Wu --- Changes in v10: None Changes in v9: None Changes in v8: None Changes in v7: None Changes in v6: - Add "iscck" and "gck" to clock-names. Changes in v5: - Add clock-output-n

[PATCH v9 1/2] [media] atmel-isc: add the Image Sensor Controller code

2016-08-11 Thread Songjun Wu
Add driver for the Image Sensor Controller. It manages incoming data from a parallel based CMOS/CCD sensor. It has an internal image processor, also integrates a triple channel direct memory access controller master interface. Signed-off-by: Songjun Wu --- Changes in v9: - Set the default

[PATCH v9 0/2] [media] atmel-isc: add driver for Atmel ISC

2016-08-11 Thread Songjun Wu
er_probe() with module_platform_driver(). - Remove the unit address of the endpoint. - Add the unit address to the clock node. - Avoid using underscores in node names. - Drop the "0x" in the unit address of the i2c node. - Modify the description of 'atmel,sensor-preferred'

[PATCH v9 2/2] [media] atmel-isc: DT binding for Image Sensor Controller driver

2016-08-11 Thread Songjun Wu
DT binding documentation for ISC driver. Acked-by: Rob Herring Signed-off-by: Songjun Wu --- Changes in v9: None Changes in v8: None Changes in v7: None Changes in v6: - Add "iscck" and "gck" to clock-names. Changes in v5: - Add clock-output-names. Changes in v4: - Remove

[PATCH v8 1/2] [media] atmel-isc: add the Image Sensor Controller code

2016-08-03 Thread Songjun Wu
Add driver for the Image Sensor Controller. It manages incoming data from a parallel based CMOS/CCD sensor. It has an internal image processor, also integrates a triple channel direct memory access controller master interface. Signed-off-by: Songjun Wu --- Changes in v8: - Power on the sensor

[PATCH v8 0/2] [media] atmel-isc: add driver for Atmel ISC

2016-08-03 Thread Songjun Wu
;isc_async_complete' function. - Remove the '.owner = THIS_MODULE,' in atmel_isc_driver. - Replace the module_platform_driver_probe() with module_platform_driver(). - Remove the unit address of the endpoint. - Add the unit address to the clock node. - Avoid using underscores in nod

[PATCH v8 2/2] [media] atmel-isc: DT binding for Image Sensor Controller driver

2016-08-03 Thread Songjun Wu
DT binding documentation for ISC driver. Acked-by: Rob Herring Signed-off-by: Songjun Wu --- Changes in v8: None Changes in v7: None Changes in v6: - Add "iscck" and "gck" to clock-names. Changes in v5: - Add clock-output-names. Changes in v4: - Remove the isc clock n

[PATCH v7 2/2] [media] atmel-isc: DT binding for Image Sensor Controller driver

2016-07-29 Thread Songjun Wu
DT binding documentation for ISC driver. Signed-off-by: Songjun Wu --- Changes in v7: None Changes in v6: - Add "iscck" and "gck" to clock-names. Changes in v5: - Add clock-output-names. Changes in v4: - Remove the isc clock nodes. Changes in v3: - Remove the &#x

[PATCH v7 1/2] [media] atmel-isc: add the Image Sensor Controller code

2016-07-29 Thread Songjun Wu
Add driver for the Image Sensor Controller. It manages incoming data from a parallel based CMOS/CCD sensor. It has an internal image processor, also integrates a triple channel direct memory access controller master interface. Signed-off-by: Songjun Wu --- Changes in v7: - Add enum_framesizes

[PATCH v7 0/2] [media] atmel-isc: add driver for Atmel ISC

2016-07-29 Thread Songjun Wu
ndpoint. - Add the unit address to the clock node. - Avoid using underscores in node names. - Drop the "0x" in the unit address of the i2c node. - Modify the description of 'atmel,sensor-preferred'. - Add the description for the ISC internal clock. Songjun Wu (2): [me

[PATCH v6 0/2] [media] atmel-isc: add driver for Atmel ISC

2016-07-21 Thread Songjun Wu
,' in atmel_isc_driver. - Replace the module_platform_driver_probe() with module_platform_driver(). - Remove the unit address of the endpoint. - Add the unit address to the clock node. - Avoid using underscores in node names. - Drop the "0x" in the unit address of the i2c node. - Modify

[PATCH v6 1/2] [media] atmel-isc: add the Image Sensor Controller code

2016-07-21 Thread Songjun Wu
Add driver for the Image Sensor Controller. It manages incoming data from a parallel based CMOS/CCD sensor. It has an internal image processor, also integrates a triple channel direct memory access controller master interface. Signed-off-by: Songjun Wu --- Changes in v6: None Changes in v5

[PATCH v6 2/2] [media] atmel-isc: DT binding for Image Sensor Controller driver

2016-07-21 Thread Songjun Wu
DT binding documentation for ISC driver. Signed-off-by: Songjun Wu --- Changes in v6: - Add "iscck" and "gck" to clock-names. Changes in v5: - Add clock-output-names. Changes in v4: - Remove the isc clock nodes. Changes in v3: - Remove the 'atmel,sensor-preferred

[PATCH v5 1/2] [media] atmel-isc: add the Image Sensor Controller code

2016-06-17 Thread Songjun Wu
Add driver for the Image Sensor Controller. It manages incoming data from a parallel based CMOS/CCD sensor. It has an internal image processor, also integrates a triple channel direct memory access controller master interface. Signed-off-by: Songjun Wu --- Changes in v5: - Modify the macro

[PATCH v5 0/2] [media] atmel-isc: add driver for Atmel ISC

2016-06-17 Thread Songjun Wu
move the '.owner = THIS_MODULE,' in atmel_isc_driver. - Replace the module_platform_driver_probe() with module_platform_driver(). - Remove the unit address of the endpoint. - Add the unit address to the clock node. - Avoid using underscores in node names. - Drop the "0x" in th

[PATCH v4 0/2] [media] atmel-isc: add driver for Atmel ISC

2016-06-07 Thread Songjun Wu
sing underscores in node names. - Drop the "0x" in the unit address of the i2c node. - Modify the description of 'atmel,sensor-preferred'. - Add the description for the ISC internal clock. Songjun Wu (2): [media] atmel-isc: add the Image Sensor Controller code [medi

[PATCH v4 1/2] [media] atmel-isc: add the Image Sensor Controller code

2016-06-07 Thread Songjun Wu
Add driver for the Image Sensor Controller. It manages incoming data from a parallel based CMOS/CCD sensor. It has an internal image processor, also integrates a triple channel direct memory access controller master interface. Signed-off-by: Songjun Wu --- Changes in v4: - Modify the isc clock

[PATCH v3 0/2] [media] atmel-isc: add driver for Atmel ISC

2016-05-31 Thread Songjun Wu
- Add the unit address to the clock node. - Avoid using underscores in node names. - Drop the "0x" in the unit address of the i2c node. - Modify the description of 'atmel,sensor-preferred'. - Add the description for the ISC internal clock. Songjun Wu (2): [media] atmel-isc: add t

[PATCH v3 1/2] [media] atmel-isc: add the Image Sensor Controller code

2016-05-31 Thread Songjun Wu
Add driver for the Image Sensor Controller. It manages incoming data from a parallel based CMOS/CCD sensor. It has an internal image processor, also integrates a triple channel direct memory access controller master interface. Signed-off-by: Songjun Wu --- Changes in v3: - Add pm runtime

[PATCH v2 0/2] [media] atmel-isc: add driver for Atmel ISC

2016-05-18 Thread Songjun Wu
.owner = THIS_MODULE,' in atmel_isc_driver. - Replace the module_platform_driver_probe() with module_platform_driver(). - Remove the unit address of the endpoint. - Add the unit address to the clock node. - Avoid using underscores in node names. - Drop the "0x" in the unit address

[PATCH v2 1/2] [media] atmel-isc: add the Image Sensor Controller code

2016-05-18 Thread Songjun Wu
Add driver for the Image Sensor Controller. It manages incoming data from a parallel based CMOS/CCD sensor. It has an internal image processor, also integrates a triple channel direct memory access controller master interface. Signed-off-by: Songjun Wu --- Changes in v2: - Add "depen

[PATCH 0/2] [media] atmel-isc: add driver for Atmel ISC

2016-04-13 Thread Songjun Wu
The Image Sensor Controller driver includes two parts. 1) Driver code to implement the ISC function. 2) Device tree binding documentation, it describes how to add the ISC in device tree. Songjun Wu (2): [media] atmel-isc: add the Image Sensor Controller code [media] atmel-isc: DT binding

[PATCH 1/2] [media] atmel-isc: add the Image Sensor Controller code

2016-04-13 Thread Songjun Wu
Add driver for the Image Sensor Controller. It manages incoming data from a parallel based CMOS/CCD sensor. It has an internal image processor, also integrates a triple channel direct memory access controller master interface. Signed-off-by: Songjun Wu --- drivers/media/platform/Kconfig