xref: /linux/sound/hda/codecs/side-codecs/Kconfig (revision 2aa680df68062e4e0c356ec2aa7100c13654907b)
1config SND_HDA_CIRRUS_SCODEC
2	tristate
3
4config SND_HDA_CIRRUS_SCODEC_KUNIT_TEST
5	tristate "KUnit test for Cirrus side-codec library" if !KUNIT_ALL_TESTS
6	depends on SND_HDA_CIRRUS_SCODEC && GPIOLIB && KUNIT
7	default KUNIT_ALL_TESTS
8	help
9	  This builds KUnit tests for the cirrus side-codec library.
10	  For more information on KUnit and unit tests in general,
11	  please refer to the KUnit documentation in
12	  Documentation/dev-tools/kunit/.
13	  If in doubt, say "N".
14
15config SND_HDA_SCODEC_CS35L41
16	tristate
17	select SND_HDA_GENERIC
18	select REGMAP_IRQ
19	select FW_CS_DSP
20
21config SND_HDA_SCODEC_COMPONENT
22	tristate
23
24config SND_HDA_SCODEC_CS35L41_I2C
25	tristate "Build CS35L41 HD-audio side codec support for I2C Bus"
26	depends on I2C
27	depends on ACPI
28	depends on EFI
29	depends on SND_SOC
30	select SND_SOC_CS35L41_LIB
31	select SND_HDA_SCODEC_CS35L41
32	select SND_SOC_CS_AMP_LIB
33	help
34	  Say Y or M here to include CS35L41 I2C HD-audio side codec support
35	  in snd-hda-intel driver, such as ALC287.
36
37comment "Set to Y if you want auto-loading the side codec driver"
38	depends on SND_HDA=y && SND_HDA_SCODEC_CS35L41_I2C=m
39
40config SND_HDA_SCODEC_CS35L41_SPI
41	tristate "Build CS35L41 HD-audio codec support for SPI Bus"
42	depends on SPI_MASTER
43	depends on ACPI
44	depends on EFI
45	depends on SND_SOC
46	select SND_SOC_CS35L41_LIB
47	select SND_HDA_SCODEC_CS35L41
48	select SND_SOC_CS_AMP_LIB
49	help
50	  Say Y or M here to include CS35L41 SPI HD-audio side codec support
51	  in snd-hda-intel driver, such as ALC287.
52
53comment "Set to Y if you want auto-loading the side codec driver"
54	depends on SND_HDA=y && SND_HDA_SCODEC_CS35L41_SPI=m
55
56config SND_HDA_SCODEC_CS35L56
57	tristate
58
59config SND_HDA_SCODEC_CS35L56_I2C
60	tristate "Build CS35L56 HD-audio side codec support for I2C Bus"
61	depends on I2C
62	depends on ACPI
63	depends on SND_SOC
64	select FW_CS_DSP
65	imply SERIAL_MULTI_INSTANTIATE
66	select SND_HDA_GENERIC
67	select SND_SOC_CS35L56_SHARED
68	select SND_HDA_SCODEC_CS35L56
69	select SND_HDA_CIRRUS_SCODEC
70	select SND_SOC_CS_AMP_LIB
71	help
72	  Say Y or M here to include CS35L56 amplifier support with
73	  I2C control.
74
75config SND_HDA_SCODEC_CS35L56_SPI
76	tristate "Build CS35L56 HD-audio side codec support for SPI Bus"
77	depends on SPI_MASTER
78	depends on ACPI
79	depends on SND_SOC
80	select FW_CS_DSP
81	imply SERIAL_MULTI_INSTANTIATE
82	select SND_HDA_GENERIC
83	select SND_SOC_CS35L56_SHARED
84	select SND_HDA_SCODEC_CS35L56
85	select SND_HDA_CIRRUS_SCODEC
86	select SND_SOC_CS_AMP_LIB
87	help
88	  Say Y or M here to include CS35L56 amplifier support with
89	  SPI control.
90
91menu "CS35L56 driver options"
92	depends on SND_HDA_SCODEC_CS35L56
93
94config SND_HDA_SCODEC_CS35L56_CAL_DEBUGFS
95	bool "CS35L56 create debugfs for factory calibration"
96	default N
97	depends on DEBUG_FS
98	select SND_SOC_CS35L56_CAL_DEBUGFS_COMMON
99	help
100	  Create debugfs entries used during factory-line manufacture
101	  for factory calibration.
102
103	  If unsure select "N".
104endmenu
105
106config SND_HDA_SCODEC_TAS2781
107	tristate
108	select SND_HDA_GENERIC
109
110config SND_HDA_SCODEC_TAS2781_I2C
111	tristate "Build TAS2781 HD-audio side codec support for I2C Bus"
112	depends on I2C
113	depends on ACPI
114	depends on EFI
115	depends on SND_SOC
116	select SND_HDA_SCODEC_TAS2781
117	select SND_SOC_TAS2781_COMLIB_I2C
118	select SND_SOC_TAS2781_FMWLIB
119	select CRC32
120	help
121	  Say Y or M here to include TAS2781 I2C HD-audio side codec support
122	  in snd-hda-intel driver, such as ALC287.
123
124comment "Set to Y if you want auto-loading the side codec driver"
125	depends on SND_HDA=y && SND_HDA_SCODEC_TAS2781_I2C=m
126
127config SND_HDA_SCODEC_TAS2781_SPI
128	tristate "Build TAS2781 HD-audio side codec support for SPI Bus"
129	depends on SPI_MASTER
130	depends on ACPI
131	depends on EFI
132	depends on SND_SOC
133	select SND_HDA_SCODEC_TAS2781
134	select SND_SOC_TAS2781_COMLIB
135	select SND_SOC_TAS2781_FMWLIB
136	select CRC8
137	select CRC32
138	help
139	  Say Y or M here to include TAS2781 SPI HD-audio side codec support
140	  in snd-hda-intel driver, such as ALC287.
141
142comment "Set to Y if you want auto-loading the side codec driver"
143	depends on SND_HDA=y && SND_HDA_SCODEC_TAS2781_SPI=m
144