# TI TMAG5273 Low-Power Linear 3D Hall-Effect Sensor

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Industrial I/O bindings / magnetometer_

> Device-tree binding reference for TI TMAG5273 Low-Power Linear 3D Hall-Effect Sensor.

<!-- SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -->


<a id="dt-root"></a>

**Schema identifier (<code>&#36;id</code>):** <span id="dt-09f478f44eb202ea573e"><code>&#34;http&#58;&#47;&#47;devicetree&#46;org&#47;schemas&#47;iio&#47;magnetometer&#47;ti&#44;tmag5273&#46;yaml&#35;&#34;</code></span>

**Schema dialect (<code>&#36;schema</code>):** <span id="dt-dcb375baab6014763a68"><code>&#34;http&#58;&#47;&#47;devicetree&#46;org&#47;meta&#45;schemas&#47;core&#46;yaml&#35;&#34;</code></span>

<a id="dt-e46b5a5dd81dbd751c9f"></a>

**Maintainers (<code>maintainers</code>):** <a id="dt-fbc39820abb8bb999095"></a> <span id="dt-fb78ddfc22abfc6fe56d"><code>&#34;Gerald Loacker &#60;gerald&#46;loacker&#64;wolfvision&#46;net&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The TI TMAG5273 is a low-power linear 3D Hall-effect sensor. This device integrates three independent Hall-effect sensors in the X, Y, and Z axes. The device has an integrated temperature sensor available. The TMAG5273 can be configured through the I2C interface to enable any combination of magnetic axes and temperature measurements. An integrated angle calculation engine (CORDIC) provides full 360° angular position information for both on-axis and off-axis angle measurement topologies. The angle calculation is performed using two user-selected magnetic axes.</p>
</div>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;ti&#44;tmag5273&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-6971e222e0082656e9f5"></a>

### <code>&#35;io&#45;channel&#45;cells</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-d32aef3dfe12cf2b3de1"><code>1</code></span>

<a id="dt-1ebe6da86d291d569265"></a>

### <code>ti&#44;angle&#45;measurement</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-f04e3f8d915cb9361bbd">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;string</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-2c695d502852c3a1e1b7>)</span>

<div id="dt-5baedb47d0d2ecf0da1d">
<p style="white-space: pre-wrap">Enables angle measurement in the selected plane. If not specified, "x-y" will be anables as default.</p>
</div>

**Allowed values (<code>enum</code>):** <a id="dt-cca917a563565a8363a3"></a> <span id="dt-a0a50356bdd7832d4f3f"><code>&#34;off&#34;</code></span>, <span id="dt-dd39f18d754566574957"><code>&#34;x&#45;y&#34;</code></span>, <span id="dt-0028c0c6eb5e3c69daf8"><code>&#34;y&#45;z&#34;</code></span>, <span id="dt-5754b73080ee6ecda964"><code>&#34;x&#45;z&#34;</code></span>

<a id="dt-5b20c41001654467bdea"></a>

### <code>vcc&#45;supply</code> — not listed as required here

<div id="dt-304923183fea32e69a40">
<p style="white-space: pre-wrap">A regulator providing 1.7 V to 3.6 V supply voltage on the VCC pin, typically 3.3 V.</p>
</div>

<a id="dt-c2de09e7f7fd211b679d"></a>

### <code>interrupts</code> — not listed as required here

<div id="dt-b3ddec0f69e9f0c0dc40">
<p style="white-space: pre-wrap">The low active interrupt can be configured to be fixed width or latched. Interrupt events can be configured to be generated from magnetic thresholds or when a conversion is completed.</p>
</div>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-b7823fb65b2f27642d26"><code>1</code></span>

**Required in this object (<code>required</code>):** <a id="dt-8313173ff1c9b300d560"></a> <span id="dt-048b70ee865d6847aa3d"><code>&#34;compatible&#34;</code></span>, <span id="dt-ee7433925c1528c16b99"><code>&#34;reg&#34;</code></span>

<a id="dt-738c4b4f9e483441138b"></a>

## Properties not matched by properties or patternProperties in this schema (<code>additionalProperties</code>)

<code>false</code>

Not allowed by this rule.

<a id="dt-1a130cabaa8a47b058bf"></a>

## Examples (<code>examples</code>)

<pre id="dt-0bd6510295af0c95ff2d"><code class="language-dts">i2c {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;

    magnetometer@35 {
        compatible = "ti,tmag5273";
        reg = &lt;0x35&gt;;
        #io-channel-cells = &lt;1&gt;;
        ti,angle-measurement = "x-z";
        vcc-supply = &lt;&amp;vcc3v3&gt;;
    };
};
</code></pre>

## Source notes

<details>
<summary>Annotations retained from the schema source</summary>

<p id="dt-comment-0"><strong>Line 1:</strong> <span> SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)</span></p>

</details>
