summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings
diff options
context:
space:
mode:
authorMartin Kelly <martin@martingkelly.com>2019-02-03 00:55:59 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2019-02-09 18:19:49 +0300
commitb7905e4c5731636a2148039288bdc77599c14d6a (patch)
tree7e0a75f6b8730623b9bcb36b96496d44f80f200e /Documentation/devicetree/bindings
parent015f80fffc3267fcac07761bea220eb780fbcb61 (diff)
downloadlinux-b7905e4c5731636a2148039288bdc77599c14d6a.tar.xz
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')
-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: