105 lines · yaml
1# SPDX-License-Identifier: GPL-2.02%YAML 1.23---4$id: http://devicetree.org/schemas/power/supply/x-powers,axp20x-usb-power-supply.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: AXP20x USB power-supply8 9description: |10 The AXP223 PMIC shares most of its behaviour with the AXP221 but has slight11 variations such as the former being able to set the VBUS power supply max12 current to 100mA, unlike the latter.13 14maintainers:15 - Chen-Yu Tsai <wens@csie.org>16 - Sebastian Reichel <sre@kernel.org>17 18properties:19 compatible:20 oneOf:21 - enum:22 - x-powers,axp192-usb-power-supply23 - x-powers,axp202-usb-power-supply24 - x-powers,axp221-usb-power-supply25 - x-powers,axp223-usb-power-supply26 - x-powers,axp717-usb-power-supply27 - x-powers,axp813-usb-power-supply28 - items:29 - const: x-powers,axp803-usb-power-supply30 - const: x-powers,axp813-usb-power-supply31 32 input-current-limit-microamp:33 description:34 Optional value to clamp the maximum input current limit to for35 the device. If omitted, the programmed value from the EFUSE will36 be used.37 minimum: 10000038 maximum: 400000039 40required:41 - compatible42 43allOf:44 - $ref: power-supply.yaml#45 - if:46 properties:47 compatible:48 contains:49 enum:50 - x-powers,axp192-usb-power-supply51 then:52 properties:53 input-current-limit-microamp:54 enum: [100000, 500000]55 56 - if:57 properties:58 compatible:59 contains:60 enum:61 - x-powers,axp202-usb-power-supply62 - x-powers,axp223-usb-power-supply63 then:64 properties:65 input-current-limit-microamp:66 enum: [100000, 500000, 900000]67 68 - if:69 properties:70 compatible:71 contains:72 enum:73 - x-powers,axp221-usb-power-supply74 then:75 properties:76 input-current-limit-microamp:77 enum: [500000, 900000]78 79 - if:80 properties:81 compatible:82 contains:83 enum:84 - x-powers,axp717-usb-power-supply85 then:86 properties:87 input-current-limit-microamp:88 description: Maximum input current in increments of 50000 uA.89 minimum: 10000090 maximum: 325000091 92 - if:93 properties:94 compatible:95 contains:96 enum:97 - x-powers,axp813-usb-power-supply98 then:99 properties:100 input-current-limit-microamp:101 enum: [100000, 500000, 900000, 1500000, 2000000, 2500000,102 3000000, 3500000, 4000000]103 104additionalProperties: false105