devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/8] Add settings for precharge and internal resistor
@ 2022-03-25 22:08 Gwendal Grignou
  2022-03-25 22:08 ` [PATCH v3 1/8] iio: sx9324: Fix default precharge internal resistance register Gwendal Grignou
                   ` (8 more replies)
  0 siblings, 9 replies; 24+ messages in thread
From: Gwendal Grignou @ 2022-03-25 22:08 UTC (permalink / raw)
  To: jic23, robh+dt, swboyd; +Cc: linux-iio, devicetree, Gwendal Grignou

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.

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(-)

-- 
2.35.1.1021.g381101b075-goog


^ permalink raw reply	[flat|nested] 24+ messages in thread

end of thread, other threads:[~2022-03-29 23:36 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-03-25 22:08 [PATCH v3 0/8] Add settings for precharge and internal resistor Gwendal Grignou
2022-03-25 22:08 ` [PATCH v3 1/8] iio: sx9324: Fix default precharge internal resistance register Gwendal Grignou
2022-03-25 23:57   ` Stephen Boyd
2022-03-27 19:01   ` Andy Shevchenko
2022-03-25 22:08 ` [PATCH v3 2/8] iio: sx9324: Fix register field spelling Gwendal Grignou
2022-03-25 23:57   ` Stephen Boyd
2022-03-25 22:08 ` [PATCH v3 3/8] dt-bindings: iio: sx9324: Add precharge resistor setting Gwendal Grignou
2022-03-25 23:58   ` Stephen Boyd
2022-03-29 23:33   ` Rob Herring
2022-03-25 22:08 ` [PATCH v3 4/8] iio: sx9324: Add precharge internal resistance setting Gwendal Grignou
2022-03-25 23:59   ` Stephen Boyd
2022-03-25 22:08 ` [PATCH v3 5/8] dt-bindings: iio: sx9324: Add internal compensation resistor setting Gwendal Grignou
2022-03-26  0:00   ` Stephen Boyd
2022-03-29 23:34   ` Rob Herring
2022-03-25 22:08 ` [PATCH v3 6/8] iio: sx9324: Add Setting for internal compensation resistor Gwendal Grignou
2022-03-26  0:04   ` Stephen Boyd
2022-03-27 13:43     ` Jonathan Cameron
2022-03-27 19:08   ` Andy Shevchenko
2022-03-25 22:08 ` [PATCH v3 7/8] dt-bindings: iio: sx9360: Add precharge resistor setting Gwendal Grignou
2022-03-26  0:04   ` Stephen Boyd
2022-03-29 23:36   ` Rob Herring
2022-03-25 22:08 ` [PATCH v3 8/8] iio: sx9360: Add pre-charge " Gwendal Grignou
2022-03-26  0:05   ` Stephen Boyd
2022-03-27 13:47 ` [PATCH v3 0/8] Add settings for precharge and internal resistor Jonathan Cameron

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).