Message ID | 20240617220535.359021-2-macroalpha82@gmail.com (mailing list archive) |
---|---|
State | Handled Elsewhere, archived |
Headers | show |
Series | Add Battery and USB Supply for AXP717 | expand |
On 18/06/2024 00:05, Chris Morgan wrote: > From: Chris Morgan <macromorgan@hotmail.com> > > Add compatible binding for the axp717. > > Signed-off-by: Chris Morgan <macromorgan@hotmail.com> Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Best regards, Krzysztof
On Mon, Jun 17, 2024 at 05:05:28PM -0500, Chris Morgan wrote: > From: Chris Morgan <macromorgan@hotmail.com> > > Add compatible binding for the axp717. > > Signed-off-by: Chris Morgan <macromorgan@hotmail.com> > --- > .../bindings/iio/adc/x-powers,axp209-adc.yaml | 10 ++++++++++ > 1 file changed, 10 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..267c74fa2d0c 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,15 @@ 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 You are missing channels for VMID voltage and backup battery voltage. ChenYu > + > AXP813 > ------ > 0 | pmic_temp > @@ -52,6 +61,7 @@ properties: > oneOf: > - const: x-powers,axp209-adc > - const: x-powers,axp221-adc > + - const: x-powers,axp717-adc > - const: x-powers,axp813-adc > > - items: > -- > 2.34.1 >
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..267c74fa2d0c 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,15 @@ 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 + AXP813 ------ 0 | pmic_temp @@ -52,6 +61,7 @@ properties: oneOf: - const: x-powers,axp209-adc - const: x-powers,axp221-adc + - const: x-powers,axp717-adc - const: x-powers,axp813-adc - items: