Skip to content

Commit

Permalink
support kernel version v5.15
Browse files Browse the repository at this point in the history
support kernel version v5.15
  • Loading branch information
she2rt committed Sep 16, 2022
1 parent febf02e commit 913eb95
Show file tree
Hide file tree
Showing 5 changed files with 923 additions and 1,105 deletions.
27 changes: 5 additions & 22 deletions linux/drivers/input/Kconfig
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# SPDX-License-Identifier: GPL-2.0-only
#
# Input device configuration
#

menu "Input device support"
depends on !UML

config INPUT
tristate "Generic input layer (needed for keyboard, mouse, ...)" if EXPERT
Expand All @@ -16,7 +16,7 @@ config INPUT

Say N here if you have a headless (no monitor, no keyboard) system.

More information is available: <file:Documentation/input/input.txt>
More information is available: <file:Documentation/input/input.rst>

If unsure, say Y.

Expand Down Expand Up @@ -51,19 +51,6 @@ config INPUT_FF_MEMLESS
To compile this driver as a module, choose M here: the
module will be called ff-memless.

config INPUT_POLLDEV
tristate "Polled input device skeleton"
help
Say Y here if you are using a driver for an input
device that periodically polls hardware state. This
option is only useful for out-of-tree drivers since
in-tree drivers select it automatically.

If unsure, say N.

To compile this driver as a module, choose M here: the
module will be called input-polldev.

config INPUT_SPARSEKMAP
tristate "Sparse keymap support library"
help
Expand Down Expand Up @@ -144,7 +131,7 @@ config INPUT_JOYDEV

If unsure, say Y.

More information is available: <file:Documentation/input/joystick.txt>
More information is available: <file:Documentation/input/joydev/joystick.rst>

To compile this driver as a module, choose M here: the
module will be called joydev.
Expand Down Expand Up @@ -186,6 +173,8 @@ config INPUT_APMPOWER

comment "Input Device Drivers"

source "drivers/input/sensors/smi130/Kconfig"

source "drivers/input/keyboard/Kconfig"

source "drivers/input/mouse/Kconfig"
Expand All @@ -200,14 +189,8 @@ source "drivers/input/misc/Kconfig"

source "drivers/input/rmi4/Kconfig"

source "drivers/input/sensors/smi130/Kconfig"

#source "drivers/input/sensors/smi230/Kconfig"
endif




menu "Hardware I/O ports"

source "drivers/input/serio/Kconfig"
Expand Down
9 changes: 3 additions & 6 deletions linux/drivers/input/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
# Each configuration option enables a list of files.

obj-$(CONFIG_INPUT) += input-core.o
input-core-y := input.o input-compat.o input-mt.o ff-core.o
input-core-y := input.o input-compat.o input-mt.o input-poller.o ff-core.o
input-core-y += touchscreen.o

obj-$(CONFIG_INPUT_FF_MEMLESS) += ff-memless.o
obj-$(CONFIG_INPUT_POLLDEV) += input-polldev.o
obj-$(CONFIG_INPUT_SPARSEKMAP) += sparse-keymap.o
obj-$(CONFIG_INPUT_MATRIXKMAP) += matrix-keymap.o

Expand All @@ -29,7 +29,4 @@ obj-$(CONFIG_INPUT_MISC) += misc/
obj-$(CONFIG_INPUT_APMPOWER) += apm-power.o

obj-$(CONFIG_RMI4_CORE) += rmi4/

obj-$(CONFIG_INPUT_SMI130) += sensors/smi130/
obj-$(CONFIG_INPUT_SMI230) += sensors/smi230/

obj-$(CONFIG_INPUT_SMI130) += sensors/smi130/
Loading

0 comments on commit 913eb95

Please sign in to comment.