WIP FPC-III support
[linux/fpc-iii.git] / Documentation / devicetree / bindings / iio / pressure / murata,zpa2326.yaml
blobd6103be03460bb96e06ac7200e13108cf71c6645
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#
7 title: Murata ZPA2326 pressure sensor
9 maintainers:
10   - Jonathan Cameron <jic23@kernel.org>
12 description: |
13   Pressure sensor from Murata with SPI and I2C bus interfaces.
16 properties:
17   compatible:
18     const: murata,zpa2326
20   reg:
21     maxItems: 1
23   vdd-supply: true
24   vref-supply: true
26   interrupts:
27     maxItems: 1
29   spi-max-frequency:
30     maximum: 1000000
32 required:
33   - compatible
34   - reg
36 additionalProperties: false
38 examples:
39   - |
40     i2c {
41         #address-cells = <1>;
42         #size-cells = <0>;
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 ...