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

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

Merge "ARM: dts: msm: add refgen regulator device for KONA"

parents f695a5d7 d91d9f97
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
@@ -849,3 +849,12 @@
		};
	};
};

&soc {
	refgen: refgen-regulator@88e7000 {
		compatible = "qcom,refgen-kona-regulator";
		reg = <0x88e7000 0x84>;
		regulator-name = "refgen";
		regulator-enable-ramp-delay = <5>;
	};
};
+1 −0
Original line number Diff line number Diff line
@@ -342,6 +342,7 @@ CONFIG_MFD_SPMI_PMIC=y
CONFIG_REGULATOR_FIXED_VOLTAGE=y
CONFIG_REGULATOR_QPNP_AMOLED=y
CONFIG_REGULATOR_QPNP_LCDB=y
CONFIG_REGULATOR_REFGEN=y
CONFIG_REGULATOR_RPMH=y
CONFIG_REGULATOR_STUB=y
CONFIG_MEDIA_SUPPORT=y
+1 −0
Original line number Diff line number Diff line
@@ -351,6 +351,7 @@ CONFIG_MFD_SPMI_PMIC=y
CONFIG_REGULATOR_FIXED_VOLTAGE=y
CONFIG_REGULATOR_QPNP_AMOLED=y
CONFIG_REGULATOR_QPNP_LCDB=y
CONFIG_REGULATOR_REFGEN=y
CONFIG_REGULATOR_RPMH=y
CONFIG_REGULATOR_STUB=y
CONFIG_MEDIA_SUPPORT=y
+9 −0
Original line number Diff line number Diff line
@@ -1057,6 +1057,15 @@ config REGULATOR_WM8994
	  This driver provides support for the voltage regulators on the
	  WM8994 CODEC.

config REGULATOR_REFGEN
	tristate "Qualcomm Technologies, Inc. REFGEN regulator driver"
	depends on OF
	help
	  This driver supports control of the REFGEN reference bias generator
	  block found on some Qualcomm Technologies Inc. SoCs.  A REFGEN
	  it used by various PHY blocks found inside of the SoC.  It supports
	  enable/disable control.

config REGULATOR_RPMH
	tristate "Qualcomm Technologies, Inc. Legacy RPMh regulator driver"
	depends on QCOM_RPMH
Loading