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

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/mfd/maxim,max77686.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/maxim,max77686.yaml#
  5 $schema: http://devicetree.org/meta-schemas/core.yaml#
  6 
  7 title: Maxim MAX77686 Power Management IC
  8 
  9 maintainers:
 10   - Chanwoo Choi <cw00.choi@samsung.com>
 11   - Krzysztof Kozlowski <krzk@kernel.org>
 12 
 13 description: |
 14   This is a part of device tree bindings for Maxim MAX77686 Power Management
 15   Integrated Circuit (PMIC).
 16 
 17   The Maxim MAX77686 is a Power Management IC which includes voltage and
 18   current regulators, RTC and clock outputs.
 19 
 20   The MAX77686 provides three 32.768khz clock outputs that can be controlled
 21   (gated/ungated) over I2C.  The clock IDs are defined as preprocessor macros
 22   in dt-bindings/clock/maxim,max77686.h.
 23 
 24 properties:
 25   compatible:
 26     const: maxim,max77686
 27 
 28   '#clock-cells':
 29     const: 1
 30 
 31   interrupts:
 32     maxItems: 1
 33 
 34   reg:
 35     maxItems: 1
 36 
 37   voltage-regulators:
 38     $ref: /schemas/regulator/maxim,max77686.yaml
 39     description:
 40       List of child nodes that specify the regulators.
 41 
 42   wakeup-source: true
 43 
 44 required:
 45   - compatible
 46   - '#clock-cells'
 47   - reg
 48 
 49 additionalProperties: false
 50 
 51 examples:
 52   - |
 53     #include <dt-bindings/gpio/gpio.h>
 54     #include <dt-bindings/interrupt-controller/irq.h>
 55 
 56     i2c {
 57         #address-cells = <1>;
 58         #size-cells = <0>;
 59 
 60         max77686: pmic@9 {
 61             compatible = "maxim,max77686";
 62             reg = <0x09>;
 63 
 64             interrupt-parent = <&gpx0>;
 65             interrupts = <7 IRQ_TYPE_LEVEL_LOW>;
 66             pinctrl-0 = <&max77686_irq>;
 67             pinctrl-names = "default";
 68             wakeup-source;
 69             #clock-cells = <1>;
 70 
 71             voltage-regulators {
 72                 LDO1 {
 73                     regulator-name = "VALIVE_1.0V_AP";
 74                     regulator-min-microvolt = <1000000>;
 75                     regulator-max-microvolt = <1000000>;
 76                     regulator-always-on;
 77                 };
 78 
 79                 LDO2 {
 80                     regulator-name = "VM1M2_1.2V_AP";
 81                     regulator-min-microvolt = <1200000>;
 82                     regulator-max-microvolt = <1200000>;
 83                     regulator-always-on;
 84                     regulator-state-mem {
 85                         regulator-on-in-suspend;
 86                     };
 87                 };
 88 
 89                 // ...
 90 
 91                 LDO22 {
 92                     regulator-name = "VMEM_VDD_2.8V";
 93                     regulator-min-microvolt = <2800000>;
 94                     regulator-max-microvolt = <2800000>;
 95                     maxim,ena-gpios = <&gpk0 2 GPIO_ACTIVE_HIGH>;
 96                 };
 97 
 98                 // ...
 99 
100                 BUCK1 {
101                     regulator-name = "VDD_MIF";
102                     regulator-min-microvolt = <850000>;
103                     regulator-max-microvolt = <1100000>;
104                     regulator-always-on;
105                     regulator-boot-on;
106                     regulator-state-mem {
107                         regulator-off-in-suspend;
108                     };
109                 };
110 
111                 BUCK2 {
112                     regulator-name = "VDD_ARM";
113                     regulator-min-microvolt = <850000>;
114                     regulator-max-microvolt = <1500000>;
115                     regulator-always-on;
116                     regulator-boot-on;
117                     regulator-state-mem {
118                         regulator-on-in-suspend;
119                     };
120                 };
121 
122                 // ...
123 
124                 BUCK9 {
125                     regulator-name = "CAM_ISP_CORE_1.2V";
126                     regulator-min-microvolt = <1000000>;
127                     regulator-max-microvolt = <1200000>;
128                     maxim,ena-gpios = <&gpm0 3 GPIO_ACTIVE_HIGH>;
129                 };
130             };
131         };
132     };

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