diff options
author | Gwendal Grignou <gwendal@chromium.org> | 2022-04-29 15:01:39 -0700 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2022-06-14 11:53:10 +0100 |
commit | f337f41f5d00f41b976d39581eeb5520c88c5ce5 (patch) | |
tree | 88c03eb37fa7641997a691342ce323a367d16f37 /Documentation/devicetree/bindings/iio/proximity | |
parent | d2fb946019d59b1b5913e3fd12a4c57d84a7a7ea (diff) |
dt-bindings: iio: sx9324: Add internal compensation resistor setting
Allow setting the internal resistor used for compensation.
Signed-off-by: Gwendal Grignou <gwendal@chromium.org>
Reviewed-by: Stephen Boyd <swboyd@chromium.org>
Acked-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20220429220144.1476049-6-gwendal@chromium.org
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'Documentation/devicetree/bindings/iio/proximity')
-rw-r--r-- | Documentation/devicetree/bindings/iio/proximity/semtech,sx9324.yaml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/iio/proximity/semtech,sx9324.yaml b/Documentation/devicetree/bindings/iio/proximity/semtech,sx9324.yaml index d689b2bab71b..0be87ac05b97 100644 --- a/Documentation/devicetree/bindings/iio/proximity/semtech,sx9324.yaml +++ b/Documentation/devicetree/bindings/iio/proximity/semtech,sx9324.yaml @@ -126,6 +126,15 @@ properties: UINT_MAX (4294967295) represents infinite. Other values represent 1-1/N. + semtech,int-comp-resistor: + description: + Internal resistor setting for compensation. + enum: + - lowest + - low + - high + - highest + semtech,input-precharge-resistor-ohms: default: 4000 multipleOf: 2000 @@ -165,6 +174,7 @@ examples: semtech,ph01-proxraw-strength = <2>; semtech,ph23-proxraw-strength = <2>; semtech,avg-pos-strength = <64>; + semtech,int-comp-resistor = "lowest"; semtech,input-precharge-resistor-ohms = <2000>; }; }; |