The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/contrib/device-tree/Bindings/regulator/mt6360-regulator.yaml

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

    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 
   31   "^ldo[123567]$":
   32     $ref: "regulator.yaml#"
   33 
   34 required:
   35   - compatible
   36 
   37 additionalProperties: false
   38 
   39 examples:
   40   - |
   41     #include <dt-bindings/interrupt-controller/irq.h>
   42     #include <dt-bindings/regulator/mediatek,mt6360-regulator.h>
   43     regulator {
   44       compatible = "mediatek,mt6360-regulator";
   45       LDO_VIN3-supply = <&BUCK2>;
   46       buck1 {
   47         regulator-compatible = "BUCK1";
   48         regulator-name = "mt6360,buck1";
   49         regulator-min-microvolt = <300000>;
   50         regulator-max-microvolt = <1300000>;
   51         regulator-allowed-modes = <MT6360_OPMODE_NORMAL
   52              MT6360_OPMODE_LP
   53              MT6360_OPMODE_ULP>;
   54       };
   55       BUCK2: buck2 {
   56         regulator-compatible = "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-compatible = "LDO6";
   66         regulator-name = "mt6360,ldo6";
   67         regulator-min-microvolt = <500000>;
   68         regulator-max-microvolt = <2100000>;
   69         regulator-allowed-modes = <MT6360_OPMODE_NORMAL
   70              MT6360_OPMODE_LP>;
   71       };
   72       ldo7 {
   73         regulator-compatible = "LDO7";
   74         regulator-name = "mt6360,ldo7";
   75         regulator-min-microvolt = <500000>;
   76         regulator-max-microvolt = <2100000>;
   77         regulator-allowed-modes = <MT6360_OPMODE_NORMAL
   78              MT6360_OPMODE_LP>;
   79       };
   80       ldo1 {
   81         regulator-compatible = "LDO1";
   82         regulator-name = "mt6360,ldo1";
   83         regulator-min-microvolt = <1200000>;
   84         regulator-max-microvolt = <3600000>;
   85         regulator-allowed-modes = <MT6360_OPMODE_NORMAL
   86              MT6360_OPMODE_LP>;
   87       };
   88         ldo2 {
   89         regulator-compatible = "LDO2";
   90         regulator-name = "mt6360,ldo2";
   91         regulator-min-microvolt = <1200000>;
   92         regulator-max-microvolt = <3600000>;
   93         regulator-allowed-modes = <MT6360_OPMODE_NORMAL
   94              MT6360_OPMODE_LP>;
   95       };
   96       ldo3 {
   97         regulator-compatible = "LDO3";
   98         regulator-name = "mt6360,ldo3";
   99         regulator-min-microvolt = <1200000>;
  100         regulator-max-microvolt = <3600000>;
  101         regulator-allowed-modes = <MT6360_OPMODE_NORMAL
  102              MT6360_OPMODE_LP>;
  103       };
  104       ldo5 {
  105         regulator-compatible = "LDO5";
  106         regulator-name = "mt6360,ldo5";
  107         regulator-min-microvolt = <2700000>;
  108         regulator-max-microvolt = <3600000>;
  109         regulator-allowed-modes = <MT6360_OPMODE_NORMAL
  110              MT6360_OPMODE_LP>;
  111       };
  112     };
  113 ...

Cache object: 231ef0dbcbc53a2d4a20ade122765441


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.