~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/power/supply/x-powers,axp20x-usb-power-supply.yaml

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 # SPDX-License-Identifier: GPL-2.0
  2 %YAML 1.2
  3 ---
  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 
  7 title: AXP20x USB power-supply
  8 
  9 description: |
 10   The AXP223 PMIC shares most of its behaviour with the AXP221 but has slight
 11   variations such as the former being able to set the VBUS power supply max
 12   current to 100mA, unlike the latter.
 13 
 14 maintainers:
 15   - Chen-Yu Tsai <wens@csie.org>
 16   - Sebastian Reichel <sre@kernel.org>
 17 
 18 properties:
 19   compatible:
 20     oneOf:
 21       - enum:
 22           - x-powers,axp192-usb-power-supply
 23           - x-powers,axp202-usb-power-supply
 24           - x-powers,axp221-usb-power-supply
 25           - x-powers,axp223-usb-power-supply
 26           - x-powers,axp717-usb-power-supply
 27           - x-powers,axp813-usb-power-supply
 28       - items:
 29           - const: x-powers,axp803-usb-power-supply
 30           - const: x-powers,axp813-usb-power-supply
 31 
 32   input-current-limit-microamp:
 33     description:
 34       Optional value to clamp the maximum input current limit to for
 35       the device. If omitted, the programmed value from the EFUSE will
 36       be used.
 37     minimum: 100000
 38     maximum: 4000000
 39 
 40 required:
 41   - compatible
 42 
 43 allOf:
 44   - $ref: power-supply.yaml#
 45   - if:
 46       properties:
 47         compatible:
 48           contains:
 49             enum:
 50               - x-powers,axp192-usb-power-supply
 51     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-supply
 62               - x-powers,axp223-usb-power-supply
 63     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-supply
 74     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-supply
 85     then:
 86       properties:
 87         input-current-limit-microamp:
 88           description: Maximum input current in increments of 50000 uA.
 89           minimum: 100000
 90           maximum: 3250000
 91 
 92   - if:
 93       properties:
 94         compatible:
 95           contains:
 96             enum:
 97               - x-powers,axp813-usb-power-supply
 98     then:
 99       properties:
100         input-current-limit-microamp:
101           enum: [100000, 500000, 900000, 1500000, 2000000, 2500000,
102                  3000000, 3500000, 4000000]
103 
104 additionalProperties: false

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php