Merge tag 'ext4_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tytso...
[linux-2.6-microblaze.git] / Documentation / devicetree / bindings / iio / pressure / murata,zpa2326.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/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
16 properties:
17   compatible:
18     const: murata,zpa2326
19
20   reg:
21     maxItems: 1
22
23   vdd-supply: true
24   vref-supply: true
25
26   interrupts:
27     maxItems: 1
28
29   spi-max-frequency:
30     maximum: 1000000
31
32 required:
33   - compatible
34   - reg
35
36 additionalProperties: false
37
38 examples:
39   - |
40     i2c {
41         #address-cells = <1>;
42         #size-cells = <0>;
43
44         pressure@5c {
45             compatible = "murata,zpa2326";
46             reg = <0x5c>;
47             interrupt-parent = <&gpio>;
48             interrupts = <12>;
49             vdd-supply = <&ldo_1v8_gnss>;
50         };
51     };
52   - |
53     spi {
54         #address-cells = <1>;
55         #size-cells = <0>;
56         pressure@0 {
57             compatible = "murata,zpa2326";
58             reg = <0>;
59             spi-max-frequency = <500000>;
60         };
61     };
62 ...