mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Luis Oliveira <Luis.Oliveira@synopsys.com>
To: linux-media@vger.kernel.org, linux-kernel@vger.kernel.org
Cc: all-jpinto-org-pt02@synopsys.com,
	Luis Oliveira <Luis.Oliveira@synopsys.com>,
	Mauro Carvalho Chehab <mchehab@kernel.org>,
	Luis Oliveira <luis.oliveira@synopsys.com>,
	Hans Verkuil <hans.verkuil@cisco.com>,
	Geert Uytterhoeven <geert+renesas@glider.be>,
	Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>,
	Arnd Bergmann <arnd@arndb.de>, Jacob Chen <jacob-chen@iotwrt.com>,
	Neil Armstrong <narmstrong@baylibre.com>,
	Keiichi Watanabe <keiichiw@chromium.org>,
	Kate Stewart <kstewart@linuxfoundation.org>,
	Philipp Zabel <p.zabel@pengutronix.de>,
	Todor Tomov <todor.tomov@linaro.org>
Subject: [PATCH 1/5] media: platform: Add DesignWare MIPI CSI2 Host placeholder
Date: Sat, 15 Sep 2018 00:48:37 +0200	[thread overview]
Message-ID: <20180914224849.27173-2-lolivei@synopsys.com> (raw)
In-Reply-To: <20180914224849.27173-1-lolivei@synopsys.com>

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@synopsys.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


  reply	other threads:[~2018-09-14 22:50 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-09-14 22:48 [PATCH 0/5] platform: dwc: Add of DesignWare MIPI CSI-2 Host Luis Oliveira
2018-09-14 22:48 ` Luis Oliveira [this message]
2018-09-15 12:16   ` [PATCH 1/5] media: platform: Add DesignWare MIPI CSI2 Host placeholder kbuild test robot
2018-09-15 12:34   ` kbuild test robot
2018-09-14 22:48 ` [PATCH 2/5] Documentation: dt-bindings: Document the Synopsys MIPI DPHY Rx bindings Luis Oliveira
2018-09-14 22:48 ` [PATCH 3/5] media: platform: dwc: Add DW MIPI DPHY core and platform Luis Oliveira
2018-09-15  9:23   ` kbuild test robot
2018-09-14 22:48 ` [PATCH 4/5] Documentation: dt-bindings: Document bindings for DW MIPI CSI-2 Host Luis Oliveira
2018-09-14 22:48 ` [PATCH 5/5] media: platform: dwc: Add MIPI CSI-2 controller driver Luis Oliveira
2018-09-19 19:03   ` Fabio Estevam

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=20180914224849.27173-2-lolivei@synopsys.com \
    --to=luis.oliveira@synopsys.com \
    --cc=all-jpinto-org-pt02@synopsys.com \
    --cc=arnd@arndb.de \
    --cc=geert+renesas@glider.be \
    --cc=hans.verkuil@cisco.com \
    --cc=jacob-chen@iotwrt.com \
    --cc=keiichiw@chromium.org \
    --cc=kstewart@linuxfoundation.org \
    --cc=laurent.pinchart+renesas@ideasonboard.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-media@vger.kernel.org \
    --cc=mchehab@kernel.org \
    --cc=narmstrong@baylibre.com \
    --cc=p.zabel@pengutronix.de \
    --cc=todor.tomov@linaro.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
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

Powered by JetHome