diff options
author | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-07-28 12:07:42 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2008-10-12 07:36:46 -0400 |
commit | 96f1e40431d4b0afc75474d7961f8dd98ef21112 (patch) | |
tree | 2086bc85ee3b04b26eba41f448b236a02acf5948 /drivers/media/video/Kconfig | |
parent | b50863d6e36ec3764882f57417b5c5cfe35a9b4b (diff) |
V4L/DVB (8554): media/video/Kconfig: cosmetic changes and convert select into depends on
It seems cosmetically better to let USB drivers be the last one.
Also, two SOC drivers were using select, instead of depends on SOC_CAMERA.
Since select has some drawbacks when checking for dependencies, convert those
two into depends on.
Cc: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/Kconfig')
-rw-r--r-- | drivers/media/video/Kconfig | 118 |
1 files changed, 58 insertions, 60 deletions
diff --git a/drivers/media/video/Kconfig b/drivers/media/video/Kconfig index 3f945b0d52b8..1f6c9ee3afde 100644 --- a/drivers/media/video/Kconfig +++ b/drivers/media/video/Kconfig | |||
@@ -784,6 +784,64 @@ config VIDEO_CAFE_CCIC | |||
784 | CMOS camera controller. This is the controller found on first- | 784 | CMOS camera controller. This is the controller found on first- |
785 | generation OLPC systems. | 785 | generation OLPC systems. |
786 | 786 | ||
787 | config SOC_CAMERA | ||
788 | tristate "SoC camera support" | ||
789 | depends on VIDEO_V4L2 && HAS_DMA | ||
790 | select VIDEOBUF_GEN | ||
791 | help | ||
792 | SoC Camera is a common API to several cameras, not connecting | ||
793 | over a bus like PCI or USB. For example some i2c camera connected | ||
794 | directly to the data bus of an SoC. | ||
795 | |||
796 | config SOC_CAMERA_MT9M001 | ||
797 | tristate "mt9m001 support" | ||
798 | depends on SOC_CAMERA && I2C | ||
799 | select GPIO_PCA953X if MT9M001_PCA9536_SWITCH | ||
800 | help | ||
801 | This driver supports MT9M001 cameras from Micron, monochrome | ||
802 | and colour models. | ||
803 | |||
804 | config MT9M001_PCA9536_SWITCH | ||
805 | bool "pca9536 datawidth switch for mt9m001" | ||
806 | depends on SOC_CAMERA_MT9M001 && GENERIC_GPIO | ||
807 | help | ||
808 | Select this if your MT9M001 camera uses a PCA9536 I2C GPIO | ||
809 | extender to switch between 8 and 10 bit datawidth modes | ||
810 | |||
811 | config SOC_CAMERA_MT9V022 | ||
812 | tristate "mt9v022 support" | ||
813 | depends on SOC_CAMERA && I2C | ||
814 | select GPIO_PCA953X if MT9V022_PCA9536_SWITCH | ||
815 | help | ||
816 | This driver supports MT9V022 cameras from Micron | ||
817 | |||
818 | config MT9V022_PCA9536_SWITCH | ||
819 | bool "pca9536 datawidth switch for mt9v022" | ||
820 | depends on SOC_CAMERA_MT9V022 && GENERIC_GPIO | ||
821 | help | ||
822 | Select this if your MT9V022 camera uses a PCA9536 I2C GPIO | ||
823 | extender to switch between 8 and 10 bit datawidth modes | ||
824 | |||
825 | config SOC_CAMERA_PLATFORM | ||
826 | tristate "platform camera support" | ||
827 | depends on SOC_CAMERA | ||
828 | help | ||
829 | This is a generic SoC camera platform driver, useful for testing | ||
830 | |||
831 | config VIDEO_PXA27x | ||
832 | tristate "PXA27x Quick Capture Interface driver" | ||
833 | depends on VIDEO_DEV && PXA27x && SOC_CAMERA | ||
834 | select VIDEOBUF_DMA_SG | ||
835 | ---help--- | ||
836 | This is a v4l2 driver for the PXA27x Quick Capture Interface | ||
837 | |||
838 | config VIDEO_SH_MOBILE_CEU | ||
839 | tristate "SuperH Mobile CEU Interface driver" | ||
840 | depends on VIDEO_DEV && SOC_CAMERA && HAS_DMA | ||
841 | select VIDEOBUF_DMA_CONTIG | ||
842 | ---help--- | ||
843 | This is a v4l2 driver for the SuperH Mobile CEU Interface | ||
844 | |||
787 | # | 845 | # |
788 | # USB Multimedia device configuration | 846 | # USB Multimedia device configuration |
789 | # | 847 | # |
@@ -913,64 +971,4 @@ config USB_S2255 | |||
913 | 971 | ||
914 | endif # V4L_USB_DRIVERS | 972 | endif # V4L_USB_DRIVERS |
915 | 973 | ||
916 | config SOC_CAMERA | ||
917 | tristate "SoC camera support" | ||
918 | depends on VIDEO_V4L2 && HAS_DMA | ||
919 | select VIDEOBUF_GEN | ||
920 | help | ||
921 | SoC Camera is a common API to several cameras, not connecting | ||
922 | over a bus like PCI or USB. For example some i2c camera connected | ||
923 | directly to the data bus of an SoC. | ||
924 | |||
925 | config SOC_CAMERA_MT9M001 | ||
926 | tristate "mt9m001 support" | ||
927 | depends on SOC_CAMERA && I2C | ||
928 | select GPIO_PCA953X if MT9M001_PCA9536_SWITCH | ||
929 | help | ||
930 | This driver supports MT9M001 cameras from Micron, monochrome | ||
931 | and colour models. | ||
932 | |||
933 | config MT9M001_PCA9536_SWITCH | ||
934 | bool "pca9536 datawidth switch for mt9m001" | ||
935 | depends on SOC_CAMERA_MT9M001 && GENERIC_GPIO | ||
936 | help | ||
937 | Select this if your MT9M001 camera uses a PCA9536 I2C GPIO | ||
938 | extender to switch between 8 and 10 bit datawidth modes | ||
939 | |||
940 | config SOC_CAMERA_MT9V022 | ||
941 | tristate "mt9v022 support" | ||
942 | depends on SOC_CAMERA && I2C | ||
943 | select GPIO_PCA953X if MT9V022_PCA9536_SWITCH | ||
944 | help | ||
945 | This driver supports MT9V022 cameras from Micron | ||
946 | |||
947 | config MT9V022_PCA9536_SWITCH | ||
948 | bool "pca9536 datawidth switch for mt9v022" | ||
949 | depends on SOC_CAMERA_MT9V022 && GENERIC_GPIO | ||
950 | help | ||
951 | Select this if your MT9V022 camera uses a PCA9536 I2C GPIO | ||
952 | extender to switch between 8 and 10 bit datawidth modes | ||
953 | |||
954 | config SOC_CAMERA_PLATFORM | ||
955 | tristate "platform camera support" | ||
956 | depends on SOC_CAMERA | ||
957 | help | ||
958 | This is a generic SoC camera platform driver, useful for testing | ||
959 | |||
960 | config VIDEO_PXA27x | ||
961 | tristate "PXA27x Quick Capture Interface driver" | ||
962 | depends on VIDEO_DEV && PXA27x | ||
963 | select SOC_CAMERA | ||
964 | select VIDEOBUF_DMA_SG | ||
965 | ---help--- | ||
966 | This is a v4l2 driver for the PXA27x Quick Capture Interface | ||
967 | |||
968 | config VIDEO_SH_MOBILE_CEU | ||
969 | tristate "SuperH Mobile CEU Interface driver" | ||
970 | depends on VIDEO_DEV && HAS_DMA | ||
971 | select SOC_CAMERA | ||
972 | select VIDEOBUF_DMA_CONTIG | ||
973 | ---help--- | ||
974 | This is a v4l2 driver for the SuperH Mobile CEU Interface | ||
975 | |||
976 | endif # VIDEO_CAPTURE_DRIVERS | 974 | endif # VIDEO_CAPTURE_DRIVERS |