public inbox for linux-arm-kernel@lists.infradead.org 
 help / color / mirror / Atom feed
From: Bibby Hsieh <bibby.hsieh@mediatek•com>
To: <hans.verkuil@cisco•com>,
	<laurent.pinchart+renesas@ideasonboard•com>, <tfiga@chromium•org>,
	<matthias.bgg@gmail•com>, <mchehab@kernel•org>
Cc: devicetree@vger•kernel.org, Sean.Cheng@mediatek•com,
	Rynn.Wu@mediatek•com, srv_heupstream@mediatek•com,
	daoyuan huang <daoyuan.huang@mediatek•com>,
	holmes.chiou@mediatek•com, Jerry-ch.Chen@mediatek•com,
	jungo.lin@mediatek•com, sj.huang@mediatek•com,
	yuzhao@chromium•org, linux-mediatek@lists•infradead.org,
	Ping-Hsun Wu <ping-hsun.wu@mediatek•com>,
	zwisler@chromium•org, christie.yu@mediatek•com,
	frederic.chen@mediatek•com, linux-arm-kernel@lists•infradead.org,
	linux-media@vger•kernel.org
Subject: [RFC, v3, 3/4] media: platform: Add Mediatek MDP3 driver KConfig
Date: Wed, 11 Sep 2019 17:41:47 +0800	[thread overview]
Message-ID: <20190911094147.5957-1-bibby.hsieh@mediatek.com> (raw)

From: daoyuan huang <daoyuan.huang@mediatek•com>

This patch adds Kconfig for Mediatek Media Data Path 3 (MDP3)
driver. MDP3 is used to do scaling and color format conversion.

Signed-off-by: Ping-Hsun Wu <ping-hsun.wu@mediatek•com>
Signed-off-by: daoyuan huang <daoyuan.huang@mediatek•com>
---
 drivers/media/platform/Kconfig  | 19 +++++++++++++++++++
 drivers/media/platform/Makefile |  1 +
 2 files changed, 20 insertions(+)

diff --git a/drivers/media/platform/Kconfig b/drivers/media/platform/Kconfig
index 8a19654b393a..b38071650768 100644
--- a/drivers/media/platform/Kconfig
+++ b/drivers/media/platform/Kconfig
@@ -240,6 +240,25 @@ config VIDEO_MEDIATEK_MDP
 	    To compile this driver as a module, choose M here: the
 	    module will be called mtk-mdp.
 
+config VIDEO_MEDIATEK_MDP3
+	tristate "Mediatek MDP v3 driver"
+	depends on MTK_IOMMU || COMPILE_TEST
+	depends on VIDEO_DEV && VIDEO_V4L2
+	depends on ARCH_MEDIATEK || COMPILE_TEST
+	depends on HAS_DMA
+	select VIDEOBUF2_DMA_CONTIG
+	select V4L2_MEM2MEM_DEV
+	select VIDEO_MEDIATEK_VPU
+	select MTK_CMDQ
+	select MTK_SCP
+	default n
+	help
+	    It is a v4l2 driver and present in Mediatek MT8183 SoC.
+	    The driver supports for scaling and color space conversion.
+
+	    To compile this driver as a module, choose M here: the
+	    module will be called mtk-mdp3.
+
 config VIDEO_MEDIATEK_VCODEC
 	tristate "Mediatek Video Codec driver"
 	depends on MTK_IOMMU || COMPILE_TEST
diff --git a/drivers/media/platform/Makefile b/drivers/media/platform/Makefile
index 7cbbd925124c..14c1ecce5378 100644
--- a/drivers/media/platform/Makefile
+++ b/drivers/media/platform/Makefile
@@ -89,6 +89,7 @@ obj-$(CONFIG_VIDEO_MEDIATEK_VPU)	+= mtk-vpu/
 obj-$(CONFIG_VIDEO_MEDIATEK_VCODEC)	+= mtk-vcodec/
 
 obj-$(CONFIG_VIDEO_MEDIATEK_MDP)	+= mtk-mdp/
+obj-$(CONFIG_VIDEO_MEDIATEK_MDP3)	+= mtk-mdp3/
 
 obj-$(CONFIG_VIDEO_MEDIATEK_JPEG)	+= mtk-jpeg/
 
-- 
2.18.0


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists•infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

                 reply	other threads:[~2019-09-11  9:50 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190911094147.5957-1-bibby.hsieh@mediatek.com \
    --to=bibby.hsieh@mediatek$(echo .)com \
    --cc=Jerry-ch.Chen@mediatek$(echo .)com \
    --cc=Rynn.Wu@mediatek$(echo .)com \
    --cc=Sean.Cheng@mediatek$(echo .)com \
    --cc=christie.yu@mediatek$(echo .)com \
    --cc=daoyuan.huang@mediatek$(echo .)com \
    --cc=devicetree@vger$(echo .)kernel.org \
    --cc=frederic.chen@mediatek$(echo .)com \
    --cc=hans.verkuil@cisco$(echo .)com \
    --cc=holmes.chiou@mediatek$(echo .)com \
    --cc=jungo.lin@mediatek$(echo .)com \
    --cc=laurent.pinchart+renesas@ideasonboard$(echo .)com \
    --cc=linux-arm-kernel@lists$(echo .)infradead.org \
    --cc=linux-media@vger$(echo .)kernel.org \
    --cc=linux-mediatek@lists$(echo .)infradead.org \
    --cc=matthias.bgg@gmail$(echo .)com \
    --cc=mchehab@kernel$(echo .)org \
    --cc=ping-hsun.wu@mediatek$(echo .)com \
    --cc=sj.huang@mediatek$(echo .)com \
    --cc=srv_heupstream@mediatek$(echo .)com \
    --cc=tfiga@chromium$(echo .)org \
    --cc=yuzhao@chromium$(echo .)org \
    --cc=zwisler@chromium$(echo .)org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox