Loading Documentation/devicetree/bindings/regulator/qcom,refgen.txt 0 → 100644 +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"; }; arch/arm64/boot/dts/qcom/kona-regulators.dtsi +9 −0 Original line number Diff line number Diff line Loading @@ -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>; }; }; arch/arm64/configs/vendor/kona-perf_defconfig +1 −0 Original line number Diff line number Diff line Loading @@ -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 Loading arch/arm64/configs/vendor/kona_defconfig +1 −0 Original line number Diff line number Diff line Loading @@ -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 Loading drivers/regulator/Kconfig +9 −0 Original line number Diff line number Diff line Loading @@ -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 Loading
Documentation/devicetree/bindings/regulator/qcom,refgen.txt 0 → 100644 +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"; };
arch/arm64/boot/dts/qcom/kona-regulators.dtsi +9 −0 Original line number Diff line number Diff line Loading @@ -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>; }; };
arch/arm64/configs/vendor/kona-perf_defconfig +1 −0 Original line number Diff line number Diff line Loading @@ -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 Loading
arch/arm64/configs/vendor/kona_defconfig +1 −0 Original line number Diff line number Diff line Loading @@ -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 Loading
drivers/regulator/Kconfig +9 −0 Original line number Diff line number Diff line Loading @@ -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