Skip to contentSkip to conversation

Add PDC Global and AOSS reset support

PATCH In review Sibi Sankar 3 participants 6 messages Sep 1, 2019 – Sep 2, 2019

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

v3 cover Add PDC Global and AOSS reset support

This patch series converts PDC Global and AOSS reset bindings to yaml and adds support on SC7180 SoCs.

v3:
* Convert to yaml bindings

v2:
* Addressed Philipp's review comments

Sibi Sankar (2):
dt-bindings: reset: aoss: Convert AOSS reset bindings to yaml
dt-bindings: reset: pdc: Convert PDC Global bindings to yaml

 .../bindings/reset/qcom,aoss-reset.txt        | 52 -------------------
 .../bindings/reset/qcom,aoss-reset.yaml       | 47 +++++++++++++++++
 .../bindings/reset/qcom,pdc-global.txt        | 52 -------------------
 .../bindings/reset/qcom,pdc-global.yaml       | 47 +++++++++++++++++
 4 files changed, 94 insertions(+), 104 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/reset/qcom,aoss-reset.txt
 create mode 100644 Documentation/devicetree/bindings/reset/qcom,aoss-reset.yaml
 delete mode 100644 Documentation/devicetree/bindings/reset/qcom,pdc-global.txt
 create mode 100644 Documentation/devicetree/bindings/reset/qcom,pdc-global.yaml
Signature · 2 lines
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project
#1 lore raw

PATCH v3 1/2 dt-bindings: reset: aoss: Convert AOSS reset bindings to yaml

Convert AOSS reset bindings to yaml and add SC7180 AOSS reset to the list of possible bindings.

---
 .../bindings/reset/qcom,aoss-reset.txt        | 52 -------------------
 .../bindings/reset/qcom,aoss-reset.yaml       | 47 +++++++++++++++++
 2 files changed, 47 insertions(+), 52 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/reset/qcom,aoss-reset.txt
 create mode 100644 Documentation/devicetree/bindings/reset/qcom,aoss-reset.yaml
Documentation/devicetree/bindings/reset/qcom,aoss-reset.txt deleted +0 -52
deleted file mode 100644
index 510c748656ec5..0000000000000
@@ -1,52 +0,0 @@
-Qualcomm AOSS Reset Controller
-======================================
-
-This binding describes a reset-controller found on AOSS-CC (always on subsystem)
-for Qualcomm SDM845 SoCs.
-
-Required properties:
-- compatible:
-	Usage: required
-	Value type: <string>
-	Definition: must be:
-		    "qcom,sdm845-aoss-cc"
-
-- reg:
-	Usage: required
-	Value type: <prop-encoded-array>
-	Definition: must specify the base address and size of the register
-	            space.
-
-- #reset-cells:
-	Usage: required
-	Value type: <uint>
-	Definition: must be 1; cell entry represents the reset index.
-
-Example:
-
-aoss_reset: reset-controller@c2a0000 {
-	compatible = "qcom,sdm845-aoss-cc";
-	reg = <0xc2a0000 0x31000>;
-	#reset-cells = <1>;
-};
-
-Specifying reset lines connected to IP modules
-==============================================
-
-Device nodes that need access to reset lines should
-specify them as a reset phandle in their corresponding node as
-specified in reset.txt.
-
-For list of all valid reset indicies see
-<dt-bindings/reset/qcom,sdm845-aoss.h>
-
-Example:
-
-modem-pil@4080000 {
-	...
-
-	resets = <&aoss_reset AOSS_CC_MSS_RESTART>;
-	reset-names = "mss_restart";
-
-	...
-};
Documentation/devicetree/bindings/reset/qcom,aoss-reset.yaml new file +47 -0

47 lines not on this page · raw message

Signature · 2 lines
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project
maintainer Reviewed-by on v3 1/2
#2 lore raw

Re: [PATCH v3 1/2] dt-bindings: reset: aoss: Convert AOSS reset bindings to yaml

Quoted 11 lines · Sibi Sankar

Convert AOSS reset bindings to yaml and add SC7180 AOSS reset to the list of possible bindings.

