[RFC,v5, 4/5] media: pixfmt: Add Mediatek ISP P1 image & meta formats

2019-09-02 Thread Jungo Lin
is not ready to be reviewed yet.) Signed-off-by: Jungo Lin --- .../media/uapi/v4l/pixfmt-mtisp-sbggr10.rst | 65 +++ .../media/uapi/v4l/pixfmt-mtisp-sbggr10f.rst | 90 ++ .../media/uapi/v4l/pixfmt-mtisp-sbggr12.rst | 61 ++ .../media/uapi/v4l/pixfmt-mtisp

[RFC,v5, 5/5] media: platform: Add Mediatek ISP P1 V4L2 device driver

2019-09-02 Thread Jungo Lin
input and partial meta nodes is only a temporary solution to kick off the driver development and is not ready to be reviewed yet.) Signed-off-by: Jungo Lin --- This patch depends on "Add support for mt8183 SCP"[1]. [1] https://patchwork.kernel.org/cover/11095113/ --- drivers/media/platfo

[RFC,v5, 2/5] dts: arm64: mt8183: Add ISP Pass 1 nodes

2019-09-02 Thread Jungo Lin
Add nodes for Pass 1 unit of Mediatek's camera ISP system. Pass 1 unit embedded in Mediatek SoCs, works with the co-processor to process image signal from the image sensor and output RAW image data. Signed-off-by: Jungo Lin --- arch/arm64/boot/dts/mediatek/mt8183.dtsi

[RFC,v5, 1/5] media: dt-bindings: mt8183: Added camera ISP Pass 1

2019-09-02 Thread Jungo Lin
This patch adds DT binding document for the Pass 1 (P1) unit in Mediatek's camera ISP system. The Pass 1 unit grabs the sensor data out from the sensor interface, applies ISP image effects from tuning data and outputs the image data or statistics data to DRAM. Signed-off-by: Jung

[RFC,v5,0/5] media: platform: mtk-isp: Add Mediatek ISP Pass 1 driver

2019-09-02 Thread Jungo Lin
Hello, This RFC patch series adding the driver for Pass 1 (P1) unit in Mediatek's camera ISP system on mt8183 SoC, which will be used in camera features of CrOS. It's the first time Mediatek develops ISP kernel drivers based on V4L2 and media controller framework. I posted the main part of the ISP

[RFC,v5, 3/5] media: videodev2.h: Add new boottime timestamp type

2019-09-02 Thread Jungo Lin
For Camera AR(Augmented Reality) application requires camera timestamps to be reported with CLOCK_BOOTTIME to sync timestamp with other sensor sources. The boottime timestamp is identical to monotonic timestamp, except it also includes any time that the system is suspended. Signed-off-by: Jungo

Re: [RFC,v4,1/4] media: dt-bindings: mt8183: Added camera ISP Pass 1

2019-08-22 Thread Jungo Lin
Hi, Rob: On Wed, 2019-08-21 at 15:17 -0500, Rob Herring wrote: > On Wed, Aug 07, 2019 at 08:48:00PM +0800, Jungo Lin wrote: > > This patch adds DT binding document for the Pass 1 (P1) unit > > in Mediatek's camera ISP system. The Pass 1 unit grabs the sensor > > data out

Re: [RFC,v4,1/4] media: dt-bindings: mt8183: Added camera ISP Pass 1

2019-08-22 Thread Jungo Lin
Hi, Rob: On Wed, 2019-08-21 at 14:47 -0500, Rob Herring wrote: > On Wed, Aug 07, 2019 at 08:48:00PM +0800, Jungo Lin wrote: > > This patch adds DT binding document for the Pass 1 (P1) unit > > in Mediatek's camera ISP system. The Pass 1 unit grabs the sensor > > data out

[RFC,v4,4/4] media: platform: Add Mediatek ISP P1 V4L2 device driver

2019-08-07 Thread Jungo Lin
input and partial meta nodes is only a temporary solution to kick off the driver development and is not ready to be reviewed yet.) Signed-off-by: Jungo Lin --- This patch depends on "Add support for mt8183 SCP"[1]. [1] https://patchwork.kernel.org/cover/11076543/ --- drivers/media/platfo

