brintos

brintos / linux-shallow public Read only

0
0
Text · 1.4 KiB · 3eac248 Raw
61 lines · yaml
1# SPDX-License-Identifier: GPL-2.02%YAML 1.23---4$id: http://devicetree.org/schemas/iio/proximity/maxbotix,mb1232.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: MaxBotix I2CXL-MaxSonar ultrasonic distance sensor8 9maintainers:10  - Andreas Klinger <ak@it-klinger.de>11 12description: |13  MaxBotix I2CXL-MaxSonar ultrasonic distance sensor of type  mb1202,14  mb1212, mb1222, mb1232, mb1242, mb7040 or mb7137 using the i2c interface15  for ranging16 17  Specifications about the devices can be found at:18  https://www.maxbotix.com/documents/I2CXL-MaxSonar-EZ_Datasheet.pdf19 20properties:21  compatible:22    enum:23      - maxbotix,mb120224      - maxbotix,mb121225      - maxbotix,mb122226      - maxbotix,mb123227      - maxbotix,mb124228      - maxbotix,mb704029      - maxbotix,mb713730 31  reg:32    maxItems: 133 34  interrupts:35    description:36      Interrupt used to announce the preceding reading request has finished37      and that data is available.  If no interrupt is specified the device38      driver falls back to wait a fixed amount of time until data can be39      retrieved.40    maxItems: 141 42required:43  - compatible44  - reg45 46additionalProperties: false47 48examples:49  - |50    #include <dt-bindings/interrupt-controller/irq.h>51    i2c {52      #address-cells = <1>;53      #size-cells = <0>;54      proximity@70 {55        compatible = "maxbotix,mb1232";56        reg = <0x70>;57        interrupt-parent = <&gpio2>;58        interrupts = <2 IRQ_TYPE_EDGE_FALLING>;59      };60    };61