Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
torvalds
GitHub Repository: torvalds/linux
Path: blob/master/Documentation/devicetree/bindings/iio/pressure/infineon,dps310.yaml
38301 views
1
# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
2
%YAML 1.2
3
---
4
$id: http://devicetree.org/schemas/iio/pressure/infineon,dps310.yaml#
5
$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7
title: Infineon DPS310 barometric pressure and temperature sensor
8
9
maintainers:
10
- Eddie James <eajames@linux.ibm.com>
11
12
description:
13
The DPS310 is a barometric pressure and temperature sensor with an I2C
14
interface.
15
16
properties:
17
compatible:
18
enum:
19
- infineon,dps310
20
21
reg:
22
maxItems: 1
23
24
"#io-channel-cells":
25
const: 0
26
27
vdd-supply:
28
description:
29
Voltage supply for the chip's analog blocks.
30
31
vddio-supply:
32
description:
33
Digital voltage supply for the chip's digital blocks and I/O interface.
34
35
required:
36
- compatible
37
- reg
38
39
additionalProperties: false
40
41
examples:
42
- |
43
i2c {
44
#address-cells = <1>;
45
#size-cells = <0>;
46
47
dps: pressure-sensor@76 {
48
compatible = "infineon,dps310";
49
reg = <0x76>;
50
#io-channel-cells = <0>;
51
vdd-supply = <&vref1>;
52
vddio-supply = <&vref2>;
53
};
54
};
55
56