[RFC,v4,3/4] media: platform: Add Mediatek ISP P1 image & meta formats

2019-08-07 Thread Jungo Lin
is not ready to be reviewed yet.) Signed-off-by: Jungo Lin --- .../media/uapi/v4l/pixfmt-mtisp-sbggr10.rst | 65 +++ .../media/uapi/v4l/pixfmt-mtisp-sbggr10f.rst | 90 ++ .../media/uapi/v4l/pixfmt-mtisp-sbggr12.rst | 61 ++ .../media/uapi/v4l/pixfmt-mtisp

[RFC,v4,0/4] media: platform: mtk-isp: Add Mediatek ISP Pass 1 driver

2019-08-07 Thread Jungo Lin
Hello, This RFC patch series adding the driver for Pass 1 (P1) unit in Mediatek's camera ISP system on mt8183 SoC, which will be used in camera features of CrOS. It's the first time Mediatek develops ISP kernel drivers based on V4L2 and media controller framework. I posted the main part of the ISP

[RFC,v4,1/4] media: dt-bindings: mt8183: Added camera ISP Pass 1

2019-08-07 Thread Jungo Lin
This patch adds DT binding document for the Pass 1 (P1) unit in Mediatek's camera ISP system. The Pass 1 unit grabs the sensor data out from the sensor interface, applies ISP image effects from tuning data and outputs the image data or statistics data to DRAM. Signed-off-by: Jung

[RFC,v4,2/4] dts: arm64: mt8183: Add ISP Pass 1 nodes

2019-08-07 Thread Jungo Lin
Add nodes for Pass 1 unit of Mediatek's camera ISP system. Pass 1 unit embedded in Mediatek SoCs, works with the co-processor to process image signal from the image sensor and output RAW image data. Signed-off-by: Jungo Lin --- arch/arm64/boot/dts/mediatek/mt8183.dtsi

Re: [RFC,v3 8/9] media: platform: Add Mediatek ISP P1 SCP communication

2019-07-20 Thread Jungo Lin
Hi Tomasz: On Wed, 2019-07-10 at 18:58 +0900, Tomasz Figa wrote: > Hi Jungo, > > On Tue, Jun 11, 2019 at 11:53:43AM +0800, Jungo Lin wrote: > > This patch adds communication with the co-processor on the SoC > > through the SCP driver. It supports bi-directional commands >

Re: [RFC,v3 7/9] media: platform: Add Mediatek ISP P1 device driver

2019-07-20 Thread Jungo Lin
Hi, Tomasz: On Wed, 2019-07-10 at 18:56 +0900, Tomasz Figa wrote: > Hi Jungo, > > On Tue, Jun 11, 2019 at 11:53:42AM +0800, Jungo Lin wrote: > > This patch adds the Mediatek ISP P1 HW control device driver. > > It handles the ISP HW configuration, provides interrupt handlin

Re: [RFC,v3 6/9] media: platform: Add Mediatek ISP P1 V4L2 functions

2019-07-17 Thread Jungo Lin
Hi, Tomasz: On Wed, 2019-07-10 at 18:54 +0900, Tomasz Figa wrote: > Hi Jungo, > > On Tue, Jun 11, 2019 at 11:53:41AM +0800, Jungo Lin wrote: > > Implement standard V4L2 video driver that utilizes V4L2 > > and media framework APIs. In this driver, supports one media > >

Re: [RFC,v3 9/9] media: platform: Add Mediatek ISP P1 shared memory device

2019-07-04 Thread Jungo Lin
Hi Tomasz, On Mon, 2019-07-01 at 16:25 +0900, Tomasz Figa wrote: > Hi Jungo, > > On Tue, Jun 11, 2019 at 11:53:44AM +0800, Jungo Lin wrote: > > The purpose of this child device is to provide shared > > memory management for exchanging tuning data between co-processor >

Re: [RFC,v3 5/9] media: platform: Add Mediatek ISP P1 V4L2 control

