1 # SPDX-License-Identifier: GPL-2.0 1 # SPDX-License-Identifier: GPL-2.0 2 %YAML 1.2 2 %YAML 1.2 3 --- 3 --- 4 $id: http://devicetree.org/schemas/power/suppl 4 $id: http://devicetree.org/schemas/power/supply/x-powers,axp20x-usb-power-supply.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: AXP20x USB power-supply 7 title: AXP20x USB power-supply 8 8 9 description: | 9 description: | 10 The AXP223 PMIC shares most of its behaviour 10 The AXP223 PMIC shares most of its behaviour with the AXP221 but has slight 11 variations such as the former being able to 11 variations such as the former being able to set the VBUS power supply max 12 current to 100mA, unlike the latter. 12 current to 100mA, unlike the latter. 13 13 14 maintainers: 14 maintainers: 15 - Chen-Yu Tsai <wens@csie.org> 15 - Chen-Yu Tsai <wens@csie.org> 16 - Sebastian Reichel <sre@kernel.org> 16 - Sebastian Reichel <sre@kernel.org> 17 17 18 properties: 18 properties: 19 compatible: 19 compatible: 20 oneOf: 20 oneOf: 21 - enum: 21 - enum: 22 - x-powers,axp192-usb-power-supply 22 - x-powers,axp192-usb-power-supply 23 - x-powers,axp202-usb-power-supply 23 - x-powers,axp202-usb-power-supply 24 - x-powers,axp221-usb-power-supply 24 - x-powers,axp221-usb-power-supply 25 - x-powers,axp223-usb-power-supply 25 - x-powers,axp223-usb-power-supply 26 - x-powers,axp717-usb-power-supply 26 - x-powers,axp717-usb-power-supply 27 - x-powers,axp813-usb-power-supply 27 - x-powers,axp813-usb-power-supply 28 - items: 28 - items: 29 - const: x-powers,axp803-usb-power-s 29 - const: x-powers,axp803-usb-power-supply 30 - const: x-powers,axp813-usb-power-s 30 - const: x-powers,axp813-usb-power-supply 31 31 32 input-current-limit-microamp: 32 input-current-limit-microamp: 33 description: 33 description: 34 Optional value to clamp the maximum inpu 34 Optional value to clamp the maximum input current limit to for 35 the device. If omitted, the programmed v 35 the device. If omitted, the programmed value from the EFUSE will 36 be used. 36 be used. 37 minimum: 100000 37 minimum: 100000 38 maximum: 4000000 38 maximum: 4000000 39 39 40 required: 40 required: 41 - compatible 41 - compatible 42 42 43 allOf: 43 allOf: 44 - $ref: power-supply.yaml# 44 - $ref: power-supply.yaml# 45 - if: 45 - if: 46 properties: 46 properties: 47 compatible: 47 compatible: 48 contains: 48 contains: 49 enum: 49 enum: 50 - x-powers,axp192-usb-power-supp 50 - x-powers,axp192-usb-power-supply 51 then: 51 then: 52 properties: 52 properties: 53 input-current-limit-microamp: 53 input-current-limit-microamp: 54 enum: [100000, 500000] 54 enum: [100000, 500000] 55 55 56 - if: 56 - if: 57 properties: 57 properties: 58 compatible: 58 compatible: 59 contains: 59 contains: 60 enum: 60 enum: 61 - x-powers,axp202-usb-power-supp 61 - x-powers,axp202-usb-power-supply 62 - x-powers,axp223-usb-power-supp 62 - x-powers,axp223-usb-power-supply 63 then: 63 then: 64 properties: 64 properties: 65 input-current-limit-microamp: 65 input-current-limit-microamp: 66 enum: [100000, 500000, 900000] 66 enum: [100000, 500000, 900000] 67 67 68 - if: 68 - if: 69 properties: 69 properties: 70 compatible: 70 compatible: 71 contains: 71 contains: 72 enum: 72 enum: 73 - x-powers,axp221-usb-power-supp 73 - x-powers,axp221-usb-power-supply 74 then: 74 then: 75 properties: 75 properties: 76 input-current-limit-microamp: 76 input-current-limit-microamp: 77 enum: [500000, 900000] 77 enum: [500000, 900000] 78 78 79 - if: 79 - if: 80 properties: 80 properties: 81 compatible: 81 compatible: 82 contains: 82 contains: 83 enum: 83 enum: 84 - x-powers,axp717-usb-power-supp 84 - x-powers,axp717-usb-power-supply 85 then: 85 then: 86 properties: 86 properties: 87 input-current-limit-microamp: 87 input-current-limit-microamp: 88 description: Maximum input current i 88 description: Maximum input current in increments of 50000 uA. 89 minimum: 100000 89 minimum: 100000 90 maximum: 3250000 90 maximum: 3250000 91 91 92 - if: 92 - if: 93 properties: 93 properties: 94 compatible: 94 compatible: 95 contains: 95 contains: 96 enum: 96 enum: 97 - x-powers,axp813-usb-power-supp 97 - x-powers,axp813-usb-power-supply 98 then: 98 then: 99 properties: 99 properties: 100 input-current-limit-microamp: 100 input-current-limit-microamp: 101 enum: [100000, 500000, 900000, 15000 101 enum: [100000, 500000, 900000, 1500000, 2000000, 2500000, 102 3000000, 3500000, 4000000] 102 3000000, 3500000, 4000000] 103 103 104 additionalProperties: false 104 additionalProperties: false
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.