Path: blob/master/Documentation/devicetree/bindings/iio/magnetometer/allegromicro,als31300.yaml
26309 views
# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause1%YAML 1.22---3$id: http://devicetree.org/schemas/iio/magnetometer/allegromicro,als31300.yaml#4$schema: http://devicetree.org/meta-schemas/core.yaml#56title: Allegro MicroSystems ALS31300 3-D Linear Hall Effect sensor78maintainers:9- Neil Armstrong <neil.armstrong@linaro.org>1011properties:12$nodename:13pattern: '^magnetometer@[0-9a-f]+$'1415compatible:16enum:17- allegromicro,als31300-500 # Factory configured at 500 Gauss input range18- allegromicro,als31300-1000 # Factory configured at 1000 Gauss input range19- allegromicro,als31300-2000 # Factory configured at 2000 Gauss input range2021reg:22maxItems: 12324vcc-supply:25description: 5.5V supply2627interrupts:28maxItems: 12930required:31- compatible3233additionalProperties: false3435examples:36- |37i2c {38#address-cells = <1>;39#size-cells = <0>;40magnetometer@61 {41compatible = "allegromicro,als31300-500";42reg = <0x61>;43vcc-supply = <&hall_vcc>;44};45};464748