Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

dt-bindings: iio: pressure: Add Aosong adp810

Add bindings for adp810 differential pressure and temperature
sensor. This sensor communicates over I2C with CRC support and
can measure pressure in the range -500 to 500Pa and temperature
in the range -40 to +85 degree celsius.

Signed-off-by: Akhilesh Patil <akhilesh@ee.iitb.ac.in>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>

authored by

Akhilesh Patil and committed by
Jonathan Cameron
f9c30b3e 97289f6a

+45
+45
Documentation/devicetree/bindings/iio/pressure/aosong,adp810.yaml
··· 1 + # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2 + %YAML 1.2 3 + --- 4 + $id: http://devicetree.org/schemas/iio/pressure/aosong,adp810.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: aosong adp810 differential pressure sensor 8 + 9 + maintainers: 10 + - Akhilesh Patil <akhilesh@ee.iitb.ac.in> 11 + 12 + description: 13 + ADP810 is differential pressure and temperature sensor. It has I2C bus 14 + interface with fixed address of 0x25. This sensor supports 8 bit CRC for 15 + reliable data transfer. It can measure differential pressure in the 16 + range -500 to 500Pa and temperate in the range -40 to +85 degree celsius. 17 + 18 + properties: 19 + compatible: 20 + enum: 21 + - aosong,adp810 22 + 23 + reg: 24 + maxItems: 1 25 + 26 + vdd-supply: true 27 + 28 + required: 29 + - compatible 30 + - reg 31 + - vdd-supply 32 + 33 + additionalProperties: false 34 + 35 + examples: 36 + - | 37 + i2c { 38 + #address-cells = <1>; 39 + #size-cells = <0>; 40 + pressure-sensor@25 { 41 + compatible = "aosong,adp810"; 42 + reg = <0x25>; 43 + vdd-supply = <&vdd_regulator>; 44 + }; 45 + };