aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/iio/imu
diff options
context:
space:
mode:
authorMartin Kelly <martin@martingkelly.com>2019-02-02 13:55:59 -0800
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2019-02-09 15:19:49 +0000
commitb7905e4c5731636a2148039288bdc77599c14d6a (patch)
tree7e0a75f6b8730623b9bcb36b96496d44f80f200e /Documentation/devicetree/bindings/iio/imu
parentdt-bindings: fix incorrect bmi160 IRQ note (diff)
downloadlinux-dev-b7905e4c5731636a2148039288bdc77599c14d6a.tar.xz
linux-dev-b7905e4c5731636a2148039288bdc77599c14d6a.zip
dt-bindings: bmi160 document open-drain property
We have added an optional boolean property for configuring a BMI160 interrupt pin as open-drain, as opposed to the default push-pull, so document this. Signed-off-by: Martin Kelly <martin@martingkelly.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'Documentation/devicetree/bindings/iio/imu')
-rw-r--r--Documentation/devicetree/bindings/iio/imu/bmi160.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/iio/imu/bmi160.txt b/Documentation/devicetree/bindings/iio/imu/bmi160.txt
index 1aec19997fb5..900c169de00f 100644
--- a/Documentation/devicetree/bindings/iio/imu/bmi160.txt
+++ b/Documentation/devicetree/bindings/iio/imu/bmi160.txt
@@ -12,6 +12,8 @@ Optional properties:
- interrupts : interrupt mapping for IRQ
- interrupt-names : set to "INT1" if INT1 pin should be used as interrupt
input, set to "INT2" if INT2 pin should be used instead
+ - drive-open-drain : set if the specified interrupt pin should be configured as
+ open drain. If not set, defaults to push-pull.
Examples: