* [PATCH v3 0/2] Add PDC Global and AOSS reset support
@ 2019-09-01 17:44 Sibi Sankar
2019-09-01 17:44 ` [PATCH v3 1/2] dt-bindings: reset: aoss: Convert AOSS reset bindings to yaml Sibi Sankar
2019-09-01 17:44 ` [PATCH v3 2/2] dt-bindings: reset: pdc: Convert PDC Global " Sibi Sankar
0 siblings, 2 replies; 6+ messages in thread
From: Sibi Sankar @ 2019-09-01 17:44 UTC (permalink / raw)
To: p.zabel, robh+dt, bjorn.andersson
Cc: agross, mark.rutland, linux-arm-msm, devicetree, linux-kernel,
sboyd, Sibi Sankar
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
--
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project
^ permalink raw reply [flat|nested] 6+ messages in thread
* [PATCH v3 1/2] dt-bindings: reset: aoss: Convert AOSS reset bindings to yaml
2019-09-01 17:44 [PATCH v3 0/2] Add PDC Global and AOSS reset support Sibi Sankar
@ 2019-09-01 17:44 ` Sibi Sankar
2019-09-02 14:59 ` Rob Herring
2019-09-01 17:44 ` [PATCH v3 2/2] dt-bindings: reset: pdc: Convert PDC Global " Sibi Sankar
1 sibling, 1 reply; 6+ messages in thread
From: Sibi Sankar @ 2019-09-01 17:44 UTC (permalink / raw)
To: p.zabel, robh+dt, bjorn.andersson
Cc: agross, mark.rutland, linux-arm-msm, devicetree, linux-kernel,
sboyd, Sibi Sankar
Convert AOSS reset bindings to yaml and add SC7180 AOSS reset to the list
of possible bindings.
Signed-off-by: Sibi Sankar <sibis@codeaurora.org>
---
.../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
diff --git a/Documentation/devicetree/bindings/reset/qcom,aoss-reset.txt b/Documentation/devicetree/bindings/reset/qcom,aoss-reset.txt
deleted file mode 100644
index 510c748656ec5..0000000000000
--- a/Documentation/devicetree/bindings/reset/qcom,aoss-reset.txt
+++ /dev/null
@@ -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";
-
- ...
-};
diff --git a/Documentation/devicetree/bindings/reset/qcom,aoss-reset.yaml b/Documentation/devicetree/bindings/reset/qcom,aoss-reset.yaml
new file mode 100644
index 0000000000000..e2d85a1e1d637
--- /dev/null
+++ b/Documentation/devicetree/bindings/reset/qcom,aoss-reset.yaml
@@ -0,0 +1,47 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/reset/qcom,aoss-reset.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Qualcomm AOSS Reset Controller
+
+maintainers:
+ - Sibi Sankar <sibis@codeaurora.org>
+
+description:
+ The bindings describe the reset-controller found on AOSS-CC (always on
+ subsystem) for Qualcomm Technologies Inc SoCs.
+
+properties:
+ compatible:
+ oneOf:
+ - description: on SC7180 SoCs the following compatibles must be specified
+ items:
+ - const: "qcom,sc7180-aoss-cc"
+ - const: "qcom,sdm845-aoss-cc"
+
+ - description: on SDM845 SoCs the following compatibles must be specified
+ items:
+ - const: "qcom,sdm845-aoss-cc"
+
+ reg:
+ maxItems: 1
+
+ '#reset-cells':
+ const: 1
+
+required:
+ - compatible
+ - reg
+ - '#reset-cells'
+
+additionalProperties: false
+
+examples:
+ - |
+ aoss_reset: reset-controller@c2a0000 {
+ compatible = "qcom,sdm845-aoss-cc";
+ reg = <0xc2a0000 0x31000>;
+ #reset-cells = <1>;
+ };
--
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [PATCH v3 2/2] dt-bindings: reset: pdc: Convert PDC Global bindings to yaml
2019-09-01 17:44 [PATCH v3 0/2] Add PDC Global and AOSS reset support Sibi Sankar
2019-09-01 17:44 ` [PATCH v3 1/2] dt-bindings: reset: aoss: Convert AOSS reset bindings to yaml Sibi Sankar
@ 2019-09-01 17:44 ` Sibi Sankar
2019-09-02 15:01 ` Rob Herring
1 sibling, 1 reply; 6+ messages in thread
From: Sibi Sankar @ 2019-09-01 17:44 UTC (permalink / raw)
To: p.zabel, robh+dt, bjorn.andersson
Cc: agross, mark.rutland, linux-arm-msm, devicetree, linux-kernel,
sboyd, Sibi Sankar
Convert PDC Global bindings to yaml and add SC7180 PDC global to the list
of possible bindings.
Signed-off-by: Sibi Sankar <sibis@codeaurora.org>
---
.../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
diff --git a/Documentation/devicetree/bindings/reset/qcom,pdc-global.txt b/Documentation/devicetree/bindings/reset/qcom,pdc-global.txt
deleted file mode 100644
index a62a492843e70..0000000000000
--- a/Documentation/devicetree/bindings/reset/qcom,pdc-global.txt
+++ /dev/null
@@ -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";
-
- ...
-};
diff --git a/Documentation/devicetree/bindings/reset/qcom,pdc-global.yaml b/Documentation/devicetree/bindings/reset/qcom,pdc-global.yaml
new file mode 100644
index 0000000000000..d7d8cec9419fa
--- /dev/null
+++ b/Documentation/devicetree/bindings/reset/qcom,pdc-global.yaml
@@ -0,0 +1,47 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/reset/qcom,pdc-global.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Qualcomm PDC Global
+
+maintainers:
+ - Sibi Sankar <sibis@codeaurora.org>
+
+description:
+ The bindings describes the reset-controller found on PDC-Global (Power Domain
+ Controller) block for Qualcomm Technologies Inc SoCs.
+
+properties:
+ compatible:
+ oneOf:
+ - description: on SC7180 SoCs the following compatibles must be specified
+ items:
+ - const: "qcom,sc7180-pdc-global"
+ - const: "qcom,sdm845-pdc-global"
+
+ - description: on SDM845 SoCs the following compatibles must be specified
+ items:
+ - const: "qcom,sdm845-pdc-global"
+
+ reg:
+ maxItems: 1
+
+ '#reset-cells':
+ const: 1
+
+required:
+ - compatible
+ - reg
+ - '#reset-cells'
+
+additionalProperties: false
+
+examples:
+ - |
+ pdc_reset: reset-controller@b2e0000 {
+ compatible = "qcom,sdm845-pdc-global";
+ reg = <0xb2e0000 0x20000>;
+ #reset-cells = <1>;
+ };
--
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project
^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [PATCH v3 1/2] dt-bindings: reset: aoss: Convert AOSS reset bindings to yaml
2019-09-01 17:44 ` [PATCH v3 1/2] dt-bindings: reset: aoss: Convert AOSS reset bindings to yaml Sibi Sankar
@ 2019-09-02 14:59 ` Rob Herring
0 siblings, 0 replies; 6+ messages in thread
From: Rob Herring @ 2019-09-02 14:59 UTC (permalink / raw)
To: Sibi Sankar
Cc: p.zabel, robh+dt, bjorn.andersson, agross, mark.rutland,
linux-arm-msm, devicetree, linux-kernel, sboyd, Sibi Sankar
On Sun, 1 Sep 2019 23:14:06 +0530, Sibi Sankar wrote:
> Convert AOSS reset bindings to yaml and add SC7180 AOSS reset to the list
> of possible bindings.
>
> Signed-off-by: Sibi Sankar <sibis@codeaurora.org>
> ---
> .../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
>
Reviewed-by: Rob Herring <robh@kernel.org>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH v3 2/2] dt-bindings: reset: pdc: Convert PDC Global bindings to yaml
2019-09-01 17:44 ` [PATCH v3 2/2] dt-bindings: reset: pdc: Convert PDC Global " Sibi Sankar
@ 2019-09-02 15:01 ` Rob Herring
2019-09-02 15:14 ` Philipp Zabel
0 siblings, 1 reply; 6+ messages in thread
From: Rob Herring @ 2019-09-02 15:01 UTC (permalink / raw)
To: Sibi Sankar
Cc: p.zabel, robh+dt, bjorn.andersson, agross, mark.rutland,
linux-arm-msm, devicetree, linux-kernel, sboyd, Sibi Sankar
On Sun, 1 Sep 2019 23:14:07 +0530, Sibi Sankar wrote:
> Convert PDC Global bindings to yaml and add SC7180 PDC global to the list
> of possible bindings.
>
> Signed-off-by: Sibi Sankar <sibis@codeaurora.org>
> ---
> .../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
>
Reviewed-by: Rob Herring <robh@kernel.org>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH v3 2/2] dt-bindings: reset: pdc: Convert PDC Global bindings to yaml
2019-09-02 15:01 ` Rob Herring
@ 2019-09-02 15:14 ` Philipp Zabel
0 siblings, 0 replies; 6+ messages in thread
From: Philipp Zabel @ 2019-09-02 15:14 UTC (permalink / raw)
To: Rob Herring, Sibi Sankar
Cc: robh+dt, bjorn.andersson, agross, mark.rutland, linux-arm-msm,
devicetree, linux-kernel, sboyd
On Mon, 2019-09-02 at 16:01 +0100, Rob Herring wrote:
> On Sun, 1 Sep 2019 23:14:07 +0530, Sibi Sankar wrote:
> > Convert PDC Global bindings to yaml and add SC7180 PDC global to the list
> > of possible bindings.
> >
> > Signed-off-by: Sibi Sankar <sibis@codeaurora.org>
> > ---
> > .../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
> >
>
> Reviewed-by: Rob Herring <robh@kernel.org>
Thank you, both applied to reset/next.
regards
Philipp
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2019-09-02 15:14 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-01 17:44 [PATCH v3 0/2] Add PDC Global and AOSS reset support Sibi Sankar
2019-09-01 17:44 ` [PATCH v3 1/2] dt-bindings: reset: aoss: Convert AOSS reset bindings to yaml Sibi Sankar
2019-09-02 14:59 ` Rob Herring
2019-09-01 17:44 ` [PATCH v3 2/2] dt-bindings: reset: pdc: Convert PDC Global " Sibi Sankar
2019-09-02 15:01 ` Rob Herring
2019-09-02 15:14 ` Philipp Zabel
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).