---
 .../bindings/reset/qcom,aoss-reset.txt        | 52 -------------------
 .../bindings/reset/qcom,aoss-reset.yaml       | 47 +++++++++++++++++
 2 files changed, 47 insertions(+), 52 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/reset/qcom,aoss-reset.txt
 create mode 100644 Documentation/devicetree/bindings/reset/qcom,aoss-reset.yaml
#3 lore raw

PATCH v3 2/2 dt-bindings: reset: pdc: Convert PDC Global bindings to yaml

In reply to Sibi Sankar

Convert PDC Global bindings to yaml and add SC7180 PDC global to the list of possible bindings.

---
 .../bindings/reset/qcom,pdc-global.txt        | 52 -------------------
 .../bindings/reset/qcom,pdc-global.yaml       | 47 +++++++++++++++++
 2 files changed, 47 insertions(+), 52 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/reset/qcom,pdc-global.txt
 create mode 100644 Documentation/devicetree/bindings/reset/qcom,pdc-global.yaml
Documentation/devicetree/bindings/reset/qcom,pdc-global.txt deleted +0 -52
deleted file mode 100644
index a62a492843e70..0000000000000
@@ -1,52 +0,0 @@
-PDC Global
-======================================
-
-This binding describes a reset-controller found on PDC-Global (Power Domain
-Controller) block for Qualcomm Technologies Inc SDM845 SoCs.
-
-Required properties:
-- compatible:
-	Usage: required
-	Value type: <string>
-	Definition: must be:
-		    "qcom,sdm845-pdc-global"
-
-- reg:
-	Usage: required
-	Value type: <prop-encoded-array>
-	Definition: must specify the base address and size of the register
-	            space.
-
-- #reset-cells:
-	Usage: required
-	Value type: <uint>
-	Definition: must be 1; cell entry represents the reset index.
-
-Example:
-
-pdc_reset: reset-controller@b2e0000 {
-	compatible = "qcom,sdm845-pdc-global";
-	reg = <0xb2e0000 0x20000>;
-	#reset-cells = <1>;
-};
-
-PDC reset clients
-======================================
-
-Device nodes that need access to reset lines should
-specify them as a reset phandle in their corresponding node as
-specified in reset.txt.
-
-For a list of all valid reset indices see
-<dt-bindings/reset/qcom,sdm845-pdc.h>
-
-Example:
-
-modem-pil@4080000 {
-	...
-
-	resets = <&pdc_reset PDC_MODEM_SYNC_RESET>;
-	reset-names = "pdc_reset";
-
-	...
-};
Documentation/devicetree/bindings/reset/qcom,pdc-global.yaml new file +47 -0

47 lines not on this page · raw message

Signature · 2 lines
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project
maintainer Reviewed-by on v3 2/2
#4 lore raw

Re: [PATCH v3 2/2] dt-bindings: reset: pdc: Convert PDC Global bindings to yaml

Quoted 11 lines · Sibi Sankar

Convert PDC Global bindings to yaml and add SC7180 PDC global to the list of possible bindings.

---
 .../bindings/reset/qcom,pdc-global.txt        | 52 -------------------
 .../bindings/reset/qcom,pdc-global.yaml       | 47 +++++++++++++++++
 2 files changed, 47 insertions(+), 52 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/reset/qcom,pdc-global.txt
 create mode 100644 Documentation/devicetree/bindings/reset/qcom,pdc-global.yaml
maintainer
#5 lore raw

Re: [PATCH v3 2/2] dt-bindings: reset: pdc: Convert PDC Global bindings to yaml

Quoted 13 lines · Rob Herring
Quoted 11 lines · Sibi Sankar

Convert PDC Global bindings to yaml and add SC7180 PDC global to the list of possible bindings.

---
 .../bindings/reset/qcom,pdc-global.txt        | 52 -------------------
 .../bindings/reset/qcom,pdc-global.yaml       | 47 +++++++++++++++++
 2 files changed, 47 insertions(+), 52 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/reset/qcom,pdc-global.txt
 create mode 100644 Documentation/devicetree/bindings/reset/qcom,pdc-global.yaml
Quoted 1 line

Thank you, both applied to reset/next.

regards
Philipp