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

dt-bindings: iio: sx9324: Add CS idle/sleep mode

We need to configure the sleep and idle mode of the CS pins for this
device. Add a DT property to do this so pins are in a proper state
during sleep (either hi-z, grounded, or pulled up to vdd).

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

authored by

Stephen Boyd and committed by
Jonathan Cameron
f2433310 bc76ea59

+9
+9
Documentation/devicetree/bindings/iio/proximity/semtech,sx9324.yaml
··· 126 126 UINT_MAX (4294967295) represents infinite. Other values 127 127 represent 1-1/N. 128 128 129 + semtech,cs-idle-sleep: 130 + description: 131 + State of CS pins during sleep mode and idle time. 132 + enum: 133 + - hi-z 134 + - gnd 135 + - vdd 136 + 129 137 semtech,int-comp-resistor: 130 138 description: 131 139 Internal resistor setting for compensation. ··· 195 187 semtech,avg-pos-strength = <64>; 196 188 semtech,int-comp-resistor = "lowest"; 197 189 semtech,input-precharge-resistor-ohms = <2000>; 190 + semtech,cs-idle-sleep = "gnd"; 198 191 }; 199 192 };