[PATCH v1 0/7] axp20x_usb_power: Add support for AXP192

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This adds support for the AXP192's USB power supply. Most of this
series (patches 1-5) consists of refactoring the driver to avoid
explicit checks based on the variant ID. Doing that makes it very
easy to add support for the AXP192 in patches 6-7, and as a nice
side benefit, should make the driver more maintainable.

Patches 1-5 are unchanged from their previous submission[1].

[1] https://lore.kernel.org/all/20230218204946.106316-1-aidanmacdonald.0x0@xxxxxxxxx/

Aidan MacDonald (7):
  power: supply: axp20x_usb_power: Simplify USB current limit handling
  power: supply: axp20x_usb_power: Use regmap fields for VBUS monitor
    feature
  power: supply: axp20x_usb_power: Use regmap fields for USB BC feature
  power: supply: axp20x_usb_power: Use regmap field for VBUS disabling
  power: supply: axp20x_usb_power: Remove variant IDs from VBUS polling
    check
  power: supply: axp20x_usb_power: Add support for AXP192
  dt-bindings: power: supply: axp20x: Add AXP192 compatible

 .../x-powers,axp20x-usb-power-supply.yaml     |   1 +
 drivers/power/supply/axp20x_usb_power.c       | 307 +++++++++---------
 2 files changed, 153 insertions(+), 155 deletions(-)

-- 
2.39.2




[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux