1# SPDX-License-Identifier: GPL-2.0-only
2#
3# Sensor device configuration
4#
5
6menu "I2C Hardware Bus support"
7	depends on HAS_IOMEM
8
9comment "PC SMBus host controller drivers"
10	depends on PCI
11
12config I2C_CCGX_UCSI
13	tristate
14	help
15	  A common module to provide an API to instantiate UCSI device
16	  for Cypress CCGx Type-C controller. Individual bus drivers
17	  need to select this one on demand.
18
19config I2C_ALI1535
20	tristate "ALI 1535"
21	depends on PCI && HAS_IOPORT
22	help
23	  If you say yes to this option, support will be included for the SMB
24	  Host controller on Acer Labs Inc. (ALI) M1535 South Bridges.  The SMB
25	  controller is part of the 7101 device, which is an ACPI-compliant
26	  Power Management Unit (PMU).
27
28	  This driver can also be built as a module.  If so, the module
29	  will be called i2c-ali1535.
30
31config I2C_ALI1563
32	tristate "ALI 1563"
33	depends on PCI && HAS_IOPORT
34	help
35	  If you say yes to this option, support will be included for the SMB
36	  Host controller on Acer Labs Inc. (ALI) M1563 South Bridges.  The SMB
37	  controller is part of the 7101 device, which is an ACPI-compliant
38	  Power Management Unit (PMU).
39
40	  This driver can also be built as a module.  If so, the module
41	  will be called i2c-ali1563.
42
43config I2C_ALI15X3
44	tristate "ALI 15x3"
45	depends on PCI && HAS_IOPORT
46	help
47	  If you say yes to this option, support will be included for the
48	  Acer Labs Inc. (ALI) M1514 and M1543 motherboard I2C interfaces.
49
50	  This driver can also be built as a module.  If so, the module
51	  will be called i2c-ali15x3.
52
53config I2C_AMD756
54	tristate "AMD 756/766/768/8111 and nVidia nForce"
55	depends on PCI && HAS_IOPORT
56	help
57	  If you say yes to this option, support will be included for the AMD
58	  756/766/768 mainboard I2C interfaces.  The driver also includes
59	  support for the first (SMBus 1.0) I2C interface of the AMD 8111 and
60	  the nVidia nForce I2C interface.
61
62	  This driver can also be built as a module.  If so, the module
63	  will be called i2c-amd756.
64
65config I2C_AMD8111
66	tristate "AMD 8111"
67	depends on PCI && HAS_IOPORT
68	help
69	  If you say yes to this option, support will be included for the
70	  second (SMBus 2.0) AMD 8111 mainboard I2C interface.
71
72	  This driver can also be built as a module.  If so, the module
73	  will be called i2c-amd8111.
74
75config I2C_AMD_MP2
76	tristate "AMD MP2 PCIe"
77	depends on PCI && ACPI
78	help
79	  If you say yes to this option, support will be included for the AMD
80	  MP2 PCIe I2C adapter.
81
82	  This driver can also be built as modules.  If so, the modules will
83	  be called i2c-amd-mp2-pci and i2c-amd-mp2-plat.
84
85config I2C_AMD_ASF
86	tristate "AMD ASF I2C Controller Support"
87	depends on I2C_PIIX4
88	select I2C_SLAVE
89	help
90	  This option enables support for the AMD ASF (Alert Standard Format)
91	  I2C controller. The AMD ASF controller is an SMBus controller with
92	  built-in ASF functionality, allowing it to issue generic SMBus
93	  packets and communicate with the DASH controller using MCTP over
94	  ASF.
95
96	  If you have an AMD system with ASF support and want to enable this
97	  functionality, say Y or M here. If unsure, say N.
98
99	  To compile this driver as a module, choose M here: the module will
100	  be called i2c_amd_asf_plat.
101
102config I2C_HIX5HD2
103	tristate "Hix5hd2 high-speed I2C driver"
104	depends on ARCH_HISI || ARCH_HIX5HD2 || COMPILE_TEST
105	help
106	  Say Y here to include support for the high-speed I2C controller
107	  used in HiSilicon hix5hd2 SoCs.
108
109	  This driver can also be built as a module. If so, the module
110	  will be called i2c-hix5hd2.
111
112config I2C_I801
113	tristate "Intel 82801 (ICH/PCH)"
114	depends on PCI && HAS_IOPORT
115	select P2SB if X86
116	select CHECK_SIGNATURE if X86 && DMI
117	select I2C_SMBUS
118	help
119	  If you say yes to this option, support will be included for the Intel
120	  801 family of mainboard I2C interfaces.  Specifically, the following
121	  versions of the chipset are supported:
122	    82801AA
123	    82801AB
124	    82801BA
125	    82801CA/CAM
126	    82801DB
127	    82801EB/ER (ICH5/ICH5R)
128	    6300ESB
129	    ICH6
130	    ICH7
131	    ESB2
132	    ICH8
133	    ICH9
134	    EP80579 (Tolapai)
135	    ICH10
136	    5/3400 Series (PCH)
137	    6 Series (PCH)
138	    Patsburg (PCH)
139	    DH89xxCC (PCH)
140	    Panther Point (PCH)
141	    Lynx Point (PCH)
142	    Avoton (SOC)
143	    Wellsburg (PCH)
144	    Coleto Creek (PCH)
145	    Wildcat Point (PCH)
146	    BayTrail (SOC)
147	    Braswell (SOC)
148	    Sunrise Point (PCH)
149	    Kaby Lake (PCH)
150	    DNV (SOC)
151	    Broxton (SOC)
152	    Lewisburg (PCH)
153	    Gemini Lake (SOC)
154	    Cannon Lake (PCH)
155	    Cedar Fork (PCH)
156	    Ice Lake (PCH)
157	    Comet Lake (PCH)
158	    Elkhart Lake (PCH)
159	    Tiger Lake (PCH)
160	    Jasper Lake (SOC)
161	    Emmitsburg (PCH)
162	    Alder Lake (PCH)
163	    Raptor Lake (PCH)
164	    Meteor Lake (SOC and PCH)
165	    Birch Stream (SOC)
166	    Arrow Lake (SOC)
167	    Panther Lake (SOC)
168
169	  This driver can also be built as a module.  If so, the module
170	  will be called i2c-i801.
171
172config I2C_I801_MUX
173	def_bool I2C_I801
174	depends on DMI && I2C_MUX_GPIO
175	depends on !(I2C_I801=y && I2C_MUX=m)
176	help
177	  Optional support for multiplexed SMBUS on certain systems with
178	  more than 8 memory slots.
179
180config I2C_ISCH
181	tristate "Intel SCH SMBus 1.0"
182	depends on PCI && HAS_IOPORT
183	select LPC_SCH
184	help
185	  Say Y here if you want to use SMBus controller on the Intel SCH
186	  based systems.
187
188	  This driver can also be built as a module. If so, the module
189	  will be called i2c-isch.
190
191config I2C_ISMT
192	tristate "Intel iSMT SMBus Controller"
193	depends on PCI && X86
194	help
195	  If you say yes to this option, support will be included for the Intel
196	  iSMT SMBus host controller interface.
197
198	  This driver can also be built as a module.  If so, the module will be
199	  called i2c-ismt.
200
201config I2C_PIIX4
202	tristate "Intel PIIX4 and compatible (ATI/AMD/Serverworks/Broadcom/SMSC)"
203	depends on PCI && HAS_IOPORT
204	select I2C_SMBUS
205	help
206	  If you say yes to this option, support will be included for the Intel
207	  PIIX4 family of mainboard I2C interfaces.  Specifically, the following
208	  versions of the chipset are supported (note that Serverworks is part
209	  of Broadcom):
210	    Intel PIIX4
211	    Intel 440MX
212	    ATI IXP200
213	    ATI IXP300
214	    ATI IXP400
215	    ATI SB600
216	    ATI SB700/SP5100
217	    ATI SB800
218	    AMD Hudson-2
219	    AMD ML
220	    AMD CZ
221	    Hygon CZ
222	    Serverworks OSB4
223	    Serverworks CSB5
224	    Serverworks CSB6
225	    Serverworks HT-1000
226	    Serverworks HT-1100
227	    SMSC Victory66
228
229	  Some AMD chipsets contain two PIIX4-compatible SMBus
230	  controllers. This driver will attempt to use both controllers
231	  on the SB700/SP5100, if they have been initialized by the BIOS.
232
233	  This driver can also be built as a module.  If so, the module
234	  will be called i2c-piix4.
235
236config I2C_CHT_WC
237	tristate "Intel Cherry Trail Whiskey Cove PMIC smbus controller"
238	depends on INTEL_SOC_PMIC_CHTWC
239	help
240	  If you say yes to this option, support will be included for the
241	  SMBus controller found in the Intel Cherry Trail Whiskey Cove PMIC
242	  found on some Intel Cherry Trail systems.
243
244	  Note this controller is hooked up to a TI bq24292i charger-IC,
245	  combined with a FUSB302 Type-C port-controller as such it is advised
246	  to also select CONFIG_TYPEC_FUSB302=m.
247
248config I2C_NFORCE2
249	tristate "Nvidia nForce2, nForce3 and nForce4"
250	depends on PCI && HAS_IOPORT
251	help
252	  If you say yes to this option, support will be included for the Nvidia
253	  nForce2, nForce3 and nForce4 families of mainboard I2C interfaces.
254
255	  This driver can also be built as a module.  If so, the module
256	  will be called i2c-nforce2.
257
258config I2C_NVIDIA_GPU
259	tristate "NVIDIA GPU I2C controller"
260	depends on PCI
261	select I2C_CCGX_UCSI
262	help
263	  If you say yes to this option, support will be included for the
264	  NVIDIA GPU I2C controller which is used to communicate with the GPU's
265	  Type-C controller. This driver can also be built as a module called
266	  i2c-nvidia-gpu.
267
268config I2C_SIS5595
269	tristate "SiS 5595"
270	depends on PCI && HAS_IOPORT
271	help
272	  If you say yes to this option, support will be included for the
273	  SiS5595 SMBus (a subset of I2C) interface.
274
275	  This driver can also be built as a module.  If so, the module
276	  will be called i2c-sis5595.
277
278config I2C_SIS630
279	tristate "SiS 630/730/964"
280	depends on PCI && HAS_IOPORT
281	help
282	  If you say yes to this option, support will be included for the
283	  SiS630, SiS730 and SiS964 SMBus (a subset of I2C) interface.
284
285	  This driver can also be built as a module.  If so, the module
286	  will be called i2c-sis630.
287
288config I2C_SIS96X
289	tristate "SiS 96x"
290	depends on PCI && HAS_IOPORT
291	help
292	  If you say yes to this option, support will be included for the SiS
293	  96x SMBus (a subset of I2C) interfaces.  Specifically, the following
294	  chipsets are supported:
295	    645/961
296	    645DX/961
297	    645DX/962
298	    648/961
299	    650/961
300	    735
301	    745
302
303	  This driver can also be built as a module.  If so, the module
304	  will be called i2c-sis96x.
305
306config I2C_VIA
307	tristate "VIA VT82C586B"
308	depends on PCI && HAS_IOPORT
309	select I2C_ALGOBIT
310	help
311	  If you say yes to this option, support will be included for the VIA
312	  82C586B I2C interface
313
314	  This driver can also be built as a module.  If so, the module
315	  will be called i2c-via.
316
317config I2C_VIAPRO
318	tristate "VIA VT82C596/82C686/82xx and CX700/VX8xx/VX900"
319	depends on PCI && HAS_IOPORT
320	help
321	  If you say yes to this option, support will be included for the VIA
322	  VT82C596 and later SMBus interface.  Specifically, the following
323	  chipsets are supported:
324	    VT82C596A/B
325	    VT82C686A/B
326	    VT8231
327	    VT8233/A
328	    VT8235
329	    VT8237R/A/S
330	    VT8251
331	    CX700
332	    VX800/VX820
333	    VX855/VX875
334	    VX900
335
336	  This driver can also be built as a module.  If so, the module
337	  will be called i2c-viapro.
338
339if ACPI
340
341config I2C_ZHAOXIN
342	tristate "Zhaoxin I2C Interface"
343	depends on PCI || COMPILE_TEST
344	help
345	  If you say yes to this option, support will be included for the
346	  ZHAOXIN I2C interface
347
348	  This driver can also be built as a module. If so, the module
349	  will be called i2c-zhaoxin.
350
351comment "ACPI drivers"
352
353config I2C_SCMI
354	tristate "SMBus Control Method Interface"
355	help
356	  This driver supports the SMBus Control Method Interface. It needs the
357	  BIOS to declare ACPI control methods as described in the SMBus Control
358	  Method Interface specification.
359
360	  To compile this driver as a module, choose M here:
361	  the module will be called i2c-scmi.
362
363endif # ACPI
364
365comment "Mac SMBus host controller drivers"
366	depends on PPC_CHRP || PPC_PMAC
367
368config I2C_HYDRA
369	tristate "CHRP Apple Hydra Mac I/O I2C interface"
370	depends on PCI && PPC_CHRP
371	select I2C_ALGOBIT
372	help
373	  This supports the use of the I2C interface in the Apple Hydra Mac
374	  I/O chip on some CHRP machines (e.g. the LongTrail).  Say Y if you
375	  have such a machine.
376
377	  This support is also available as a module.  If so, the module
378	  will be called i2c-hydra.
379
380config I2C_POWERMAC
381	tristate "Powermac I2C interface"
382	depends on PPC_PMAC
383	default y
384	help
385	  This exposes the various PowerMac i2c interfaces to the linux i2c
386	  layer and to userland. It is used by various drivers on the PowerMac
387	  platform, and should generally be enabled.
388
389	  This support is also available as a module.  If so, the module
390	  will be called i2c-powermac.
391
392comment "I2C system bus drivers (mostly embedded / system-on-chip)"
393
394config I2C_ALTERA
395	tristate "Altera Soft IP I2C"
396	depends on ARCH_INTEL_SOCFPGA || NIOS2 || COMPILE_TEST
397	depends on OF
398	help
399	  If you say yes to this option, support will be included for the
400	  Altera Soft IP I2C interfaces on SoCFPGA and Nios2 architectures.
401
402	  This driver can also be built as a module.  If so, the module
403	  will be called i2c-altera.
404
405config I2C_ASPEED
406	tristate "Aspeed I2C Controller"
407	depends on ARCH_ASPEED || COMPILE_TEST
408	help
409	  If you say yes to this option, support will be included for the
410	  Aspeed I2C controller.
411
412	  This driver can also be built as a module.  If so, the module
413	  will be called i2c-aspeed.
414
415config I2C_AT91
416	tristate "Atmel AT91 I2C Two-Wire interface (TWI)"
417	depends on ARCH_AT91 || COMPILE_TEST
418	help
419	  This supports the use of the I2C interface on Atmel AT91
420	  processors.
421
422	  A serious problem is that there is no documented way to issue
423	  repeated START conditions for more than two messages, as needed
424	  to support combined I2C messages.  Use the i2c-gpio driver
425	  unless your system can cope with this limitation.
426
427	  Caution! at91rm9200, at91sam9261, at91sam9260, at91sam9263 devices
428	  don't have clock stretching in transmission mode. For that reason,
429	  you can encounter underrun issues causing premature stop sendings if
430	  the latency to fill the transmission register is too long. If you
431	  are facing this situation, use the i2c-gpio driver.
432
433config I2C_AT91_SLAVE_EXPERIMENTAL
434	bool "Microchip AT91 I2C experimental slave mode"
435	depends on I2C_AT91
436	select I2C_SLAVE
437	help
438	  If you say yes to this option, support for the slave mode will be
439	  added. Caution: do not use it for production. This feature has not
440	  been tested in a heavy way, help wanted.
441	  There are known bugs:
442	    - It can hang, on a SAMA5D4, after several transfers.
443	    - There are some mismatches with a SAMA5D4 as slave and a SAMA5D2 as
444	    master.
445
446config I2C_AU1550
447	tristate "Au1550/Au1200/Au1300 SMBus interface"
448	depends on MIPS_ALCHEMY
449	help
450	  If you say yes to this option, support will be included for the
451	  Au1550/Au1200/Au1300 SMBus interface.
452
453	  This driver can also be built as a module.  If so, the module
454	  will be called i2c-au1550.
455
456config I2C_AXXIA
457	tristate "Axxia I2C controller"
458	depends on ARCH_AXXIA || COMPILE_TEST
459	default ARCH_AXXIA
460	select I2C_SLAVE
461	help
462	  Say yes if you want to support the I2C bus on Axxia platforms.
463
464	  Please note that this controller is limited to transfers of maximum
465	  255 bytes in length. Any attempt to to a larger transfer will return
466	  an error.
467
468config I2C_BCM2835
469	tristate "Broadcom BCM2835 I2C controller"
470	depends on ARCH_BCM2835 || ARCH_BRCMSTB || COMPILE_TEST
471	depends on COMMON_CLK
472	help
473	  If you say yes to this option, support will be included for the
474	  BCM2835 I2C controller.
475
476	  If you don't know what to do here, say N.
477
478	  This support is also available as a module.  If so, the module
479	  will be called i2c-bcm2835.
480
481config I2C_BCM_IPROC
482	tristate "Broadcom iProc I2C controller"
483	depends on ARCH_BCM_IPROC || COMPILE_TEST
484	default ARCH_BCM_IPROC
485	select I2C_SLAVE
486	help
487	  If you say yes to this option, support will be included for the
488	  Broadcom iProc I2C controller.
489
490	  If you don't know what to do here, say N.
491
492config I2C_BCM_KONA
493	tristate "BCM Kona I2C adapter"
494	depends on ARCH_BCM_MOBILE || COMPILE_TEST
495	default y if ARCH_BCM_MOBILE
496	help
497	  If you say yes to this option, support will be included for the
498	  I2C interface on the Broadcom Kona family of processors.
499
500	  If you do not need KONA I2C interface, say N.
501
502config I2C_BRCMSTB
503	tristate "BRCM Settop/DSL I2C controller"
504	depends on ARCH_BCM2835 || ARCH_BCMBCA || ARCH_BRCMSTB || \
505		   BMIPS_GENERIC || COMPILE_TEST
506	default ARCH_BCM2835 || ARCH_BCMBCA || ARCH_BRCMSTB || BMIPS_GENERIC
507	help
508	  If you say yes to this option, support will be included for the
509	  I2C interface on the Broadcom Settop/DSL SoCs.
510
511	  If you do not need I2C interface, say N.
512
513config I2C_CADENCE
514	tristate "Cadence I2C Controller"
515	depends on ARCH_ZYNQ || ARM64 || XTENSA || RISCV || COMPILE_TEST
516	help
517	  Say yes here to select Cadence I2C Host Controller. This controller is
518	  e.g. used by Xilinx Zynq.
519
520config I2C_CBUS_GPIO
521	tristate "CBUS I2C driver"
522	depends on GPIOLIB || COMPILE_TEST
523	help
524	  Support for CBUS access using I2C API. Mostly relevant for Nokia
525	  Internet Tablets (770, N800 and N810).
526
527	  This driver can also be built as a module.  If so, the module
528	  will be called i2c-cbus-gpio.
529
530config I2C_CGBC
531	tristate "Congatec I2C Controller"
532	depends on MFD_CGBC
533	help
534	  This driver supports the 2 I2C interfaces on the Congatec Board
535	  Controller.
536
537	  This driver can also be built as a module. If so, the module will
538	  be called i2c-cgbc.ko.
539
540config I2C_CPM
541	tristate "Freescale CPM1 or CPM2 (MPC8xx/826x)"
542	depends on CPM1 || CPM2
543	help
544	  This supports the use of the I2C interface on Freescale
545	  processors with CPM1 or CPM2.
546
547	  This driver can also be built as a module.  If so, the module
548	  will be called i2c-cpm.
549
550config I2C_DAVINCI
551	tristate "DaVinci I2C driver"
552	depends on ARCH_DAVINCI || ARCH_KEYSTONE || COMPILE_TEST
553	help
554	  Support for TI DaVinci I2C controller driver.
555
556	  This driver can also be built as a module.  If so, the module
557	  will be called i2c-davinci.
558
559	  Please note that this driver might be needed to bring up other
560	  devices such as DaVinci NIC.
561	  For details please see http://www.ti.com/davinci
562
563config I2C_DESIGNWARE_CORE
564	tristate "Synopsys DesignWare I2C adapter"
565	select REGMAP
566	help
567	  This option enables support for the Synopsys DesignWare I2C adapter.
568	  This driver includes support for the I2C host on the Synopsys
569	  Designware I2C adapter.
570
571	  To compile the driver as a module, choose M here: the module will be
572	  called i2c-designware-core.
573
574if I2C_DESIGNWARE_CORE
575
576config I2C_DESIGNWARE_SLAVE
577	bool "Synopsys DesignWare Slave"
578	select I2C_SLAVE
579	help
580	  If you say yes to this option, support will be included for the
581	  Synopsys DesignWare I2C slave adapter.
582
583config I2C_DESIGNWARE_PLATFORM
584	tristate "Synopsys DesignWare Platform driver"
585	depends on (ACPI && COMMON_CLK) || !ACPI
586	select MFD_SYSCON if MIPS_BAIKAL_T1
587	default I2C_DESIGNWARE_CORE
588	help
589	  If you say yes to this option, support will be included for the
590	  Synopsys DesignWare I2C adapters on the platform bus.
591
592	  This driver can also be built as a module.  If so, the module
593	  will be called i2c-designware-platform.
594
595config I2C_DESIGNWARE_AMDPSP
596	bool "AMD PSP I2C semaphore support"
597	depends on ACPI
598	depends on CRYPTO_DEV_SP_PSP
599	depends on PCI
600	depends on I2C_DESIGNWARE_PLATFORM
601	depends on (I2C_DESIGNWARE_PLATFORM=y && CRYPTO_DEV_CCP_DD=y) || \
602		   (I2C_DESIGNWARE_PLATFORM=m && CRYPTO_DEV_CCP_DD)
603	help
604	  This driver enables managed host access to the selected I2C bus shared
605	  between AMD CPU and AMD PSP.
606
607	  You should say Y if running on an AMD system equipped with the PSP.
608
609config I2C_DESIGNWARE_BAYTRAIL
610	bool "Intel Baytrail I2C semaphore support"
611	depends on ACPI
612	depends on I2C_DESIGNWARE_PLATFORM
613	depends on (I2C_DESIGNWARE_PLATFORM=m && IOSF_MBI) || \
614		   (I2C_DESIGNWARE_PLATFORM=y && IOSF_MBI=y)
615	help
616	  This driver enables managed host access to the PMIC I2C bus on select
617	  Intel BayTrail platforms using the X-Powers AXP288 PMIC. It allows
618	  the host to request uninterrupted access to the PMIC's I2C bus from
619	  the platform firmware controlling it. You should say Y if running on
620	  a BayTrail system using the AXP288.
621
622config I2C_DESIGNWARE_PCI
623	tristate "Synopsys DesignWare PCI driver"
624	depends on PCI
625	select I2C_CCGX_UCSI
626	help
627	  If you say yes to this option, support will be included for the
628	  Synopsys DesignWare I2C adapters on the PCI bus. Only master mode is
629	  supported.
630
631	  This driver can also be built as a module.  If so, the module
632	  will be called i2c-designware-pci.
633
634endif
635
636config I2C_DIGICOLOR
637	tristate "Conexant Digicolor I2C driver"
638	depends on ARCH_DIGICOLOR || COMPILE_TEST
639	help
640	  Support for Conexant Digicolor SoCs (CX92755) I2C controller driver.
641
642	  This driver can also be built as a module.  If so, the module
643	  will be called i2c-digicolor.
644
645config I2C_EG20T
646	tristate "Intel EG20T PCH/LAPIS Semicon IOH(ML7213/ML7223/ML7831) I2C"
647	depends on PCI && (X86_32 || MIPS || COMPILE_TEST)
648	help
649	  This driver is for PCH(Platform controller Hub) I2C of EG20T which
650	  is an IOH(Input/Output Hub) for x86 embedded processor.
651	  This driver can access PCH I2C bus device.
652
653	  This driver also can be used for LAPIS Semiconductor IOH(Input/
654	  Output Hub), ML7213, ML7223 and ML7831.
655	  ML7213 IOH is for IVI(In-Vehicle Infotainment) use, ML7223 IOH is
656	  for MP(Media Phone) use and ML7831 IOH is for general purpose use.
657	  ML7213/ML7223/ML7831 is companion chip for Intel Atom E6xx series.
658	  ML7213/ML7223/ML7831 is completely compatible for Intel EG20T PCH.
659
660config I2C_EMEV2
661	tristate "EMMA Mobile series I2C adapter"
662	depends on HAVE_CLK
663	select I2C_SLAVE
664	help
665	  If you say yes to this option, support will be included for the
666	  I2C interface on the Renesas Electronics EM/EV family of processors.
667
668config I2C_EXYNOS5
669	tristate "Exynos high-speed I2C driver"
670	depends on OF
671	depends on ARCH_EXYNOS || COMPILE_TEST
672	default y if ARCH_EXYNOS
673	help
674	  High-speed I2C controller on Samsung Exynos5 and newer Samsung SoCs:
675	  Exynos5250, Exynos5260, Exynos5410, Exynos542x, Exynos5800,
676	  Exynos5433, Exynos7, Exynos850 and ExynosAutoV9.
677	  Choose Y here only if you build for such Samsung SoC.
678
679config I2C_GPIO
680	tristate "GPIO-based bitbanging I2C"
681	depends on GPIOLIB || COMPILE_TEST
682	select I2C_ALGOBIT
683	help
684	  This is a very simple bitbanging I2C driver utilizing the
685	  arch-neutral GPIO API to control the SCL and SDA lines.
686
687config I2C_GPIO_FAULT_INJECTOR
688	bool "GPIO-based fault injector"
689	depends on I2C_GPIO
690	help
691	  This adds some functionality to the i2c-gpio driver which can inject
692	  faults to an I2C bus, so another bus master can be stress-tested.
693	  This is for debugging. If unsure, say 'no'.
694
695config I2C_GXP
696	tristate "GXP I2C Interface"
697	depends on ARCH_HPE_GXP || COMPILE_TEST
698	help
699	  This enables support for GXP I2C interface. The I2C engines can be
700	  either I2C master or I2C slaves.
701
702config I2C_HIGHLANDER
703	tristate "Highlander FPGA SMBus interface"
704	depends on SH_HIGHLANDER || COMPILE_TEST
705	help
706	  If you say yes to this option, support will be included for
707	  the SMBus interface located in the FPGA on various Highlander
708	  boards, particularly the R0P7780LC0011RL and R0P7785LC0011RL
709	  FPGAs. This is wholly unrelated to the SoC I2C.
710
711	  This driver can also be built as a module.  If so, the module
712	  will be called i2c-highlander.
713
714config I2C_HISI
715	tristate "HiSilicon I2C controller"
716	depends on ARM64 || COMPILE_TEST
717	help
718	  Say Y here if you want to have Hisilicon I2C controller support
719	  available on the Kunpeng Server.
720
721	  This driver can also be built as a module. If so, the module
722	  will be called i2c-hisi.
723
724config I2C_IBM_IIC
725	tristate "IBM PPC 4xx on-chip I2C interface"
726	depends on 4xx
727	help
728	  Say Y here if you want to use IIC peripheral found on
729	  embedded IBM PPC 4xx based systems.
730
731	  This driver can also be built as a module.  If so, the module
732	  will be called i2c-ibm_iic.
733
734config I2C_IMG
735	tristate "Imagination Technologies I2C SCB Controller"
736	depends on MIPS || COMPILE_TEST
737	help
738	  Say Y here if you want to use the IMG I2C SCB controller,
739	  available on the TZ1090 and other IMG SoCs.
740
741	  This driver can also be built as a module.  If so, the module
742	  will be called i2c-img-scb.
743
744config I2C_IMX
745	tristate "IMX I2C interface"
746	depends on ARCH_MXC || ARCH_LAYERSCAPE || ARCH_S32 || COLDFIRE \
747		|| COMPILE_TEST
748	select I2C_SLAVE
749	help
750	  Say Y here if you want to use the IIC bus controller on
751	  the Freescale i.MX/MXC/S32G, Layerscape or ColdFire processors.
752
753	  This driver can also be built as a module. If so, the module
754	  will be called i2c-imx.
755
756config I2C_IMX_LPI2C
757	tristate "IMX Low Power I2C interface"
758	depends on ARCH_MXC || COMPILE_TEST
759	select I2C_SLAVE
760	help
761	  Say Y here if you want to use the Low Power IIC bus controller
762	  on the Freescale i.MX processors.
763
764	  This driver can also be built as a module. If so, the module
765	  will be called i2c-imx-lpi2c.
766
767config I2C_IOP3XX
768	tristate "Intel IXP4xx on-chip I2C interface"
769	depends on ARCH_IXP4XX || COMPILE_TEST
770	help
771	  Say Y here if you want to use the IIC bus controller on
772	  the Intel IXP4xx Network Processors.
773
774	  This driver can also be built as a module.  If so, the module
775	  will be called i2c-iop3xx.
776
777config I2C_JZ4780
778	tristate "JZ4780 I2C controller interface support"
779	depends on MIPS || COMPILE_TEST
780	help
781	 If you say yes to this option, support will be included for the
782	 Ingenic JZ4780 I2C controller.
783
784	 If you don't know what to do here, say N.
785
786config I2C_K1
787	tristate "SpacemiT K1 I2C adapter"
788	depends on ARCH_SPACEMIT || COMPILE_TEST
789	depends on OF
790	help
791	  This option enables support for the I2C interface on the SpacemiT K1
792	  platform.
793
794	  If you enable this configuration, the kernel will include support for
795	  the I2C adapter specific to the SpacemiT K1 platform. This driver can
796	  be used to manage I2C bus transactions, which are necessary for
797	  interfacing with I2C peripherals such as sensors, EEPROMs, and other
798	  devices.
799
800	  This driver can also be built as a module.  If so, the
801	  module will be called `i2c-k1`.
802
803config I2C_KEBA
804	tristate "KEBA I2C controller support"
805	depends on HAS_IOMEM
806	depends on KEBA_CP500 || COMPILE_TEST
807	select AUXILIARY_BUS
808	help
809	  This driver supports the I2C controller found in KEBA system FPGA
810	  devices.
811
812	  This driver can also be built as a module. If so, the module
813	  will be called i2c-keba.
814
815config I2C_KEMPLD
816	tristate "Kontron COM I2C Controller"
817	depends on MFD_KEMPLD
818	help
819	  This enables support for the I2C bus interface on some Kontron ETX
820	  and COMexpress (ETXexpress) modules.
821
822	  This driver can also be built as a module. If so, the module
823	  will be called i2c-kempld.
824
825config I2C_LPC2K
826	tristate "I2C bus support for NXP LPC2K/LPC178x/18xx/43xx"
827	depends on OF && (ARCH_LPC18XX || COMPILE_TEST)
828	help
829	  This driver supports the I2C interface found several NXP
830	  devices including LPC2xxx, LPC178x/7x and LPC18xx/43xx.
831
832	  This driver can also be built as a module.  If so, the module
833	  will be called i2c-lpc2k.
834
835config I2C_LS2X
836	tristate "Loongson LS2X I2C adapter"
837	depends on MACH_LOONGSON64 || COMPILE_TEST
838	help
839	  If you say yes to this option, support will be included for the
840	  I2C interface on the Loongson-2K SoCs and Loongson LS7A bridge
841	  chip.
842
843	  This driver can also be built as a module. If so, the module
844	  will be called i2c-ls2x.
845
846config I2C_MLXBF
847        tristate "Mellanox BlueField I2C controller"
848        depends on MELLANOX_PLATFORM && ARM64
849	depends on ACPI
850	select I2C_SLAVE
851        help
852          Enabling this option will add I2C SMBus support for Mellanox BlueField
853          system.
854
855          This driver can also be built as a module. If so, the module will be
856          called i2c-mlxbf.
857
858          This driver implements an I2C SMBus host controller and enables both
859          master and slave functions.
860
861config I2C_MESON
862	tristate "Amlogic Meson I2C controller"
863	depends on ARCH_MESON || COMPILE_TEST
864	depends on COMMON_CLK
865	help
866	  If you say yes to this option, support will be included for the
867	  I2C interface on the Amlogic Meson family of SoCs.
868
869config I2C_MICROCHIP_CORE
870	tristate "Microchip FPGA I2C controller"
871	depends on ARCH_MICROCHIP_POLARFIRE || COMPILE_TEST
872	depends on OF
873	help
874	  If you say yes to this option, support will be included for the
875	  I2C interface on Microchip FPGAs.
876
877	  This driver can also be built as a module. If so, the module will be
878	  called i2c-microchip-core.
879
880config I2C_MPC
881	tristate "MPC107/824x/85xx/512x/52xx/83xx/86xx"
882	depends on PPC
883	help
884	  If you say yes to this option, support will be included for the
885	  built-in I2C interface on the MPC107, Tsi107, MPC512x, MPC52xx,
886	  MPC8240, MPC8245, MPC83xx, MPC85xx and MPC8641 family processors.
887
888	  This driver can also be built as a module.  If so, the module
889	  will be called i2c-mpc.
890
891config I2C_MT65XX
892	tristate "MediaTek I2C adapter"
893	depends on ARCH_MEDIATEK || COMPILE_TEST
894	help
895	  This selects the MediaTek(R) Integrated Inter Circuit bus driver
896	  for MT65xx and MT81xx.
897	  If you want to use MediaTek(R) I2C interface, say Y or M here.
898	  If unsure, say N.
899
900config I2C_MT7621
901	tristate "MT7621/MT7628 I2C Controller"
902	depends on (RALINK && (SOC_MT7620 || SOC_MT7621)) || ARCH_AIROHA || COMPILE_TEST
903	help
904	  Say Y here to include support for I2C controller in the
905	  MediaTek MT7621/MT7628 SoCs.
906
907config I2C_MV64XXX
908	tristate "Marvell mv64xxx I2C Controller"
909	depends on PLAT_ORION || ARCH_SUNXI || ARCH_MVEBU || COMPILE_TEST
910	help
911	  If you say yes to this option, support will be included for the
912	  built-in I2C interface on the Marvell 64xxx line of host bridges.
913	  This driver is also used for Allwinner SoCs I2C controllers.
914
915	  This driver can also be built as a module.  If so, the module
916	  will be called i2c-mv64xxx.
917
918config I2C_MXS
919	tristate "Freescale i.MX28 I2C interface"
920	depends on SOC_IMX28 || COMPILE_TEST
921	select STMP_DEVICE
922	help
923	  Say Y here if you want to use the I2C bus controller on
924	  the Freescale i.MX28 processors.
925
926	  This driver can also be built as a module.  If so, the module
927	  will be called i2c-mxs.
928
929config I2C_NOMADIK
930	tristate "ST-Ericsson Nomadik/Ux500 I2C Controller"
931	depends on ARM_AMBA || COMPILE_TEST
932	help
933	  If you say yes to this option, support will be included for the
934	  I2C interface from ST-Ericsson's Nomadik and Ux500 architectures,
935	  as well as the STA2X11 PCIe I/O HUB.
936
937config I2C_NPCM
938	tristate "Nuvoton I2C Controller"
939	depends on ARCH_NPCM || COMPILE_TEST
940	help
941	  If you say yes to this option, support will be included for the
942	  Nuvoton I2C controller, which is available on the NPCM BMC
943	  controllers.
944	  Driver can also support slave mode (select I2C_SLAVE).
945
946config I2C_OCORES
947	tristate "OpenCores I2C Controller"
948	help
949	  If you say yes to this option, support will be included for the
950	  OpenCores I2C controller. For details see
951	  http://www.opencores.org/projects.cgi/web/i2c/overview
952
953	  This driver can also be built as a module.  If so, the module
954	  will be called i2c-ocores.
955
956config I2C_OMAP
957	tristate "OMAP I2C adapter"
958	depends on ARCH_OMAP || ARCH_K3 || COMPILE_TEST
959	default MACH_OMAP_OSK
960	select MULTIPLEXER
961	help
962	  If you say yes to this option, support will be included for the
963	  I2C interface on the Texas Instruments OMAP1/2 family of processors.
964	  Like OMAP1510/1610/1710/5912 and OMAP242x.
965	  For details see http://www.ti.com/omap.
966
967config I2C_OWL
968	tristate "Actions Semiconductor Owl I2C Controller"
969	depends on ARCH_ACTIONS || COMPILE_TEST
970	help
971	  Say Y here if you want to use the I2C bus controller on
972	  the Actions Semiconductor Owl SoC's.
973
974config I2C_PASEMI
975	tristate "PA Semi SMBus interface"
976	depends on PPC_PASEMI && PCI
977	help
978	  Supports the PA Semi PWRficient on-chip SMBus interfaces.
979
980config I2C_APPLE
981	tristate "Apple SMBus platform driver"
982	depends on !I2C_PASEMI
983	depends on ARCH_APPLE || COMPILE_TEST
984	default ARCH_APPLE
985	help
986	  Say Y here if you want to use the I2C controller present on Apple
987	  Silicon chips such as the M1.
988
989	  This driver can also be built as a module. If so, the module
990	  will be called i2c-apple.
991
992config I2C_PCA_PLATFORM
993	tristate "PCA9564/PCA9665 as platform device"
994	select I2C_ALGOPCA
995	help
996	  This driver supports a memory mapped Philips PCA9564/PCA9665
997	  parallel bus to I2C bus controller.
998
999	  This driver can also be built as a module.  If so, the module
1000	  will be called i2c-pca-platform.
1001
1002config I2C_PNX
1003	tristate "I2C bus support for Philips PNX and NXP LPC targets"
1004	depends on ARCH_LPC32XX || COMPILE_TEST
1005	help
1006	  This driver supports the Philips IP3204 I2C IP block master and/or
1007	  slave controller
1008
1009	  This driver can also be built as a module.  If so, the module
1010	  will be called i2c-pnx.
1011
1012config I2C_PXA
1013	tristate "Intel PXA2XX I2C adapter"
1014	depends on ARCH_PXA || ARCH_MMP || ARCH_MVEBU || (X86_32 && PCI && OF) || COMPILE_TEST
1015	help
1016	  If you have devices in the PXA I2C bus, say yes to this option.
1017	  This driver can also be built as a module.  If so, the module
1018	  will be called i2c-pxa.
1019
1020config I2C_PXA_PCI
1021	def_bool I2C_PXA && X86_32 && PCI && OF
1022
1023config I2C_PXA_SLAVE
1024	bool "Intel PXA2XX I2C Slave comms support"
1025	depends on I2C_PXA && !X86_32
1026	select I2C_SLAVE
1027	help
1028	  Support I2C slave mode communications on the PXA I2C bus.  This
1029	  is necessary for systems where the PXA may be a target on the
1030	  I2C bus.
1031
1032config I2C_QCOM_CCI
1033	tristate "Qualcomm Camera Control Interface"
1034	depends on ARCH_QCOM || COMPILE_TEST
1035	help
1036	  If you say yes to this option, support will be included for the
1037	  built-in camera control interface on the Qualcomm SoCs.
1038
1039	  This driver can also be built as a module.  If so, the module
1040	  will be called i2c-qcom-cci.
1041
1042config I2C_QCOM_GENI
1043	tristate "Qualcomm Technologies Inc.'s GENI based I2C controller"
1044	depends on ARCH_QCOM || COMPILE_TEST
1045	depends on QCOM_GENI_SE
1046	help
1047	  This driver supports GENI serial engine based I2C controller in
1048	  master mode on the Qualcomm Technologies Inc.'s SoCs. If you say
1049	  yes to this option, support will be included for the built-in I2C
1050	  interface on the Qualcomm Technologies Inc.'s SoCs.
1051
1052	  This driver can also be built as a module.  If so, the module
1053	  will be called i2c-qcom-geni.
1054
1055config I2C_QUP
1056	tristate "Qualcomm QUP based I2C controller"
1057	depends on ARCH_QCOM || COMPILE_TEST
1058	help
1059	  If you say yes to this option, support will be included for the
1060	  built-in I2C interface on the Qualcomm SoCs.
1061
1062	  This driver can also be built as a module.  If so, the module
1063	  will be called i2c-qup.
1064
1065config I2C_RIIC
1066	tristate "Renesas RIIC adapter"
1067	depends on ARCH_RENESAS || COMPILE_TEST
1068	help
1069	  If you say yes to this option, support will be included for the
1070	  Renesas RIIC I2C interface.
1071
1072	  This driver can also be built as a module.  If so, the module
1073	  will be called i2c-riic.
1074
1075config I2C_RK3X
1076	tristate "Rockchip RK3xxx I2C adapter"
1077	depends on OF && COMMON_CLK
1078	help
1079	  Say Y here to include support for the I2C adapter in Rockchip RK3xxx
1080	  SoCs.
1081
1082	  This driver can also be built as a module. If so, the module will
1083	  be called i2c-rk3x.
1084
1085config I2C_RTL9300
1086	tristate "Realtek RTL9300 I2C controller"
1087	depends on MACH_REALTEK_RTL || COMPILE_TEST
1088	help
1089	  Say Y here to include support for the I2C controller in Realtek
1090	  RTL9300 SoCs.
1091
1092	  This driver can also be built as a module. If so, the module will
1093	  be called i2c-rtl9300.
1094
1095config I2C_RZV2M
1096	tristate "Renesas RZ/V2M adapter"
1097	depends on ARCH_RENESAS || COMPILE_TEST
1098	help
1099	  If you say yes to this option, support will be included for the
1100	  Renesas RZ/V2M I2C interface.
1101
1102	  This driver can also be built as a module.  If so, the module
1103	  will be called i2c-rzv2m.
1104
1105config I2C_S3C2410
1106	tristate "S3C/Exynos I2C Driver"
1107	depends on ARCH_EXYNOS || ARCH_S3C64XX || ARCH_S5PV210 || COMPILE_TEST
1108	help
1109	  Say Y here to include support for I2C controller in the
1110	  Samsung SoCs (S3C, S5Pv210, Exynos).
1111
1112config I2C_SH7760
1113	tristate "Renesas SH7760 I2C Controller"
1114	depends on CPU_SUBTYPE_SH7760
1115	help
1116	  This driver supports the 2 I2C interfaces on the Renesas SH7760.
1117
1118	  This driver can also be built as a module.  If so, the module
1119	  will be called i2c-sh7760.
1120
1121config I2C_SH_MOBILE
1122	tristate "SuperH Mobile I2C Controller"
1123	depends on ARCH_SHMOBILE || ARCH_RENESAS || COMPILE_TEST
1124	help
1125	  If you say yes to this option, support will be included for the
1126	  built-in I2C interface on the Renesas SH-Mobile processor.
1127
1128	  This driver can also be built as a module.  If so, the module
1129	  will be called i2c-sh_mobile.
1130
1131config I2C_SIMTEC
1132	tristate "Simtec Generic I2C interface"
1133	select I2C_ALGOBIT
1134	help
1135	  If you say yes to this option, support will be included for
1136	  the Simtec Generic I2C interface. This driver is for the
1137	  simple I2C bus used on newer Simtec products for general
1138	  I2C, such as DDC on the Simtec BBD2016A.
1139
1140	  This driver can also be built as a module. If so, the module
1141	  will be called i2c-simtec.
1142
1143config I2C_SPRD
1144	tristate "Spreadtrum I2C interface"
1145	depends on I2C=y && (ARCH_SPRD || COMPILE_TEST)
1146	depends on COMMON_CLK
1147	help
1148	  If you say yes to this option, support will be included for the
1149	  Spreadtrum I2C interface.
1150
1151config I2C_ST
1152	tristate "STMicroelectronics SSC I2C support"
1153	depends on ARCH_STI || COMPILE_TEST
1154	help
1155	  Enable this option to add support for STMicroelectronics SoCs
1156	  hardware SSC (Synchronous Serial Controller) as an I2C controller.
1157
1158	  This driver can also be built as module. If so, the module
1159	  will be called i2c-st.
1160
1161config I2C_STM32F4
1162	tristate "STMicroelectronics STM32F4 I2C support"
1163	depends on ARCH_STM32 || COMPILE_TEST
1164	help
1165	  Enable this option to add support for STM32 I2C controller embedded
1166	  in STM32F4 SoCs.
1167
1168	  This driver can also be built as module. If so, the module
1169	  will be called i2c-stm32f4.
1170
1171config I2C_STM32F7
1172	tristate "STMicroelectronics STM32F7 I2C support"
1173	depends on ARCH_STM32 || COMPILE_TEST
1174	select I2C_SLAVE
1175	select I2C_SMBUS
1176	help
1177	  Enable this option to add support for STM32 I2C controller embedded
1178	  in STM32F7 SoCs.
1179
1180	  This driver can also be built as module. If so, the module
1181	  will be called i2c-stm32f7.
1182
1183config I2C_SUN6I_P2WI
1184	tristate "Allwinner sun6i internal P2WI controller"
1185	depends on RESET_CONTROLLER
1186	depends on MACH_SUN6I || COMPILE_TEST
1187	help
1188	  If you say yes to this option, support will be included for the
1189	  P2WI (Push/Pull 2 Wire Interface) controller embedded in some sunxi
1190	  SOCs.
1191	  The P2WI looks like an SMBus controller (which supports only byte
1192	  accesses), except that it only supports one slave device.
1193	  This interface is used to connect to specific PMIC devices (like the
1194	  AXP221).
1195
1196config I2C_SYNQUACER
1197	tristate "Socionext SynQuacer I2C controller"
1198	depends on ARCH_SYNQUACER || COMPILE_TEST
1199	help
1200	  Say Y here to include support for the I2C controller used in some
1201	  Fujitsu and Socionext SoCs.
1202
1203	  This driver can also be built as a module. If so, the module
1204	  will be called i2c-synquacer.
1205
1206config I2C_TEGRA
1207	tristate "NVIDIA Tegra internal I2C controller"
1208	depends on ARCH_TEGRA || (COMPILE_TEST && (ARC || ARM || ARM64 || M68K || RISCV || SUPERH || SPARC))
1209	# COMPILE_TEST needs architectures with readsX()/writesX() primitives
1210	help
1211	  If you say yes to this option, support will be included for the
1212	  I2C controller embedded in NVIDIA Tegra SOCs
1213
1214config I2C_TEGRA_BPMP
1215	tristate "NVIDIA Tegra BPMP I2C controller"
1216	depends on TEGRA_BPMP || COMPILE_TEST
1217	default y if TEGRA_BPMP
1218	help
1219	  If you say yes to this option, support will be included for the I2C
1220	  controller embedded in NVIDIA Tegra SoCs accessed via the BPMP.
1221
1222	  This I2C driver is a 'virtual' I2C driver. The real driver is part
1223	  of the BPMP firmware, and this driver merely communicates with that
1224	  real driver.
1225
1226config I2C_UNIPHIER
1227	tristate "UniPhier FIFO-less I2C controller"
1228	depends on ARCH_UNIPHIER || COMPILE_TEST
1229	help
1230	  If you say yes to this option, support will be included for
1231	  the UniPhier FIFO-less I2C interface embedded in PH1-LD4, PH1-sLD8,
1232	  or older UniPhier SoCs.
1233
1234config I2C_UNIPHIER_F
1235	tristate "UniPhier FIFO-builtin I2C controller"
1236	depends on ARCH_UNIPHIER || COMPILE_TEST
1237	help
1238	  If you say yes to this option, support will be included for
1239	  the UniPhier FIFO-builtin I2C interface embedded in PH1-Pro4,
1240	  PH1-Pro5, or newer UniPhier SoCs.
1241
1242config I2C_VERSATILE
1243	tristate "ARM Versatile/Realview I2C bus support"
1244	depends on ARCH_MPS2 || ARCH_VERSATILE || ARCH_REALVIEW || ARCH_VEXPRESS || COMPILE_TEST
1245	select I2C_ALGOBIT
1246	help
1247	  Say yes if you want to support the I2C serial bus on ARMs Versatile
1248	  range of platforms.
1249
1250	  This driver can also be built as a module.  If so, the module
1251	  will be called i2c-versatile.
1252
1253config I2C_WMT
1254	tristate "Wondermedia WM8xxx SoC I2C bus support"
1255	depends on ARCH_VT8500 || COMPILE_TEST
1256	help
1257	  Say yes if you want to support the I2C bus on Wondermedia 8xxx-series
1258	  SoCs.
1259
1260	  This driver can also be built as a module. If so, the module will be
1261	  called i2c-wmt.
1262
1263config I2C_OCTEON
1264	tristate "Cavium OCTEON I2C bus support"
1265	depends on CAVIUM_OCTEON_SOC
1266	help
1267	  Say yes if you want to support the I2C serial bus on Cavium
1268	  OCTEON SOC.
1269
1270	  This driver can also be built as a module.  If so, the module
1271	  will be called i2c-octeon.
1272
1273config I2C_THUNDERX
1274	tristate "Cavium ThunderX I2C bus support"
1275	depends on 64BIT && PCI && (ARM64 || COMPILE_TEST)
1276	select I2C_SMBUS
1277	help
1278	  Say yes if you want to support the I2C serial bus on Cavium
1279	  ThunderX SOC.
1280
1281	  This driver can also be built as a module.  If so, the module
1282	  will be called i2c-thunderx.
1283
1284config I2C_XILINX
1285	tristate "Xilinx I2C Controller"
1286	depends on HAS_IOMEM
1287	help
1288	  If you say yes to this option, support will be included for the
1289	  Xilinx I2C controller.
1290
1291	  This driver can also be built as a module.  If so, the module
1292	  will be called xilinx_i2c.
1293
1294config I2C_XLP9XX
1295	tristate "Cavium ThunderX2 I2C support"
1296	depends on ARCH_THUNDER2 || COMPILE_TEST
1297	help
1298	  This driver enables support for the on-chip I2C interface of
1299	  the Cavium ThunderX2 processors. (Originally on Netlogic XLP SoCs.)
1300
1301	  This driver can also be built as a module.  If so, the module will
1302	  be called i2c-xlp9xx.
1303
1304config I2C_RCAR
1305	tristate "Renesas R-Car I2C Controller"
1306	depends on ARCH_RENESAS || COMPILE_TEST
1307	select I2C_SLAVE
1308	select I2C_SMBUS
1309	select RESET_CONTROLLER if ARCH_RCAR_GEN3 || ARCH_RCAR_GEN4
1310	help
1311	  If you say yes to this option, support will be included for the
1312	  R-Car I2C controller.
1313
1314	  This driver can also be built as a module.  If so, the module
1315	  will be called i2c-rcar.
1316
1317comment "External I2C/SMBus adapter drivers"
1318
1319config I2C_DIOLAN_U2C
1320	tristate "Diolan U2C-12 USB adapter"
1321	depends on USB
1322	help
1323	  If you say yes to this option, support will be included for Diolan
1324	  U2C-12, a USB to I2C interface.
1325
1326	  This driver can also be built as a module.  If so, the module
1327	  will be called i2c-diolan-u2c.
1328
1329config I2C_DLN2
1330	tristate "Diolan DLN-2 USB I2C adapter"
1331	depends on MFD_DLN2
1332	help
1333	 If you say yes to this option, support will be included for Diolan
1334	 DLN2, a USB to I2C interface.
1335
1336	 This driver can also be built as a module.  If so, the module
1337	 will be called i2c-dln2.
1338
1339config I2C_LJCA
1340	tristate "I2C functionality of Intel La Jolla Cove Adapter"
1341	depends on USB_LJCA
1342	default USB_LJCA
1343	help
1344	  If you say yes to this option, I2C functionality support of Intel
1345	  La Jolla Cove Adapter (LJCA) will be included.
1346
1347	  This driver can also be built as a module.  If so, the module
1348	  will be called i2c-ljca.
1349
1350config I2C_CP2615
1351	tristate "Silicon Labs CP2615 USB sound card and I2C adapter"
1352	depends on USB
1353	help
1354	  If you say yes to this option, support will be included for Silicon
1355	  Labs CP2615's I2C interface.
1356
1357	  This driver can also be built as a module.  If so, the module
1358	  will be called i2c-cp2615.
1359
1360config I2C_PARPORT
1361	tristate "Parallel port adapter"
1362	depends on PARPORT
1363	select I2C_ALGOBIT
1364	select I2C_SMBUS
1365	help
1366	  This supports parallel port I2C adapters such as the ones made by
1367	  Philips or Velleman, Analog Devices evaluation boards, and more.
1368	  Basically any adapter using the parallel port as an I2C bus with
1369	  no extra chipset is supported by this driver, or could be. Please
1370	  read the file Documentation/i2c/busses/i2c-parport.rst for details.
1371
1372	  This support is also available as a module.  If so, the module
1373	  will be called i2c-parport.
1374
1375config I2C_PCI1XXXX
1376	tristate "PCI1XXXX I2C Host Adapter"
1377	depends on PCI
1378	help
1379	  If you say yes to this option, support will be included for
1380	  Microchip PCI1XXXX's I2C interface.
1381
1382	  This driver can also be built as a module. If so, the module will
1383	  be called i2c-mchp-pci1xxxx.
1384
1385config I2C_ROBOTFUZZ_OSIF
1386	tristate "RobotFuzz Open Source InterFace USB adapter"
1387	depends on USB
1388	help
1389	  If you say yes to this option, support will be included for the
1390	  RobotFuzz Open Source InterFace USB to I2C interface.
1391
1392	  This driver can also be built as a module.  If so, the module
1393	  will be called i2c-osif.
1394
1395config I2C_TAOS_EVM
1396	tristate "TAOS evaluation module"
1397	depends on TTY
1398	select SERIO
1399	select SERIO_SERPORT
1400	help
1401	  This supports TAOS evaluation modules on serial port. In order to
1402	  use this driver, you will need the inputattach tool, which is part
1403	  of the input-utils package.
1404
1405	  If unsure, say N.
1406
1407	  This support is also available as a module.  If so, the module
1408	  will be called i2c-taos-evm.
1409
1410config I2C_TINY_USB
1411	tristate "Tiny-USB adapter"
1412	depends on USB
1413	help
1414	  If you say yes to this option, support will be included for the
1415	  i2c-tiny-usb, a simple do-it-yourself USB to I2C interface. See
1416	  http://www.harbaum.org/till/i2c_tiny_usb for hardware details.
1417
1418	  This driver can also be built as a module.  If so, the module
1419	  will be called i2c-tiny-usb.
1420
1421config I2C_VIPERBOARD
1422	tristate "Viperboard I2C master support"
1423	depends on MFD_VIPERBOARD && USB
1424	help
1425	  Say yes here to access the I2C part of the Nano River
1426	  Technologies Viperboard as I2C master.
1427	  See viperboard API specification and Nano
1428	  River Tech's viperboard.h for detailed meaning
1429	  of the module parameters.
1430
1431comment "Other I2C/SMBus bus drivers"
1432
1433config I2C_ACORN
1434	tristate "Acorn IOC/IOMD I2C bus support"
1435	depends on ARCH_ACORN
1436	default y
1437	select I2C_ALGOBIT
1438	help
1439	  Say yes if you want to support the I2C bus on Acorn platforms.
1440
1441	  If you don't know, say Y.
1442
1443config I2C_ELEKTOR
1444	tristate "Elektor ISA card"
1445	depends on ISA && HAS_IOPORT_MAP && BROKEN_ON_SMP
1446	select I2C_ALGOPCF
1447	help
1448	  This supports the PCF8584 ISA bus I2C adapter.  Say Y if you own
1449	  such an adapter.
1450
1451	  This support is also available as a module.  If so, the module
1452	  will be called i2c-elektor.
1453
1454config I2C_ICY
1455	tristate "ICY Zorro card"
1456	depends on ZORRO
1457	select I2C_ALGOPCF
1458	help
1459	  This supports the PCF8584 Zorro bus I2C adapter, known as ICY.
1460	  Say Y if you own such an adapter.
1461
1462	  This support is also available as a module.  If so, the module
1463	  will be called i2c-icy.
1464
1465	  If you have a 2019 edition board with an LTC2990 sensor at address
1466	  0x4c, loading the module 'ltc2990' is sufficient to enable it.
1467
1468config I2C_MLXCPLD
1469	tristate "Mellanox I2C driver"
1470	depends on X86_64 || (ARM64 && ACPI) || COMPILE_TEST
1471	depends on HAS_IOPORT
1472	help
1473	  This exposes the Mellanox platform I2C busses to the linux I2C layer
1474	  for X86 and ARM64/ACPI based systems.
1475	  Controller is implemented as CPLD logic.
1476
1477	  This driver can also be built as a module. If so, the module will be
1478	  called as i2c-mlxcpld.
1479
1480config I2C_PCA_ISA
1481	tristate "PCA9564/PCA9665 on an ISA bus"
1482	depends on ISA
1483	select I2C_ALGOPCA
1484	help
1485	  This driver supports ISA boards using the Philips PCA9564/PCA9665
1486	  parallel bus to I2C bus controller.
1487
1488	  This driver can also be built as a module.  If so, the module
1489	  will be called i2c-pca-isa.
1490
1491	  This device is almost undetectable and using this driver on a
1492	  system which doesn't have this device will result in long
1493	  delays when I2C/SMBus chip drivers are loaded (e.g. at boot
1494	  time).  If unsure, say N.
1495
1496config I2C_SIBYTE
1497	tristate "SiByte SMBus interface"
1498	depends on SIBYTE_SB1xxx_SOC
1499	help
1500	  Supports the SiByte SOC on-chip I2C interfaces (2 channels).
1501
1502config I2C_CROS_EC_TUNNEL
1503	tristate "ChromeOS EC tunnel I2C bus"
1504	depends on CROS_EC
1505	help
1506	  If you say yes here you get an I2C bus that will tunnel i2c commands
1507	  through to the other side of the ChromeOS EC to the i2c bus
1508	  connected there. This will work whatever the interface used to
1509	  talk to the EC (SPI, I2C or LPC).
1510
1511config I2C_XGENE_SLIMPRO
1512	tristate "APM X-Gene SoC I2C SLIMpro devices support"
1513	depends on ARCH_XGENE && MAILBOX
1514	help
1515	  Enable I2C bus access using the APM X-Gene SoC SLIMpro
1516	  co-processor. The I2C device access the I2C bus via the X-Gene
1517	  to SLIMpro (On chip coprocessor) mailbox mechanism.
1518	  If unsure, say N.
1519
1520config SCx200_ACB
1521	tristate "Geode ACCESS.bus support"
1522	depends on X86_32 && PCI
1523	help
1524	  Enable the use of the ACCESS.bus controllers on the Geode SCx200 and
1525	  SC1100 processors and the CS5535 and CS5536 Geode companion devices.
1526
1527	  If you don't know what to do here, say N.
1528
1529	  This support is also available as a module.  If so, the module
1530	  will be called scx200_acb.
1531
1532config I2C_OPAL
1533	tristate "IBM OPAL I2C driver"
1534	depends on PPC_POWERNV
1535	default y
1536	help
1537	  This exposes the PowerNV platform i2c busses to the linux i2c layer,
1538	  the driver is based on the OPAL interfaces.
1539
1540	  This driver can also be built as a module. If so, the module will be
1541	  called as i2c-opal.
1542
1543config I2C_FSI
1544	tristate "FSI I2C driver"
1545	depends on FSI
1546	help
1547	  Driver for FSI bus attached I2C masters. These are I2C masters that
1548	  are connected to the system over an FSI bus, instead of the more
1549	  common PCI or MMIO interface.
1550
1551	  This driver can also be built as a module. If so, the module will be
1552	  called as i2c-fsi.
1553
1554config I2C_VIRTIO
1555        tristate "Virtio I2C Adapter"
1556        select VIRTIO
1557        help
1558          If you say yes to this option, support will be included for the virtio
1559          I2C adapter driver. The hardware can be emulated by any device model
1560          software according to the virtio protocol.
1561
1562          This driver can also be built as a module. If so, the module
1563          will be called i2c-virtio.
1564
1565endmenu
1566