diff mbox series

[V2,08/15] dt-bindings: iio: adc: Add AXP717 compatible

Message ID 20240802192026.446344-9-macroalpha82@gmail.com
State Superseded
Headers show
Series Add Battery and USB Supply for AXP717 | expand

Commit Message

Chris Morgan Aug. 2, 2024, 7:20 p.m. UTC
From: Chris Morgan <macromorgan@hotmail.com>

Add compatible binding for the axp717.

Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Chris Morgan <macromorgan@hotmail.com>
---
 .../bindings/iio/adc/x-powers,axp209-adc.yaml        | 12 ++++++++++++
 1 file changed, 12 insertions(+)

Comments

Jonathan Cameron Aug. 3, 2024, 10:59 a.m. UTC | #1
On Fri,  2 Aug 2024 14:20:19 -0500
Chris Morgan <macroalpha82@gmail.com> wrote:

> From: Chris Morgan <macromorgan@hotmail.com>
> 
> Add compatible binding for the axp717.
> 
> Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> Signed-off-by: Chris Morgan <macromorgan@hotmail.com>
Given dependency of the driver patch on MFD. To give the option
for the whole lot to go through MFD.

Acked-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>

> ---
>  .../bindings/iio/adc/x-powers,axp209-adc.yaml        | 12 ++++++++++++
>  1 file changed, 12 insertions(+)
> 
> diff --git a/Documentation/devicetree/bindings/iio/adc/x-powers,axp209-adc.yaml b/Documentation/devicetree/bindings/iio/adc/x-powers,axp209-adc.yaml
> index d40689f233f2..1caa896fce82 100644
> --- a/Documentation/devicetree/bindings/iio/adc/x-powers,axp209-adc.yaml
> +++ b/Documentation/devicetree/bindings/iio/adc/x-powers,axp209-adc.yaml
> @@ -37,6 +37,17 @@ description: |
>     3 | batt_dischrg_i
>     4 | ts_v
>  
> +  AXP717
> +  ------
> +   0 | batt_v
> +   1 | ts_v
> +   2 | vbus_v
> +   3 | vsys_v
> +   4 | pmic_temp
> +   5 | batt_chrg_i
> +   6 | vmid_v
> +   7 | bkup_batt_v
> +
>    AXP813
>    ------
>     0 | pmic_temp
> @@ -52,6 +63,7 @@ properties:
>      oneOf:
>        - const: x-powers,axp209-adc
>        - const: x-powers,axp221-adc
> +      - const: x-powers,axp717-adc
>        - const: x-powers,axp813-adc
>  
>        - items:
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/iio/adc/x-powers,axp209-adc.yaml b/Documentation/devicetree/bindings/iio/adc/x-powers,axp209-adc.yaml
index d40689f233f2..1caa896fce82 100644
--- a/Documentation/devicetree/bindings/iio/adc/x-powers,axp209-adc.yaml
+++ b/Documentation/devicetree/bindings/iio/adc/x-powers,axp209-adc.yaml
@@ -37,6 +37,17 @@  description: |
    3 | batt_dischrg_i
    4 | ts_v
 
+  AXP717
+  ------
+   0 | batt_v
+   1 | ts_v
+   2 | vbus_v
+   3 | vsys_v
+   4 | pmic_temp
+   5 | batt_chrg_i
+   6 | vmid_v
+   7 | bkup_batt_v
+
   AXP813
   ------
    0 | pmic_temp
@@ -52,6 +63,7 @@  properties:
     oneOf:
       - const: x-powers,axp209-adc
       - const: x-powers,axp221-adc
+      - const: x-powers,axp717-adc
       - const: x-powers,axp813-adc
 
       - items: