Add PDC Global and AOSS reset support
cover Add PDC Global and AOSS reset support
This patch series adds PDC Global and AOSS reset support on SC7180 SoCs.
Sibi Sankar (4):
dt-bindings: reset: aoss: Add AOSS reset binding for SC7180 SoCs
reset: qcom: aoss: Add support for SC7180 SoCs
dt-bindings: reset: pdc: Add PDC Global binding for SC7180 SoCs
reset: qcom: pdc: Add support for SC7180 SoCs
Documentation/devicetree/bindings/reset/qcom,aoss-reset.txt | 3 ++- Documentation/devicetree/bindings/reset/qcom,pdc-global.txt | 3 ++- drivers/reset/reset-qcom-aoss.c | 1 + drivers/reset/reset-qcom-pdc.c | 1 + 4 files changed, 6 insertions(+), 2 deletions(-)
Signature · 2 lines
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project
PATCH 1/4 dt-bindings: reset: aoss: Add AOSS reset binding for SC7180 SoCs
Add SC7180 AOSS reset to the list of possible bindings.
--- Documentation/devicetree/bindings/reset/qcom,aoss-reset.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
Documentation/devicetree/bindings/reset/qcom,aoss-reset.txt +2 -1
@@ -8,7 +8,8 @@ Required properties: - compatible: Usage: required Value type: <string> - Definition: must be: + Definition: must be one of: + "qcom,sc7180-aoss-cc" "qcom,sdm845-aoss-cc" - reg:
Signature · 2 lines
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project
Philipp Zabel
maintainerRe: [PATCH 1/4] dt-bindings: reset: aoss: Add AOSS reset binding for SC7180 SoCs
Quoted 12 lines · Sibi Sankar
Add SC7180 AOSS reset to the list of possible bindings.
Signed-off-by Sibi Sankar <[email protected]>--- Documentation/devicetree/bindings/reset/qcom,aoss-reset.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)Documentation/devicetree/bindings/reset/qcom,aoss-reset.txt +0
-0
Documentation/devicetree/bindings/reset/qcom,aoss-reset.txt Required properties: · line 15
Quoted 9 lines
Documentation/devicetree/bindings/reset/qcom,aoss-reset.txt +2
-1@@ -8,7 +8,8 @@ Required properties: - compatible: Usage: required Value type: <string> - Definition: must be: + Definition: must be one of: + "qcom,sc7180-aoss-cc" "qcom,sdm845-aoss-cc" - reg:
Does sc7180 have exactly the same resets (mss, camss, venus, gpu, dispss, wcss, and lpass) as sdm845? If so, it could be considered compatible, and the driver changes wouldn't be needed at all:
- Definition: must be:
+ Definition: must be one of:
+ "qcom,sc7180-aoss-cc", "qcom,sdm845-aoss-cc"
"qcom,sdm845-aoss-cc"
Is there a reason not to do this?
regards
Philipp
Re: [PATCH 1/4] dt-bindings: reset: aoss: Add AOSS reset binding for SC7180 SoCs
Hey Philipp,
Thanks for the review!
Quoted 21 lines · Philipp Zabel
Quoted 20 lines · Sibi Sankar
Add SC7180 AOSS reset to the list of possible bindings.
Signed-off-by Sibi Sankar <[email protected]>--- Documentation/devicetree/bindings/reset/qcom,aoss-reset.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)Documentation/devicetree/bindings/reset/qcom,aoss-reset.txt +2
-1@@ -8,7 +8,8 @@ Required properties: - compatible: Usage: required Value type: <string> - Definition: must be: + Definition: must be one of: + "qcom,sc7180-aoss-cc" "qcom,sdm845-aoss-cc"
Quoted 5 lines
Documentation/devicetree/bindings/reset/qcom,aoss-reset.txt Required properties: · line 15
Quoted 1 line
Documentation/devicetree/bindings/reset/qcom,aoss-reset.txt +0
-0- reg:Does sc7180 have exactly the same resets (mss, camss, venus, gpu, dispss, wcss, and lpass) as sdm845? If so, it could be considered compatible, and the driver changes wouldn't be needed at all:
Yes they are identical both
AOSS and PDC resets.
Quoted 8 lines
Documentation/devicetree/bindings/reset/qcom,aoss-reset.txt +2
-1- Definition: must be: + Definition: must be one of: + "qcom,sc7180-aoss-cc", "qcom,sdm845-aoss-cc""qcom,sdm845-aoss-cc"Is there a reason not to do this?
I am fine with ^^, will change
them in v2.
Quoted 3 lines
regards
Philipp
Signature · 3 lines
-- Sibi Sankar -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project.
PATCH 2/4 reset: qcom: aoss: Add support for SC7180 SoCs
In reply to Sibi SankarAdd AOSS reset support for SC7180 SoCs.
--- drivers/reset/reset-qcom-aoss.c | 1 + 1 file changed, 1 insertion(+)
drivers/reset/reset-qcom-aoss.c +1 -0
@@ -115,6 +115,7 @@ static int qcom_aoss_reset_probe(struct platform_device *pdev) }static const struct of_device_id qcom_aoss_reset_of_match[] = { + { .compatible ="qcom,sc7180-aoss-cc" , .data = &sdm845_aoss_desc }, { .compatible ="qcom,sdm845-aoss-cc" , .data = &sdm845_aoss_desc }, {} };
Signature · 2 lines
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project
PATCH 3/4 dt-bindings: reset: pdc: Add PDC Global binding for SC7180 SoCs
In reply to Sibi SankarAdd SC7180 PDC global to the list of possible bindings.
--- Documentation/devicetree/bindings/reset/qcom,pdc-global.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
Documentation/devicetree/bindings/reset/qcom,pdc-global.txt +2 -1
@@ -8,7 +8,8 @@ Required properties: - compatible: Usage: required Value type: <string> - Definition: must be: + Definition: must be one of: + "qcom,sc7180-pdc-global" "qcom,sdm845-pdc-global" - reg:
Signature · 2 lines
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project
PATCH 4/4 reset: qcom: pdc: Add support for SC7180 SoCs
In reply to Sibi SankarAdd PCD Global support for SC7180 SoCs.
--- drivers/reset/reset-qcom-pdc.c | 1 + 1 file changed, 1 insertion(+)
drivers/reset/reset-qcom-pdc.c +1 -0
@@ -106,6 +106,7 @@ static int qcom_pdc_reset_probe(struct platform_device *pdev) }static const struct of_device_id qcom_pdc_reset_of_match[] = { + { .compatible ="qcom,sc7180-pdc-global" }, { .compatible ="qcom,sdm845-pdc-global" }, {} };
Signature · 2 lines
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project