// SPDX-License-Identifier: GPL-2.0/* * Copyright 2018 Google LLC. * * Driver for Semtech's SX9310/SX9311 capacitive proximity/button solution. * Based on SX9500 driver and Semtech driver using the input framework * <https://my.syncplicity.com/share/teouwsim8niiaud/ * linux-driver-SX9310_NoSmartHSensing>. * Reworked in April 2019 by Evan Green <evgreen@chromium.org> * and in January 2020 by Daniel Campello <campello@chromium.org>. */#include<linux/acpi.h>#include<linux/bitfield.h>#include<linux/delay.h>#include<linux/i2c.h>#include<linux/irq.h>#include<linux/kernel.h>#include<linux/log2.h>#include<linux/mod_devicetable.h>#include<linux/module.h>#include<linux/p