Linux-Devicetree Archive on lore.kernel.org
 help / color / Atom feed
* [PATCH 1/6] soc: qcom: rpmhpd: Set 'active_only' for active only power domains
       [not found] <20191118173944.27043-1-sibis@codeaurora.org>
@ 2019-11-18 17:40 ` Sibi Sankar
  2019-11-20  2:39   ` Bjorn Andersson
  2019-11-18 17:40 ` [PATCH 2/6] dt-bindings: power: Add rpmh power-domain bindings for SM8150 Sibi Sankar
                   ` (15 subsequent siblings)
  16 siblings, 1 reply; 31+ messages in thread
From: Sibi Sankar @ 2019-11-18 17:40 UTC (permalink / raw)
  To: bjorn.andersson, robh+dt, ulf.hansson, rnayak
  Cc: agross, linux-kernel, devicetree, linux-arm-msm, mark.rutland,
	swboyd, dianders

From: Douglas Anderson <dianders@chromium.org>

The 'active_only' attribute was accidentally never set to true for any
power domains meaning that all the code handling this attribute was
dead.

NOTE that the RPM power domain code (as opposed to the RPMh one) gets
this right.

Fixes: 279b7e8a62cc ("soc: qcom: rpmhpd: Add RPMh power domain driver")
Signed-off-by: Douglas Anderson <dianders@chromium.org>
Reviewed-by: Stephen Boyd <swboyd@chromium.org>
Acked-by: Rajendra Nayak <rnayak@codeaurora.org>
---
 drivers/soc/qcom/rpmhpd.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/soc/qcom/rpmhpd.c b/drivers/soc/qcom/rpmhpd.c
