openwrt/target/linux/bcm27xx/patches-6.6/950-0653-media-i2c-Move-Kconfig-entry-for-IMX477-to-the-camer.patch
Álvaro Fernández Rojas 8c405cdccc bcm27xx: add 6.6 kernel patches
The patches were generated from the RPi repo with the following command:
git format-patch v6.6.34..rpi-6.1.y

Some patches needed rebasing and, as usual, the applied and reverted, wireless
drivers, Github workflows, READMEs and defconfigs patches were removed.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2024-06-18 18:52:49 +02:00

54 lines
1.7 KiB
Diff

From 02dc4472f10397a362ba049b48a1dec76a364440 Mon Sep 17 00:00:00 2001
From: Naushir Patuck <naush@raspberrypi.com>
Date: Wed, 4 Oct 2023 11:09:10 +0100
Subject: [PATCH 0653/1085] media: i2c: Move Kconfig entry for IMX477 to the
camera sensor section
It was accidentally placed in the audio decoder section.
Signed-off-by: Naushir Patuck <naush@raspberrypi.com>
---
drivers/media/i2c/Kconfig | 24 +++++++++++++-----------
1 file changed, 13 insertions(+), 11 deletions(-)
--- a/drivers/media/i2c/Kconfig
+++ b/drivers/media/i2c/Kconfig
@@ -223,6 +223,19 @@ config VIDEO_IMX415
To compile this driver as a module, choose M here: the
module will be called imx415.
+config VIDEO_IMX477
+ tristate "Sony IMX477 sensor support"
+ 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
+ IMX477 camera. Also supports the Sony IMX378.
+
+ To compile this driver as a module, choose M here: the
+ module will be called imx477.
+
config VIDEO_IMX519
tristate "Arducam IMX519 sensor support"
depends on I2C && VIDEO_DEV
@@ -931,17 +944,6 @@ config VIDEO_UDA1342
To compile this driver as a module, choose M here: the
module will be called uda1342.
-config VIDEO_IMX477
- tristate "Sony IMX477 sensor support"
- depends on I2C && VIDEO_DEV
- select VIDEO_V4L2_SUBDEV_API
- help
- This is a Video4Linux2 sensor driver for the Sony
- IMX477 camera. Also supports the Sony IMX378.
-
- To compile this driver as a module, choose M here: the
- module will be called imx477.
-
config VIDEO_VP27SMPX
tristate "Panasonic VP27's internal MPX"
depends on VIDEO_DEV && I2C