2019-07-02 Thread Jungo Lin
Hi Tomasz, On Mon, 2019-07-01 at 14:50 +0900, Tomasz Figa wrote: > Hi Jungo, > > On Tue, Jun 11, 2019 at 11:53:40AM +0800, Jungo Lin wrote: > > Reserved Mediatek ISP P1 V4L2 control number with 16. > > Moreover, add two V4L2 controls for ISP P1 user space

[RFC,v3 4/9] media: platform: Add Mediatek ISP P1 image & meta formats

2019-06-10 Thread Jungo Lin
and is not ready to be reviewed yet.) Signed-off-by: Jungo Lin --- Documentation/media/uapi/v4l/pixfmt-mtb8.rst | 49 + Documentation/media/uapi/v4l/pixfmt-mtba.rst | 62 +++ Documentation/media/uapi/v4l/pixfmt-mtbc.rst | 58 ++ Documentation/media/uapi/v4l/pixfmt

[RFC,v3 9/9] media: platform: Add Mediatek ISP P1 shared memory device

2019-06-10 Thread Jungo Lin
The purpose of this child device is to provide shared memory management for exchanging tuning data between co-processor and the Pass 1 unit of the camera ISP system, including cache buffer handling. Signed-off-by: Jungo Lin --- This patch depends on "Add support for mt8183 SCP"[1].

[RFC,V3 0/9] media: platform: mtk-isp: Add Mediatek ISP Pass 1 driver

2019-06-10 Thread Jungo Lin
Hello, This RFC patch series adding the driver for Pass 1 (P1) unit in Mediatek's camera ISP system on mt8183 SoC, which will be used in camera features of CrOS. It's the first time Mediatek develops ISP kernel drivers based on V4L2 and media controller framework. I posted the main part of the ISP

[RFC,v3 5/9] media: platform: Add Mediatek ISP P1 V4L2 control

2019-06-10 Thread Jungo Lin
ream to user space. One is pure raw and the other is processing raw. The default value is 0 which outputs the pure raw bayer image from sesnor, without image processing in ISP HW. Signed-off-by: Jungo Lin --- drivers/media/platform/mtk-isp/Makefile | 3 + .../media/platform/mtk-isp/is

[RFC,v3 2/9] dts: arm64: mt8183: Add ISP Pass 1 nodes

2019-06-10 Thread Jungo Lin
Add nodes for Pass 1 unit of Mediatek's camera ISP system. Pass 1 unit embedded in Mediatek SoCs, works with the co-processor to process image signal from the image sensor and output RAW image data. Signed-off-by: Jungo Lin --- arch/arm64/boot/dts/mediatek/mt8183.dtsi

[RFC,v3 6/9] media: platform: Add Mediatek ISP P1 V4L2 functions

2019-06-10 Thread Jungo Lin
interface used in meta input and partial meta nodes is only a temporary solution to kick off the driver development and is not ready to be reviewed yet.) Signed-off-by: Jungo Lin --- This patch depends on "media: support Mediatek sensor interface driver"[1]. ISP P1 sub-device communicates with

[RFC,v3 7/9] media: platform: Add Mediatek ISP P1 device driver

2019-06-10 Thread Jungo Lin
off the driver development and is not ready to be reviewed yet.) Signed-off-by: Jungo Lin --- .../platform/mtk-isp/isp_50/cam/Makefile |1 + .../mtk-isp/isp_50/cam/mtk_cam-regs.h | 126 ++ .../platform/mtk-isp/isp_50/cam/mtk_cam.c | 1087 + .../platform/mtk

[RFC,v3 3/9] media: platform: Add Mediatek ISP Pass 1 driver Kconfig

2019-06-10 Thread Jungo Lin
This patch adds Kconfig for Pass 1 (P1) unit driver of Mediatek's camera ISP system. ISP P1 unit is embedded in Mediatek SoCs. It provides RAW processing which includes optical black correction, defect pixel correction, W/IR imbalance correction and lens shading correction. Signed-off-by:

[RFC,v3 1/9] dt-bindings: mt8183: Added camera ISP Pass 1

2019-06-10 Thread Jungo Lin
This patch adds DT binding document for the Pass 1 (P1) unit in Mediatek's camera ISP system. The Pass 1 unit grabs the sensor data out from the sensor interface, applies ISP image effects from tuning data and outputs the image data or statistics data to DRAM. Signed-off-by: Jung

