# Qualcomm Coincell Charger

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Power bindings / supply_

> Device-tree binding reference for Qualcomm Coincell Charger.

<!-- SPDX-License-Identifier: GPL-2.0 -->


<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;power&#47;supply&#47;qcom&#44;pm8941&#45;coincell&#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>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The hardware block controls charging for a coincell or capacitor that is
used to provide power backup for certain features of the power management
IC (PMIC)</p>
</div>

**Maintainers (<code>maintainers</code>):** <a id="dt-fbc39820abb8bb999095"></a> <span id="dt-fb78ddfc22abfc6fe56d"><code>&#34;Sebastian Reichel &#60;sre&#64;kernel&#46;org&#62;&#34;</code></span>

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

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

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

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

<a id="dt-39566f01414e34c67b85"></a>

#### Exactly one of these rules must match (<code>oneOf</code>)

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

**Rule 1**

> <a id="dt-07409cc9508405f48983"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-822691c82c9797f7b1f9"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-3b212051dcd0fc641cd8"></a> <span id="dt-bd6e6716d05ec45653db"><code>&#34;qcom&#44;pm8998&#45;coincell&#34;</code></span>
>
> <a id="dt-bc83d1191bdc72da8559"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-1da74b37131fdcec1073"><code>&#34;qcom&#44;pm8941&#45;coincell&#34;</code></span>

<a id="dt-7482b6e745c4f056161a"></a>

**Rule 2**

> **Exact value (<code>const</code>):** <span id="dt-58a429cd4bf531951c0d"><code>&#34;qcom&#44;pm8941&#45;coincell&#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-d76d32784a38d71b0232"></a>

### <code>qcom&#44;rset&#45;ohms</code> — not listed as required here

<div id="dt-d91c92e4433115661b70">
<p style="white-space: pre-wrap">Resistance (in ohms) for current-limiting resistor. If unspecified,
inherit the previous configuration (e.g. from bootloader or hardware
default value).</p>
</div>

**Allowed values (<code>enum</code>):** <a id="dt-a71079024e73f453afd3"></a> <span id="dt-94bc31ae9a8abf0be3fa"><code>800</code></span>, <span id="dt-5da30d99a523cbb89b2a"><code>1200</code></span>, <span id="dt-3ed7ecce8ff03fae3ec6"><code>1700</code></span>, <span id="dt-a5eeadaeb26ff896aac7"><code>2100</code></span>

<a id="dt-95a173ecb4ec90d942e6"></a>

### <code>qcom&#44;vset&#45;millivolts</code> — not listed as required here

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

<div id="dt-57975675918d38b6bb54">
<p style="white-space: pre-wrap">Voltage (in millivolts) to apply for charging. If unspecified, inherit
the previous configuration (e.g. from bootloader or hardware default
value).</p>
</div>

**Allowed values (<code>enum</code>):** <a id="dt-7cc04b40608c4442bedc"></a> <span id="dt-130d93fd51ad42d529f7"><code>2500</code></span>, <span id="dt-d552c40e12a8b7dae6f6"><code>3000</code></span>, <span id="dt-029d696fcf68322a6b51"><code>3100</code></span>, <span id="dt-ba81709741790927ca02"><code>3200</code></span>

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

### <code>qcom&#44;charger&#45;disable</code> — not listed as required here

**Value type (<code>type</code>):** <span id="dt-f6a624f7d447b329f5c2"><code>&#34;boolean&#34;</code></span>

<div id="dt-63fdeb66a368040d2053">
<p style="white-space: pre-wrap">defining this property disables charging</p>
</div>

**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">pmic {
  #address-cells = &lt;1&gt;;
  #size-cells = &lt;0&gt;;

  charger@2800 {
    compatible = "qcom,pm8941-coincell";
    reg = &lt;0x2800&gt;;
    qcom,rset-ohms = &lt;2100&gt;;
    qcom,vset-millivolts = &lt;3000&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</span></p>

</details>