index 5741ec3fa814c..51850cc68b701 100644
--- a/drivers/soc/qcom/rpmhpd.c
+++ b/drivers/soc/qcom/rpmhpd.c
@@ -93,6 +93,7 @@ static struct rpmhpd sdm845_mx = {
 
 static struct rpmhpd sdm845_mx_ao = {
 	.pd = { .name = "mx_ao", },
+	.active_only = true,
 	.peer = &sdm845_mx,
 	.res_name = "mx.lvl",
 };
@@ -107,6 +108,7 @@ static struct rpmhpd sdm845_cx = {
 
 static struct rpmhpd sdm845_cx_ao = {
 	.pd = { .name = "cx_ao", },
+	.active_only = true,
 	.peer = &sdm845_cx,
 	.parent = &sdm845_mx_ao.pd,
 	.res_name = "cx.lvl",
-- 
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project


^ permalink raw reply	[flat|nested] 31+ messages in thread

* [PATCH 2/6] dt-bindings: power: Add rpmh power-domain bindings for SM8150
       [not found] <20191118173944.27043-1-sibis@codeaurora.org>
  2019-11-18 17:40 ` [PATCH 1/6] soc: qcom: rpmhpd: Set 'active_only' for active only power domains Sibi Sankar
@ 2019-11-18 17:40 ` Sibi Sankar
  2019-11-20  3:57   ` Rajendra Nayak
                     ` (2 more replies)
  2019-11-18 17:40 ` [PATCH 3/6] soc: qcom: rpmhpd: Add SM8150 RPMH power-domains Sibi Sankar
                   ` (14 subsequent siblings)
  16 siblings, 3 replies; 31+ messages in thread
From: Sibi Sankar @ 2019-11-18 17:40 UTC (permalink / raw)
  To: bjorn.andersson, robh+dt, ulf.hansson, rnayak
  Cc: agross, linux-kernel, devicetree, linux-arm-msm, mark.rutland,
	swboyd, dianders, Sibi Sankar

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

Signed-off-by: Sibi Sankar <sibis@codeaurora.org>
---
 .../devicetree/bindings/power/qcom,rpmpd.txt       |  1 +
 include/dt-bindings/power/qcom-rpmpd.h             | 14 ++++++++++++++
 2 files changed, 15 insertions(+)

diff --git a/Documentation/devicetree/bindings/power/qcom,rpmpd.txt b/Documentation/devicetree/bindings/power/qcom,rpmpd.txt
index bc75bf49cdaea..f3bbaa4aef297 100644
--- a/Documentation/devicetree/bindings/power/qcom,rpmpd.txt
+++ b/Documentation/devicetree/bindings/power/qcom,rpmpd.txt
@@ -10,6 +10,7 @@ Required Properties:
 	* 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,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
 	must be 1.
  - operating-points-v2: Phandle to the OPP table for the Power domain.
diff --git a/include/dt-bindings/power/qcom-rpmpd.h b/include/dt-bindings/power/qcom-rpmpd.h
index f05f8b1808ec9..7d43bafc0026b 100644
--- a/include/dt-bindings/power/qcom-rpmpd.h
+++ b/include/dt-bindings/power/qcom-rpmpd.h
@@ -15,12 +15,26 @@
 #define SDM845_GFX	7
 #define SDM845_MSS	8
 
+/* SM8150 Power Domain Indexes */
+#define SM8150_MSS	0
+#define SM8150_EBI	1
+#define SM8150_LMX	2
+#define SM8150_LCX	3
+#define SM8150_GFX	4
+#define SM8150_MX	5
+#define SM8150_MX_AO	6
+#define SM8150_CX	7
+#define SM8150_CX_AO	8
+#define SM8150_MMCX	9
+#define SM8150_MMCX_AO	10
+
 /* SDM845 Power Domain performance levels */
 #define RPMH_REGULATOR_LEVEL_RETENTION	16
 #define RPMH_REGULATOR_LEVEL_MIN_SVS	48
 #define RPMH_REGULATOR_LEVEL_LOW_SVS	64
 #define RPMH_REGULATOR_LEVEL_SVS	128
 #define RPMH_REGULATOR_LEVEL_SVS_L1	192
+#define RPMH_REGULATOR_LEVEL_SVS_L2	224
 #define RPMH_REGULATOR_LEVEL_NOM	256
 #define RPMH_REGULATOR_LEVEL_NOM_L1	320
 #define RPMH_REGULATOR_LEVEL_NOM_L2	336
-- 
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project


^ permalink raw reply	[flat|nested] 31+ messages in thread

* [PATCH 3/6] soc: qcom: rpmhpd: Add SM8150 RPMH power-domains
       [not found] <20191118173944.27043-1-sibis@codeaurora.org>
  2019-11-18 17:40 ` [PATCH 1/6] soc: qcom: rpmhpd: Set 'active_only' for active only power domains Sibi Sankar
  2019-11-18 17:40 ` [PATCH 2/6] dt-bindings: power: Add rpmh power-domain bindings for SM8150 Sibi Sankar
@ 2019-11-18 17:40 ` Sibi Sankar
  2019-11-20  2:31   ` Bjorn Andersson
                     ` (2 more replies)
  2019-11-18 17:40 ` [PATCH 4/6] dt-bindings: power: Add rpmh power-domain bindings for sc7180 Sibi Sankar
                   ` (13 subsequent siblings)
  16 siblings, 3 replies; 31+ messages in thread
From: Sibi Sankar @ 2019-11-18 17:40 UTC (permalink / raw)
  To: bjorn.andersson, robh+dt, ulf.hansson, rnayak
  Cc: agross, linux-kernel, devicetree, linux-arm-msm, mark.rutland,
	swboyd, dianders, Sibi Sankar

Add support for cx/mx/gfx/mss/ebi/mmcx power-domains found on
SM8150 SoCs.

Signed-off-by: Sibi Sankar <sibis@codeaurora.org>
---
 drivers/soc/qcom/rpmhpd.c | 36 ++++++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)

diff --git a/drivers/soc/qcom/rpmhpd.c b/drivers/soc/qcom/rpmhpd.c
index 51850cc68b701..3b109ee67a4d2 100644
--- a/drivers/soc/qcom/rpmhpd.c
+++ b/drivers/soc/qcom/rpmhpd.c
@@ -131,8 +131,44 @@ static const struct rpmhpd_desc sdm845_desc = {
 	.num_pds = ARRAY_SIZE(sdm845_rpmhpds),
 };
 
+/* SM8150 RPMH powerdomains */
+
+static struct rpmhpd sm8150_mmcx_ao;
+static struct rpmhpd sm8150_mmcx = {
+	.pd = { .name = "mmcx", },
+	.peer = &sm8150_mmcx_ao,
+	.res_name = "mmcx.lvl",
+};
+
+static struct rpmhpd sm8150_mmcx_ao = {
+	.pd = { .name = "mmcx_ao", },
+	.active_only = true,
+	.peer = &sm8150_mmcx,
+	.res_name = "mmcx.lvl",
+};
+
+static struct rpmhpd *sm8150_rpmhpds[] = {
+	[SM8150_MSS] = &sdm845_mss,
+	[SM8150_EBI] = &sdm845_ebi,
+	[SM8150_LMX] = &sdm845_lmx,
+	[SM8150_LCX] = &sdm845_lcx,
+	[SM8150_GFX] = &sdm845_gfx,
+	[SM8150_MX] = &sdm845_mx,
+	[SM8150_MX_AO] = &sdm845_mx_ao,
+	[SM8150_CX] = &sdm845_cx,
+	[SM8150_CX_AO] = &sdm845_cx_ao,
+	[SM8150_MMCX] = &sm8150_mmcx,
+	[SM8150_MMCX_AO] = &sm8150_mmcx_ao,
+};
+
+static const struct rpmhpd_desc sm8150_desc = {
+	.rpmhpds = sm8150_rpmhpds,
+	.num_pds = ARRAY_SIZE(sm8150_rpmhpds),
+};
+
 static const struct of_device_id rpmhpd_match_table[] = {
 	{ .compatible = "qcom,sdm845-rpmhpd", .data = &sdm845_desc },
+	{ .compatible = "qcom,sm8150-rpmhpd", .data = &sm8150_desc },
 	{ }
 };
 
-- 
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project


^ permalink raw reply	[flat|nested] 31+ messages in thread

* [PATCH 4/6] dt-bindings: power: Add rpmh power-domain bindings for sc7180
       [not found] <20191118173944.27043-1-sibis@codeaurora.org>
                   ` (2 preceding siblings ...)
  2019-11-18 17:40 ` [PATCH 3/6] soc: qcom: rpmhpd: Add SM8150 RPMH power-domains Sibi Sankar
@ 2019-11-18 17:40 ` Sibi Sankar
  2019-11-20  2:31   ` Bjorn Andersson
  2019-12-03 21:55   ` Rob Herring
  2019-11-18 17:40 ` [PATCH 5/6] soc: qcom: rpmhpd: Add SC7180 RPMH power-domains Sibi Sankar
                   ` (12 subsequent siblings)
  16 siblings, 2 replies; 31+ messages in thread
From: Sibi Sankar @ 2019-11-18 17:40 UTC (permalink / raw)
  To: bjorn.andersson, robh+dt, ulf.hansson, rnayak
  Cc: agross, linux-kernel, devicetree, linux-arm-msm, mark.rutland,
	swboyd, dianders, Sibi Sankar

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

Signed-off-by: Sibi Sankar <sibis@codeaurora.org>
---
 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


^ permalink raw reply	[flat|nested] 31+ messages in thread

* [PATCH 5/6] soc: qcom: rpmhpd: Add SC7180 RPMH power-domains
       [not found] <20191118173944.27043-1-sibis@codeaurora.org>
                   ` (3 preceding siblings ...)
  2019-11-18 17:40 ` [PATCH 4/6] dt-bindings: power: Add rpmh power-domain bindings for sc7180 Sibi Sankar
@ 2019-11-18 17:40 ` Sibi Sankar
  2019-11-18 17:40 ` [PATCH 6/6] arm64: dts: sm8150: Add rpmh power-domain node Sibi Sankar
                   ` (11 subsequent siblings)
  16 siblings, 0 replies; 31+ messages in thread
From: Sibi Sankar @ 2019-11-18 17:40 UTC (permalink / raw)
  To: bjorn.andersson, robh+dt, ulf.hansson, rnayak
  Cc: agross, linux-kernel, devicetree, linux-arm-msm, mark.rutland,
	swboyd, dianders, Sibi Sankar

Add support for cx/mx/gfx/lcx/lmx/mss power-domains found
on SC7180 SoCs.

Signed-off-by: Sibi Sankar <sibis@codeaurora.org>
---
 drivers/soc/qcom/rpmhpd.c | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/drivers/soc/qcom/rpmhpd.c b/drivers/soc/qcom/rpmhpd.c
index 3b109ee67a4d2..599208722650d 100644
--- a/drivers/soc/qcom/rpmhpd.c
+++ b/drivers/soc/qcom/rpmhpd.c
@@ -166,7 +166,26 @@ static const struct rpmhpd_desc sm8150_desc = {
 	.num_pds = ARRAY_SIZE(sm8150_rpmhpds),
 };
 
+/* SC7180 RPMH powerdomains */
+
+static struct rpmhpd *sc7180_rpmhpds[] = {
+	[SC7180_CX] = &sdm845_cx,
+	[SC7180_CX_AO] = &sdm845_cx_ao,
+	[SC7180_GFX] = &sdm845_gfx,
+	[SC7180_MX] = &sdm845_mx,
+	[SC7180_MX_AO] = &sdm845_mx_ao,
+	[SC7180_LMX] = &sdm845_lmx,
+	[SC7180_LCX] = &sdm845_lcx,
+	[SC7180_MSS] = &sdm845_mss,
+};
+
+static const struct rpmhpd_desc sc7180_desc = {
+	.rpmhpds = sc7180_rpmhpds,
+	.num_pds = ARRAY_SIZE(sc7180_rpmhpds),
+};
+
 static const struct of_device_id rpmhpd_match_table[] = {
+	{ .compatible = "qcom,sc7180-rpmhpd", .data = &sc7180_desc },
 	{ .compatible = "qcom,sdm845-rpmhpd", .data = &sdm845_desc },
 	{ .compatible = "qcom,sm8150-rpmhpd", .data = &sm8150_desc },
 	{ }
-- 
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project


^ permalink raw reply	[flat|nested] 31+ messages in thread

* [PATCH 6/6] arm64: dts: sm8150: Add rpmh power-domain node
       [not found] <20191118173944.27043-1-sibis@codeaurora.org>
                   ` (4 preceding siblings ...)
  2019-11-18 17:40 ` [PATCH 5/6] soc: qcom: rpmhpd: Add SC7180 RPMH power-domains Sibi Sankar
@ 2019-11-18 17:40 ` Sibi Sankar
  2019-12-12  7:39   ` Bjorn Andersson
       [not found] ` <0101016e7f99aa17-22b1062e-9922-40e4-ae7e-8b91210bb12c-000000@us-west-2.amazonses.com>
                   ` (10 subsequent siblings)
  16 siblings, 1 reply; 31+ messages in thread
From: Sibi Sankar @ 2019-11-18 17:40 UTC (permalink / raw)
  To: bjorn.andersson, robh+dt, ulf.hansson, rnayak
  Cc: agross, linux-kernel, devicetree, linux-arm-msm, mark.rutland,
	swboyd, dianders, Sibi Sankar

Add the DT node for the rpmhpd power controller.

Signed-off-by: Sibi Sankar <sibis@codeaurora.org>
---
 arch/arm64/boot/dts/qcom/sm8150.dtsi | 55 ++++++++++++++++++++++++++++
 1 file changed, 55 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/sm8150.dtsi b/arch/arm64/boot/dts/qcom/sm8150.dtsi
index 8f23fcadecb89..0ac257637c2af 100644
--- a/arch/arm64/boot/dts/qcom/sm8150.dtsi
+++ b/arch/arm64/boot/dts/qcom/sm8150.dtsi
@@ -5,6 +5,7 @@
  */
 
 #include <dt-bindings/interrupt-controller/arm-gic.h>
+#include <dt-bindings/power/qcom-rpmpd.h>
 #include <dt-bindings/soc/qcom,rpmh-rsc.h>
 #include <dt-bindings/clock/qcom,rpmh.h>
 
@@ -469,6 +470,60 @@
 				clock-names = "xo";
 				clocks = <&xo_board>;
 			};
+
+			rpmhpd: power-controller {
+				compatible = "qcom,sm8150-rpmhpd";
+				#power-domain-cells = <1>;
+				operating-points-v2 = <&rpmhpd_opp_table>;
+
+				rpmhpd_opp_table: opp-table {
+					compatible = "operating-points-v2";
+
+					rpmhpd_opp_ret: opp1 {
+						opp-level = <RPMH_REGULATOR_LEVEL_RETENTION>;
+					};
+
+					rpmhpd_opp_min_svs: opp2 {
+						opp-level = <RPMH_REGULATOR_LEVEL_MIN_SVS>;
+					};
+
+					rpmhpd_opp_low_svs: opp3 {
+						opp-level = <RPMH_REGULATOR_LEVEL_LOW_SVS>;
+					};
+
+					rpmhpd_opp_svs: opp4 {
+						opp-level = <RPMH_REGULATOR_LEVEL_SVS>;
+					};
+
+					rpmhpd_opp_svs_l1: opp5 {
+						opp-level = <RPMH_REGULATOR_LEVEL_SVS_L1>;
+					};
+
+					rpmhpd_opp_svs_l2: opp6 {
+						opp-level = <RPMH_REGULATOR_LEVEL_SVS_L2>;
+					};
+
+					rpmhpd_opp_nom: opp7 {
+						opp-level = <RPMH_REGULATOR_LEVEL_NOM>;
+					};
+
+					rpmhpd_opp_nom_l1: opp8 {
+						opp-level = <RPMH_REGULATOR_LEVEL_NOM_L1>;
+					};
+
+					rpmhpd_opp_nom_l2: opp9 {
+						opp-level = <RPMH_REGULATOR_LEVEL_NOM_L2>;
+					};
+
+					rpmhpd_opp_turbo: opp10 {
+						opp-level = <RPMH_REGULATOR_LEVEL_TURBO>;
+					};
+
+					rpmhpd_opp_turbo_l1: opp11 {
+						opp-level = <RPMH_REGULATOR_LEVEL_TURBO_L1>;
+					};
+				};
+			};
 		};
 	};
 
-- 
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project


^ permalink raw reply	[flat|nested] 31+ messages in thread

* Re: [PATCH 2/6] dt-bindings: power: Add rpmh power-domain bindings for SM8150
       [not found] ` <0101016e7f99aa17-22b1062e-9922-40e4-ae7e-8b91210bb12c-000000@us-west-2.amazonses.com>
@ 2019-11-19 18:50   ` Stephen Boyd
  2019-11-20 12:08     ` Sibi Sankar
  0 siblings, 1 reply; 31+ messages in thread
From: Stephen Boyd @ 2019-11-19 18:50 UTC (permalink / raw)
  To: Sibi Sankar, bjorn.andersson, rnayak, robh+dt, ulf.hansson
  Cc: agross, linux-kernel, devicetree, linux-arm-msm, mark.rutland,
	dianders, Sibi Sankar

Quoting Sibi Sankar (2019-11-18 09:40:07)
> Add RPMH power-domain bindings for the SM8150 family of SoCs.
> 
> Signed-off-by: Sibi Sankar <sibis@codeaurora.org>
> ---

Reviewed-by: Stephen Boyd <swboyd@chromium.org>

>  .../devicetree/bindings/power/qcom,rpmpd.txt       |  1 +
>  include/dt-bindings/power/qcom-rpmpd.h             | 14 ++++++++++++++
>  2 files changed, 15 insertions(+)
> 
> diff --git a/Documentation/devicetree/bindings/power/qcom,rpmpd.txt b/Documentation/devicetree/bindings/power/qcom,rpmpd.txt
> index bc75bf49cdaea..f3bbaa4aef297 100644
> --- a/Documentation/devicetree/bindings/power/qcom,rpmpd.txt
> +++ b/Documentation/devicetree/bindings/power/qcom,rpmpd.txt
> @@ -10,6 +10,7 @@ Required Properties:
>         * 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,sdm845-rpmhpd: RPMh Power domain for the sdm845 family of SoC
> +       * qcom,sm8150-rpmhpd: RPMh Power domain for the sm8150 family of SoC

Can you convert this binding to YAML? Would help us validate DTS files
in the future.

>   - #power-domain-cells: number of cells in Power domain specifier
>         must be 1.
>   - operating-points-v2: Phandle to the OPP table for the Power domain.

^ permalink raw reply	[flat|nested] 31+ messages in thread

* Re: [PATCH 3/6] soc: qcom: rpmhpd: Add SM8150 RPMH power-domains
       [not found] ` <0101016e7f99b9a0-6c4e46e3-ff77-4cc1-95f6-9561975eedc4-000000@us-west-2.amazonses.com>
@ 2019-11-19 18:51   ` Stephen Boyd
  0 siblings, 0 replies; 31+ messages in thread
From: Stephen Boyd @ 2019-11-19 18:51 UTC (permalink / raw)
  To: Sibi Sankar, bjorn.andersson, rnayak, robh+dt, ulf.hansson
  Cc: agross, linux-kernel, devicetree, linux-arm-msm, mark.rutland,
	dianders, Sibi Sankar

Quoting Sibi Sankar (2019-11-18 09:40:11)
> Add support for cx/mx/gfx/mss/ebi/mmcx power-domains found on
> SM8150 SoCs.
> 
> Signed-off-by: Sibi Sankar <sibis@codeaurora.org>
> ---

Reviewed-by: Stephen Boyd <swboyd@chromium.org>


^ permalink raw reply	[flat|nested] 31+ messages in thread

* Re: [PATCH 4/6] dt-bindings: power: Add rpmh power-domain bindings for sc7180
       [not found] ` <0101016e7f99ca93-ab6c1c1c-e20d-48ca-ab03-b8da0890fca8-000000@us-west-2.amazonses.com>
@ 2019-11-19 18:51   ` Stephen Boyd
  0 siblings, 0 replies; 31+ messages in thread
From: Stephen Boyd @ 2019-11-19 18:51 UTC (permalink / raw)
  To: Sibi Sankar, bjorn.andersson, rnayak, robh+dt, ulf.hansson
  Cc: agross, linux-kernel, devicetree, linux-arm-msm, mark.rutland,
	dianders, Sibi Sankar

Quoting Sibi Sankar (2019-11-18 09:40:15)
> Add RPMH power-domain bindings for the SC7180 family of SoCs.
> 
> Signed-off-by: Sibi Sankar <sibis@codeaurora.org>
> ---

Reviewed-by: Stephen Boyd <swboyd@chromium.org>


^ permalink raw reply	[flat|nested] 31+ messages in thread

* Re: [PATCH 5/6] soc: qcom: rpmhpd: Add SC7180 RPMH power-domains
       [not found] ` <0101016e7f99df8a-05504a3e-9962-4255-94e0-706e8186cd0a-000000@us-west-2.amazonses.com>
@ 2019-11-19 18:52   ` Stephen Boyd
  2019-11-20 12:09     ` Sibi Sankar
  0 siblings, 1 reply; 31+ messages in thread
From: Stephen Boyd @ 2019-11-19 18:52 UTC (permalink / raw)
  To: Sibi Sankar, bjorn.andersson, rnayak, robh+dt, ulf.hansson
  Cc: agross, linux-kernel, devicetree, linux-arm-msm, mark.rutland,
	dianders, Sibi Sankar

Quoting Sibi Sankar (2019-11-18 09:40:21)
> Add support for cx/mx/gfx/lcx/lmx/mss power-domains found
> on SC7180 SoCs.
> 
> Signed-off-by: Sibi Sankar <sibis@codeaurora.org>
> ---

Reviewed-by: Stephen Boyd <swboyd@chromium.org>

>  drivers/soc/qcom/rpmhpd.c | 19 +++++++++++++++++++
>  1 file changed, 19 insertions(+)
> 
> diff --git a/drivers/soc/qcom/rpmhpd.c b/drivers/soc/qcom/rpmhpd.c
> index 3b109ee67a4d2..599208722650d 100644
> --- a/drivers/soc/qcom/rpmhpd.c
> +++ b/drivers/soc/qcom/rpmhpd.c
> @@ -166,7 +166,26 @@ static const struct rpmhpd_desc sm8150_desc = {
>         .num_pds = ARRAY_SIZE(sm8150_rpmhpds),
>  };
>  
> +/* SC7180 RPMH powerdomains */
> +

Nitpick: Remove the extra newline

> +static struct rpmhpd *sc7180_rpmhpds[] = {
> +       [SC7180_CX] = &sdm845_cx,
> +       [SC7180_CX_AO] = &sdm845_cx_ao,
> +       [SC7180_GFX] = &sdm845_gfx,
> +       [SC7180_MX] = &sdm845_mx,
> +       [SC7180_MX_AO] = &sdm845_mx_ao,
> +       [SC7180_LMX] = &sdm845_lmx,
> +       [SC7180_LCX] = &sdm845_lcx,
> +       [SC7180_MSS] = &sdm845_mss,
> +};

^ permalink raw reply	[flat|nested] 31+ messages in thread

* Re: [PATCH 6/6] arm64: dts: sm8150: Add rpmh power-domain node
       [not found] ` <0101016e7f99eaca-e623ce91-3e2a-40ae-bf2d-647a786aa7d7-000000@us-west-2.amazonses.com>
@ 2019-11-19 18:52   ` Stephen Boyd
  0 siblings, 0 replies; 31+ messages in thread
From: Stephen Boyd @ 2019-11-19 18:52 UTC (permalink / raw)
  To: Sibi Sankar, bjorn.andersson, rnayak, robh+dt, ulf.hansson
  Cc: agross, linux-kernel, devicetree, linux-arm-msm, mark.rutland,
	dianders, Sibi Sankar

Quoting Sibi Sankar (2019-11-18 09:40:23)
> Add the DT node for the rpmhpd power controller.
> 
> Signed-off-by: Sibi Sankar <sibis@codeaurora.org>
> ---

Reviewed-by: Stephen Boyd <swboyd@chromium.org>


^ permalink raw reply	[flat|nested] 31+ messages in thread

* Re: [PATCH 2/6] dt-bindings: power: Add rpmh power-domain bindings for SM8150
       [not found] ` <0101016e7f99ad2b-2bce2fac-2f02-4b3f-ac64-09942f7251ea-000000@us-west-2.amazonses.com>
@ 2019-11-20  2:29   ` Bjorn Andersson
  0 siblings, 0 replies; 31+ messages in thread
From: Bjorn Andersson @ 2019-11-20  2:29 UTC (permalink / raw)
  To: Sibi Sankar
  Cc: robh+dt, ulf.hansson, rnayak, agross, linux-kernel, devicetree,
	linux-arm-msm, mark.rutland, swboyd, dianders

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

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

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

> Signed-off-by: Sibi Sankar <sibis@codeaurora.org>
> ---
>  .../devicetree/bindings/power/qcom,rpmpd.txt       |  1 +
>  include/dt-bindings/power/qcom-rpmpd.h             | 14 ++++++++++++++
>  2 files changed, 15 insertions(+)
> 
> diff --git a/Documentation/devicetree/bindings/power/qcom,rpmpd.txt b/Documentation/devicetree/bindings/power/qcom,rpmpd.txt
> index bc75bf49cdaea..f3bbaa4aef297 100644
> --- a/Documentation/devicetree/bindings/power/qcom,rpmpd.txt
> +++ b/Documentation/devicetree/bindings/power/qcom,rpmpd.txt
> @@ -10,6 +10,7 @@ Required Properties:
>  	* 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,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
>  	must be 1.
>   - operating-points-v2: Phandle to the OPP table for the Power domain.
> diff --git a/include/dt-bindings/power/qcom-rpmpd.h b/include/dt-bindings/power/qcom-rpmpd.h
> index f05f8b1808ec9..7d43bafc0026b 100644
> --- a/include/dt-bindings/power/qcom-rpmpd.h
> +++ b/include/dt-bindings/power/qcom-rpmpd.h
> @@ -15,12 +15,26 @@
>  #define SDM845_GFX	7
>  #define SDM845_MSS	8
>  
> +/* SM8150 Power Domain Indexes */
> +#define SM8150_MSS	0
> +#define SM8150_EBI	1
> +#define SM8150_LMX	2
> +#define SM8150_LCX	3
> +#define SM8150_GFX	4
> +#define SM8150_MX	5
> +#define SM8150_MX_AO	6
> +#define SM8150_CX	7
> +#define SM8150_CX_AO	8
> +#define SM8150_MMCX	9
> +#define SM8150_MMCX_AO	10
> +
>  /* SDM845 Power Domain performance levels */
>  #define RPMH_REGULATOR_LEVEL_RETENTION	16
>  #define RPMH_REGULATOR_LEVEL_MIN_SVS	48
>  #define RPMH_REGULATOR_LEVEL_LOW_SVS	64
>  #define RPMH_REGULATOR_LEVEL_SVS	128
>  #define RPMH_REGULATOR_LEVEL_SVS_L1	192
> +#define RPMH_REGULATOR_LEVEL_SVS_L2	224
>  #define RPMH_REGULATOR_LEVEL_NOM	256
>  #define RPMH_REGULATOR_LEVEL_NOM_L1	320
>  #define RPMH_REGULATOR_LEVEL_NOM_L2	336
> -- 
> The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
> a Linux Foundation Collaborative Project
> 

^ permalink raw reply	[flat|nested] 31+ messages in thread

* Re: [PATCH 3/6] soc: qcom: rpmhpd: Add SM8150 RPMH power-domains
  2019-11-18 17:40 ` [PATCH 3/6] soc: qcom: rpmhpd: Add SM8150 RPMH power-domains Sibi Sankar
@ 2019-11-20  2:31   ` Bjorn Andersson
  2019-11-20  4:02   ` Rajendra Nayak
       [not found]   ` <896c7edd-c511-3cdf-7281-01c894facc3b@codeaurora.org>
  2 siblings, 0 replies; 31+ messages in thread
From: Bjorn Andersson @ 2019-11-20  2:31 UTC (permalink / raw)
  To: Sibi Sankar
  Cc: robh+dt, ulf.hansson, rnayak, agross, linux-kernel, devicetree,
	linux-arm-msm, mark.rutland, swboyd, dianders

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

> Add support for cx/mx/gfx/mss/ebi/mmcx power-domains found on
> SM8150 SoCs.
> 

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

> Signed-off-by: Sibi Sankar <sibis@codeaurora.org>
> ---
>  drivers/soc/qcom/rpmhpd.c | 36 ++++++++++++++++++++++++++++++++++++
>  1 file changed, 36 insertions(+)
> 
> diff --git a/drivers/soc/qcom/rpmhpd.c b/drivers/soc/qcom/rpmhpd.c
> index 51850cc68b701..3b109ee67a4d2 100644
> --- a/drivers/soc/qcom/rpmhpd.c
> +++ b/drivers/soc/qcom/rpmhpd.c
> @@ -131,8 +131,44 @@ static const struct rpmhpd_desc sdm845_desc = {
>  	.num_pds = ARRAY_SIZE(sdm845_rpmhpds),
>  };
>  
> +/* SM8150 RPMH powerdomains */
> +
> +static struct rpmhpd sm8150_mmcx_ao;
> +static struct rpmhpd sm8150_mmcx = {
> +	.pd = { .name = "mmcx", },
> +	.peer = &sm8150_mmcx_ao,
> +	.res_name = "mmcx.lvl",
> +};
> +
> +static struct rpmhpd sm8150_mmcx_ao = {
> +	.pd = { .name = "mmcx_ao", },
> +	.active_only = true,
> +	.peer = &sm8150_mmcx,
> +	.res_name = "mmcx.lvl",
> +};
> +
> +static struct rpmhpd *sm8150_rpmhpds[] = {
> +	[SM8150_MSS] = &sdm845_mss,
> +	[SM8150_EBI] = &sdm845_ebi,
> +	[SM8150_LMX] = &sdm845_lmx,
> +	[SM8150_LCX] = &sdm845_lcx,
> +	[SM8150_GFX] = &sdm845_gfx,
> +	[SM8150_MX] = &sdm845_mx,
> +	[SM8150_MX_AO] = &sdm845_mx_ao,
> +	[SM8150_CX] = &sdm845_cx,
> +	[SM8150_CX_AO] = &sdm845_cx_ao,
> +	[SM8150_MMCX] = &sm8150_mmcx,
> +	[SM8150_MMCX_AO] = &sm8150_mmcx_ao,
> +};
> +
> +static const struct rpmhpd_desc sm8150_desc = {
> +	.rpmhpds = sm8150_rpmhpds,
> +	.num_pds = ARRAY_SIZE(sm8150_rpmhpds),
> +};
> +
>  static const struct of_device_id rpmhpd_match_table[] = {
>  	{ .compatible = "qcom,sdm845-rpmhpd", .data = &sdm845_desc },
> +	{ .compatible = "qcom,sm8150-rpmhpd", .data = &sm8150_desc },
>  	{ }
>  };
>  
> -- 
> The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
> a Linux Foundation Collaborative Project
> 

^ permalink raw reply	[flat|nested] 31+ messages in thread

* Re: [PATCH 4/6] dt-bindings: power: Add rpmh power-domain bindings for sc7180
  2019-11-18 17:40 ` [PATCH 4/6] dt-bindings: power: Add rpmh power-domain bindings for sc7180 Sibi Sankar
@ 2019-11-20  2:31   ` Bjorn Andersson
  2019-12-03 21:55   ` Rob Herring
  1 sibling, 0 replies; 31+ messages in thread
From: Bjorn Andersson @ 2019-11-20  2:31 UTC (permalink / raw)
  To: Sibi Sankar
  Cc: robh+dt, ulf.hansson, rnayak, agross, linux-kernel, devicetree,
	linux-arm-msm, mark.rutland, swboyd, dianders

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@linaro.org>

> Signed-off-by: Sibi Sankar <sibis@codeaurora.org>
> ---
>  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
> 

^ permalink raw reply	[flat|nested] 31+ messages in thread

* Re: [PATCH 5/6] soc: qcom: rpmhpd: Add SC7180 RPMH power-domains
       [not found] ` <0101016e7f99dc94-4513a473-16b3-418a-86cf-a89322016215-000000@us-west-2.amazonses.com>
@ 2019-11-20  2:33   ` Bjorn Andersson
  0 siblings, 0 replies; 31+ messages in thread
From: Bjorn Andersson @ 2019-11-20  2:33 UTC (permalink / raw)
  To: Sibi Sankar
  Cc: robh+dt, ulf.hansson, rnayak, agross, linux-kernel, devicetree,
	linux-arm-msm, mark.rutland, swboyd, dianders

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

> Add support for cx/mx/gfx/lcx/lmx/mss power-domains found
> on SC7180 SoCs.
> 

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

> Signed-off-by: Sibi Sankar <sibis@codeaurora.org>
> ---
>  drivers/soc/qcom/rpmhpd.c | 19 +++++++++++++++++++
>  1 file changed, 19 insertions(+)
> 
> diff --git a/drivers/soc/qcom/rpmhpd.c b/drivers/soc/qcom/rpmhpd.c
> index 3b109ee67a4d2..599208722650d 100644
> --- a/drivers/soc/qcom/rpmhpd.c
> +++ b/drivers/soc/qcom/rpmhpd.c
> @@ -166,7 +166,26 @@ static const struct rpmhpd_desc sm8150_desc = {
>  	.num_pds = ARRAY_SIZE(sm8150_rpmhpds),
>  };
>  
> +/* SC7180 RPMH powerdomains */
> +
> +static struct rpmhpd *sc7180_rpmhpds[] = {
> +	[SC7180_CX] = &sdm845_cx,
> +	[SC7180_CX_AO] = &sdm845_cx_ao,
> +	[SC7180_GFX] = &sdm845_gfx,
> +	[SC7180_MX] = &sdm845_mx,
> +	[SC7180_MX_AO] = &sdm845_mx_ao,
> +	[SC7180_LMX] = &sdm845_lmx,
> +	[SC7180_LCX] = &sdm845_lcx,
> +	[SC7180_MSS] = &sdm845_mss,
> +};
> +
> +static const struct rpmhpd_desc sc7180_desc = {
> +	.rpmhpds = sc7180_rpmhpds,
> +	.num_pds = ARRAY_SIZE(sc7180_rpmhpds),
> +};
> +
>  static const struct of_device_id rpmhpd_match_table[] = {
> +	{ .compatible = "qcom,sc7180-rpmhpd", .data = &sc7180_desc },
>  	{ .compatible = "qcom,sdm845-rpmhpd", .data = &sdm845_desc },
>  	{ .compatible = "qcom,sm8150-rpmhpd", .data = &sm8150_desc },
>  	{ }
> -- 
> The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
> a Linux Foundation Collaborative Project
> 

^ permalink raw reply	[flat|nested] 31+ messages in thread

* Re: [PATCH 6/6] arm64: dts: sm8150: Add rpmh power-domain node
       [not found] ` <0101016e7f99efe5-cee866e3-7031-4ecf-a8a6-4b247e9e69ff-000000@us-west-2.amazonses.com>
@ 2019-11-20  2:35   ` Bjorn Andersson
  0 siblings, 0 replies; 31+ messages in thread
From: Bjorn Andersson @ 2019-11-20  2:35 UTC (permalink / raw)
  To: Sibi Sankar
  Cc: robh+dt, ulf.hansson, rnayak, agross, linux-kernel, devicetree,
	linux-arm-msm, mark.rutland, swboyd, dianders

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

> Add the DT node for the rpmhpd power controller.
> 

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

> Signed-off-by: Sibi Sankar <sibis@codeaurora.org>
> ---
>  arch/arm64/boot/dts/qcom/sm8150.dtsi | 55 ++++++++++++++++++++++++++++
>  1 file changed, 55 insertions(+)
> 
> diff --git a/arch/arm64/boot/dts/qcom/sm8150.dtsi b/arch/arm64/boot/dts/qcom/sm8150.dtsi
> index 8f23fcadecb89..0ac257637c2af 100644
> --- a/arch/arm64/boot/dts/qcom/sm8150.dtsi
> +++ b/arch/arm64/boot/dts/qcom/sm8150.dtsi
> @@ -5,6 +5,7 @@
>   */
>  
>  #include <dt-bindings/interrupt-controller/arm-gic.h>
> +#include <dt-bindings/power/qcom-rpmpd.h>
>  #include <dt-bindings/soc/qcom,rpmh-rsc.h>
>  #include <dt-bindings/clock/qcom,rpmh.h>
>  
> @@ -469,6 +470,60 @@
>  				clock-names = "xo";
>  				clocks = <&xo_board>;
>  			};
> +
> +			rpmhpd: power-controller {
> +				compatible = "qcom,sm8150-rpmhpd";
> +				#power-domain-cells = <1>;
> +				operating-points-v2 = <&rpmhpd_opp_table>;
> +
> +				rpmhpd_opp_table: opp-table {
> +					compatible = "operating-points-v2";
> +
> +					rpmhpd_opp_ret: opp1 {
> +						opp-level = <RPMH_REGULATOR_LEVEL_RETENTION>;
> +					};
> +
> +					rpmhpd_opp_min_svs: opp2 {
> +						opp-level = <RPMH_REGULATOR_LEVEL_MIN_SVS>;
> +					};
> +
> +					rpmhpd_opp_low_svs: opp3 {
> +						opp-level = <RPMH_REGULATOR_LEVEL_LOW_SVS>;
> +					};
> +
> +					rpmhpd_opp_svs: opp4 {
> +						opp-level = <RPMH_REGULATOR_LEVEL_SVS>;
> +					};
> +
> +					rpmhpd_opp_svs_l1: opp5 {
> +						opp-level = <RPMH_REGULATOR_LEVEL_SVS_L1>;
> +					};
> +
> +					rpmhpd_opp_svs_l2: opp6 {
> +						opp-level = <RPMH_REGULATOR_LEVEL_SVS_L2>;
> +					};
> +
> +					rpmhpd_opp_nom: opp7 {
> +						opp-level = <RPMH_REGULATOR_LEVEL_NOM>;
> +					};
> +
> +					rpmhpd_opp_nom_l1: opp8 {
> +						opp-level = <RPMH_REGULATOR_LEVEL_NOM_L1>;
> +					};
> +
> +					rpmhpd_opp_nom_l2: opp9 {
> +						opp-level = <RPMH_REGULATOR_LEVEL_NOM_L2>;
> +					};
> +
> +					rpmhpd_opp_turbo: opp10 {
> +						opp-level = <RPMH_REGULATOR_LEVEL_TURBO>;
> +					};
> +
> +					rpmhpd_opp_turbo_l1: opp11 {
> +						opp-level = <RPMH_REGULATOR_LEVEL_TURBO_L1>;
> +					};
> +				};
> +			};
>  		};
>  	};
>  
> -- 
> The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
> a Linux Foundation Collaborative Project
> 

^ permalink raw reply	[flat|nested] 31+ messages in thread

* Re: [PATCH 1/6] soc: qcom: rpmhpd: Set 'active_only' for active only power domains
  2019-11-18 17:40 ` [PATCH 1/6] soc: qcom: rpmhpd: Set 'active_only' for active only power domains Sibi Sankar
@ 2019-11-20  2:39   ` Bjorn Andersson
  2019-11-20 12:14     ` Sibi Sankar
  0 siblings, 1 reply; 31+ messages in thread
From: Bjorn Andersson @ 2019-11-20  2:39 UTC (permalink / raw)
  To: Sibi Sankar
  Cc: robh+dt, ulf.hansson, rnayak, agross, linux-kernel, devicetree,
	linux-arm-msm, mark.rutland, swboyd, dianders

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

> From: Douglas Anderson <dianders@chromium.org>
> 
> The 'active_only' attribute was accidentally never set to true for any
> power domains meaning that all the code handling this attribute was
> dead.
> 
> NOTE that the RPM power domain code (as opposed to the RPMh one) gets
> this right.
> 
> Fixes: 279b7e8a62cc ("soc: qcom: rpmhpd: Add RPMh power domain driver")
> Signed-off-by: Douglas Anderson <dianders@chromium.org>
> Reviewed-by: Stephen Boyd <swboyd@chromium.org>
> Acked-by: Rajendra Nayak <rnayak@codeaurora.org>

You should have added your S-o-b here to certify its origin.
But I picked up this patch earlier today.

Thanks,
Bjorn

> ---
>  drivers/soc/qcom/rpmhpd.c | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/drivers/soc/qcom/rpmhpd.c b/drivers/soc/qcom/rpmhpd.c
> index 5741ec3fa814c..51850cc68b701 100644
> --- a/drivers/soc/qcom/rpmhpd.c
> +++ b/drivers/soc/qcom/rpmhpd.c
> @@ -93,6 +93,7 @@ static struct rpmhpd sdm845_mx = {
>  
>  static struct rpmhpd sdm845_mx_ao = {
>  	.pd = { .name = "mx_ao", },
> +	.active_only = true,
>  	.peer = &sdm845_mx,
>  	.res_name = "mx.lvl",
>  };
> @@ -107,6 +108,7 @@ static struct rpmhpd sdm845_cx = {
>  
>  static struct rpmhpd sdm845_cx_ao = {
>  	.pd = { .name = "cx_ao", },
> +	.active_only = true,
>  	.peer = &sdm845_cx,
>  	.parent = &sdm845_mx_ao.pd,
>  	.res_name = "cx.lvl",
> -- 
> The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
> a Linux Foundation Collaborative Project
> 

^ permalink raw reply	[flat|nested] 31+ messages in thread

* Re: [PATCH 2/6] dt-bindings: power: Add rpmh power-domain bindings for SM8150
  2019-11-18 17:40 ` [PATCH 2/6] dt-bindings: power: Add rpmh power-domain bindings for SM8150 Sibi Sankar
@ 2019-11-20  3:57   ` Rajendra Nayak
       [not found]   ` <9eb5e99f-836b-01a6-8b5c-d1fffd1a482b@codeaurora.org>
  2019-12-03 21:54   ` Rob Herring
  2 siblings, 0 replies; 31+ messages in thread
From: Rajendra Nayak @ 2019-11-20  3:57 UTC (permalink / raw)
  To: Sibi Sankar, bjorn.andersson, robh+dt, ulf.hansson
  Cc: agross, linux-kernel, devicetree, linux-arm-msm, mark.rutland,
	swboyd, dianders


On 11/18/2019 11:10 PM, Sibi Sankar wrote:
> Add RPMH power-domain bindings for the SM8150 family of SoCs.
> 
> Signed-off-by: Sibi Sankar <sibis@codeaurora.org>
> ---
>   .../devicetree/bindings/power/qcom,rpmpd.txt       |  1 +
>   include/dt-bindings/power/qcom-rpmpd.h             | 14 ++++++++++++++
>   2 files changed, 15 insertions(+)
> 
> diff --git a/Documentation/devicetree/bindings/power/qcom,rpmpd.txt b/Documentation/devicetree/bindings/power/qcom,rpmpd.txt
> index bc75bf49cdaea..f3bbaa4aef297 100644
> --- a/Documentation/devicetree/bindings/power/qcom,rpmpd.txt
> +++ b/Documentation/devicetree/bindings/power/qcom,rpmpd.txt
> @@ -10,6 +10,7 @@ Required Properties:
>   	* 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,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
>   	must be 1.
>    - operating-points-v2: Phandle to the OPP table for the Power domain.
> diff --git a/include/dt-bindings/power/qcom-rpmpd.h b/include/dt-bindings/power/qcom-rpmpd.h
> index f05f8b1808ec9..7d43bafc0026b 100644
> --- a/include/dt-bindings/power/qcom-rpmpd.h
> +++ b/include/dt-bindings/power/qcom-rpmpd.h
> @@ -15,12 +15,26 @@
>   #define SDM845_GFX	7
>   #define SDM845_MSS	8
>   
> +/* SM8150 Power Domain Indexes */
> +#define SM8150_MSS	0
> +#define SM8150_EBI	1
> +#define SM8150_LMX	2
> +#define SM8150_LCX	3
> +#define SM8150_GFX	4
> +#define SM8150_MX	5
> +#define SM8150_MX_AO	6
> +#define SM8150_CX	7
> +#define SM8150_CX_AO	8
> +#define SM8150_MMCX	9
> +#define SM8150_MMCX_AO	10
> +
>   /* SDM845 Power Domain performance levels */

You could perhaps remove this comment, or remove the
SDM845 from it.

Reviewed-by: Rajendra Nayak <rnayak@codeaurora.org>

>   #define RPMH_REGULATOR_LEVEL_RETENTION	16
>   #define RPMH_REGULATOR_LEVEL_MIN_SVS	48
>   #define RPMH_REGULATOR_LEVEL_LOW_SVS	64
>   #define RPMH_REGULATOR_LEVEL_SVS	128
>   #define RPMH_REGULATOR_LEVEL_SVS_L1	192
> +#define RPMH_REGULATOR_LEVEL_SVS_L2	224
>   #define RPMH_REGULATOR_LEVEL_NOM	256
>   #define RPMH_REGULATOR_LEVEL_NOM_L1	320
>   #define RPMH_REGULATOR_LEVEL_NOM_L2	336
> 

-- 
QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member
of Code Aurora Forum, hosted by The Linux Foundation

^ permalink raw reply	[flat|nested] 31+ messages in thread

* Re: [PATCH 3/6] soc: qcom: rpmhpd: Add SM8150 RPMH power-domains
  2019-11-18 17:40 ` [PATCH 3/6] soc: qcom: rpmhpd: Add SM8150 RPMH power-domains Sibi Sankar
  2019-11-20  2:31   ` Bjorn Andersson
@ 2019-11-20  4:02   ` Rajendra Nayak
       [not found]   ` <896c7edd-c511-3cdf-7281-01c894facc3b@codeaurora.org>
  2 siblings, 0 replies; 31+ messages in thread
From: Rajendra Nayak @ 2019-11-20  4:02 UTC (permalink / raw)
  To: Sibi Sankar, bjorn.andersson, robh+dt, ulf.hansson
  Cc: agross, linux-kernel, devicetree, linux-arm-msm, mark.rutland,
	swboyd, dianders



On 11/18/2019 11:10 PM, Sibi Sankar wrote:
> Add support for cx/mx/gfx/mss/ebi/mmcx power-domains found on
> SM8150 SoCs.

lmx/lcx also?

> 
> Signed-off-by: Sibi Sankar <sibis@codeaurora.org>
> ---

Reviewed-by: Rajendra Nayak <rnayak@codeaurora.org>

>   drivers/soc/qcom/rpmhpd.c | 36 ++++++++++++++++++++++++++++++++++++
>   1 file changed, 36 insertions(+)
> 
> diff --git a/drivers/soc/qcom/rpmhpd.c b/drivers/soc/qcom/rpmhpd.c
> index 51850cc68b701..3b109ee67a4d2 100644
> --- a/drivers/soc/qcom/rpmhpd.c
> +++ b/drivers/soc/qcom/rpmhpd.c
> @@ -131,8 +131,44 @@ static const struct rpmhpd_desc sdm845_desc = {
>   	.num_pds = ARRAY_SIZE(sdm845_rpmhpds),
>   };
>   
> +/* SM8150 RPMH powerdomains */
> +
> +static struct rpmhpd sm8150_mmcx_ao;
> +static struct rpmhpd sm8150_mmcx = {
> +	.pd = { .name = "mmcx", },
> +	.peer = &sm8150_mmcx_ao,
> +	.res_name = "mmcx.lvl",
> +};
> +
> +static struct rpmhpd sm8150_mmcx_ao = {
> +	.pd = { .name = "mmcx_ao", },
> +	.active_only = true,
> +	.peer = &sm8150_mmcx,
> +	.res_name = "mmcx.lvl",
> +};
> +
> +static struct rpmhpd *sm8150_rpmhpds[] = {
> +	[SM8150_MSS] = &sdm845_mss,
> +	[SM8150_EBI] = &sdm845_ebi,
> +	[SM8150_LMX] = &sdm845_lmx,
> +	[SM8150_LCX] = &sdm845_lcx,
> +	[SM8150_GFX] = &sdm845_gfx,
> +	[SM8150_MX] = &sdm845_mx,
> +	[SM8150_MX_AO] = &sdm845_mx_ao,
> +	[SM8150_CX] = &sdm845_cx,
> +	[SM8150_CX_AO] = &sdm845_cx_ao,
> +	[SM8150_MMCX] = &sm8150_mmcx,
> +	[SM8150_MMCX_AO] = &sm8150_mmcx_ao,
> +};
> +
> +static const struct rpmhpd_desc sm8150_desc = {
> +	.rpmhpds = sm8150_rpmhpds,
> +	.num_pds = ARRAY_SIZE(sm8150_rpmhpds),
> +};
> +
>   static const struct of_device_id rpmhpd_match_table[] = {
>   	{ .compatible = "qcom,sdm845-rpmhpd", .data = &sdm845_desc },
> +	{ .compatible = "qcom,sm8150-rpmhpd", .data = &sm8150_desc },
>   	{ }
>   };
>   
> 

-- 
QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member
of Code Aurora Forum, hosted by The Linux Foundation

^ permalink raw reply	[flat|nested] 31+ messages in thread

* Re: [PATCH 4/6] dt-bindings: power: Add rpmh power-domain bindings for sc7180
       [not found] ` <20191118173944.27043-5-sibis@codeaurora.org>
@ 2019-11-20  4:10   ` Rajendra Nayak
  0 siblings, 0 replies; 31+ messages in thread
From: Rajendra Nayak @ 2019-11-20  4:10 UTC (permalink / raw)
  To: Sibi Sankar, bjorn.andersson, robh+dt, ulf.hansson
  Cc: agross, linux-kernel, devicetree, linux-arm-msm, mark.rutland,
	swboyd, dianders



On 11/18/2019 11:09 PM, Sibi Sankar wrote:
> Add RPMH power-domain bindings for the SC7180 family of SoCs.
> 
> Signed-off-by: Sibi Sankar <sibis@codeaurora.org>
> ---

Reviewed-by: Rajendra Nayak <rnayak@codeaurora.org>

>   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
> 

-- 
QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member
of Code Aurora Forum, hosted by The Linux Foundation

^ permalink raw reply	[flat|nested] 31+ messages in thread

* Re: [PATCH 5/6] soc: qcom: rpmhpd: Add SC7180 RPMH power-domains
       [not found] ` <20191118173944.27043-6-sibis@codeaurora.org>
@ 2019-11-20  4:10   ` Rajendra Nayak
  0 siblings, 0 replies; 31+ messages in thread
From: Rajendra Nayak @ 2019-11-20  4:10 UTC (permalink / raw)
  To: Sibi Sankar, bjorn.andersson, robh+dt, ulf.hansson
  Cc: agross, linux-kernel, devicetree, linux-arm-msm, mark.rutland,
	swboyd, dianders



On 11/18/2019 11:09 PM, Sibi Sankar wrote:
> Add support for cx/mx/gfx/lcx/lmx/mss power-domains found
> on SC7180 SoCs.
> 
> Signed-off-by: Sibi Sankar <sibis@codeaurora.org>
> ---

Reviewed-by: Rajendra Nayak <rnayak@codeaurora.org>

>   drivers/soc/qcom/rpmhpd.c | 19 +++++++++++++++++++
>   1 file changed, 19 insertions(+)
> 
> diff --git a/drivers/soc/qcom/rpmhpd.c b/drivers/soc/qcom/rpmhpd.c
> index 3b109ee67a4d2..599208722650d 100644
> --- a/drivers/soc/qcom/rpmhpd.c
> +++ b/drivers/soc/qcom/rpmhpd.c
> @@ -166,7 +166,26 @@ static const struct rpmhpd_desc sm8150_desc = {
>   	.num_pds = ARRAY_SIZE(sm8150_rpmhpds),
>   };
>   
> +/* SC7180 RPMH powerdomains */
> +
> +static struct rpmhpd *sc7180_rpmhpds[] = {
> +	[SC7180_CX] = &sdm845_cx,
> +	[SC7180_CX_AO] = &sdm845_cx_ao,
> +	[SC7180_GFX] = &sdm845_gfx,
> +	[SC7180_MX] = &sdm845_mx,
> +	[SC7180_MX_AO] = &sdm845_mx_ao,
> +	[SC7180_LMX] = &sdm845_lmx,
> +	[SC7180_LCX] = &sdm845_lcx,
> +	[SC7180_MSS] = &sdm845_mss,
> +};
> +
> +static const struct rpmhpd_desc sc7180_desc = {
> +	.rpmhpds = sc7180_rpmhpds,
> +	.num_pds = ARRAY_SIZE(sc7180_rpmhpds),
> +};
> +
>   static const struct of_device_id rpmhpd_match_table[] = {
> +	{ .compatible = "qcom,sc7180-rpmhpd", .data = &sc7180_desc },
>   	{ .compatible = "qcom,sdm845-rpmhpd", .data = &sdm845_desc },
>   	{ .compatible = "qcom,sm8150-rpmhpd", .data = &sm8150_desc },
>   	{ }
> 

-- 
QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member
of Code Aurora Forum, hosted by The Linux Foundation

^ permalink raw reply	[flat|nested] 31+ messages in thread

* Re: [PATCH 6/6] arm64: dts: sm8150: Add rpmh power-domain node
       [not found] ` <20191118173944.27043-7-sibis@codeaurora.org>
@ 2019-11-20  4:12   ` Rajendra Nayak
  0 siblings, 0 replies; 31+ messages in thread
From: Rajendra Nayak @ 2019-11-20  4:12 UTC (permalink / raw)
  To: Sibi Sankar, bjorn.andersson, robh+dt, ulf.hansson
  Cc: agross, linux-kernel, devicetree, linux-arm-msm, mark.rutland,
	swboyd, dianders



On 11/18/2019 11:09 PM, Sibi Sankar wrote:
> Add the DT node for the rpmhpd power controller.
> 
> Signed-off-by: Sibi Sankar <sibis@codeaurora.org>
> ---

Reviewed-by: Rajendra Nayak <rnayak@codeaurora.org>

>   arch/arm64/boot/dts/qcom/sm8150.dtsi | 55 ++++++++++++++++++++++++++++
>   1 file changed, 55 insertions(+)
> 
> diff --git a/arch/arm64/boot/dts/qcom/sm8150.dtsi b/arch/arm64/boot/dts/qcom/sm8150.dtsi
> index 8f23fcadecb89..0ac257637c2af 100644
> --- a/arch/arm64/boot/dts/qcom/sm8150.dtsi
> +++ b/arch/arm64/boot/dts/qcom/sm8150.dtsi
> @@ -5,6 +5,7 @@
>    */
>   
>   #include <dt-bindings/interrupt-controller/arm-gic.h>
> +#include <dt-bindings/power/qcom-rpmpd.h>
>   #include <dt-bindings/soc/qcom,rpmh-rsc.h>
>   #include <dt-bindings/clock/qcom,rpmh.h>
>   
> @@ -469,6 +470,60 @@
>   				clock-names = "xo";
>   				clocks = <&xo_board>;
>   			};
> +
> +			rpmhpd: power-controller {
> +				compatible = "qcom,sm8150-rpmhpd";
> +				#power-domain-cells = <1>;
> +				operating-points-v2 = <&rpmhpd_opp_table>;
> +
> +				rpmhpd_opp_table: opp-table {
> +					compatible = "operating-points-v2";
> +
> +					rpmhpd_opp_ret: opp1 {
> +						opp-level = <RPMH_REGULATOR_LEVEL_RETENTION>;
> +					};
> +
> +					rpmhpd_opp_min_svs: opp2 {
> +						opp-level = <RPMH_REGULATOR_LEVEL_MIN_SVS>;
> +					};
> +
> +					rpmhpd_opp_low_svs: opp3 {
> +						opp-level = <RPMH_REGULATOR_LEVEL_LOW_SVS>;
> +					};
> +
> +					rpmhpd_opp_svs: opp4 {
> +						opp-level = <RPMH_REGULATOR_LEVEL_SVS>;
> +					};
> +
> +					rpmhpd_opp_svs_l1: opp5 {
> +						opp-level = <RPMH_REGULATOR_LEVEL_SVS_L1>;
> +					};
> +
> +					rpmhpd_opp_svs_l2: opp6 {
> +						opp-level = <RPMH_REGULATOR_LEVEL_SVS_L2>;
> +					};
> +
> +					rpmhpd_opp_nom: opp7 {
> +						opp-level = <RPMH_REGULATOR_LEVEL_NOM>;
> +					};
> +
> +					rpmhpd_opp_nom_l1: opp8 {
> +						opp-level = <RPMH_REGULATOR_LEVEL_NOM_L1>;
> +					};
> +
> +					rpmhpd_opp_nom_l2: opp9 {
> +						opp-level = <RPMH_REGULATOR_LEVEL_NOM_L2>;
> +					};
> +
> +					rpmhpd_opp_turbo: opp10 {
> +						opp-level = <RPMH_REGULATOR_LEVEL_TURBO>;
> +					};
> +
> +					rpmhpd_opp_turbo_l1: opp11 {
> +						opp-level = <RPMH_REGULATOR_LEVEL_TURBO_L1>;
> +					};
> +				};
> +			};
>   		};
>   	};
>   
> 

-- 
QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member
of Code Aurora Forum, hosted by The Linux Foundation

^ permalink raw reply	[flat|nested] 31+ messages in thread

* Re: [PATCH 2/6] dt-bindings: power: Add rpmh power-domain bindings for SM8150
  2019-11-19 18:50   ` [PATCH 2/6] dt-bindings: power: Add rpmh power-domain bindings for SM8150 Stephen Boyd
@ 2019-11-20 12:08     ` Sibi Sankar
  0 siblings, 0 replies; 31+ messages in thread
From: Sibi Sankar @ 2019-11-20 12:08 UTC (permalink / raw)
  To: Stephen Boyd
  Cc: bjorn.andersson, rnayak, robh+dt, ulf.hansson, agross,
	linux-kernel, devicetree, linux-arm-msm, mark.rutland, dianders,
	linux-arm-msm-owner

On 2019-11-20 00:20, Stephen Boyd wrote:
> Quoting Sibi Sankar (2019-11-18 09:40:07)
>> Add RPMH power-domain bindings for the SM8150 family of SoCs.
>> 
>> Signed-off-by: Sibi Sankar <sibis@codeaurora.org>
>> ---
> 
> Reviewed-by: Stephen Boyd <swboyd@chromium.org>
> 
>>  .../devicetree/bindings/power/qcom,rpmpd.txt       |  1 +
>>  include/dt-bindings/power/qcom-rpmpd.h             | 14 
>> ++++++++++++++
>>  2 files changed, 15 insertions(+)
>> 
>> diff --git a/Documentation/devicetree/bindings/power/qcom,rpmpd.txt 
>> b/Documentation/devicetree/bindings/power/qcom,rpmpd.txt
>> index bc75bf49cdaea..f3bbaa4aef297 100644
>> --- a/Documentation/devicetree/bindings/power/qcom,rpmpd.txt
>> +++ b/Documentation/devicetree/bindings/power/qcom,rpmpd.txt
>> @@ -10,6 +10,7 @@ Required Properties:
>>         * 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,sdm845-rpmhpd: RPMh Power domain for the sdm845 family 
>> of SoC
>> +       * qcom,sm8150-rpmhpd: RPMh Power domain for the sm8150 family 
>> of SoC
> 
> Can you convert this binding to YAML? Would help us validate DTS files
> in the future.

yes will convert it in the next
re-spin.

> 
>>   - #power-domain-cells: number of cells in Power domain specifier
>>         must be 1.
>>   - operating-points-v2: Phandle to the OPP table for the Power 
>> domain.

-- 
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project.

^ permalink raw reply	[flat|nested] 31+ messages in thread

* Re: [PATCH 5/6] soc: qcom: rpmhpd: Add SC7180 RPMH power-domains
  2019-11-19 18:52   ` [PATCH 5/6] soc: qcom: rpmhpd: Add SC7180 RPMH power-domains Stephen Boyd
@ 2019-11-20 12:09     ` Sibi Sankar
  0 siblings, 0 replies; 31+ messages in thread
From: Sibi Sankar @ 2019-11-20 12:09 UTC (permalink / raw)
  To: Stephen Boyd
  Cc: bjorn.andersson, rnayak, robh+dt, ulf.hansson, agross,
	linux-kernel, devicetree, linux-arm-msm, mark.rutland, dianders

On 2019-11-20 00:22, Stephen Boyd wrote:
> Quoting Sibi Sankar (2019-11-18 09:40:21)
>> Add support for cx/mx/gfx/lcx/lmx/mss power-domains found
>> on SC7180 SoCs.
>> 
>> Signed-off-by: Sibi Sankar <sibis@codeaurora.org>
>> ---
> 
> Reviewed-by: Stephen Boyd <swboyd@chromium.org>
> 
>>  drivers/soc/qcom/rpmhpd.c | 19 +++++++++++++++++++
>>  1 file changed, 19 insertions(+)
>> 
>> diff --git a/drivers/soc/qcom/rpmhpd.c b/drivers/soc/qcom/rpmhpd.c
>> index 3b109ee67a4d2..599208722650d 100644
>> --- a/drivers/soc/qcom/rpmhpd.c
>> +++ b/drivers/soc/qcom/rpmhpd.c
>> @@ -166,7 +166,26 @@ static const struct rpmhpd_desc sm8150_desc = {
>>         .num_pds = ARRAY_SIZE(sm8150_rpmhpds),
>>  };
>> 
>> +/* SC7180 RPMH powerdomains */
>> +
> 
> Nitpick: Remove the extra newline

okay

> 
>> +static struct rpmhpd *sc7180_rpmhpds[] = {
>> +       [SC7180_CX] = &sdm845_cx,
>> +       [SC7180_CX_AO] = &sdm845_cx_ao,
>> +       [SC7180_GFX] = &sdm845_gfx,
>> +       [SC7180_MX] = &sdm845_mx,
>> +       [SC7180_MX_AO] = &sdm845_mx_ao,
>> +       [SC7180_LMX] = &sdm845_lmx,
>> +       [SC7180_LCX] = &sdm845_lcx,
>> +       [SC7180_MSS] = &sdm845_mss,
>> +};

-- 
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project.

^ permalink raw reply	[flat|nested] 31+ messages in thread

* Re: [PATCH 1/6] soc: qcom: rpmhpd: Set 'active_only' for active only power domains
  2019-11-20  2:39   ` Bjorn Andersson
@ 2019-11-20 12:14     ` Sibi Sankar
  0 siblings, 0 replies; 31+ messages in thread
From: Sibi Sankar @ 2019-11-20 12:14 UTC (permalink / raw)
  To: Bjorn Andersson
  Cc: robh+dt, ulf.hansson, rnayak, agross, linux-kernel, devicetree,
	linux-arm-msm, mark.rutland, swboyd, dianders

On 2019-11-20 08:09, Bjorn Andersson wrote:
> On Mon 18 Nov 09:40 PST 2019, Sibi Sankar wrote:
> 
>> From: Douglas Anderson <dianders@chromium.org>
>> 
>> The 'active_only' attribute was accidentally never set to true for any
>> power domains meaning that all the code handling this attribute was
>> dead.
>> 
>> NOTE that the RPM power domain code (as opposed to the RPMh one) gets
>> this right.
>> 
>> Fixes: 279b7e8a62cc ("soc: qcom: rpmhpd: Add RPMh power domain 
>> driver")
>> Signed-off-by: Douglas Anderson <dianders@chromium.org>
>> Reviewed-by: Stephen Boyd <swboyd@chromium.org>
>> Acked-by: Rajendra Nayak <rnayak@codeaurora.org>
> 
> You should have added your S-o-b here to certify its origin.
> But I picked up this patch earlier today.

sry missed it

> 
> Thanks,
> Bjorn
> 
>> ---
>>  drivers/soc/qcom/rpmhpd.c | 2 ++
>>  1 file changed, 2 insertions(+)
>> 
>> diff --git a/drivers/soc/qcom/rpmhpd.c b/drivers/soc/qcom/rpmhpd.c
>> index 5741ec3fa814c..51850cc68b701 100644
>> --- a/drivers/soc/qcom/rpmhpd.c
>> +++ b/drivers/soc/qcom/rpmhpd.c
>> @@ -93,6 +93,7 @@ static struct rpmhpd sdm845_mx = {
>> 
>>  static struct rpmhpd sdm845_mx_ao = {
>>  	.pd = { .name = "mx_ao", },
>> +	.active_only = true,
>>  	.peer = &sdm845_mx,
>>  	.res_name = "mx.lvl",
>>  };
>> @@ -107,6 +108,7 @@ static struct rpmhpd sdm845_cx = {
>> 
>>  static struct rpmhpd sdm845_cx_ao = {
>>  	.pd = { .name = "cx_ao", },
>> +	.active_only = true,
>>  	.peer = &sdm845_cx,
>>  	.parent = &sdm845_mx_ao.pd,
>>  	.res_name = "cx.lvl",
>> --
>> The Qualcomm Innovation Center, Inc. is a member of the Code Aurora 
>> Forum,
>> a Linux Foundation Collaborative Project
>> 

-- 
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project.

^ permalink raw reply	[flat|nested] 31+ messages in thread

* Re: [PATCH 2/6] dt-bindings: power: Add rpmh power-domain bindings for SM8150
       [not found]   ` <9eb5e99f-836b-01a6-8b5c-d1fffd1a482b@codeaurora.org>
@ 2019-11-20 12:15     ` Sibi Sankar
  0 siblings, 0 replies; 31+ messages in thread
From: Sibi Sankar @ 2019-11-20 12:15 UTC (permalink / raw)
  To: Rajendra Nayak
  Cc: bjorn.andersson, robh+dt, ulf.hansson, agross, linux-kernel,
	devicetree, linux-arm-msm, mark.rutland, swboyd, dianders

On 2019-11-20 09:27, Rajendra Nayak wrote:
> On 11/18/2019 11:10 PM, Sibi Sankar wrote:
>> Add RPMH power-domain bindings for the SM8150 family of SoCs.
>> 
>> Signed-off-by: Sibi Sankar <sibis@codeaurora.org>
>> ---
>>   .../devicetree/bindings/power/qcom,rpmpd.txt       |  1 +
>>   include/dt-bindings/power/qcom-rpmpd.h             | 14 
>> ++++++++++++++
>>   2 files changed, 15 insertions(+)
>> 
>> diff --git a/Documentation/devicetree/bindings/power/qcom,rpmpd.txt 
>> b/Documentation/devicetree/bindings/power/qcom,rpmpd.txt
>> index bc75bf49cdaea..f3bbaa4aef297 100644
>> --- a/Documentation/devicetree/bindings/power/qcom,rpmpd.txt
>> +++ b/Documentation/devicetree/bindings/power/qcom,rpmpd.txt
>> @@ -10,6 +10,7 @@ Required Properties:
>>   	* 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,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
>>   	must be 1.
>>    - operating-points-v2: Phandle to the OPP table for the Power 
>> domain.
>> diff --git a/include/dt-bindings/power/qcom-rpmpd.h 
>> b/include/dt-bindings/power/qcom-rpmpd.h
>> index f05f8b1808ec9..7d43bafc0026b 100644
>> --- a/include/dt-bindings/power/qcom-rpmpd.h
>> +++ b/include/dt-bindings/power/qcom-rpmpd.h
>> @@ -15,12 +15,26 @@
>>   #define SDM845_GFX	7
>>   #define SDM845_MSS	8
>>   +/* SM8150 Power Domain Indexes */
>> +#define SM8150_MSS	0
>> +#define SM8150_EBI	1
>> +#define SM8150_LMX	2
>> +#define SM8150_LCX	3
>> +#define SM8150_GFX	4
>> +#define SM8150_MX	5
>> +#define SM8150_MX_AO	6
>> +#define SM8150_CX	7
>> +#define SM8150_CX_AO	8
>> +#define SM8150_MMCX	9
>> +#define SM8150_MMCX_AO	10
>> +
>>   /* SDM845 Power Domain performance levels */
> 
> You could perhaps remove this comment, or remove the
> SDM845 from it.

yes will remove it

> 
> Reviewed-by: Rajendra Nayak <rnayak@codeaurora.org>
> 
>>   #define RPMH_REGULATOR_LEVEL_RETENTION	16
>>   #define RPMH_REGULATOR_LEVEL_MIN_SVS	48
>>   #define RPMH_REGULATOR_LEVEL_LOW_SVS	64
>>   #define RPMH_REGULATOR_LEVEL_SVS	128
>>   #define RPMH_REGULATOR_LEVEL_SVS_L1	192
>> +#define RPMH_REGULATOR_LEVEL_SVS_L2	224
>>   #define RPMH_REGULATOR_LEVEL_NOM	256
>>   #define RPMH_REGULATOR_LEVEL_NOM_L1	320
>>   #define RPMH_REGULATOR_LEVEL_NOM_L2	336
>> 

-- 
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project.

^ permalink raw reply	[flat|nested] 31+ messages in thread

* Re: [PATCH 3/6] soc: qcom: rpmhpd: Add SM8150 RPMH power-domains
       [not found]   ` <896c7edd-c511-3cdf-7281-01c894facc3b@codeaurora.org>
@ 2019-11-20 12:16     ` Sibi Sankar
  0 siblings, 0 replies; 31+ messages in thread
From: Sibi Sankar @ 2019-11-20 12:16 UTC (permalink / raw)
  To: Rajendra Nayak
  Cc: bjorn.andersson, robh+dt, ulf.hansson, agross, linux-kernel,
	devicetree, linux-arm-msm, mark.rutland, swboyd, dianders

On 2019-11-20 09:32, Rajendra Nayak wrote:
> On 11/18/2019 11:10 PM, Sibi Sankar wrote:
>> Add support for cx/mx/gfx/mss/ebi/mmcx power-domains found on
>> SM8150 SoCs.
> 
> lmx/lcx also?

yes will fix it

> 
>> 
>> Signed-off-by: Sibi Sankar <sibis@codeaurora.org>
>> ---
> 
> Reviewed-by: Rajendra Nayak <rnayak@codeaurora.org>
> 
>>   drivers/soc/qcom/rpmhpd.c | 36 ++++++++++++++++++++++++++++++++++++
>>   1 file changed, 36 insertions(+)
>> 
>> diff --git a/drivers/soc/qcom/rpmhpd.c b/drivers/soc/qcom/rpmhpd.c
>> index 51850cc68b701..3b109ee67a4d2 100644
>> --- a/drivers/soc/qcom/rpmhpd.c
>> +++ b/drivers/soc/qcom/rpmhpd.c
>> @@ -131,8 +131,44 @@ static const struct rpmhpd_desc sdm845_desc = {
>>   	.num_pds = ARRAY_SIZE(sdm845_rpmhpds),
>>   };
>>   +/* SM8150 RPMH powerdomains */
>> +
>> +static struct rpmhpd sm8150_mmcx_ao;
>> +static struct rpmhpd sm8150_mmcx = {
>> +	.pd = { .name = "mmcx", },
>> +	.peer = &sm8150_mmcx_ao,
>> +	.res_name = "mmcx.lvl",
>> +};
>> +
>> +static struct rpmhpd sm8150_mmcx_ao = {
>> +	.pd = { .name = "mmcx_ao", },
>> +	.active_only = true,
>> +	.peer = &sm8150_mmcx,
>> +	.res_name = "mmcx.lvl",
>> +};
>> +
>> +static struct rpmhpd *sm8150_rpmhpds[] = {
>> +	[SM8150_MSS] = &sdm845_mss,
>> +	[SM8150_EBI] = &sdm845_ebi,
>> +	[SM8150_LMX] = &sdm845_lmx,
>> +	[SM8150_LCX] = &sdm845_lcx,
>> +	[SM8150_GFX] = &sdm845_gfx,
>> +	[SM8150_MX] = &sdm845_mx,
>> +	[SM8150_MX_AO] = &sdm845_mx_ao,
>> +	[SM8150_CX] = &sdm845_cx,
>> +	[SM8150_CX_AO] = &sdm845_cx_ao,
>> +	[SM8150_MMCX] = &sm8150_mmcx,
>> +	[SM8150_MMCX_AO] = &sm8150_mmcx_ao,
>> +};
>> +
>> +static const struct rpmhpd_desc sm8150_desc = {
>> +	.rpmhpds = sm8150_rpmhpds,
>> +	.num_pds = ARRAY_SIZE(sm8150_rpmhpds),
>> +};
>> +
>>   static const struct of_device_id rpmhpd_match_table[] = {
>>   	{ .compatible = "qcom,sdm845-rpmhpd", .data = &sdm845_desc },
>> +	{ .compatible = "qcom,sm8150-rpmhpd", .data = &sm8150_desc },
>>   	{ }
>>   };
>> 

-- 
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project.

^ permalink raw reply	[flat|nested] 31+ messages in thread

* Re: [PATCH 2/6] dt-bindings: power: Add rpmh power-domain bindings for SM8150
  2019-11-18 17:40 ` [PATCH 2/6] dt-bindings: power: Add rpmh power-domain bindings for SM8150 Sibi Sankar
  2019-11-20  3:57   ` Rajendra Nayak
       [not found]   ` <9eb5e99f-836b-01a6-8b5c-d1fffd1a482b@codeaurora.org>
@ 2019-12-03 21:54   ` Rob Herring
  2 siblings, 0 replies; 31+ messages in thread
From: Rob Herring @ 2019-12-03 21:54 UTC (permalink / raw)
  To: Sibi Sankar
  Cc: bjorn.andersson, robh+dt, ulf.hansson, rnayak, agross,
	linux-kernel, devicetree, linux-arm-msm, mark.rutland, swboyd,
	dianders, Sibi Sankar

On Mon, 18 Nov 2019 17:40:07 +0000, Sibi Sankar wrote:
> Add RPMH power-domain bindings for the SM8150 family of SoCs.
> 
> Signed-off-by: Sibi Sankar <sibis@codeaurora.org>
> ---
>  .../devicetree/bindings/power/qcom,rpmpd.txt       |  1 +
>  include/dt-bindings/power/qcom-rpmpd.h             | 14 ++++++++++++++
>  2 files changed, 15 insertions(+)
> 

Reviewed-by: Rob Herring <robh@kernel.org>

^ permalink raw reply	[flat|nested] 31+ messages in thread

* Re: [PATCH 4/6] dt-bindings: power: Add rpmh power-domain bindings for sc7180
  2019-11-18 17:40 ` [PATCH 4/6] dt-bindings: power: Add rpmh power-domain bindings for sc7180 Sibi Sankar
  2019-11-20  2:31   ` Bjorn Andersson
@ 2019-12-03 21:55   ` Rob Herring
  1 sibling, 0 replies; 31+ messages in thread
From: Rob Herring @ 2019-12-03 21:55 UTC (permalink / raw)
  To: Sibi Sankar
  Cc: bjorn.andersson, robh+dt, ulf.hansson, rnayak, agross,
	linux-kernel, devicetree, linux-arm-msm, mark.rutland, swboyd,
	dianders, Sibi Sankar

On Mon, 18 Nov 2019 17:40:15 +0000, Sibi Sankar wrote:
> Add RPMH power-domain bindings for the SC7180 family of SoCs.
> 
> Signed-off-by: Sibi Sankar <sibis@codeaurora.org>
> ---
>  Documentation/devicetree/bindings/power/qcom,rpmpd.txt |  1 +
>  include/dt-bindings/power/qcom-rpmpd.h                 | 10 ++++++++++
>  2 files changed, 11 insertions(+)
> 

Reviewed-by: Rob Herring <robh@kernel.org>

^ permalink raw reply	[flat|nested] 31+ messages in thread

* Re: [PATCH 6/6] arm64: dts: sm8150: Add rpmh power-domain node
  2019-11-18 17:40 ` [PATCH 6/6] arm64: dts: sm8150: Add rpmh power-domain node Sibi Sankar
@ 2019-12-12  7:39   ` Bjorn Andersson
  2019-12-13 15:31     ` Sibi Sankar
  0 siblings, 1 reply; 31+ messages in thread
From: Bjorn Andersson @ 2019-12-12  7:39 UTC (permalink / raw)
  To: Sibi Sankar
  Cc: robh+dt, ulf.hansson, rnayak, agross, linux-kernel, devicetree,
	linux-arm-msm, mark.rutland, swboyd, dianders

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

> Add the DT node for the rpmhpd power controller.
> 
> Signed-off-by: Sibi Sankar <sibis@codeaurora.org>

Series applied, please send separate patch for the yaml migration.

Regards,
Bjorn

> ---
>  arch/arm64/boot/dts/qcom/sm8150.dtsi | 55 ++++++++++++++++++++++++++++
>  1 file changed, 55 insertions(+)
> 
> diff --git a/arch/arm64/boot/dts/qcom/sm8150.dtsi b/arch/arm64/boot/dts/qcom/sm8150.dtsi
> index 8f23fcadecb89..0ac257637c2af 100644
> --- a/arch/arm64/boot/dts/qcom/sm8150.dtsi
> +++ b/arch/arm64/boot/dts/qcom/sm8150.dtsi
> @@ -5,6 +5,7 @@
>   */
>  
>  #include <dt-bindings/interrupt-controller/arm-gic.h>
> +#include <dt-bindings/power/qcom-rpmpd.h>
>  #include <dt-bindings/soc/qcom,rpmh-rsc.h>
>  #include <dt-bindings/clock/qcom,rpmh.h>
>  
> @@ -469,6 +470,60 @@
>  				clock-names = "xo";
>  				clocks = <&xo_board>;
>  			};
> +
> +			rpmhpd: power-controller {
> +				compatible = "qcom,sm8150-rpmhpd";
> +				#power-domain-cells = <1>;
> +				operating-points-v2 = <&rpmhpd_opp_table>;
> +
> +				rpmhpd_opp_table: opp-table {
> +					compatible = "operating-points-v2";
> +
> +					rpmhpd_opp_ret: opp1 {
> +						opp-level = <RPMH_REGULATOR_LEVEL_RETENTION>;
> +					};
> +
> +					rpmhpd_opp_min_svs: opp2 {
> +						opp-level = <RPMH_REGULATOR_LEVEL_MIN_SVS>;
> +					};
> +
> +					rpmhpd_opp_low_svs: opp3 {
> +						opp-level = <RPMH_REGULATOR_LEVEL_LOW_SVS>;
> +					};
> +
> +					rpmhpd_opp_svs: opp4 {
> +						opp-level = <RPMH_REGULATOR_LEVEL_SVS>;
> +					};
> +
> +					rpmhpd_opp_svs_l1: opp5 {
> +						opp-level = <RPMH_REGULATOR_LEVEL_SVS_L1>;
> +					};
> +
> +					rpmhpd_opp_svs_l2: opp6 {
> +						opp-level = <RPMH_REGULATOR_LEVEL_SVS_L2>;
> +					};
> +
> +					rpmhpd_opp_nom: opp7 {
> +						opp-level = <RPMH_REGULATOR_LEVEL_NOM>;
> +					};
> +
> +					rpmhpd_opp_nom_l1: opp8 {
> +						opp-level = <RPMH_REGULATOR_LEVEL_NOM_L1>;
> +					};
> +
> +					rpmhpd_opp_nom_l2: opp9 {
> +						opp-level = <RPMH_REGULATOR_LEVEL_NOM_L2>;
> +					};
> +
> +					rpmhpd_opp_turbo: opp10 {
> +						opp-level = <RPMH_REGULATOR_LEVEL_TURBO>;
> +					};
> +
> +					rpmhpd_opp_turbo_l1: opp11 {
> +						opp-level = <RPMH_REGULATOR_LEVEL_TURBO_L1>;
> +					};
> +				};
> +			};
>  		};
>  	};
>  
> -- 
> The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
> a Linux Foundation Collaborative Project
> 

^ permalink raw reply	[flat|nested] 31+ messages in thread

* Re: [PATCH 6/6] arm64: dts: sm8150: Add rpmh power-domain node
  2019-12-12  7:39   ` Bjorn Andersson
@ 2019-12-13 15:31     ` Sibi Sankar
  0 siblings, 0 replies; 31+ messages in thread
From: Sibi Sankar @ 2019-12-13 15:31 UTC (permalink / raw)
  To: Bjorn Andersson
  Cc: robh+dt, ulf.hansson, rnayak, agross, linux-kernel, devicetree,
	linux-arm-msm, mark.rutland, swboyd, dianders

On 2019-12-12 13:09, Bjorn Andersson wrote:
> On Mon 18 Nov 09:40 PST 2019, Sibi Sankar wrote:
> 
>> Add the DT node for the rpmhpd power controller.
>> 
>> Signed-off-by: Sibi Sankar <sibis@codeaurora.org>
> 
> Series applied, please send separate patch for the yaml migration.

Thanks Bjorn, will send it out
asap

> 
> Regards,
> Bjorn
> 
>> ---
>>  arch/arm64/boot/dts/qcom/sm8150.dtsi | 55 
>> ++++++++++++++++++++++++++++
>>  1 file changed, 55 insertions(+)
>> 
>> diff --git a/arch/arm64/boot/dts/qcom/sm8150.dtsi 
>> b/arch/arm64/boot/dts/qcom/sm8150.dtsi
>> index 8f23fcadecb89..0ac257637c2af 100644
>> --- a/arch/arm64/boot/dts/qcom/sm8150.dtsi
>> +++ b/arch/arm64/boot/dts/qcom/sm8150.dtsi
>> @@ -5,6 +5,7 @@
>>   */
>> 
>>  #include <dt-bindings/interrupt-controller/arm-gic.h>
>> +#include <dt-bindings/power/qcom-rpmpd.h>
>>  #include <dt-bindings/soc/qcom,rpmh-rsc.h>
>>  #include <dt-bindings/clock/qcom,rpmh.h>
>> 
>> @@ -469,6 +470,60 @@
>>  				clock-names = "xo";
>>  				clocks = <&xo_board>;
>>  			};
>> +
>> +			rpmhpd: power-controller {
>> +				compatible = "qcom,sm8150-rpmhpd";
>> +				#power-domain-cells = <1>;
>> +				operating-points-v2 = <&rpmhpd_opp_table>;
>> +
>> +				rpmhpd_opp_table: opp-table {
>> +					compatible = "operating-points-v2";
>> +
>> +					rpmhpd_opp_ret: opp1 {
>> +						opp-level = <RPMH_REGULATOR_LEVEL_RETENTION>;
>> +					};
>> +
>> +					rpmhpd_opp_min_svs: opp2 {
>> +						opp-level = <RPMH_REGULATOR_LEVEL_MIN_SVS>;
>> +					};
>> +
>> +					rpmhpd_opp_low_svs: opp3 {
>> +						opp-level = <RPMH_REGULATOR_LEVEL_LOW_SVS>;
>> +					};
>> +
>> +					rpmhpd_opp_svs: opp4 {
>> +						opp-level = <RPMH_REGULATOR_LEVEL_SVS>;
>> +					};
>> +
>> +					rpmhpd_opp_svs_l1: opp5 {
>> +						opp-level = <RPMH_REGULATOR_LEVEL_SVS_L1>;
>> +					};
>> +
>> +					rpmhpd_opp_svs_l2: opp6 {
>> +						opp-level = <RPMH_REGULATOR_LEVEL_SVS_L2>;
>> +					};
>> +
>> +					rpmhpd_opp_nom: opp7 {
>> +						opp-level = <RPMH_REGULATOR_LEVEL_NOM>;
>> +					};
>> +
>> +					rpmhpd_opp_nom_l1: opp8 {
>> +						opp-level = <RPMH_REGULATOR_LEVEL_NOM_L1>;
>> +					};
>> +
>> +					rpmhpd_opp_nom_l2: opp9 {
>> +						opp-level = <RPMH_REGULATOR_LEVEL_NOM_L2>;
>> +					};
>> +
>> +					rpmhpd_opp_turbo: opp10 {
>> +						opp-level = <RPMH_REGULATOR_LEVEL_TURBO>;
>> +					};
>> +
>> +					rpmhpd_opp_turbo_l1: opp11 {
>> +						opp-level = <RPMH_REGULATOR_LEVEL_TURBO_L1>;
>> +					};
>> +				};
>> +			};
>>  		};
>>  	};
>> 
>> --
>> The Qualcomm Innovation Center, Inc. is a member of the Code Aurora 
>> Forum,
>> a Linux Foundation Collaborative Project
>> 

-- 
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project.

^ permalink raw reply	[flat|nested] 31+ messages in thread

end of thread, back to index

Thread overview: 31+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20191118173944.27043-1-sibis@codeaurora.org>
2019-11-18 17:40 ` [PATCH 1/6] soc: qcom: rpmhpd: Set 'active_only' for active only power domains Sibi Sankar
2019-11-20  2:39   ` Bjorn Andersson
2019-11-20 12:14     ` Sibi Sankar
2019-11-18 17:40 ` [PATCH 2/6] dt-bindings: power: Add rpmh power-domain bindings for SM8150 Sibi Sankar
2019-11-20  3:57   ` Rajendra Nayak
     [not found]   ` <9eb5e99f-836b-01a6-8b5c-d1fffd1a482b@codeaurora.org>
2019-11-20 12:15     ` Sibi Sankar
2019-12-03 21:54   ` Rob Herring
2019-11-18 17:40 ` [PATCH 3/6] soc: qcom: rpmhpd: Add SM8150 RPMH power-domains Sibi Sankar
2019-11-20  2:31   ` Bjorn Andersson
2019-11-20  4:02   ` Rajendra Nayak
     [not found]   ` <896c7edd-c511-3cdf-7281-01c894facc3b@codeaurora.org>
2019-11-20 12:16     ` Sibi Sankar
2019-11-18 17:40 ` [PATCH 4/6] dt-bindings: power: Add rpmh power-domain bindings for sc7180 Sibi Sankar
2019-11-20  2:31   ` Bjorn Andersson
2019-12-03 21:55   ` Rob Herring
2019-11-18 17:40 ` [PATCH 5/6] soc: qcom: rpmhpd: Add SC7180 RPMH power-domains Sibi Sankar
2019-11-18 17:40 ` [PATCH 6/6] arm64: dts: sm8150: Add rpmh power-domain node Sibi Sankar
2019-12-12  7:39   ` Bjorn Andersson
2019-12-13 15:31     ` Sibi Sankar
     [not found] ` <0101016e7f99aa17-22b1062e-9922-40e4-ae7e-8b91210bb12c-000000@us-west-2.amazonses.com>
2019-11-19 18:50   ` [PATCH 2/6] dt-bindings: power: Add rpmh power-domain bindings for SM8150 Stephen Boyd
2019-11-20 12:08     ` Sibi Sankar
     [not found] ` <0101016e7f99b9a0-6c4e46e3-ff77-4cc1-95f6-9561975eedc4-000000@us-west-2.amazonses.com>
2019-11-19 18:51   ` [PATCH 3/6] soc: qcom: rpmhpd: Add SM8150 RPMH power-domains Stephen Boyd
     [not found] ` <0101016e7f99ca93-ab6c1c1c-e20d-48ca-ab03-b8da0890fca8-000000@us-west-2.amazonses.com>
2019-11-19 18:51   ` [PATCH 4/6] dt-bindings: power: Add rpmh power-domain bindings for sc7180 Stephen Boyd
     [not found] ` <0101016e7f99df8a-05504a3e-9962-4255-94e0-706e8186cd0a-000000@us-west-2.amazonses.com>
2019-11-19 18:52   ` [PATCH 5/6] soc: qcom: rpmhpd: Add SC7180 RPMH power-domains Stephen Boyd
2019-11-20 12:09     ` Sibi Sankar
     [not found] ` <0101016e7f99eaca-e623ce91-3e2a-40ae-bf2d-647a786aa7d7-000000@us-west-2.amazonses.com>
2019-11-19 18:52   ` [PATCH 6/6] arm64: dts: sm8150: Add rpmh power-domain node Stephen Boyd
     [not found] ` <0101016e7f99ad2b-2bce2fac-2f02-4b3f-ac64-09942f7251ea-000000@us-west-2.amazonses.com>
2019-11-20  2:29   ` [PATCH 2/6] dt-bindings: power: Add rpmh power-domain bindings for SM8150 Bjorn Andersson
     [not found] ` <0101016e7f99dc94-4513a473-16b3-418a-86cf-a89322016215-000000@us-west-2.amazonses.com>
2019-11-20  2:33   ` [PATCH 5/6] soc: qcom: rpmhpd: Add SC7180 RPMH power-domains Bjorn Andersson
     [not found] ` <0101016e7f99efe5-cee866e3-7031-4ecf-a8a6-4b247e9e69ff-000000@us-west-2.amazonses.com>
2019-11-20  2:35   ` [PATCH 6/6] arm64: dts: sm8150: Add rpmh power-domain node Bjorn Andersson
     [not found] ` <20191118173944.27043-5-sibis@codeaurora.org>
2019-11-20  4:10   ` [PATCH 4/6] dt-bindings: power: Add rpmh power-domain bindings for sc7180 Rajendra Nayak
     [not found] ` <20191118173944.27043-6-sibis@codeaurora.org>
2019-11-20  4:10   ` [PATCH 5/6] soc: qcom: rpmhpd: Add SC7180 RPMH power-domains Rajendra Nayak
     [not found] ` <20191118173944.27043-7-sibis@codeaurora.org>
2019-11-20  4:12   ` [PATCH 6/6] arm64: dts: sm8150: Add rpmh power-domain node Rajendra Nayak

Linux-Devicetree Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-devicetree/0 linux-devicetree/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-devicetree linux-devicetree/ https://lore.kernel.org/linux-devicetree \
		devicetree@vger.kernel.org
	public-inbox-index linux-devicetree

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.linux-devicetree


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git