[RFC,v3 8/9] media: platform: Add Mediatek ISP P1 SCP communication

2019-06-10 Thread Jungo Lin
This patch adds communication with the co-processor on the SoC through the SCP driver. It supports bi-directional commands to exchange data and perform command flow control function. Signed-off-by: Jungo Lin --- This patch depends on "Add support for mt8183 SCP"[1].

Re: [RFC,V2,08/11] media: platform: Add Mediatek ISP P1 V4L2 functions

2019-05-27 Thread Jungo Lin
Hi, Drew: Appreciate your feedbacks on this patch set firstly. On Fri, 2019-05-24 at 12:49 -0600, Drew Davenport wrote: > Hi Jungo, > > On Fri, May 10, 2019 at 09:58:02AM +0800, Jungo Lin wrote: > > Implement standard V4L2 video driver that utilizes V4L2 > > and media fr

Re: [RFC, V2, 09/11] media: platform: Add Mediatek ISP P1 device driver

2019-05-27 Thread Jungo Lin
Hi, Drew: On Fri, 2019-05-24 at 15:19 -0600, Drew Davenport wrote: > Hi Jungo, > > On Fri, May 10, 2019 at 09:58:04AM +0800, Jungo Lin wrote: > > This patch adds the Mediatek ISP P1 HW control device driver. > > It handles the ISP HW configuration, provides i

Re: [RFC,V2,03/11] dt-bindings: mt8183: Added camera ISP Pass 1

2019-05-15 Thread Jungo Lin
Hi, Rob: Thanks for your comments. On Tue, 2019-05-14 at 14:54 -0500, Rob Herring wrote: > On Fri, May 10, 2019 at 09:57:52AM +0800, Jungo Lin wrote: > > This patch adds DT binding document for the Pass 1 (P1) unit in > > Mediatek's camera ISP system. The Pass 1 unit g

Re: [RFC,V2,01/11] dt-bindings: mt8183: Add binding for ISP Pass 1 reserved memory

2019-05-15 Thread Jungo Lin
Hi Rob: Thanks for your comments. On Tue, 2019-05-14 at 14:50 -0500, Rob Herring wrote: > On Fri, May 10, 2019 at 09:57:47AM +0800, Jungo Lin wrote: > > This patch adds the binding for describing the reserved > > shared memory used to exchange ISP configuration and tuning > >

Re: [RFC, V2, 06/11] media: platform: Add Mediatek ISP P1 image & meta formats

2019-05-15 Thread Jungo Lin
Hi, Hans: Thanks for your comments. On Mon, 2019-05-13 at 10:35 +0200, Hans Verkuil wrote: > On 5/10/19 3:57 AM, Jungo Lin wrote: > > Add packed/unpacked/full-g bayer format with 8/10/12/14 bit > > for image output. Add Pass 1 (P1) specific meta formats for > > parameter pr

Re: [RFC,V2,07/11] media: platform: Add Mediatek ISP P1 private control

2019-05-13 Thread Jungo Lin
Hi Hans, Thank you for your comments. On Mon, 2019-05-13 at 10:46 +0200, Hans Verkuil wrote: > On 5/10/19 3:58 AM, Jungo Lin wrote: > > Reserved Mediatek ISP P1 private control number with 16. > > Moreover, add two private controls for ISP P1 user space > &

[RFC,V2,00/11] meida: platform: mtk-isp: Add Mediatek ISP Pass 1 driver

2019-05-09 Thread Jungo Lin
Hello, This RFC patch series adding the driver for Pass 1 (P1) unit in Mediatek's camera ISP system on mt8183 SoC, which will be used in camera features of CrOS. It's the first time Mediatek develops ISP kernel drivers based on V4L2 and media controller framework. I posted the main part of the ISP

[RFC,V2,09/11] media: platform: Add Mediatek ISP P1 device driver

2019-05-09 Thread Jungo Lin
This patch adds the Mediatek ISP P1 HW control device driver. It handles the ISP HW configuration, provides interrupt handling and initializes the V4L2 device nodes and other functions. Signed-off-by: Jungo Lin --- .../mtk-isp/isp_50/cam/mtk_cam-regs.h | 149 ++ .../platform/mtk-isp

