Path: blob/master/Documentation/devicetree/bindings/iio/magnetometer/voltafield,af8133j.yaml
26309 views
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)1%YAML 1.22---3$id: http://devicetree.org/schemas/iio/magnetometer/voltafield,af8133j.yaml#4$schema: http://devicetree.org/meta-schemas/core.yaml#56title: Voltafield AF8133J magnetometer sensor78maintainers:9- Ondřej Jirman <megi@xff.cz>1011properties:12compatible:13const: voltafield,af8133j1415reg:16maxItems: 11718reset-gpios:19description:20A signal for active low reset input of the sensor. (optional; if not21used, software reset over I2C will be used instead)2223avdd-supply:24description:25A regulator that provides AVDD power (Working power, usually 3.3V) to26the sensor.2728dvdd-supply:29description:30A regulator that provides DVDD power (Digital IO power, 1.8V - AVDD)31to the sensor.3233mount-matrix:34description: An optional 3x3 mounting rotation matrix.3536required:37- compatible38- reg39- avdd-supply40- dvdd-supply4142additionalProperties: false4344examples:45- |46#include <dt-bindings/interrupt-controller/irq.h>47#include <dt-bindings/gpio/gpio.h>48i2c {49#address-cells = <1>;50#size-cells = <0>;5152magnetometer@1c {53compatible = "voltafield,af8133j";54reg = <0x1c>;55avdd-supply = <®_dldo1>;56dvdd-supply = <®_dldo1>;57reset-gpios = <&pio 1 1 GPIO_ACTIVE_LOW>;58};59};606162