[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200703074416.55272-3-eugen.hristev@microchip.com>
Date: Fri, 3 Jul 2020 10:44:14 +0300
From: Eugen Hristev <eugen.hristev@...rochip.com>
To: <mchehab@...nel.org>, <hverkuil@...all.nl>, <robh+dt@...nel.org>,
<linux-media@...r.kernel.org>, <devicetree@...r.kernel.org>,
<linux-kernel@...r.kernel.org>,
<linux-arm-kernel@...ts.infradead.org>
CC: Eugen Hristev <eugen.hristev@...rochip.com>
Subject: [PATCH v2 2/4] media: misc: introduce miscellaneous menu for helper chips
Introduce misc directory for misc driver: various helper chips
on different platforms.
Signed-off-by: Eugen Hristev <eugen.hristev@...rochip.com>
---
drivers/media/Kconfig | 1 +
drivers/media/Makefile | 2 +-
drivers/media/misc/Kconfig | 13 +++++++++++++
drivers/media/misc/Makefile | 1 +
4 files changed, 16 insertions(+), 1 deletion(-)
create mode 100644 drivers/media/misc/Kconfig
create mode 100644 drivers/media/misc/Makefile
diff --git a/drivers/media/Kconfig b/drivers/media/Kconfig
index a6d073f2e036..99d842fc63ce 100644
--- a/drivers/media/Kconfig
+++ b/drivers/media/Kconfig
@@ -258,6 +258,7 @@ source "drivers/media/i2c/Kconfig"
source "drivers/media/spi/Kconfig"
source "drivers/media/tuners/Kconfig"
source "drivers/media/dvb-frontends/Kconfig"
+source "drivers/media/misc/Kconfig"
endmenu
diff --git a/drivers/media/Makefile b/drivers/media/Makefile
index d18357bf1346..d7545d090f5b 100644
--- a/drivers/media/Makefile
+++ b/drivers/media/Makefile
@@ -29,6 +29,6 @@ obj-$(CONFIG_CEC_CORE) += cec/
# Finally, merge the drivers that require the core
#
-obj-y += common/ platform/ pci/ usb/ mmc/ firewire/ spi/ test-drivers/
+obj-y += common/ platform/ pci/ usb/ mmc/ firewire/ spi/ test-drivers/ misc/
obj-$(CONFIG_VIDEO_DEV) += radio/
diff --git a/drivers/media/misc/Kconfig b/drivers/media/misc/Kconfig
new file mode 100644
index 000000000000..206f39f86f46
--- /dev/null
+++ b/drivers/media/misc/Kconfig
@@ -0,0 +1,13 @@
+#
+# Multimedia Video Miscellaneous device configuration
+#
+
+if VIDEO_V4L2
+
+menu "Miscellaneous helper chips"
+
+comment "Various helper chips"
+
+endmenu
+
+endif
diff --git a/drivers/media/misc/Makefile b/drivers/media/misc/Makefile
new file mode 100644
index 000000000000..f66554cd5c45
--- /dev/null
+++ b/drivers/media/misc/Makefile
@@ -0,0 +1 @@
+# SPDX-License-Identifier: GPL-2.0
--
2.25.1
Powered by blists - more mailing lists