diff mbox series

[v1,4/5] media: i2c: add imx492 config entry

Message ID 20221125153120.541298-5-petko.manolov@konsulko.com (mailing list archive)
State New, archived
Headers show
Series Adds media driver for Sony IMX492 sensor | expand

Commit Message

Petko Manolov Nov. 25, 2022, 3:31 p.m. UTC
Adds the Kconfig entry right after it's sibling.

Signed-off-by: Petko Manolov <petko.manolov@konsulko.com>
---
 drivers/media/i2c/Kconfig | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
diff mbox series

Patch

diff --git a/drivers/media/i2c/Kconfig b/drivers/media/i2c/Kconfig
index 49c1c27afdc1..db69725d2f9a 100644
--- a/drivers/media/i2c/Kconfig
+++ b/drivers/media/i2c/Kconfig
@@ -228,6 +228,20 @@  config VIDEO_IMX412
 	  To compile this driver as a module, choose M here: the
 	  module will be called imx412.
 
+config VIDEO_IMX492
+	tristate "Sony IMX492 sensor support"
+	depends on OF_GPIO
+	depends on I2C && VIDEO_DEV
+	select VIDEO_V4L2_SUBDEV_API
+	select MEDIA_CONTROLLER
+	select V4L2_FWNODE
+	help
+	  This is a Video4Linux2 sensor driver for the Sony
+	  IMX492 camera.
+
+	  To compile this driver as a module, choose M here: the
+	  module will be called imx492.
+
 config VIDEO_MAX9271_LIB
 	tristate