brintos

brintos / linux-shallow public Read only

0
0
Text · 1.9 KiB · 131a532 Raw
71 lines · plain
1* Dialog DA9055 Power Management Integrated Circuit (PMIC)2 3DA9055 consists of a large and varied group of sub-devices (I2C Only):4 5Device			 Supply Names	 Description6------			 ------------	 -----------7da9055-gpio		:		: GPIOs8da9055-regulator	:		: Regulators9da9055-onkey		:		: On key10da9055-rtc		:		: RTC11da9055-hwmon		:		: ADC12da9055-watchdog		:		: Watchdog13 14The CODEC device in DA9055 has a separate, configurable I2C address and so15is instantiated separately from the PMIC.16 17For details on accompanying CODEC I2C device, see the following:18Documentation/devicetree/bindings/sound/da9055.txt19 20======21 22Required properties:23- compatible : Should be "dlg,da9055-pmic"24- reg: Specifies the I2C slave address (defaults to 0x5a but can be modified)25- interrupts: IRQ line info for da9055 chip.26- interrupt-controller: da9055 has internal IRQs (has own IRQ domain).27- #interrupt-cells: Should be 1, is the local IRQ number for da9055.28 29Sub-nodes:30- regulators : Contain the regulator nodes. The DA9055 regulators are31  bound using their names as listed below:32 33    buck1     : regulator BUCK134    buck2     : regulator BUCK235    ldo1      : regulator LDO136    ldo2      : regulator LDO237    ldo3      : regulator LDO338    ldo4      : regulator LDO439    ldo5      : regulator LDO540    ldo6      : regulator LDO641 42  The bindings details of individual regulator device can be found in:43  Documentation/devicetree/bindings/regulator/regulator.txt44 45 46Example:47 48	pmic: da9055-pmic@5a {49		compatible = "dlg,da9055-pmic";50		reg = <0x5a>;51		interrupt-parent = <&intc>;52		interrupts = <5 IRQ_TYPE_LEVEL_LOW>;53		interrupt-controller;54		#interrupt-cells = <1>;55 56		regulators {57			buck1: BUCK1 {58				regulator-min-microvolt = <725000>;59				regulator-max-microvolt = <2075000>;60			};61			buck2: BUCK2 {62				regulator-min-microvolt = <925000>;63				regulator-max-microvolt = <2500000>;64			};65			ldo1: LDO1 {66				regulator-min-microvolt = <900000>;67				regulator-max-microvolt = <3300000>;68			};69		};70	};71