Voltafield AF8133J magnetometer sensor
Schema identifier ($id): "http://devicetree.org/schemas/iio/magnetometer/voltafield,af8133j.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Ondřej Jirman <megi@xff.cz>"
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "voltafield,af8133j"
reg — required here #
Maximum number of items (maxItems): 1
reset-gpios — not listed as required here #
A signal for active low reset input of the sensor. (optional; if not used, software reset over I2C will be used instead)
avdd-supply — required here #
A regulator that provides AVDD power (Working power, usually 3.3V) to the sensor.
dvdd-supply — required here #
A regulator that provides DVDD power (Digital IO power, 1.8V - AVDD) to the sensor.
mount-matrix — not listed as required here #
An optional 3x3 mounting rotation matrix.
Required in this object (required): "compatible", "reg", "avdd-supply", "dvdd-supply"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/gpio/gpio.h>
i2c {
#address-cells = <1>;
#size-cells = <0>;
magnetometer@1c {
compatible = "voltafield,af8133j";
reg = <0x1c>;
avdd-supply = <®_dldo1>;
dvdd-supply = <®_dldo1>;
reset-gpios = <&pio 1 1 GPIO_ACTIVE_LOW>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)