Skip to content

Commit

Permalink
dt-bindings: power: rpmpd: Add SM4250 support
Browse files Browse the repository at this point in the history
Add compatible and constants for the power domains exposed by the
SM4250 RPM.

Cc: Bjorn Andersson <andersson@kernel.org>
Cc: Rajendra Nayak <rnayak@codeaurora.org>
Cc: Konrad Dybcio <konrad.dybcio@somainline.org>
Cc: Rob Herring <robh+dt@kernel.org>
Cc: Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>
Signed-off-by: Bhupesh Sharma <bhupesh.sharma@linaro.org>
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20221127112204.1486337-2-bhupesh.sharma@linaro.org
  • Loading branch information
Bhupesh Sharma authored and Bjorn Andersson committed Dec 5, 2022
1 parent 1f0067c commit 45ac44e
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions Documentation/devicetree/bindings/power/qcom,rpmpd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ properties:
- qcom,sdm845-rpmhpd
- qcom,sdx55-rpmhpd
- qcom,sdx65-rpmhpd
- qcom,sm4250-rpmpd
- qcom,sm6115-rpmpd
- qcom,sm6125-rpmpd
- qcom,sm6350-rpmhpd
Expand Down
10 changes: 10 additions & 0 deletions include/dt-bindings/power/qcom-rpmpd.h
Original file line number Diff line number Diff line change
Expand Up @@ -306,6 +306,16 @@
#define SDM660_SSCMX 8
#define SDM660_SSCMX_VFL 9

/* SM4250 Power Domains */
#define SM4250_VDDCX 0
#define SM4250_VDDCX_AO 1
#define SM4250_VDDCX_VFL 2
#define SM4250_VDDMX 3
#define SM4250_VDDMX_AO 4
#define SM4250_VDDMX_VFL 5
#define SM4250_VDD_LPI_CX 6
#define SM4250_VDD_LPI_MX 7

/* SM6115 Power Domains */
#define SM6115_VDDCX 0
#define SM6115_VDDCX_AO 1
Expand Down

0 comments on commit 45ac44e

Please sign in to comment.