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

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/mfd/mediatek,mt6357.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-only OR BSD-2-Clause
  2 %YAML 1.2
  3 ---
  4 $id: http://devicetree.org/schemas/mfd/mediatek,mt6357.yaml#
  5 $schema: http://devicetree.org/meta-schemas/core.yaml#
  6 
  7 title: MediaTek MT6357 PMIC
  8 
  9 maintainers:
 10   - Flora Fu <flora.fu@mediatek.com>
 11   - Alexandre Mergnat <amergnat@baylibre.com>
 12 
 13 description: |
 14   MT6357 is a power management system chip containing 5 buck
 15   converters and 29 LDOs. Supported features are audio codec,
 16   USB battery charging, fuel gauge, RTC
 17 
 18   This is a multifunction device with the following sub modules:
 19   - Regulator
 20   - RTC
 21   - Keys
 22 
 23   It is interfaced to host controller using SPI interface by a proprietary hardware
 24   called PMIC wrapper or pwrap. This MFD is a child device of pwrap.
 25   See the following for pwrap node definitions:
 26   Documentation/devicetree/bindings/soc/mediatek/mediatek,pwrap.yaml
 27 
 28 properties:
 29   compatible:
 30     const: mediatek,mt6357
 31 
 32   interrupts:
 33     maxItems: 1
 34 
 35   interrupt-controller: true
 36 
 37   "#interrupt-cells":
 38     const: 2
 39 
 40   mediatek,hp-pull-down:
 41     description:
 42       Earphone driver positive output stage short to
 43       the audio reference ground.
 44     type: boolean
 45 
 46   mediatek,micbias0-microvolt:
 47     description: Selects MIC Bias 0 output voltage.
 48     enum: [1700000, 1800000, 1900000, 2000000,
 49            2100000, 2500000, 2600000, 2700000]
 50     default: 1700000
 51 
 52   mediatek,micbias1-microvolt:
 53     description: Selects MIC Bias 1 output voltage.
 54     enum: [1700000, 1800000, 1900000, 2000000,
 55            2100000, 2500000, 2600000, 2700000]
 56     default: 1700000
 57 
 58   regulators:
 59     type: object
 60     $ref: /schemas/regulator/mediatek,mt6357-regulator.yaml
 61     unevaluatedProperties: false
 62     description:
 63       List of MT6357 BUCKs and LDOs regulators.
 64 
 65   rtc:
 66     type: object
 67     $ref: /schemas/rtc/rtc.yaml#
 68     unevaluatedProperties: false
 69     description:
 70       MT6357 Real Time Clock.
 71     properties:
 72       compatible:
 73         const: mediatek,mt6357-rtc
 74       start-year: true
 75     required:
 76       - compatible
 77 
 78   keys:
 79     type: object
 80     $ref: /schemas/input/mediatek,pmic-keys.yaml
 81     unevaluatedProperties: false
 82     description:
 83       MT6357 power and home keys.
 84 
 85 required:
 86   - compatible
 87   - regulators
 88 
 89 additionalProperties: false
 90 
 91 examples:
 92   - |
 93     #include <dt-bindings/interrupt-controller/arm-gic.h>
 94 
 95     pwrap {
 96         pmic {
 97             compatible = "mediatek,mt6357";
 98 
 99             interrupt-parent = <&pio>;
100             interrupts = <145 IRQ_TYPE_LEVEL_HIGH>;
101             interrupt-controller;
102             #interrupt-cells = <2>;
103 
104             mediatek,micbias0-microvolt = <1700000>;
105             mediatek,micbias1-microvolt = <1700000>;
106 
107             regulators {
108                 mt6357_vproc_reg: buck-vproc {
109                     regulator-name = "vproc";
110                     regulator-min-microvolt = <518750>;
111                     regulator-max-microvolt = <1312500>;
112                     regulator-ramp-delay = <6250>;
113                     regulator-enable-ramp-delay = <220>;
114                     regulator-always-on;
115                 };
116 
117                 // ...
118 
119                 mt6357_vusb33_reg: ldo-vusb33 {
120                     regulator-name = "vusb33";
121                     regulator-min-microvolt = <3000000>;
122                     regulator-max-microvolt = <3100000>;
123                     regulator-enable-ramp-delay = <264>;
124                 };
125             };
126 
127             rtc {
128                 compatible = "mediatek,mt6357-rtc";
129             };
130 
131             keys {
132                 compatible = "mediatek,mt6357-keys";
133             };
134         };
135     };

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