1b38213c6SKrzysztof Kozlowski# SPDX-License-Identifier: GPL-2.0-only 2b38213c6SKrzysztof Kozlowski%YAML 1.2 3b38213c6SKrzysztof Kozlowski--- 4b38213c6SKrzysztof Kozlowski$id: http://devicetree.org/schemas/mfd/maxim,max77693.yaml# 5b38213c6SKrzysztof Kozlowski$schema: http://devicetree.org/meta-schemas/core.yaml# 6b38213c6SKrzysztof Kozlowski 7b38213c6SKrzysztof Kozlowskititle: Maxim MAX77693 MicroUSB and Companion Power Management IC 8b38213c6SKrzysztof Kozlowski 9b38213c6SKrzysztof Kozlowskimaintainers: 10b38213c6SKrzysztof Kozlowski - Chanwoo Choi <cw00.choi@samsung.com> 118a1e6bb3SKrzysztof Kozlowski - Krzysztof Kozlowski <krzk@kernel.org> 12b38213c6SKrzysztof Kozlowski 13b38213c6SKrzysztof Kozlowskidescription: | 14b38213c6SKrzysztof Kozlowski This is a part of device tree bindings for Maxim MAX77693 MicroUSB 15b38213c6SKrzysztof Kozlowski Integrated Circuit (MUIC). 16b38213c6SKrzysztof Kozlowski 17b38213c6SKrzysztof Kozlowski The Maxim MAX77693 is a MicroUSB and Companion Power Management IC which 18b38213c6SKrzysztof Kozlowski includes voltage current regulators, charger, LED/flash, haptic motor driver 19b38213c6SKrzysztof Kozlowski and MicroUSB management IC. 20b38213c6SKrzysztof Kozlowski 21b38213c6SKrzysztof Kozlowskiproperties: 22b38213c6SKrzysztof Kozlowski compatible: 23b38213c6SKrzysztof Kozlowski const: maxim,max77693 24b38213c6SKrzysztof Kozlowski 25b38213c6SKrzysztof Kozlowski interrupts: 26b38213c6SKrzysztof Kozlowski maxItems: 1 27b38213c6SKrzysztof Kozlowski 28b38213c6SKrzysztof Kozlowski reg: 29b38213c6SKrzysztof Kozlowski maxItems: 1 30b38213c6SKrzysztof Kozlowski 31b38213c6SKrzysztof Kozlowski charger: 32b38213c6SKrzysztof Kozlowski $ref: /schemas/power/supply/maxim,max77693.yaml 33b38213c6SKrzysztof Kozlowski 34b38213c6SKrzysztof Kozlowski led: 35b38213c6SKrzysztof Kozlowski $ref: /schemas/leds/maxim,max77693.yaml 36b38213c6SKrzysztof Kozlowski 37b38213c6SKrzysztof Kozlowski max77693-muic: 38b38213c6SKrzysztof Kozlowski type: object 39b38213c6SKrzysztof Kozlowski additionalProperties: false 40*789c9ce9SKrzysztof Kozlowski deprecated: true 41b38213c6SKrzysztof Kozlowski 42b38213c6SKrzysztof Kozlowski properties: 43b38213c6SKrzysztof Kozlowski compatible: 44b38213c6SKrzysztof Kozlowski const: maxim,max77693-muic 45b38213c6SKrzysztof Kozlowski 46b38213c6SKrzysztof Kozlowski required: 47b38213c6SKrzysztof Kozlowski - compatible 48b38213c6SKrzysztof Kozlowski 49*789c9ce9SKrzysztof Kozlowski muic: 50*789c9ce9SKrzysztof Kozlowski type: object 51*789c9ce9SKrzysztof Kozlowski additionalProperties: false 52*789c9ce9SKrzysztof Kozlowski 53*789c9ce9SKrzysztof Kozlowski properties: 54*789c9ce9SKrzysztof Kozlowski compatible: 55*789c9ce9SKrzysztof Kozlowski const: maxim,max77693-muic 56*789c9ce9SKrzysztof Kozlowski 57*789c9ce9SKrzysztof Kozlowski connector: 58*789c9ce9SKrzysztof Kozlowski $ref: /schemas/connector/usb-connector.yaml# 59*789c9ce9SKrzysztof Kozlowski unevaluatedProperties: false 60*789c9ce9SKrzysztof Kozlowski 61*789c9ce9SKrzysztof Kozlowski required: 62*789c9ce9SKrzysztof Kozlowski - compatible 63*789c9ce9SKrzysztof Kozlowski 64b38213c6SKrzysztof Kozlowski motor-driver: 65b38213c6SKrzysztof Kozlowski type: object 66b38213c6SKrzysztof Kozlowski additionalProperties: false 67b38213c6SKrzysztof Kozlowski 68b38213c6SKrzysztof Kozlowski properties: 69b38213c6SKrzysztof Kozlowski compatible: 70b38213c6SKrzysztof Kozlowski const: maxim,max77693-haptic 71b38213c6SKrzysztof Kozlowski 72b38213c6SKrzysztof Kozlowski haptic-supply: 73b38213c6SKrzysztof Kozlowski description: Power supply to the haptic motor 74b38213c6SKrzysztof Kozlowski 75b38213c6SKrzysztof Kozlowski pwms: 76b38213c6SKrzysztof Kozlowski maxItems: 1 77b38213c6SKrzysztof Kozlowski 78b38213c6SKrzysztof Kozlowski required: 79b38213c6SKrzysztof Kozlowski - compatible 80b38213c6SKrzysztof Kozlowski - haptic-supply 81b38213c6SKrzysztof Kozlowski - pwms 82b38213c6SKrzysztof Kozlowski 83b38213c6SKrzysztof Kozlowski regulators: 84b38213c6SKrzysztof Kozlowski $ref: ../regulator/maxim,max77693.yaml 85b38213c6SKrzysztof Kozlowski description: 86b38213c6SKrzysztof Kozlowski List of child nodes that specify the regulators. 87b38213c6SKrzysztof Kozlowski 88b38213c6SKrzysztof Kozlowskirequired: 89b38213c6SKrzysztof Kozlowski - compatible 90b38213c6SKrzysztof Kozlowski - interrupts 91b38213c6SKrzysztof Kozlowski - reg 92b38213c6SKrzysztof Kozlowski 93b38213c6SKrzysztof KozlowskiadditionalProperties: false 94b38213c6SKrzysztof Kozlowski 95b38213c6SKrzysztof Kozlowskiexamples: 96b38213c6SKrzysztof Kozlowski - | 97b38213c6SKrzysztof Kozlowski #include <dt-bindings/interrupt-controller/irq.h> 98b38213c6SKrzysztof Kozlowski #include <dt-bindings/leds/common.h> 99b38213c6SKrzysztof Kozlowski 100b38213c6SKrzysztof Kozlowski i2c { 101b38213c6SKrzysztof Kozlowski #address-cells = <1>; 102b38213c6SKrzysztof Kozlowski #size-cells = <0>; 103b38213c6SKrzysztof Kozlowski 104b38213c6SKrzysztof Kozlowski pmic@66 { 105b38213c6SKrzysztof Kozlowski compatible = "maxim,max77693"; 106b38213c6SKrzysztof Kozlowski reg = <0x66>; 107b38213c6SKrzysztof Kozlowski interrupt-parent = <&gpx1>; 108b38213c6SKrzysztof Kozlowski interrupts = <5 IRQ_TYPE_LEVEL_LOW>; 109b38213c6SKrzysztof Kozlowski 110b38213c6SKrzysztof Kozlowski regulators { 111b38213c6SKrzysztof Kozlowski ESAFEOUT1 { 112b38213c6SKrzysztof Kozlowski regulator-name = "ESAFEOUT1"; 113b38213c6SKrzysztof Kozlowski }; 114b38213c6SKrzysztof Kozlowski 115b38213c6SKrzysztof Kozlowski ESAFEOUT2 { 116b38213c6SKrzysztof Kozlowski regulator-name = "ESAFEOUT2"; 117b38213c6SKrzysztof Kozlowski }; 118b38213c6SKrzysztof Kozlowski 119b38213c6SKrzysztof Kozlowski CHARGER { 120b38213c6SKrzysztof Kozlowski regulator-name = "CHARGER"; 121b38213c6SKrzysztof Kozlowski regulator-min-microamp = <60000>; 122b38213c6SKrzysztof Kozlowski regulator-max-microamp = <2580000>; 123b38213c6SKrzysztof Kozlowski }; 124b38213c6SKrzysztof Kozlowski }; 125b38213c6SKrzysztof Kozlowski 126*789c9ce9SKrzysztof Kozlowski muic { 127*789c9ce9SKrzysztof Kozlowski compatible = "maxim,max77693-muic"; 128*789c9ce9SKrzysztof Kozlowski 129*789c9ce9SKrzysztof Kozlowski connector { 130*789c9ce9SKrzysztof Kozlowski compatible = "samsung,usb-connector-11pin", 131*789c9ce9SKrzysztof Kozlowski "usb-b-connector"; 132*789c9ce9SKrzysztof Kozlowski label = "micro-USB"; 133*789c9ce9SKrzysztof Kozlowski type = "micro"; 134*789c9ce9SKrzysztof Kozlowski 135*789c9ce9SKrzysztof Kozlowski ports { 136*789c9ce9SKrzysztof Kozlowski #address-cells = <1>; 137*789c9ce9SKrzysztof Kozlowski #size-cells = <0>; 138*789c9ce9SKrzysztof Kozlowski 139*789c9ce9SKrzysztof Kozlowski port@0 { 140*789c9ce9SKrzysztof Kozlowski reg = <0>; 141*789c9ce9SKrzysztof Kozlowski 142*789c9ce9SKrzysztof Kozlowski muic_to_usb: endpoint { 143*789c9ce9SKrzysztof Kozlowski remote-endpoint = <&usb_to_muic>; 144*789c9ce9SKrzysztof Kozlowski }; 145*789c9ce9SKrzysztof Kozlowski }; 146*789c9ce9SKrzysztof Kozlowski 147*789c9ce9SKrzysztof Kozlowski port@3 { 148*789c9ce9SKrzysztof Kozlowski reg = <3>; 149*789c9ce9SKrzysztof Kozlowski 150*789c9ce9SKrzysztof Kozlowski muic_to_mhl: endpoint { 151*789c9ce9SKrzysztof Kozlowski remote-endpoint = <&mhl_to_muic>; 152*789c9ce9SKrzysztof Kozlowski }; 153*789c9ce9SKrzysztof Kozlowski }; 154*789c9ce9SKrzysztof Kozlowski }; 155*789c9ce9SKrzysztof Kozlowski }; 156*789c9ce9SKrzysztof Kozlowski }; 157*789c9ce9SKrzysztof Kozlowski 158b38213c6SKrzysztof Kozlowski motor-driver { 159b38213c6SKrzysztof Kozlowski compatible = "maxim,max77693-haptic"; 160b38213c6SKrzysztof Kozlowski haptic-supply = <&ldo26_reg>; 161b38213c6SKrzysztof Kozlowski pwms = <&pwm 0 38022 0>; 162b38213c6SKrzysztof Kozlowski }; 163b38213c6SKrzysztof Kozlowski 164b38213c6SKrzysztof Kozlowski charger { 165b38213c6SKrzysztof Kozlowski compatible = "maxim,max77693-charger"; 166b38213c6SKrzysztof Kozlowski 167b38213c6SKrzysztof Kozlowski maxim,constant-microvolt = <4350000>; 168b38213c6SKrzysztof Kozlowski maxim,min-system-microvolt = <3600000>; 169b38213c6SKrzysztof Kozlowski maxim,thermal-regulation-celsius = <100>; 170b38213c6SKrzysztof Kozlowski maxim,battery-overcurrent-microamp = <3500000>; 171b38213c6SKrzysztof Kozlowski maxim,charge-input-threshold-microvolt = <4300000>; 172b38213c6SKrzysztof Kozlowski }; 173b38213c6SKrzysztof Kozlowski 174b38213c6SKrzysztof Kozlowski led { 175b38213c6SKrzysztof Kozlowski compatible = "maxim,max77693-led"; 176b38213c6SKrzysztof Kozlowski maxim,boost-mode = <LEDS_BOOST_FIXED>; 177b38213c6SKrzysztof Kozlowski maxim,boost-mvout = <5000>; 178b38213c6SKrzysztof Kozlowski maxim,mvsys-min = <2400>; 179b38213c6SKrzysztof Kozlowski 180b38213c6SKrzysztof Kozlowski flash-led { 181b38213c6SKrzysztof Kozlowski label = "max77693-flash"; 182b38213c6SKrzysztof Kozlowski function = LED_FUNCTION_FLASH; 183b38213c6SKrzysztof Kozlowski color = <LED_COLOR_ID_WHITE>; 184b38213c6SKrzysztof Kozlowski led-sources = <0>, <1>; 185b38213c6SKrzysztof Kozlowski led-max-microamp = <500000>; 186b38213c6SKrzysztof Kozlowski flash-max-microamp = <1250000>; 187b38213c6SKrzysztof Kozlowski flash-max-timeout-us = <1000000>; 188b38213c6SKrzysztof Kozlowski }; 189b38213c6SKrzysztof Kozlowski }; 190b38213c6SKrzysztof Kozlowski }; 191b38213c6SKrzysztof Kozlowski }; 192