diff options
author | Vasileios Amoiridis <vassilisamir@gmail.com> | 2024-10-18 01:30:20 +0200 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2024-10-21 19:19:24 +0100 |
commit | 87e1fbd135bbf482ebb810ba1ee8de59f6d747bf (patch) | |
tree | 426ca4a389d8ac6ebdeeec76f0118a7e958320ee /Documentation/devicetree | |
parent | 26ccfaa9ddaaeaa7421a60323acaeb536af5d5b2 (diff) | |
download | linux-stable-87e1fbd135bbf482ebb810ba1ee8de59f6d747bf.tar.gz linux-stable-87e1fbd135bbf482ebb810ba1ee8de59f6d747bf.tar.bz2 linux-stable-87e1fbd135bbf482ebb810ba1ee8de59f6d747bf.zip |
dt-bindings: iio: pressure: bmp085: Add interrupts for BMP3xx and BMP5xx devices
Add interrupt options for BMP3xx and BMP5xx devices as well.
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Signed-off-by: Vasileios Amoiridis <vassilisamir@gmail.com>
Link: https://patch.msgid.link/20241017233022.238250-3-vassilisamir@gmail.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'Documentation/devicetree')
-rw-r--r-- | Documentation/devicetree/bindings/iio/pressure/bmp085.yaml | 22 |
1 files changed, 20 insertions, 2 deletions
diff --git a/Documentation/devicetree/bindings/iio/pressure/bmp085.yaml b/Documentation/devicetree/bindings/iio/pressure/bmp085.yaml index 6fda887ee9d4..cb201cecfa1a 100644 --- a/Documentation/devicetree/bindings/iio/pressure/bmp085.yaml +++ b/Documentation/devicetree/bindings/iio/pressure/bmp085.yaml @@ -47,15 +47,33 @@ properties: maxItems: 1 interrupts: - description: - interrupt mapping for IRQ (BMP085 only) maxItems: 1 + drive-open-drain: + description: + set if the interrupt pin should be configured as open drain. + If not set, defaults to push-pull configuration. + type: boolean + required: - compatible - vddd-supply - vdda-supply +allOf: + - if: + properties: + compatible: + not: + contains: + enum: + - bosch,bmp085 + - bosch,bmp380 + - bosch,bmp580 + then: + properties: + interrupts: false + additionalProperties: false examples: |