Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a81bf3c4 authored by Mark Brown's avatar Mark Brown
Browse files

Merge remote-tracking branches 'regulator/topic/drivers',...

Merge remote-tracking branches 'regulator/topic/drivers', 'regulator/topic/enable', 'regulator/topic/fan53555', 'regulator/topic/hi6421' and 'regulator/topic/isl9305' into regulator-next
Loading
Loading
Loading
Loading
+23 −0
Original line number Diff line number Diff line
Binding for Fairchild FAN53555 regulators

Required properties:
  - compatible: one of "fcs,fan53555", "silergy,syr827", "silergy,syr828"
  - reg: I2C address

Optional properties:
  - fcs,suspend-voltage-selector: declare which of the two available
		voltage selector registers should be used for the suspend
		voltage. The other one is used for the runtime voltage setting
		Possible values are either <0> or <1>
  - vin-supply: regulator supplying the vin pin

Example:

	regulator@40 {
		compatible = "fcs,fan53555";
		regulator-name = "fan53555";
		regulator-min-microvolt = <1000000>;
		regulator-max-microvolt = <1800000>;
		vin-supply = <&parent_reg>;
		fcs,suspend-voltage-selector = <1>;
	};
+36 −0
Original line number Diff line number Diff line
Intersil ISL9305/ISL9305H voltage regulator

Required properties:

- compatible: "isl,isl9305" or "isl,isl9305h"
- reg: I2C slave address, usually 0x68.
- regulators: A node that houses a sub-node for each regulator within the
  device. Each sub-node is identified using the node's name, with valid
  values being "dcd1", "dcd2", "ldo1" and "ldo2". The content of each sub-node
  is defined by the standard binding for regulators; see regulator.txt.
- VINDCD1-supply: A phandle to a regulator node supplying VINDCD1.
  VINDCD2-supply: A phandle to a regulator node supplying VINDCD2.
  VINLDO1-supply: A phandle to a regulator node supplying VINLDO1.
  VINLDO2-supply: A phandle to a regulator node supplying VINLDO2.

Optional properties:
- Per-regulator optional properties are defined in regulator.txt

Example

	pmic: isl9305@68 {
		compatible = "isl,isl9305";
		reg = <0x68>;

		VINDCD1-supply = <&system_power>;
		VINDCD2-supply = <&system_power>;
		VINLDO1-supply = <&system_power>;
		VINLDO2-supply = <&system_power>;

		regulators {
			dcd1 {
			        regulator-name = "VDD_DSP";
				regulator-always-on;
                        };
		};
	};
+27 −0
Original line number Diff line number Diff line
pwm regulator bindings

Required properties:
- compatible: Should be "pwm-regulator"
- pwms: OF device-tree PWM specification (see PWM binding pwm.txt)
- voltage-table: voltage and duty table, include 2 members in each set of
  brackets, first one is voltage(unit: uv), the next is duty(unit: percent)

Any property defined as part of the core regulator binding defined in
regulator.txt can also be used.

Example:
	pwm_regulator {
		compatible = "pwm-regulator;
		pwms = <&pwm1 0 8448 0>;

		voltage-table = <1114000 0>,
				<1095000 10>,
				<1076000 20>,
				<1056000 30>,
				<1036000 40>,
				<1016000 50>;

		regulator-min-microvolt = <1016000>;
		regulator-max-microvolt = <1114000>;
		regulator-name = "vdd_logic";
	};
+16 −0
Original line number Diff line number Diff line
SKY81452 voltage regulator

Required properties:
- any required generic properties defined in regulator.txt

Optional properties:
- any available generic properties defined in regulator.txt

Example:

	regulator {
		/* generic regulator properties */
		regulator-name = "touch_en";
		regulator-min-microvolt = <4500000>;
		regulator-max-microvolt = <8000000>;
	};
+2 −0
Original line number Diff line number Diff line
@@ -49,6 +49,7 @@ epson Seiko Epson Corp.
est	ESTeem Wireless Modems
eukrea  Eukréa Electromatique
excito	Excito
fcs	Fairchild Semiconductor
fsl	Freescale Semiconductor
GEFanuc	GE Fanuc Intelligent Platforms Embedded Systems, Inc.
gef	GE Fanuc Intelligent Platforms Embedded Systems, Inc.
@@ -124,6 +125,7 @@ sil Silicon Image
silabs	Silicon Laboratories
simtek
sii	Seiko Instruments, Inc.
silergy	Silergy Corp.
sirf	SiRF Technology, Inc.
smsc	Standard Microsystems Corporation
snps 	Synopsys, Inc.
Loading