mbox series

[v2,0/2] iio: proximity: hx9023s: Add performance tuning function

Message ID 20240926-add-performance-tuning-configuration-v2-0-fdbb654f5767@gmail.com (mailing list archive)
Headers show
Series iio: proximity: hx9023s: Add performance tuning function | expand

Message

Yasin Lee Sept. 25, 2024, 4:40 p.m. UTC
When hardware design introduces significant sensor data noise,
performance can be improved by adjusting register settings.

Signed-off-by: Yasin Lee <yasin.lee.x@gmail.com>
---
Changes in v2:
- In the YAML file, boundary constraints have been applied to the `tyhx,performance-tuning` property, requiring the number of elements to be between 2 and 512. The description also informs users that the number of elements must be a multiple of 2.
- In the function implementation, boundary checks have been added for this property, ensuring that the number of elements is even.
- Link to v1: https://lore.kernel.org/r/20240923-add-performance-tuning-configuration-v1-0-587220c8aece@gmail.com

---
Yasin Lee (2):
      dt-bindings: iio: tyhx,hx9023s: Add performance tuning configuration
      iio: proximity: hx9023s: Add performance tuning function

 .../bindings/iio/proximity/tyhx,hx9023s.yaml       | 19 +++++++++
 drivers/iio/proximity/hx9023s.c                    | 45 ++++++++++++++++++++++
 2 files changed, 64 insertions(+)
---
base-commit: 7f6f44a9e58cd19093b544423bc04e1d668ec341
change-id: 20240923-add-performance-tuning-configuration-e2016e4d6e02

Best regards,