[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240712113200.2468249-1-wangshuaijie@awinic.com>
Date: Fri, 12 Jul 2024 11:31:58 +0000
From: wangshuaijie@...nic.com
To: jic23@...nel.org,
lars@...afoo.de,
robh@...nel.org,
krzk+dt@...nel.org,
conor+dt@...nel.org,
waqar.hameed@...s.com,
linux-iio@...r.kernel.org,
devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org
Cc: wangshuaijie@...nic.com,
liweilei@...nic.com,
kangjiajun@...nic.com
Subject: [PATCH V3 0/2] Add support for Awinic SAR sensor
From: shuaijie wang <wangshuaijie@...nic.com>
Add drivers that support Awinic SAR (Specific Absorption Rate)
sensors to the Linux kernel.
The AW9610X series and AW963XX series are high-sensitivity
capacitive proximity detection sensors.
This device detects human proximity and assists electronic devices
in reducing SAR to pass SAR related certifications.
The device reduces RF power and reduces harm when detecting human proximity.
Increase power and improve signal quality when the human body is far away.
This patch implements device initialization, registration,
I/O operation handling and interrupt handling, and passed basic testing.
shuaijie wang (2):
dt-bindings: iio: Add YAML to Awinic proximity sensor
Add support for Awinic proximity sensor
.../iio/proximity/awinic,aw96xxx.yaml | 127 ++
drivers/iio/proximity/Kconfig | 10 +
drivers/iio/proximity/Makefile | 2 +
drivers/iio/proximity/aw9610x.c | 1150 ++++++++++
drivers/iio/proximity/aw963xx.c | 1371 ++++++++++++
drivers/iio/proximity/aw_sar.c | 1850 +++++++++++++++++
drivers/iio/proximity/aw_sar.h | 23 +
drivers/iio/proximity/aw_sar_comm_interface.c | 550 +++++
drivers/iio/proximity/aw_sar_comm_interface.h | 172 ++
drivers/iio/proximity/aw_sar_type.h | 371 ++++
10 files changed, 5626 insertions(+)
create mode 100644 Documentation/devicetree/bindings/iio/proximity/awinic,aw96xxx.yaml
create mode 100644 drivers/iio/proximity/aw9610x.c
create mode 100644 drivers/iio/proximity/aw963xx.c
create mode 100644 drivers/iio/proximity/aw_sar.c
create mode 100644 drivers/iio/proximity/aw_sar.h
create mode 100644 drivers/iio/proximity/aw_sar_comm_interface.c
create mode 100644 drivers/iio/proximity/aw_sar_comm_interface.h
create mode 100644 drivers/iio/proximity/aw_sar_type.h
base-commit: 43db1e03c086ed20cc75808d3f45e780ec4ca26e
--
2.45.1
Powered by blists - more mailing lists