# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) %YAML 1.2 --- $id: http://devicetree.org/schemas/iio/magnetometer/asahi-kasei,ak8975.yaml# $schema: http://devicetree.org/meta-schemas/core.yaml# title: Voltafield AF8133J magnetometer sensor maintainers: - Icenowy Zheng properties: compatible: - voltafield,af8133j reg: maxItems: 1 reset-gpios: description: | an pin needed for AF8133J to set the reset state. This should be usually active low. avdd-supply: description: | an optional regulator that needs to be on to provide AVDD power (Working power, usually 3.3V) to the sensor. avdd-supply: description: | an optional regulator that needs to be on to provide DVDD power (Digital IO power, 1.8V~AVDD) to the sensor. mount-matrix: description: an optional 3x3 mounting rotation matrix. required: - compatible - reg - reset-gpios additionalProperties: false examples: - | #include #include 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>; }; };