Skip to content

Commit

Permalink
drm/i2c: adv7511: Move to bridge folder
Browse files Browse the repository at this point in the history
The driver has been converted to use drm_bridge instead of
drm_i2c_slave_encoder. We can now move it to the bridge folder.

Create a separate folder since we already have a couple of files and
expect more when we support audio and ADV7533.

Rename the driver to adv7511_drv.c. This will come in handy later
when the driver module will need to be built from multiple object
files.

Signed-off-by: Archit Taneja <architt@codeaurora.org>
  • Loading branch information
Archit Taneja committed Jul 13, 2016
1 parent e12c2f6 commit c582778
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 9 deletions.
2 changes: 2 additions & 0 deletions drivers/gpu/drm/bridge/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -60,4 +60,6 @@ config DRM_SII902X

source "drivers/gpu/drm/bridge/analogix/Kconfig"

source "drivers/gpu/drm/bridge/adv7511/Kconfig"

endmenu
1 change: 1 addition & 0 deletions drivers/gpu/drm/bridge/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ obj-$(CONFIG_DRM_NXP_PTN3460) += nxp-ptn3460.o
obj-$(CONFIG_DRM_PARADE_PS8622) += parade-ps8622.o
obj-$(CONFIG_DRM_SII902X) += sii902x.o
obj-$(CONFIG_DRM_ANALOGIX_DP) += analogix/
obj-$(CONFIG_DRM_I2C_ADV7511) += adv7511/
7 changes: 7 additions & 0 deletions drivers/gpu/drm/bridge/adv7511/Kconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
config DRM_I2C_ADV7511
tristate "AV7511 encoder"
depends on OF
select DRM_KMS_HELPER
select REGMAP_I2C
help
Support for the Analog Device ADV7511(W) and ADV7513 HDMI encoders.
2 changes: 2 additions & 0 deletions drivers/gpu/drm/bridge/adv7511/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
adv7511-y := adv7511_drv.o
obj-$(CONFIG_DRM_I2C_ADV7511) += adv7511.o
File renamed without changes.
File renamed without changes.
7 changes: 0 additions & 7 deletions drivers/gpu/drm/i2c/Kconfig
Original file line number Diff line number Diff line change
@@ -1,13 +1,6 @@
menu "I2C encoder or helper chips"
depends on DRM && DRM_KMS_HELPER && I2C

config DRM_I2C_ADV7511
tristate "AV7511 encoder"
depends on OF
select REGMAP_I2C
help
Support for the Analog Device ADV7511(W) and ADV7513 HDMI encoders.

config DRM_I2C_CH7006
tristate "Chrontel ch7006 TV encoder"
default m if DRM_NOUVEAU
Expand Down
2 changes: 0 additions & 2 deletions drivers/gpu/drm/i2c/Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
ccflags-y := -Iinclude/drm

obj-$(CONFIG_DRM_I2C_ADV7511) += adv7511.o

ch7006-y := ch7006_drv.o ch7006_mode.o
obj-$(CONFIG_DRM_I2C_CH7006) += ch7006.o

Expand Down

0 comments on commit c582778

Please sign in to comment.