Skip to content

Commit 6504d0d

Browse files
robclarkairlied
authored andcommitted
drm/i2c: give i2c it's own Kconfig
Move this out of nouveau directory. As we start to add more encoder slaves used by other drivers, it makes sense to put the Kconfig bits in one place. Signed-off-by: Rob Clark <robdclark@gmail.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
1 parent 73ccd69 commit 6504d0d

3 files changed

Lines changed: 24 additions & 23 deletions

File tree

‎drivers/gpu/drm/Kconfig‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,8 @@ config DRM_KMS_CMA_HELPER
6969
help
7070
Choose this if you need the KMS CMA helper functions
7171

72+
source "drivers/gpu/drm/i2c/Kconfig"
73+
7274
config DRM_TDFX
7375
tristate "3dfx Banshee/Voodoo3+"
7476
depends on DRM && PCI

‎drivers/gpu/drm/i2c/Kconfig‎

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
menu "I2C encoder or helper chips"
2+
depends on DRM && DRM_KMS_HELPER && I2C
3+
4+
config DRM_I2C_CH7006
5+
tristate "Chrontel ch7006 TV encoder"
6+
default m if DRM_NOUVEAU
7+
help
8+
Support for Chrontel ch7006 and similar TV encoders, found
9+
on some nVidia video cards.
10+
11+
This driver is currently only useful if you're also using
12+
the nouveau driver.
13+
14+
config DRM_I2C_SIL164
15+
tristate "Silicon Image sil164 TMDS transmitter"
16+
default m if DRM_NOUVEAU
17+
help
18+
Support for sil164 and similar single-link (or dual-link
19+
when used in pairs) TMDS transmitters, used in some nVidia
20+
video cards.
21+
22+
endmenu

‎drivers/gpu/drm/nouveau/Kconfig‎

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -52,26 +52,3 @@ config DRM_NOUVEAU_BACKLIGHT
5252
help
5353
Say Y here if you want to control the backlight of your display
5454
(e.g. a laptop panel).
55-
56-
menu "I2C encoder or helper chips"
57-
depends on DRM && DRM_KMS_HELPER && I2C
58-
59-
config DRM_I2C_CH7006
60-
tristate "Chrontel ch7006 TV encoder"
61-
default m if DRM_NOUVEAU
62-
help
63-
Support for Chrontel ch7006 and similar TV encoders, found
64-
on some nVidia video cards.
65-
66-
This driver is currently only useful if you're also using
67-
the nouveau driver.
68-
69-
config DRM_I2C_SIL164
70-
tristate "Silicon Image sil164 TMDS transmitter"
71-
default m if DRM_NOUVEAU
72-
help
73-
Support for sil164 and similar single-link (or dual-link
74-
when used in pairs) TMDS transmitters, used in some nVidia
75-
video cards.
76-
77-
endmenu

0 commit comments

Comments
 (0)