Re: [PATCH v4 6/8] media: i2c: add DS90UB960 driver

Tomi Valkeinen
2022-11-02T08:05:27Z

On 01/11/2022 15:20, Tomi Valkeinen wrote:
> Add driver for TI DS90UB960 FPDLink-3 Deserializer.
>
> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>
> ---
> drivers/media/i2c/Kconfig | 16 +
> drivers/media/i2c/Makefile | 2 +
> drivers/media/i2c/ds90ub960.c | 4198 +++++++++++++++++++++++++++++++++
> include/media/i2c/ds90ub9xx.h | 16 +
> 4 files changed, 4232 insertions(+)
> create mode 100644 drivers/media/i2c/ds90ub960.c
> create mode 100644 include/media/i2c/ds90ub9xx.h
>
> diff --git a/drivers/media/i2c/Kconfig b/drivers/media/i2c/Kconfig
> index 7806d4b81716..2a78889e3487 100644
> --- a/drivers/media/i2c/Kconfig
> +++ b/drivers/media/i2c/Kconfig
> @@ -1595,4 +1595,20 @@ config VIDEO_THS7303
>
> endmenu
>
> +#
> +# Video serializers and deserializers (e.g. FPDLink)
> +#
> +
> +menu "Video serializers and deserializers"
> +
> +config VIDEO_DS90UB960
> + tristate "TI DS90UB960 Deserializer"
> + depends on OF_GPIO
> + select I2C_ATR
> + help
> + Device driver for the Texas Instruments DS90UB960
> + FPD-Link III Deserializer
> +
> +endmenu

Looks like I'm missing proper dependencies and selects from this and the
ub913 and ub953 drivers. I'll fix those.

Tomi