Re: [PATCH 4/6] dt-bindings: power: Add rpmh power-domain bindings for sc7180

From: Bjorn Andersson
Date: Tue Nov 19 2019 - 21:32:28 EST


On Mon 18 Nov 09:40 PST 2019, Sibi Sankar wrote:

> Add RPMH power-domain bindings for the SC7180 family of SoCs.
>

Reviewed-by: Bjorn Andersson <bjorn.andersson@xxxxxxxxxx>

> Signed-off-by: Sibi Sankar <sibis@xxxxxxxxxxxxxx>
> ---
> Documentation/devicetree/bindings/power/qcom,rpmpd.txt | 1 +
> include/dt-bindings/power/qcom-rpmpd.h | 10 ++++++++++
> 2 files changed, 11 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/power/qcom,rpmpd.txt b/Documentation/devicetree/bindings/power/qcom,rpmpd.txt
> index f3bbaa4aef297..6346d00b1b400 100644
> --- a/Documentation/devicetree/bindings/power/qcom,rpmpd.txt
> +++ b/Documentation/devicetree/bindings/power/qcom,rpmpd.txt
> @@ -9,6 +9,7 @@ Required Properties:
> * qcom,msm8996-rpmpd: RPM Power domain for the msm8996 family of SoC
> * qcom,msm8998-rpmpd: RPM Power domain for the msm8998 family of SoC
> * qcom,qcs404-rpmpd: RPM Power domain for the qcs404 family of SoC
> + * qcom,sc7180-rpmhpd: RPMh Power domain for the sc7180 family of SoC
> * qcom,sdm845-rpmhpd: RPMh Power domain for the sdm845 family of SoC
> * qcom,sm8150-rpmhpd: RPMh Power domain for the sm8150 family of SoC
> - #power-domain-cells: number of cells in Power domain specifier
> diff --git a/include/dt-bindings/power/qcom-rpmpd.h b/include/dt-bindings/power/qcom-rpmpd.h
> index 7d43bafc0026b..3f74096d5a7ca 100644
> --- a/include/dt-bindings/power/qcom-rpmpd.h
> +++ b/include/dt-bindings/power/qcom-rpmpd.h
> @@ -28,6 +28,16 @@
> #define SM8150_MMCX 9
> #define SM8150_MMCX_AO 10
>
> +/* SC7180 Power Domain Indexes */
> +#define SC7180_CX 0
> +#define SC7180_CX_AO 1
> +#define SC7180_GFX 2
> +#define SC7180_MX 3
> +#define SC7180_MX_AO 4
> +#define SC7180_LMX 5
> +#define SC7180_LCX 6
> +#define SC7180_MSS 7
> +
> /* SDM845 Power Domain performance levels */
> #define RPMH_REGULATOR_LEVEL_RETENTION 16
> #define RPMH_REGULATOR_LEVEL_MIN_SVS 48
> --
> The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
> a Linux Foundation Collaborative Project
>