From e06afd1c00c565a2ce6e76a11b16524bb01656b9 Mon Sep 17 00:00:00 2001 From: David Collins Date: Mon, 23 Sep 2019 16:50:18 -0700 Subject: [PATCH] dt-bindings: regulator: add refgen regulator bindings Some Qualcomm Technologies, Inc. SoCs such as SDM845 utilize reference bias generators for various internal PHY blocks. These are called REFGENs. Add binding documentation for REFGEN devices. This is a snapshot from msm-4.19 commit e5cf0a03c6aa ("dt-bindings: regulator: add refgen regulator bindings"). Change-Id: I83c37e3a1fb33bd552849f7cf20d602a901a40d2 --- bindings/regulator/qcom,refgen.txt | 40 ++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 bindings/regulator/qcom,refgen.txt diff --git a/bindings/regulator/qcom,refgen.txt b/bindings/regulator/qcom,refgen.txt new file mode 100644 index 00000000..4410d0da --- /dev/null +++ b/bindings/regulator/qcom,refgen.txt @@ -0,0 +1,40 @@ +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: + Definition: Must be one of: "qcom,refgen-regulator", + "qcom,refgen-sdm845-regulator", or + "qcom,refgen-kona-regulator". + +- reg + Usage: required + Value type: + Definition: Address and size of the REFGEN registers. + +- regulator-name + Usage: required + Value type: + Definition: Specifies the name for this REFGEN regulator. + +- regulator-enable-ramp-delay + Usage: optional + Value type: + Definition: REFGEN enable time in microseconds. + +- parent-supply + Usage: optional + Value type: + 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"; +};