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

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/regulator/mt6360-regulator.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 OR BSD-2-Clause)
  2 %YAML 1.2
  3 ---
  4 $id: http://devicetree.org/schemas/regulator/mt6360-regulator.yaml#
  5 $schema: http://devicetree.org/meta-schemas/core.yaml#
  6 
  7 title: MT6360 Regulator from MediaTek Integrated
  8 
  9 maintainers:
 10   - Gene Chen <gene_chen@richtek.com>
 11 
 12 description: |
 13   list of regulators provided by this controller, must be named
 14   after their hardware counterparts buck1/2 or ldo1/2/3/5/6/7
 15 
 16 properties:
 17   compatible:
 18     const: mediatek,mt6360-regulator
 19 
 20   LDO_VIN1-supply:
 21     description: Input supply phandle(s) for LDO1/2/3
 22   LDO_VIN2-supply:
 23     description: Input supply phandle(s) for LDO5
 24   LDO_VIN3-supply:
 25     description: Input supply phandle(s) for LDO6/7
 26 
 27 patternProperties:
 28   "^buck[12]$":
 29     $ref: regulator.yaml#
 30     unevaluatedProperties: false
 31 
 32   "^ldo[123567]$":
 33     $ref: regulator.yaml#
 34     unevaluatedProperties: false
 35 
 36 required:
 37   - compatible
 38 
 39 additionalProperties: false
 40 
 41 examples:
 42   - |
 43     #include <dt-bindings/interrupt-controller/irq.h>
 44     #include <dt-bindings/regulator/mediatek,mt6360-regulator.h>
 45     regulator {
 46       compatible = "mediatek,mt6360-regulator";
 47       LDO_VIN3-supply = <&BUCK2>;
 48       buck1 {
 49         regulator-name = "mt6360,buck1";
 50         regulator-min-microvolt = <300000>;
 51         regulator-max-microvolt = <1300000>;
 52         regulator-allowed-modes = <MT6360_OPMODE_NORMAL
 53              MT6360_OPMODE_LP
 54              MT6360_OPMODE_ULP>;
 55       };
 56       BUCK2: buck2 {
 57         regulator-name = "mt6360,buck2";
 58         regulator-min-microvolt = <300000>;
 59         regulator-max-microvolt = <1300000>;
 60         regulator-allowed-modes = <MT6360_OPMODE_NORMAL
 61              MT6360_OPMODE_LP
 62              MT6360_OPMODE_ULP>;
 63       };
 64       ldo6 {
 65         regulator-name = "mt6360,ldo6";
 66         regulator-min-microvolt = <500000>;
 67         regulator-max-microvolt = <2100000>;
 68         regulator-allowed-modes = <MT6360_OPMODE_NORMAL
 69              MT6360_OPMODE_LP>;
 70       };
 71       ldo7 {
 72         regulator-name = "mt6360,ldo7";
 73         regulator-min-microvolt = <500000>;
 74         regulator-max-microvolt = <2100000>;
 75         regulator-allowed-modes = <MT6360_OPMODE_NORMAL
 76              MT6360_OPMODE_LP>;
 77       };
 78       ldo1 {
 79         regulator-name = "mt6360,ldo1";
 80         regulator-min-microvolt = <1200000>;
 81         regulator-max-microvolt = <3600000>;
 82         regulator-allowed-modes = <MT6360_OPMODE_NORMAL
 83              MT6360_OPMODE_LP>;
 84       };
 85       ldo2 {
 86         regulator-name = "mt6360,ldo2";
 87         regulator-min-microvolt = <1200000>;
 88         regulator-max-microvolt = <3600000>;
 89         regulator-allowed-modes = <MT6360_OPMODE_NORMAL
 90              MT6360_OPMODE_LP>;
 91       };
 92       ldo3 {
 93         regulator-name = "mt6360,ldo3";
 94         regulator-min-microvolt = <1200000>;
 95         regulator-max-microvolt = <3600000>;
 96         regulator-allowed-modes = <MT6360_OPMODE_NORMAL
 97              MT6360_OPMODE_LP>;
 98       };
 99       ldo5 {
100         regulator-name = "mt6360,ldo5";
101         regulator-min-microvolt = <2700000>;
102         regulator-max-microvolt = <3600000>;
103         regulator-allowed-modes = <MT6360_OPMODE_NORMAL
104              MT6360_OPMODE_LP>;
105       };
106     };
107 ...

~ [ 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