Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: iio: sx9360: Add precharge resistor setting

Allow configure the resistance used during precharge.

Signed-off-by: Gwendal Grignou <gwendal@chromium.org>
Reviewed-by: Stephen Boyd <swboyd@chromium.org>
Reviewed-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20220429220144.1476049-10-gwendal@chromium.org
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>

authored by

Gwendal Grignou and committed by
Jonathan Cameron
4f3b42b8 71783b07

+9
+9
Documentation/devicetree/bindings/iio/proximity/semtech,sx9360.yaml
··· 61 61 UINT_MAX (4294967295) represents infinite. Other values 62 62 represent 1-1/N. 63 63 64 + semtech,input-precharge-resistor-ohms: 65 + default: 0 66 + multipleOf: 2000 67 + minimum: 0 68 + maximum: 30000 69 + description: 70 + Pre-charge input resistance in Ohm. 71 + 64 72 required: 65 73 - compatible 66 74 - reg ··· 93 85 semtech,resolution = <256>; 94 86 semtech,proxraw-strength = <2>; 95 87 semtech,avg-pos-strength = <64>; 88 + semtech,input-precharge-resistor-ohms = <4000>; 96 89 }; 97 90 };