Message ID | 20240617220535.359021-3-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 support for the AXP717. It has BC 1.2 detection like the AXP813 > and uses ADC channels like all other AXP devices, but otherwise is > very different requiring new registers for most functions. > > Signed-off-by: Chris Morgan <macromorgan@hotmail.com> Please use subject prefixes matching the subsystem. You can get them for example with `git log --oneline -- DIRECTORY_OR_FILE` on the directory your patch is touching. For bindings, the preferred subjects are explained here: https://www.kernel.org/doc/html/latest/devicetree/bindings/submitting-patches.html#i-for-patch-submitters Best regards, Krzysztof
On Mon, Jun 17, 2024 at 05:05:29PM -0500, Chris Morgan wrote: > From: Chris Morgan <macromorgan@hotmail.com> > > Add support for the AXP717. It has BC 1.2 detection like the AXP813 > and uses ADC channels like all other AXP devices, but otherwise is > very different requiring new registers for most functions. > > Signed-off-by: Chris Morgan <macromorgan@hotmail.com> Acked-by: Chen-Yu Tsai <wens@csie.org> > --- > .../power/supply/x-powers,axp20x-usb-power-supply.yaml | 6 ++++++ > 1 file changed, 6 insertions(+) > > diff --git a/Documentation/devicetree/bindings/power/supply/x-powers,axp20x-usb-power-supply.yaml b/Documentation/devicetree/bindings/power/supply/x-powers,axp20x-usb-power-supply.yaml > index 34b7959d6772..e5879c85c9a3 100644 > --- a/Documentation/devicetree/bindings/power/supply/x-powers,axp20x-usb-power-supply.yaml > +++ b/Documentation/devicetree/bindings/power/supply/x-powers,axp20x-usb-power-supply.yaml > @@ -26,11 +26,17 @@ properties: > - x-powers,axp202-usb-power-supply > - x-powers,axp221-usb-power-supply > - x-powers,axp223-usb-power-supply > + - x-powers,axp717-usb-power-supply > - x-powers,axp813-usb-power-supply > - items: > - const: x-powers,axp803-usb-power-supply > - const: x-powers,axp813-usb-power-supply > > + input-current-limit-microamp: > + description: > + Optional value to clamp the maximum input current limit to for > + the device. The supported min and max values will vary based on > + the PMIC revision, consult the datasheet for supported values. > > required: > - compatible > -- > 2.34.1 >
diff --git a/Documentation/devicetree/bindings/power/supply/x-powers,axp20x-usb-power-supply.yaml b/Documentation/devicetree/bindings/power/supply/x-powers,axp20x-usb-power-supply.yaml index 34b7959d6772..e5879c85c9a3 100644 --- a/Documentation/devicetree/bindings/power/supply/x-powers,axp20x-usb-power-supply.yaml +++ b/Documentation/devicetree/bindings/power/supply/x-powers,axp20x-usb-power-supply.yaml @@ -26,11 +26,17 @@ properties: - x-powers,axp202-usb-power-supply - x-powers,axp221-usb-power-supply - x-powers,axp223-usb-power-supply + - x-powers,axp717-usb-power-supply - x-powers,axp813-usb-power-supply - items: - const: x-powers,axp803-usb-power-supply - const: x-powers,axp813-usb-power-supply + input-current-limit-microamp: + description: + Optional value to clamp the maximum input current limit to for + the device. The supported min and max values will vary based on + the PMIC revision, consult the datasheet for supported values. required: - compatible