Skip to content

Commit

Permalink
media: cec: move driver for TDA9950 from drm/i2c
Browse files Browse the repository at this point in the history
Move the driver for NXP TDA9950 / CEC part of TDA998x together to
drivers/media/i2c, close to other CEC drivers. Specify 'default
DRM_I2C_NXP_TDA998X' in order to simplify migration from old config
files as the Kconfig name has been changed to follow media/cec style.

Acked-by: Hans Verkuil <hverkuil@xs4all.nl>
Link: https://patchwork.freedesktop.org/patch/msgid/20250113-drm-move-tda998x-v3-2-214e0682a5e4@linaro.org
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
  • Loading branch information
Dmitry Baryshkov committed Feb 12, 2025
1 parent b7c5169 commit caa6f4a
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 6 deletions.
5 changes: 0 additions & 5 deletions drivers/gpu/drm/i2c/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,4 @@ config DRM_I2C_NXP_TDA998X
help
Support for NXP Semiconductors TDA998X HDMI encoders.

config DRM_I2C_NXP_TDA9950
tristate "NXP Semiconductors TDA9950/TDA998X HDMI CEC"
select CEC_NOTIFIER
select CEC_CORE

endmenu
1 change: 0 additions & 1 deletion drivers/gpu/drm/i2c/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# SPDX-License-Identifier: GPL-2.0
tda998x-y := tda998x_drv.o
obj-$(CONFIG_DRM_I2C_NXP_TDA998X) += tda998x.o
obj-$(CONFIG_DRM_I2C_NXP_TDA9950) += tda9950.o
9 changes: 9 additions & 0 deletions drivers/media/cec/i2c/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,12 @@ config CEC_CH7322
generic CEC framework interface.
CEC bus is present in the HDMI connector and enables communication
between compatible devices.

config CEC_NXP_TDA9950
tristate "NXP Semiconductors TDA9950/TDA998X HDMI CEC"
select CEC_NOTIFIER
select CEC_CORE
default DRM_I2C_NXP_TDA998X
help
This is a driver for the NXP TDA9950 CEC controller and for the CEC
controller block integrated into several NXP TDA998x HDMI encoders.
1 change: 1 addition & 0 deletions drivers/media/cec/i2c/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@
# Makefile for the CEC I2C device drivers.
#
obj-$(CONFIG_CEC_CH7322) += ch7322.o
obj-$(CONFIG_CEC_NXP_TDA9950) += tda9950.o
File renamed without changes.

0 comments on commit caa6f4a

Please sign in to comment.