On Fri, 25 Mar 2022 15:08:19 -0700 Gwendal Grignou <gwendal@xxxxxxxxxxxx> wrote: > For Semtech sensors SX9324 and SX9360, allow confugration of the > pre-charge resistor (9324/9360) and internal resistor (9324). > > Fix register name spelling mistakes first and set default value properly > for sx9324 internal resistor register. > > The 9360 changes are independent from the 9324 changes, but they are > very similar. > > Changes since v2: > - use -ohms instead of -kohms, as ohms is a defined unit in > dt-schema.git dtschema/schemas/property-units.yaml > > Changes sinve v1: > - Add kOhm Unit, add a new patch to fix invalid register setting. This version looks good to me, but will leave time for dt review. We aren't in a rush anyway at the moment so I'll probably not pick it up until after rc1 is available. Thanks, Jonathan > > Gwendal Grignou (8): > iio: sx9324: Fix default precharge internal resistance register > iio: sx9324: Fix register field spelling > dt-bindings: iio: sx9324: Add precharge resistor setting > iio: sx9324: Add precharge internal resistance setting > dt-bindings: iio: sx9324: Add internal compensation resistor setting > iio: sx9324: Add Setting for internal compensation resistor > dt-bindings: iio: sx9360: Add precharge resistor setting > iio: sx9360: Add pre-charge resistor setting > > .../iio/proximity/semtech,sx9324.yaml | 19 ++++++++ > .../iio/proximity/semtech,sx9360.yaml | 9 ++++ > drivers/iio/proximity/sx9324.c | 44 ++++++++++++++++--- > drivers/iio/proximity/sx9360.c | 12 ++++- > 4 files changed, 78 insertions(+), 6 deletions(-) >