Path: blob/master/Documentation/devicetree/bindings/iio/magnetometer/ti,tmag5273.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/ti,tmag5273.yaml#4$schema: http://devicetree.org/meta-schemas/core.yaml#56title: TI TMAG5273 Low-Power Linear 3D Hall-Effect Sensor78maintainers:9- Gerald Loacker <gerald.loacker@wolfvision.net>1011description:12The TI TMAG5273 is a low-power linear 3D Hall-effect sensor. This device13integrates three independent Hall-effect sensors in the X, Y, and Z axes.14The device has an integrated temperature sensor available. The TMAG527315can be configured through the I2C interface to enable any combination of16magnetic axes and temperature measurements. An integrated angle calculation17engine (CORDIC) provides full 360° angular position information for both18on-axis and off-axis angle measurement topologies. The angle calculation is19performed using two user-selected magnetic axes.2021properties:22compatible:23const: ti,tmag52732425reg:26maxItems: 12728"#io-channel-cells":29const: 13031ti,angle-measurement:32$ref: /schemas/types.yaml#/definitions/string33description:34Enables angle measurement in the selected plane.35If not specified, "x-y" will be anables as default.36enum:37- off38- x-y39- y-z40- x-z4142vcc-supply:43description:44A regulator providing 1.7 V to 3.6 V supply voltage on the VCC pin,45typically 3.3 V.4647interrupts:48description:49The low active interrupt can be configured to be fixed width or latched.50Interrupt events can be configured to be generated from magnetic51thresholds or when a conversion is completed.52maxItems: 15354required:55- compatible56- reg5758additionalProperties: false5960examples:61- |62i2c {63#address-cells = <1>;64#size-cells = <0>;6566magnetometer@35 {67compatible = "ti,tmag5273";68reg = <0x35>;69#io-channel-cells = <1>;70ti,angle-measurement = "x-z";71vcc-supply = <&vcc3v3>;72};73};74...757677