[PATCH V3 0/2] Add support for Awinic SAR sensor

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: shuaijie wang <wangshuaijie@xxxxxxxxxx>

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





[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux