Path: blob/master/Documentation/devicetree/bindings/iio/magnetometer/fsl,mag3110.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/fsl,mag3110.yaml#4$schema: http://devicetree.org/meta-schemas/core.yaml#56title: Freescale MAG3110 magnetometer sensor78maintainers:9- Jonathan Cameron <jic23@kernel.org>1011properties:12compatible:13const: fsl,mag31101415reg:16maxItems: 11718interrupts:19maxItems: 12021vdd-supply: true2223vddio-supply: true2425additionalProperties: false2627required:28- compatible29- reg3031examples:32- |33#include <dt-bindings/interrupt-controller/irq.h>34i2c {35#address-cells = <1>;36#size-cells = <0>;3738magnetometer@e {39compatible = "fsl,mag3110";40reg = <0x0e>;41pinctrl-names = "default";42pinctrl-0 = <&pinctrl_i2c3_mag3110_int>;43interrupt-parent = <&gpio3>;44interrupts = <16 IRQ_TYPE_EDGE_RISING>;45};46};47...484950