diff options
author | Seunghwan Kim <sh_.kim@samsung.corp-partner.google.com> | 2021-11-08 15:55:01 +0900 |
---|---|---|
committer | Tim Wawrzynczak <twawrzynczak@chromium.org> | 2022-01-19 03:11:57 +0000 |
commit | 14a1c2778fda7e4ed25d6cd4aecfb2d4e672dbed (patch) | |
tree | 0e8a3334c7b4f831d61bf6ba5c6caa3cb4bda574 /src/drivers/i2c/sx9360/Kconfig | |
parent | c8283d70143709ba026d9d56a04f6097aad9ea18 (diff) |
driver/i2c: Add sx9360 driver
Add driver for setting up Semtech sx9360 SAR sensor.
The driver is based on sx9310.c. The core of the driver is the same, but
the bindings are slightly different.
Registers are documented in the kernel tree:
Documentation/devicetree/bindings/iio/proximity/semtech,sx9360.yaml
[https://patchwork.kernel.org/project/linux-iio/patch/20211213024057.3824985-4-gwendal@chromium.org/]
Signed-off-by: Seunghwan Kim <sh_.kim@samsung.corp-partner.google.com>
Signed-off-by: Gwendal Grignou <gwendal@chromium.org>
Change-Id: I0a912f184e6f3501f894cca24c0d71a2c3087516
Reviewed-on: https://review.coreboot.org/c/coreboot/+/59608
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Paul Menzel <paulepanter@mailbox.org>
Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
Diffstat (limited to 'src/drivers/i2c/sx9360/Kconfig')
-rw-r--r-- | src/drivers/i2c/sx9360/Kconfig | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/drivers/i2c/sx9360/Kconfig b/src/drivers/i2c/sx9360/Kconfig new file mode 100644 index 0000000000..ea28564fb9 --- /dev/null +++ b/src/drivers/i2c/sx9360/Kconfig @@ -0,0 +1,6 @@ +config DRIVERS_I2C_SX9360 + bool + default n + depends on HAVE_ACPI_TABLES + help + Board has a Semtech SX9360 proximity sensor. |