1 # SPDX-License-Identifier: (GPL-2.0-only OR BS 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 %YAML 1.2 2 %YAML 1.2 3 --- 3 --- 4 $id: http://devicetree.org/schemas/iio/pressur 4 $id: http://devicetree.org/schemas/iio/pressure/asc,dlhl60d.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: All Sensors DLH series low voltage digi 7 title: All Sensors DLH series low voltage digital pressure sensors 8 8 9 maintainers: 9 maintainers: 10 - Jonathan Cameron <jic23@kernel.org> 10 - Jonathan Cameron <jic23@kernel.org> 11 11 12 description: | 12 description: | 13 Bindings for the All Sensors DLH series pres 13 Bindings for the All Sensors DLH series pressure sensors. 14 14 15 Specifications about the sensors can be foun 15 Specifications about the sensors can be found at: 16 https://www.allsensors.com/cad/DS-0355_Rev 16 https://www.allsensors.com/cad/DS-0355_Rev_B.PDF 17 17 18 properties: 18 properties: 19 compatible: 19 compatible: 20 enum: 20 enum: 21 - asc,dlhl60d 21 - asc,dlhl60d 22 - asc,dlhl60g 22 - asc,dlhl60g 23 23 24 reg: 24 reg: 25 description: I2C device address 25 description: I2C device address 26 maxItems: 1 26 maxItems: 1 27 27 28 interrupts: 28 interrupts: 29 description: interrupt mapping for EOC(dat 29 description: interrupt mapping for EOC(data ready) pin 30 maxItems: 1 30 maxItems: 1 31 31 32 required: 32 required: 33 - compatible 33 - compatible 34 - reg 34 - reg 35 35 36 additionalProperties: false 36 additionalProperties: false 37 37 38 examples: 38 examples: 39 - | 39 - | 40 #include <dt-bindings/interrupt-controller 40 #include <dt-bindings/interrupt-controller/irq.h> 41 41 42 i2c { 42 i2c { 43 #address-cells = <1>; 43 #address-cells = <1>; 44 #size-cells = <0>; 44 #size-cells = <0>; 45 45 46 pressure@29 { 46 pressure@29 { 47 compatible = "asc,dlhl60d"; 47 compatible = "asc,dlhl60d"; 48 reg = <0x29>; 48 reg = <0x29>; 49 interrupt-parent = <&gpio0>; 49 interrupt-parent = <&gpio0>; 50 interrupts = <10 IRQ_TYPE_EDGE_RIS 50 interrupts = <10 IRQ_TYPE_EDGE_RISING>; 51 }; 51 }; 52 }; 52 }; 53 ... 53 ...
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.