FILE
voltafield,af8133j.yaml
File preview with syntax highlighting.
linux-6.19.14/Documentation/devicetree/bindings/iio/magnetometer/voltafield,af8133j.yaml
1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2%YAML 1.2 3--- 4$id: http://devicetree.org/schemas/iio/magnetometer/voltafield,af8133j.yaml# 5$schema: http://devicetree.org/meta-schemas/core.yaml# 6 7title: Voltafield AF8133J magnetometer sensor 8 9maintainers: 10 - OndÅ™ej Jirman <megi@xff.cz> 11 12properties: 13 compatible: 14 const: voltafield,af8133j 15 16 reg: 17 maxItems: 1 18 19 reset-gpios: 20 description: 21 A signal for active low reset input of the sensor. (optional; if not 22 used, software reset over I2C will be used instead) 23 24 avdd-supply: 25 description: 26 A regulator that provides AVDD power (Working power, usually 3.3V) to 27 the sensor. 28 29 dvdd-supply: 30 description: 31 A regulator that provides DVDD power (Digital IO power, 1.8V - AVDD) 32 to the sensor. 33 34 mount-matrix: 35 description: An optional 3x3 mounting rotation matrix. 36 37required: 38 - compatible 39 - reg 40 - avdd-supply 41 - dvdd-supply 42 43additionalProperties: false 44 45examples: 46 - | 47 #include <dt-bindings/gpio/gpio.h> 48 i2c { 49 #address-cells = <1>; 50 #size-cells = <0>; 51 52 magnetometer@1c { 53 compatible = "voltafield,af8133j"; 54 reg = <0x1c>; 55 avdd-supply = <®_dldo1>; 56 dvdd-supply = <®_dldo1>; 57 reset-gpios = <&pio 1 1 GPIO_ACTIVE_LOW>; 58 }; 59 };
~/
Read-only file preview.