Murata ZPA2326 pressure sensor
Schema identifier ($id): "http://devicetree.org/schemas/iio/pressure/murata,zpa2326.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Jonathan Cameron <jic23@kernel.org>"
Pressure sensor from Murata with SPI and I2C bus interfaces.
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "murata,zpa2326"
reg — required here #
Maximum number of items (maxItems): 1
vdd-supply — not listed as required here #
true — No constraints added by this property rule.
vref-supply — not listed as required here #
true — No constraints added by this property rule.
interrupts — not listed as required here #
Maximum number of items (maxItems): 1
spi-max-frequency — not listed as required here #
Maximum value (maximum): 1000000
Required in this object (required): "compatible", "reg"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):/schemas/spi/spi-peripheral-props.yaml#
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
i2c {
#address-cells = <1>;
#size-cells = <0>;
pressure@5c {
compatible = "murata,zpa2326";
reg = <0x5c>;
interrupt-parent = <&gpio>;
interrupts = <12>;
vdd-supply = <&ldo_1v8_gnss>;
};
};
spi {
#address-cells = <1>;
#size-cells = <0>;
pressure@0 {
compatible = "murata,zpa2326";
reg = <0>;
spi-max-frequency = <500000>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)