From 54d43ac4bb52f4907b0bd1b57e3e5dad40d65b67 Mon Sep 17 00:00:00 2001 From: Jishnu Prakash Date: Fri, 24 Jul 2020 21:27:08 +0530 Subject: [PATCH] dt-bindings: regulator: Add optional RPM-SMD regulator properties Add "qcom,min-dropout-voltage" to specify the min dropout voltage for RPM-SMD regulators, "qcom,supported-modes" to specify supported BOB regulator modes and "qcom,mode-threshold-currents" to specify minimum allowed currents for supported BOB modes. Change-Id: Ife7ce8d1e506b41fce8079b0424fbf71dc874d50 --- bindings/regulator/rpm-smd-regulator.txt | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/bindings/regulator/rpm-smd-regulator.txt b/bindings/regulator/rpm-smd-regulator.txt index a44b6a73499c..371d82586881 100644 --- a/bindings/regulator/rpm-smd-regulator.txt +++ b/bindings/regulator/rpm-smd-regulator.txt @@ -50,6 +50,22 @@ Optional properties: "pmic4-ldo" for PMIC4. "pmic5-ldo" for PMIC5. +- qcom,supported-modes + Usage: optional; BOB regulators only + Value type: + Definition: A list of integers specifying the PMIC regulator modes + supported by this regulator. Supported values are + RPMH_REGULATOR_MODE_* (i.e. 0 to 4). Elements must be + specified in order from lowest to highest. + +- qcom,mode-threshold-currents + Usage: required if qcom,supported-modes is specified + Value type: + Definition: A list of integers specifying minimum allowed current in + microamps for each of the modes listed in + qcom,supported-modes. The first element should always be 0. + Elements must be specified in order from lowest to highest. + [Second Level Nodes] Required properties: @@ -142,6 +158,11 @@ Optional properties: regulator to be enabled. Each element supports the same set of values as the qcom,init-pin-ctrl-enable property listed below. +- qcom,min-dropout-voltage: Specifies the minimum voltage level difference that the + parent supply regulator must output above the output of + this regulator. It is only meaningful if the property + -parent-supply has been specified in + the first level node. The following properties specify initial values for parameters to be sent to the RPM in regulator requests.