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

Commit d635065a authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "ARM: dts: qcom: add refgen regulator device for Lahaina"

parents d2c3d11e 837e072e
Loading
Loading
Loading
Loading
+40 −0
Original line number Diff line number Diff line
Qualcomm Technologies, Inc. REFGEN Regulator

Some Qualcomm Technologies, Inc. SoCs utilize reference bias generators for
various internal PHY blocks.  These are called REFGENs.

Supported properties:
- compatible
	Usage:      required
	Value type: <string>
	Definition: Must be one of: "qcom,refgen-regulator",
		    "qcom,refgen-sdm845-regulator", or
		    "qcom,refgen-kona-regulator".

- reg
	Usage:      required
	Value type: <prop-encoded-array>
	Definition: Address and size of the REFGEN registers.

- regulator-name
	Usage:      required
	Value type: <string>
	Definition: Specifies the name for this REFGEN regulator.

- regulator-enable-ramp-delay
	Usage:      optional
	Value type: <u32>
	Definition: REFGEN enable time in microseconds.

- parent-supply
	Usage:      optional
	Value type: <phandle>
	Definition: phandle to the parent supply/regulator node if one exists.

Example:

refgen-regulator@ff1000 {
	compatible = "qcom,refgen-regulator";
	reg = <0xff1000 0x60>;
	regulator-name = "refgen";
};
+9 −0
Original line number Diff line number Diff line
@@ -954,3 +954,12 @@
		qcom,hpm-min-load = <10000>;
	};
};

&soc {
	refgen: refgen-regulator@88e7000 {
		compatible = "qcom,refgen-kona-regulator";
		reg = <0x88e7000 0x84>;
		regulator-name = "refgen";
		regulator-enable-ramp-delay = <5>;
	};
};