Lines Matching +full:gpio +full:- +full:charger
1 # SPDX-License-Identifier: GPL-2.0
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: MAX77650 ultra low-power PMIC from Maxim Integrated.
10 - Bartosz Golaszewski <bgolaszewski@baylibre.com>
13 MAX77650 is an ultra-low power PMIC providing battery charging and power
14 supply for low-power IoT and wearable applications.
16 The GPIO-controller module is represented as part of the top-level PMIC
17 node. The device exposes a single GPIO line.
19 For device-tree bindings of other sub-modules (regulator, power supply,
21 sub-system directories.
35 interrupt-controller: true
37 "#interrupt-cells":
42 gpio-controller: true
44 "#gpio-cells":
48 the gpio active state.
50 gpio-line-names:
53 Single string containing the name of the GPIO line.
56 $ref: ../regulator/max77650-regulator.yaml
58 charger:
59 $ref: ../power/supply/max77650-charger.yaml
62 $ref: ../leds/leds-max77650.yaml
65 $ref: ../input/max77650-onkey.yaml
68 - compatible
69 - reg
70 - interrupts
71 - interrupt-controller
72 - "#interrupt-cells"
73 - gpio-controller
74 - "#gpio-cells"
79 - |
80 #include <dt-bindings/interrupt-controller/irq.h>
81 #include <dt-bindings/input/linux-event-codes.h>
83 #address-cells = <1>;
84 #size-cells = <0>;
90 interrupt-controller;
91 interrupt-parent = <&gpio2>;
92 #interrupt-cells = <2>;
95 gpio-controller;
96 #gpio-cells = <2>;
97 gpio-line-names = "max77650-charger";
100 compatible = "maxim,max77650-regulator";
102 max77650_ldo: regulator-ldo {
103 regulator-compatible = "ldo";
104 regulator-name = "max77650-ldo";
105 regulator-min-microvolt = <1350000>;
106 regulator-max-microvolt = <2937500>;
109 max77650_sbb0: regulator-sbb0 {
110 regulator-compatible = "sbb0";
111 regulator-name = "max77650-sbb0";
112 regulator-min-microvolt = <800000>;
113 regulator-max-microvolt = <1587500>;
117 charger {
118 compatible = "maxim,max77650-charger";
119 input-voltage-min-microvolt = <4200000>;
120 input-current-limit-microamp = <285000>;
124 compatible = "maxim,max77650-led";
125 #address-cells = <1>;
126 #size-cells = <0>;
136 linux,default-trigger = "heartbeat";
146 compatible = "maxim,max77650-onkey";
148 maxim,onkey-slide;