[RFC,V2,10/11] media: platform: Add Mediatek ISP P1 SCP communication

2019-05-09 Thread Jungo Lin
This patch adds communication with the co-processor on the SoC through the SCP driver. It supports bi-directional commands to exchange data and perform command flow control function. Signed-off-by: Jungo Lin --- This patch dependents on "Add support for mt8183 SCP"[1].

[RFC,V2,11/11] media: platform: Add Mediatek ISP P1 shared memory device

2019-05-09 Thread Jungo Lin
The purpose of this child device is to provide shared memory management for exchanging tuning data between co-processor and the Pass 1 unit of the camera ISP system, including cache buffer handling. Signed-off-by: Jungo Lin --- .../mtk-isp/isp_50/cam/mtk_cam-smem-dev.c | 297

[RFC,V2,07/11] media: platform: Add Mediatek ISP P1 private control

2019-05-09 Thread Jungo Lin
l of the main stream to user space. One is pure raw and the other is processing raw. The default image path is pure raw. Signed-off-by: Jungo Lin --- .../mtk-isp/isp_50/cam/mtk_cam-ctrl.c | 133 ++ .../mtk-isp/isp_50/cam/mtk_cam-ctrl.h | 32 + include/uapi/linux/

[RFC,V2,08/11] media: platform: Add Mediatek ISP P1 V4L2 functions

2019-05-09 Thread Jungo Lin
Implement standard V4L2 video driver that utilizes V4L2 and media framework APIs. In this driver, supports one media device, one sub-device and six video devices during initialization. Moreover, it also connects with sensor and senif drivers with V4L2 async APIs. Signed-off-by: Jungo Lin

[RFC,V2,03/11] dt-bindings: mt8183: Added camera ISP Pass 1

2019-05-09 Thread Jungo Lin
This patch adds DT binding document for the Pass 1 (P1) unit in Mediatek's camera ISP system. The Pass 1 unit grabs the sensor data out from the sensor interface, applies ISP image effects from tuning data and outputs the image data or statistics data to DRAM. Signed-off-by: Jung

[RFC,V2,04/11] dts: arm64: mt8183: Add ISP Pass 1 nodes

2019-05-09 Thread Jungo Lin
Add nodes for Pass 1 unit of Mediatek's camera ISP system. Pass 1 unit embedded in Mediatek SoCs, works with the co-processor to process image signal from the image sensor and output RAW image data. Signed-off-by: Jungo Lin --- arch/arm64/boot/dts/mediatek/mt8183.dtsi

[RFC,V2,06/11] media: platform: Add Mediatek ISP P1 image & meta formats

2019-05-09 Thread Jungo Lin
Add packed/unpacked/full-g bayer format with 8/10/12/14 bit for image output. Add Pass 1 (P1) specific meta formats for parameter processing and 3A/other statistics. Signed-off-by: Jungo Lin --- include/uapi/linux/videodev2.h | 20 1 file changed, 20 insertions(+) diff

[RFC,V2,05/11] media: platform: Add Mediatek ISP Pass 1 driver Kconfig

2019-05-09 Thread Jungo Lin
This patch adds Kconfig for Pass 1 (P1) unit driver of Mediatek's camera ISP system. ISP P1 unit is embedded in Mediatek SoCs. It provides RAW processing which includes optical black correction, defect pixel correction, W/IR imbalance correction and lens shading correction. Signed-off-by:

[RFC,V2,02/11] dts: arm64: mt8183: Add ISP Pass 1 shared memory node

2019-05-09 Thread Jungo Lin
This patch adds a shared memory region used on mt8183 for exchanging tuning data between co-processor and the Pass 1 unit of the camera ISP system. Signed-off-by: Jungo Lin --- arch/arm64/boot/dts/mediatek/mt8183.dtsi | 13 + 1 file changed, 13 insertions(+) diff --git a/arch/arm64

[RFC,V2,01/11] dt-bindings: mt8183: Add binding for ISP Pass 1 reserved memory

