iio: proximity: hx9023s: Add performance tuning function
Get series with b4
b4 am 20241017-add-performance-tuning-configuration-v3-0-e7289791f523@gmail.com change-id 20240923-add-performance-tuning-configuration-e2016e4d6e02Versions newest first
- v3 Latest2 patches 5 repliesIn review
- v22 patches 2 repliesSuperseded
- v12 patches 2 repliesSuperseded
Changes in v3 from the cover letter · 21 lines
- Removed global register block configuration:
- Replaced global tuning blob with individual properties for each configurable setting.
- New properties added for individual configurations:
- tyhx,odr: Added scanning period configuration.
- tyhx,range: Full-scale range configuration for each channel.
- tyhx,avg: ADC averaging number configuration for each channel.
- tyhx,osr: Oversampling rate configuration for each channel.
- tyhx,sample-num: ADC sample frequency configuration.
- tyhx,integration-num: Integration number configuration.
- tyhx,lp-alpha: Low-pass filter coefficient configuration for each channel.
- tyhx,bl-up-alpha: Baseline filter up coefficient configuration.
- tyhx,bl-down-alpha: Baseline filter down coefficient configuration.
- tyhx,drdy-interrupt: Added interrupt function enable configuration.
- tyhx,int-high-num: Proximity persistency number (Near).
- tyhx,int-low-num: Proximity persistency number (Far).
- General improvements:
- Improved description clarity for all properties.
- Updated examples section for better clarity and accuracy based on new properties.
- Parsing functions added:
- Implemented parsing functions for the newly added properties.
- Link to v2: https://lore.kernel.org/r/20240926-add-performance-tuning-configuration-v2-0-fdbb654f5767@gmail.com
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | dt-bindings: iio: tyhx,hx9023s: Add performance tuning configurationDocumentation/ | +195 | 4 replies | |
| 2/2 | iio: proximity: hx9023s: Add performance tuning functiondrivers/ | +234 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.
Cover letter [PATCH v3 0/2] iio: proximity: hx9023s: Add performance tuning function
When hardware design introduces significant sensor data noise, performance can be improved by adjusting register settings.
---
Changes in v3:
- Removed global register block configuration:
- Replaced global tuning blob with individual properties for each configurable setting.
- New properties added for individual configurations:
- tyhx,odr: Added scanning period configuration.
- tyhx,range: Full-scale range configuration for each channel.
- tyhx,avg: ADC averaging number configuration for each channel.
- tyhx,osr: Oversampling rate configuration for each channel.
- tyhx,sample-num: ADC sample frequency configuration.
- tyhx,integration-num: Integration number configuration.
- tyhx,lp-alpha: Low-pass filter coefficient configuration for each channel.
- tyhx,bl-up-alpha: Baseline filter up coefficient configuration.
- tyhx,bl-down-alpha: Baseline filter down coefficient configuration.
- tyhx,drdy-interrupt: Added interrupt function enable configuration.
- tyhx,int-high-num: Proximity persistency number (Near).
- tyhx,int-low-num: Proximity persistency number (Far).
- General improvements:
- Improved description clarity for all properties.
- Updated examples section for better clarity and accuracy based on new properties.
- Parsing functions added:
- Implemented parsing functions for the newly added properties.
- Link to v2: https://lore.kernel.org/r/20240926-add-performance-tuning-configuration-v2-0-fdbb654f5767@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 | 195 +++++++++++++++++ drivers/iio/proximity/hx9023s.c | 234 +++++++++++++++++++++ 2 files changed, 429 insertions(+)
---
base-commit: 7f6f44a9e58cd19093b544423bc04e1d668ec341
change-id: 20240923-add-performance-tuning-configuration-e2016e4d6e02
Best regards,
Signature · 1 line
Yasin Lee <[email protected]>