summaryrefslogtreecommitdiff
path: root/drivers/iio/addac/ad74413r.c
diff options
context:
space:
mode:
authorRasmus Villemoes <linux@rasmusvillemoes.dk>2023-03-06 12:43:00 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2023-03-12 18:47:57 +0300
commit954ea91fb68b771dba6d87cfa61b68e09cc2497f (patch)
treee7bc92b62cd0b36b2f1ca45dda057fd411286dda /drivers/iio/addac/ad74413r.c
parent541880542f2baa7c485b40c1ecad1855315418f6 (diff)
downloadlinux-954ea91fb68b771dba6d87cfa61b68e09cc2497f.tar.xz
dt-bindings: iio: ad74413r: allow setting sink current for digital input
Depending on the actual hardware wired up to a digital input channel, it may be necessary to configure the ad74413r to sink a small current. For example, in the case of a simple mechanical switch, the charge on the external 68 nF capacitor (cf. the data sheet's Figure 34) will keep the channel as reading high even after the switch is turned off again. Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Link: https://lore.kernel.org/r/20230306094301.1357543-2-linux@rasmusvillemoes.dk Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/addac/ad74413r.c')
0 files changed, 0 insertions, 0 deletions