aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRob Clark <robdclark@gmail.com>2013-01-24 16:46:07 -0500
committerDave Airlie <airlied@redhat.com>2013-02-07 22:34:07 -0500
commit6504d0d9900a2c05ea1fbab2ec008bf442993d94 (patch)
tree4664cef58baf0bb62d64f8678413257e6e09d577
parent73ccd6962fff19e53a7d4baaa17cf9311284ac9c (diff)
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>
-rw-r--r--drivers/gpu/drm/Kconfig2
-rw-r--r--drivers/gpu/drm/i2c/Kconfig22
-rw-r--r--drivers/gpu/drm/nouveau/Kconfig23
3 files changed, 24 insertions, 23 deletions
diff --git a/drivers/gpu/drm/Kconfig b/drivers/gpu/drm/Kconfig
index 3399b209260a..ed9e3af17b31 100644
--- a/drivers/gpu/drm/Kconfig
+++ b/drivers/gpu/drm/Kconfig
@@ -69,6 +69,8 @@ config DRM_KMS_CMA_HELPER
69 help 69 help
70 Choose this if you need the KMS CMA helper functions 70 Choose this if you need the KMS CMA helper functions
71 71
72source "drivers/gpu/drm/i2c/Kconfig"
73
72config DRM_TDFX 74config DRM_TDFX
73 tristate "3dfx Banshee/Voodoo3+" 75 tristate "3dfx Banshee/Voodoo3+"
74 depends on DRM && PCI 76 depends on DRM && PCI
diff --git a/drivers/gpu/drm/i2c/Kconfig b/drivers/gpu/drm/i2c/Kconfig
new file mode 100644
index 000000000000..16118363509a
--- /dev/null
+++ b/drivers/gpu/drm/i2c/Kconfig
@@ -0,0 +1,22 @@
1menu "I2C encoder or helper chips"
2 depends on DRM && DRM_KMS_HELPER && I2C
3
4config 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
14config 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
22endmenu
diff --git a/drivers/gpu/drm/nouveau/Kconfig b/drivers/gpu/drm/nouveau/Kconfig
index 8a55beeb8bdc..47ccc1ad5405 100644
--- a/drivers/gpu/drm/nouveau/Kconfig
+++ b/drivers/gpu/drm/nouveau/Kconfig
@@ -52,26 +52,3 @@ config DRM_NOUVEAU_BACKLIGHT
52 help 52 help
53 Say Y here if you want to control the backlight of your display 53 Say Y here if you want to control the backlight of your display
54 (e.g. a laptop panel). 54 (e.g. a laptop panel).
55
56menu "I2C encoder or helper chips"
57 depends on DRM && DRM_KMS_HELPER && I2C
58
59config 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
69config 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
77endmenu