Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
torvalds
GitHub Repository: torvalds/linux
Path: blob/master/Documentation/devicetree/bindings/iio/pressure/murata,zpa2326.yaml
54460 views
1
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2
%YAML 1.2
3
---
4
$id: http://devicetree.org/schemas/iio/pressure/murata,zpa2326.yaml#
5
$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7
title: Murata ZPA2326 pressure sensor
8
9
maintainers:
10
- Jonathan Cameron <jic23@kernel.org>
11
12
description: |
13
Pressure sensor from Murata with SPI and I2C bus interfaces.
14
15
properties:
16
compatible:
17
const: murata,zpa2326
18
19
reg:
20
maxItems: 1
21
22
vdd-supply: true
23
vref-supply: true
24
25
interrupts:
26
maxItems: 1
27
28
spi-max-frequency:
29
maximum: 1000000
30
31
required:
32
- compatible
33
- reg
34
35
allOf:
36
- $ref: /schemas/spi/spi-peripheral-props.yaml#
37
38
unevaluatedProperties: false
39
40
examples:
41
- |
42
i2c {
43
#address-cells = <1>;
44
#size-cells = <0>;
45
46
pressure@5c {
47
compatible = "murata,zpa2326";
48
reg = <0x5c>;
49
interrupt-parent = <&gpio>;
50
interrupts = <12>;
51
vdd-supply = <&ldo_1v8_gnss>;
52
};
53
};
54
- |
55
spi {
56
#address-cells = <1>;
57
#size-cells = <0>;
58
pressure@0 {
59
compatible = "murata,zpa2326";
60
reg = <0>;
61
spi-max-frequency = <500000>;
62
};
63
};
64
...
65
66