mirror of
https://github.com/torvalds/linux.git
synced 2026-11-07 06:17:02 +01:00
media: i2c: maxim-serdes: add MAX96717 driver
Add a new MAX96717 driver that also supports MAX9295A, MAX96717F and MAX96793. Integrate it with the common serializer framework, while keeping compatibility with existing usecases, avoiding code duplication, and also enabling more features across all chips. Signed-off-by: Cosmin Tanislav <demonsingur@gmail.com> Tested-by: Martin Hecht <mhecht73@gmail.com> [Sakari Ailus: Put OF dependent pinconf callbacks behind #ifdefs.] Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
This commit is contained in:
parent
2c4d9084a6
commit
ea15bcd94f
|
|
@ -15,3 +15,22 @@ config VIDEO_MAXIM_SERDES
|
|||
|
||||
To compile this driver as a module, choose M here: the module
|
||||
will be called max_serdes.
|
||||
|
||||
config VIDEO_MAX96717
|
||||
tristate "Maxim MAX96717 Serializer support"
|
||||
depends on COMMON_CLK
|
||||
depends on I2C
|
||||
depends on PINCTRL
|
||||
depends on VIDEO_DEV
|
||||
select VIDEO_MAXIM_SERDES
|
||||
select GENERIC_PINCONF
|
||||
select GENERIC_PINCTRL_GROUPS
|
||||
select GENERIC_PINMUX_FUNCTIONS
|
||||
select GPIOLIB
|
||||
help
|
||||
This driver supports the Maxim MAX9295A, MAX96717, MAX96717F,
|
||||
MAX96793 Serializers, which receive video on a MIPI CSI-2
|
||||
interface and output it on a GMSL2/3 link.
|
||||
|
||||
To compile this driver as a module, choose M here: the module
|
||||
will be called max96717.
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
# SPDX-License-Identifier: GPL-2.0
|
||||
max-serdes-objs := max_serdes.o max_ser.o max_des.o
|
||||
obj-$(CONFIG_VIDEO_MAXIM_SERDES) += max-serdes.o
|
||||
obj-$(CONFIG_VIDEO_MAX96717) += max96717.o
|
||||
|
|
|
|||
1705
drivers/media/i2c/maxim-serdes/max96717.c
Normal file
1705
drivers/media/i2c/maxim-serdes/max96717.c
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user