1*78c7da85SDzmitry Sankouski# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2*78c7da85SDzmitry Sankouski%YAML 1.2 3*78c7da85SDzmitry Sankouski--- 4*78c7da85SDzmitry Sankouski$id: http://devicetree.org/schemas/mfd/samsung,s2dos05.yaml# 5*78c7da85SDzmitry Sankouski$schema: http://devicetree.org/meta-schemas/core.yaml# 6*78c7da85SDzmitry Sankouski 7*78c7da85SDzmitry Sankouskititle: Samsung S2DOS05 Power Management IC 8*78c7da85SDzmitry Sankouski 9*78c7da85SDzmitry Sankouskimaintainers: 10*78c7da85SDzmitry Sankouski - Dzmitry Sankouski <dsankouski@gmail.com> 11*78c7da85SDzmitry Sankouski 12*78c7da85SDzmitry Sankouskidescription: 13*78c7da85SDzmitry Sankouski This is a device tree bindings for S2DOS family of Power Management IC (PMIC). 14*78c7da85SDzmitry Sankouski 15*78c7da85SDzmitry Sankouski The S2DOS05 is a companion power management IC for the panel and touchscreen 16*78c7da85SDzmitry Sankouski in smart phones. Provides voltage regulators and 17*78c7da85SDzmitry Sankouski ADC for power/current measurements. 18*78c7da85SDzmitry Sankouski 19*78c7da85SDzmitry Sankouski Regulator section has 4 LDO and 1 BUCK regulators and also 20*78c7da85SDzmitry Sankouski provides ELVDD, ELVSS, AVDD lines. 21*78c7da85SDzmitry Sankouski 22*78c7da85SDzmitry Sankouskiproperties: 23*78c7da85SDzmitry Sankouski compatible: 24*78c7da85SDzmitry Sankouski const: samsung,s2dos05 25*78c7da85SDzmitry Sankouski 26*78c7da85SDzmitry Sankouski reg: 27*78c7da85SDzmitry Sankouski maxItems: 1 28*78c7da85SDzmitry Sankouski 29*78c7da85SDzmitry Sankouski regulators: 30*78c7da85SDzmitry Sankouski patternProperties: 31*78c7da85SDzmitry Sankouski "^buck|ldo[1-4]$": 32*78c7da85SDzmitry Sankouski type: object 33*78c7da85SDzmitry Sankouski $ref: /schemas/regulator/regulator.yaml# 34*78c7da85SDzmitry Sankouski unevaluatedProperties: false 35*78c7da85SDzmitry Sankouski 36*78c7da85SDzmitry Sankouski required: 37*78c7da85SDzmitry Sankouski - regulator-name 38*78c7da85SDzmitry Sankouski 39*78c7da85SDzmitry Sankouski additionalProperties: false 40*78c7da85SDzmitry Sankouski 41*78c7da85SDzmitry Sankouskirequired: 42*78c7da85SDzmitry Sankouski - compatible 43*78c7da85SDzmitry Sankouski - reg 44*78c7da85SDzmitry Sankouski - regulators 45*78c7da85SDzmitry Sankouski 46*78c7da85SDzmitry SankouskiadditionalProperties: false 47*78c7da85SDzmitry Sankouski 48*78c7da85SDzmitry Sankouskiexamples: 49*78c7da85SDzmitry Sankouski - | 50*78c7da85SDzmitry Sankouski i2c { 51*78c7da85SDzmitry Sankouski #address-cells = <1>; 52*78c7da85SDzmitry Sankouski #size-cells = <0>; 53*78c7da85SDzmitry Sankouski 54*78c7da85SDzmitry Sankouski pmic@60 { 55*78c7da85SDzmitry Sankouski compatible = "samsung,s2dos05"; 56*78c7da85SDzmitry Sankouski reg = <0x60>; 57*78c7da85SDzmitry Sankouski 58*78c7da85SDzmitry Sankouski regulators { 59*78c7da85SDzmitry Sankouski ldo1 { 60*78c7da85SDzmitry Sankouski regulator-active-discharge = <1>; 61*78c7da85SDzmitry Sankouski regulator-min-microvolt = <1500000>; 62*78c7da85SDzmitry Sankouski regulator-max-microvolt = <2000000>; 63*78c7da85SDzmitry Sankouski regulator-name = "ldo1"; 64*78c7da85SDzmitry Sankouski }; 65*78c7da85SDzmitry Sankouski 66*78c7da85SDzmitry Sankouski ldo2 { 67*78c7da85SDzmitry Sankouski regulator-active-discharge = <1>; 68*78c7da85SDzmitry Sankouski regulator-boot-on; 69*78c7da85SDzmitry Sankouski regulator-min-microvolt = <1800000>; 70*78c7da85SDzmitry Sankouski regulator-max-microvolt = <1800000>; 71*78c7da85SDzmitry Sankouski regulator-name = "ldo2"; 72*78c7da85SDzmitry Sankouski }; 73*78c7da85SDzmitry Sankouski 74*78c7da85SDzmitry Sankouski ldo3 { 75*78c7da85SDzmitry Sankouski regulator-active-discharge = <1>; 76*78c7da85SDzmitry Sankouski regulator-boot-on; 77*78c7da85SDzmitry Sankouski regulator-min-microvolt = <3000000>; 78*78c7da85SDzmitry Sankouski regulator-max-microvolt = <3000000>; 79*78c7da85SDzmitry Sankouski regulator-name = "ldo3"; 80*78c7da85SDzmitry Sankouski }; 81*78c7da85SDzmitry Sankouski 82*78c7da85SDzmitry Sankouski ldo4 { 83*78c7da85SDzmitry Sankouski regulator-active-discharge = <1>; 84*78c7da85SDzmitry Sankouski regulator-min-microvolt = <2700000>; 85*78c7da85SDzmitry Sankouski regulator-max-microvolt = <3775000>; 86*78c7da85SDzmitry Sankouski regulator-name = "ldo4"; 87*78c7da85SDzmitry Sankouski }; 88*78c7da85SDzmitry Sankouski 89*78c7da85SDzmitry Sankouski buck { 90*78c7da85SDzmitry Sankouski regulator-active-discharge = <1>; 91*78c7da85SDzmitry Sankouski regulator-min-microvolt = <850000>; 92*78c7da85SDzmitry Sankouski regulator-max-microvolt = <2100000>; 93*78c7da85SDzmitry Sankouski regulator-name = "buck"; 94*78c7da85SDzmitry Sankouski }; 95*78c7da85SDzmitry Sankouski }; 96*78c7da85SDzmitry Sankouski }; 97*78c7da85SDzmitry Sankouski }; 98*78c7da85SDzmitry Sankouski 99*78c7da85SDzmitry Sankouski... 100