Kconfig (b33752c300232d7f95dd9a4353947d0c9e6a0e52) Kconfig (c1ed18c11bdb80eced208a61d40b1988f36a014f)
1# SPDX-License-Identifier: GPL-2.0-only
2menu "I2C HID support"
3 depends on I2C
4
5config I2C_HID_ACPI
6 tristate "HID over I2C transport layer ACPI driver"
7 default n
8 depends on I2C && INPUT && ACPI

--- 18 unchanged lines hidden (view full) ---

27 This driver supports Open Firmware (Device Tree)-based systems.
28
29 If unsure, say N.
30
31 This support is also available as a module. If so, the module
32 will be called i2c-hid-of. It will also build/depend on the
33 module i2c-hid.
34
1# SPDX-License-Identifier: GPL-2.0-only
2menu "I2C HID support"
3 depends on I2C
4
5config I2C_HID_ACPI
6 tristate "HID over I2C transport layer ACPI driver"
7 default n
8 depends on I2C && INPUT && ACPI

--- 18 unchanged lines hidden (view full) ---

27 This driver supports Open Firmware (Device Tree)-based systems.
28
29 If unsure, say N.
30
31 This support is also available as a module. If so, the module
32 will be called i2c-hid-of. It will also build/depend on the
33 module i2c-hid.
34
35config I2C_HID_OF_GOODIX
36 tristate "Driver for Goodix hid-i2c based devices on OF systems"
37 default n
38 depends on I2C && INPUT && OF
39 help
40 Say Y here if you want support for Goodix i2c devices that use
41 the i2c-hid protocol on Open Firmware (Device Tree)-based
42 systems.
43
44 If unsure, say N.
45
46 This support is also available as a module. If so, the module
47 will be called i2c-hid-of-goodix. It will also build/depend on
48 the module i2c-hid.
49
35endmenu
36
37config I2C_HID_CORE
38 tristate
50endmenu
51
52config I2C_HID_CORE
53 tristate
39 default y if I2C_HID_ACPI=y || I2C_HID_OF=y
40 default m if I2C_HID_ACPI=m || I2C_HID_OF=m
54 default y if I2C_HID_ACPI=y || I2C_HID_OF=y || I2C_HID_OF_GOODIX=y
55 default m if I2C_HID_ACPI=m || I2C_HID_OF=m || I2C_HID_OF_GOODIX=m
41 select HID
56 select HID