2019-05-09 Thread Jungo Lin
This patch adds the binding for describing the reserved shared memory used to exchange ISP configuration and tuning data between the co-processor and Pass 1 (P1) unit of the camera ISP system on Mediatek SoCs. Signed-off-by: Jungo Lin --- .../mediatek,reserve-memory-cam-smem.txt | 42

[PATCH] media: media_device_enum_links32: clean a reserved field

2019-04-02 Thread Jungo Lin
reserved field logic in media_device_enum_links32 function. Signed-off-by: Jungo Lin --- Changes since v1 - Revised the reserved field handling logic drivers/media/media-device.c | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/drivers/media/media-device.c b/drivers

Re: [PATCH v1] media: media_device_enum_links32: fix missing reserved field copy

2019-04-02 Thread Jungo Lin
Hi, Laurent, On Tue, 2019-04-02 at 14:33 +0300, Laurent Pinchart wrote: > Hi Jungo, > > Thank you for the patch. > > On Tue, Apr 02, 2019 at 06:04:04PM +0800, Jungo Lin wrote: > > From: Jungo Lin > > > > In v4l2-compliance utility, test MEDIA_IOC_ENUM_ENTITIE

[PATCH v1] media: media_device_enum_links32: fix missing reserved field copy

2019-04-02 Thread Jungo Lin
From: Jungo Lin In v4l2-compliance utility, test MEDIA_IOC_ENUM_ENTITIES will check whether reserved field of media_links_enum filled with zero. Reserved field is filled with zero in media_device_enum_links. However, for 32 bit program, the reserved field is missing copy from kernel space to

[RFC V1 04/12] dt-bindings: mt8183: Added camera ISP Pass 1

2019-03-28 Thread Jungo Lin
This patch adds DT binding document for the Pass 1 (P1) unit in Mediatek's camera ISP system. The Pass 1 unit grabs the sensor data out from the sensor interface, applies ISP effects and writes the image data to DRAM. Signed-off-by: Jungo Lin --- .../devicetree/bindings/media/med

[RFC V1 06/12] media: platform: Add Mediatek ISP Pass 1 driver Kconfig

2019-03-28 Thread Jungo Lin
This patch adds Kconfig for Pass 1 (P1) unit driver of Mediatek's camera ISP system. ISP P1 unit is embedded in Mediatek SoCs. It provides RAW processing which includes optical black correction, defect pixel correction, W/IR imbalance correction and lens shading correction. Signed-off-by:

[RFC V1 08/12] media: platform: Add Mediatek ISP P1 private control

2019-03-28 Thread Jungo Lin
l of the main stream to user space. One is pure raw and the other is processing raw. The default image path is pure raw. Signed-off-by: Jungo Lin --- .../platform/mtk-isp/isp_50/cam/mtk_cam-ctrl.c | 133 + .../platform/mtk-isp/isp_50/cam/mtk_cam-ctrl.h | 32 + inc

[RFC V1 11/12] media: platform: Add Mediatek ISP P1 SCP communication

2019-03-28 Thread Jungo Lin
This patch adds communication with the co-processor on the SoC through the SCP driver. It supports bi-directional command based to exchange data and flow control. Signed-off-by: Jungo Lin --- This patch dependents on "Add support for mt8183 SCP"[1]. [1] https://patchwork.kernel

[RFC V1 10/12] media: platform: Add Mediatek ISP P1 device driver

2019-03-28 Thread Jungo Lin
This patch adds the Mediatek ISP P1 HW control device driver. It handles the ISP HW configuration, provides interrupt handling and initializes the V4L2 device nodes and other functions. Signed-off-by: Jungo Lin --- .../platform/mtk-isp/isp_50/cam/mtk_cam-regs.h | 147 +++ .../media

[RFC V1 09/12] media: platform: Add Mediatek ISP P1 V4L2 functions

2019-03-28 Thread Jungo Lin
Implement standard V4L2 video driver that utilizes v4l2 and media frameworks. In this driver, supports one sub-device and six video devices. Moreover, it also connects with sensor & senif drivers with camera IO connection via media controller APIs. Signed-off-by: Jungo Lin --- drivers/m

[RFC V1 12/12] media: platform: Add Mediatek ISP P1 shared memory driver

2019-03-28 Thread Jungo Lin
The purpose of this driver is to provide shared memory management for exchanging tuning data between co-processor and the Pass 1 unit of the camera ISP system. Signed-off-by: Jungo Lin --- .../platform/mtk-isp/isp_50/cam/mtk_cam-smem-drv.c | 398 + .../platform/mtk-isp

[RFC V1 07/12] media: platform: Add Mediatek ISP P1 image & meta formats

2019-03-28 Thread Jungo Lin
Add packed/unpacked/full-g bayer format with 8/10/12/14 bit for image output. Add Pass 1 (P1) specific meta formats for parameter processing and 3A/other statistics. Signed-off-by: Jungo Lin --- include/uapi/linux/videodev2.h | 20 1 file changed, 20 insertions(+) diff

[RFC V1 05/12] dts: arm64: mt8183: Add ISP Pass 1 nodes

2019-03-28 Thread Jungo Lin
Add nodes for Pass 1 unit of Mediatek's camera ISP system. Pass 1 unit embedded in Mediatek SoCs, works with the co-processor to process image signal from the image sensor and output RAW data. Signed-off-by: Jungo Lin --- arch/arm64/boot/dts/mediatek/mt8183.dtsi

[RFC V1 03/12] dt-bindings: mt8183: Added cam-smem dt-bindings

2019-03-28 Thread Jungo Lin
This patch adds the DT binding documentation for the shared memory between Pass 1 unit of the camera ISP system and the co-processor in Mediatek SoCs. Signed-off-by: Jungo Lin --- .../bindings/media/mediatek,cam_smem.txt | 32 ++ 1 file changed, 32 insertions

[RFC V1 02/12] dts: arm64: mt8183: Add ISP Pass 1 shared memory node

2019-03-28 Thread Jungo Lin
This patch adds a shared memory region used on mt8183 for exchanging tuning data between co-processor and the Pass 1 unit of the camera ISP system. Signed-off-by: Jungo Lin --- arch/arm64/boot/dts/mediatek/mt8183.dtsi | 13 + 1 file changed, 13 insertions(+) diff --git a/arch/arm64

[RFC V1 00/12] meida: platform: mtk-isp: Add Mediatek ISP Pass 1 driver

2019-03-28 Thread Jungo Lin
Hello, This RFC patch series adding the driver for Pass 1 (P1) unit in Mediatek's camera ISP system on mt8183 SoC, which will be used in camera features of CrOS. It's the first time Mediatek develops ISP kernel drivers based on V4L2 and media controller framework. I posted the main part of the ISP

[RFC V1 01/12] dt-bindings: mt8183: Add binding for ISP Pass 1 reserved memory

2019-03-28 Thread Jungo Lin
This patch adds the binding for describing the reserved shared memory used to exchange configuration and tuning data between the co-processor and Pass 1 (P1) unit of the camera ISP system on Mediatek SoCs. Signed-off-by: Jungo Lin --- .../mediatek,reserve-memory-cam_smem.txt | 44

Re: [RFC PATCH V0 7/7] [media] platform: mtk-isp: Add Mediatek ISP Pass 1 driver

2019-02-19 Thread Jungo Lin
On Tue, 2019-02-19 at 17:51 +0900, Tomasz Figa wrote: > Hi Jungo, > > On Sun, Feb 17, 2019 at 11:56 AM Jungo Lin wrote: > > > > On Wed, 2019-02-13 at 18:50 +0900, Tomasz Figa wrote: > > > (() . ( strHi Frederic, Jungo, > > > > > > On Tue, Fe

Re: [RFC PATCH V0 7/7] [media] platform: mtk-isp: Add Mediatek ISP Pass 1 driver

2019-02-16 Thread Jungo Lin
ture refactoring, such as removing mtk_cam_ctx, unnecessary abstraction layer, etc. On Wed, 2019-02-13 at 18:50 +0900, Tomasz Figa wrote: > (() . ( strHi Frederic, Jungo, > > On Tue, Feb 5, 2019 at 3:43 PM Frederic Chen > wrote: > > > > From: Jungo Lin > > > > Thi