[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20180914224849.27173-2-lolivei@synopsys.com>
Date: Sat, 15 Sep 2018 00:48:37 +0200
From: Luis Oliveira <Luis.Oliveira@...opsys.com>
To: linux-media@...r.kernel.org, linux-kernel@...r.kernel.org
Cc: all-jpinto-org-pt02@...opsys.com,
Luis Oliveira <Luis.Oliveira@...opsys.com>,
Mauro Carvalho Chehab <mchehab@...nel.org>,
Luis Oliveira <luis.oliveira@...opsys.com>,
Hans Verkuil <hans.verkuil@...co.com>,
Geert Uytterhoeven <geert+renesas@...der.be>,
Laurent Pinchart <laurent.pinchart+renesas@...asonboard.com>,
Arnd Bergmann <arnd@...db.de>,
Jacob Chen <jacob-chen@...wrt.com>,
Neil Armstrong <narmstrong@...libre.com>,
Keiichi Watanabe <keiichiw@...omium.org>,
Kate Stewart <kstewart@...uxfoundation.org>,
Philipp Zabel <p.zabel@...gutronix.de>,
Todor Tomov <todor.tomov@...aro.org>
Subject: [PATCH 1/5] media: platform: Add DesignWare MIPI CSI2 Host placeholder
This patch has the intention of make the patchseries more clear by creating
a dwc folder and a Kconfig variable that sets dependencies.
Signed-off-by: Luis Oliveira <lolivei@...opsys.com>
---
drivers/media/platform/Kconfig | 1 +
drivers/media/platform/Makefile | 3 +++
drivers/media/platform/dwc/Kconfig | 19 +++++++++++++++++++
3 files changed, 23 insertions(+)
create mode 100644 drivers/media/platform/dwc/Kconfig
diff --git a/drivers/media/platform/Kconfig b/drivers/media/platform/Kconfig
index f627587..f627a27 100644
--- a/drivers/media/platform/Kconfig
+++ b/drivers/media/platform/Kconfig
@@ -137,6 +137,7 @@ source "drivers/media/platform/am437x/Kconfig"
source "drivers/media/platform/xilinx/Kconfig"
source "drivers/media/platform/rcar-vin/Kconfig"
source "drivers/media/platform/atmel/Kconfig"
+source "drivers/media/platform/dwc/Kconfig"
config VIDEO_TI_CAL
tristate "TI CAL (Camera Adaptation Layer) driver"
diff --git a/drivers/media/platform/Makefile b/drivers/media/platform/Makefile
index 6ab6200..def2f33 100644
--- a/drivers/media/platform/Makefile
+++ b/drivers/media/platform/Makefile
@@ -98,3 +98,6 @@ obj-$(CONFIG_VIDEO_QCOM_VENUS) += qcom/venus/
obj-y += meson/
obj-y += cros-ec-cec/
+
+obj-y += dwc/
+
diff --git a/drivers/media/platform/dwc/Kconfig b/drivers/media/platform/dwc/Kconfig
new file mode 100644
index 0000000..6b1e985
--- /dev/null
+++ b/drivers/media/platform/dwc/Kconfig
@@ -0,0 +1,19 @@
+#
+# Synopsys DWC Platform drivers
+# Most drivers here are currently for MIPI CSI-2 and MIPI DPHY support
+
+config DWC_MIPI_CSI2_HOST
+ bool "Synopsys Designware CSI-2 Host Controller and DPHY-RX support"
+ select VIDEO_DEV
+ select VIDEO_V4L2
+ select VIDEO_V4L2_SUBDEV_API
+ select VIDEOBUF2_VMALLOC
+ select VIDEOBUF2_DMA_CONTIG
+ select GENERIC_PHY
+ select VIDEO_OV5647
+ help
+ This selects the CSI-2 host controller support.
+ If you have a controller with this interface, say Y
+
+ If unsure, say N.
+
--
2.9.3
Powered by blists - more mailing lists