[RFC PATCH V3 5/5] media: platform: mtk-mdp3: Add struct tuning_addr and img_sw_buffer

2019-09-09 Thread frederic.chen
From: Frederic Chen We added a struct tuning_addr which contains a field "present" so that the driver can tell the firmware if we have user tuning dataor not. The strcut img_sw_buffer is also added. This struct has no cpu address field and uses a handle instead so that we don't pass a cpu addres

[RFC PATCH V3 3/5] media: platform: Add Mediatek DIP driver KConfig

2019-09-09 Thread frederic.chen
From: Frederic Chen This patch adds KConfig for Mediatek Digital Image Processing driver(DIP). DIP is embedded in Mediatek SoCs. It provides image format conversion, resizing, and rotation function. Signed-off-by: Frederic Chen --- drivers/media/platform/Kconfig | 2 ++ drivers/media/

[RFC PATCH V3 1/5] dt-bindings: mt8183: Added DIP dt-bindings

2019-09-09 Thread frederic.chen
From: Frederic Chen This patch adds DT binding documentation for the Digital Image Processing (DIP) unit of camera ISP system on Mediatek's SoCs. It depends on the SCP and MDP 3 patch as following: 1. dt-bindings: Add a binding for Mediatek SCP https://patchwork.kernel.org/patch/11027247/ 2.

[RFC PATCH V3 4/5] platform: mtk-isp: Add Mediatek DIP driver

2019-09-09 Thread frederic.chen
From: Frederic Chen This patch adds the driver of Digital Image Processing (DIP) unit in Mediatek ISP system, providing image format conversion, resizing, and rotation features. The mtk-isp directory will contain drivers for multiple IP blocks found in Mediatek ISP system. It will include ISP Pa

[RFC PATCH V3 2/5] dts: arm64: mt8183: Add DIP nodes

2019-09-09 Thread frederic.chen
From: Frederic Chen This patch adds nodes for Digital Image Processing (DIP). DIP is embedded in Mediatek SoCs and works with the co-processor to adjust image content according to tuning input data. It also provides image format conversion, resizing, and rotation features. Signed-off-by: Frederi

[RFC PATCH V2 3/6] media: platform: Add Mediatek DIP driver KConfig

2019-07-08 Thread frederic.chen
From: Frederic Chen This patch adds KConfig for Mediatek Digital Image Processing driver(DIP). DIP is embedded in Mediatek SoCs. It provides image format conversion, resizing, and rotation function. Signed-off-by: Frederic Chen --- drivers/media/platform/Kconfig | 2 ++ drivers/media/

[RFC PATCH V2 4/6] platform: mtk-isp: Add Mediatek DIP driver

2019-07-08 Thread frederic.chen
From: Frederic Chen This patch adds the driver of Digital Image Processing (DIP) unit in Mediatek ISP system, providing image format conversion, resizing, and rotation features. The mtk-isp directory will contain drivers for multiple IP blocks found in Mediatek ISP system. It will include ISP Pa

[RFC PATCH V2 0/6] media: platform: Add support for Digital Image Processing (DIP) on mt8183 SoC

2019-07-08 Thread frederic.chen
Hello, This RFC patch series added Digital Image Processing (DIP) driver on Mediatek mt8183 SoC. It belongs to the Mediatek's ISP driver series based on V4L2 and media controller framework. I posted the main part of the DIP driver as RFC to discuss first and would like some review comments. I app

[RFC PATCH V2 5/6] remoteproc/mediatek: add SCP's shared dma pool support for mt8183

2019-07-08 Thread frederic.chen
From: Frederic Chen This patch uses of_reserved_mem_device_init_by_idx() to hook the scp device to DMA mapping API to provide a shared dma pool of SCP DMA buffers for SCP's client such as DIP and ISP Pass 1 drivers. Signed-off-by: Frederic Chen --- drivers/remoteproc/mtk_scp.c | 54 +++

[RFC PATCH V2 1/6] dt-bindings: mt8183: Added DIP dt-bindings

2019-07-08 Thread frederic.chen
From: Frederic Chen This patch adds DT binding documentation for the Digital Image Processing (DIP) unit of camera ISP system on Mediatek's SoCs. It depends on the SCP and MDP 3 patch as following: 1. dt-bindings: Add a binding for Mediatek SCP https://patchwork.kernel.org/patch/11027247/ 2.

[RFC PATCH V2 2/6] dts: arm64: mt8183: Add DIP nodes

2019-07-08 Thread frederic.chen
From: Frederic Chen This patch adds nodes for Digital Image Processing (DIP). DIP is embedded in Mediatek SoCs and works with the co-processor to adjust image content according to tuning input data. It also provides image format conversion, resizing, and rotation features. Signed-off-by: Frederi

[RFC PATCH V2 6/6] media: platform: mtk-mdp3: Add struct tuning_addr to identify user tuning data

2019-07-08 Thread frederic.chen
From: Frederic Chen We added a struct tuning_addr which contains a field "present" so that the driver can tell the firmware if we have user tuning dataor not. Signed-off-by: Frederic Chen --- drivers/media/platform/mtk-mdp3/mtk-img-ipi.h | 8 +++- 1 file changed, 7 insertions(+), 1 deletio