mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Sergio Paracuellos <sergio.paracuellos@gmail.com>
To: linux-clk@vger.kernel.org
Cc: john@phrozen.org, linux-staging@lists.linux.dev,
	gregkh@linuxfoundation.org, neil@brown.name,
	p.zabel@pengutronix.de, linux-kernel@vger.kernel.org,
	sboyd@kernel.org, Rob Herring <robh@kernel.org>
Subject: [PATCH v8 2/4] dt-bindings: clock: mediatek,mt7621-sysc: add '#reset-cells' property
Date: Mon, 10 Jan 2022 12:49:28 +0100	[thread overview]
Message-ID: <20220110114930.1406665-3-sergio.paracuellos@gmail.com> (raw)
In-Reply-To: <20220110114930.1406665-1-sergio.paracuellos@gmail.com>

Make system controller a reset provider for all the peripherals in the
MT7621 SoC adding '#reset-cells' property.

Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
---
 .../bindings/clock/mediatek,mt7621-sysc.yaml         | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/Documentation/devicetree/bindings/clock/mediatek,mt7621-sysc.yaml b/Documentation/devicetree/bindings/clock/mediatek,mt7621-sysc.yaml
index 915f84efd763..0c0b0ae5e2ac 100644
--- a/Documentation/devicetree/bindings/clock/mediatek,mt7621-sysc.yaml
+++ b/Documentation/devicetree/bindings/clock/mediatek,mt7621-sysc.yaml
@@ -22,6 +22,11 @@ description: |
 
   The clocks are provided inside a system controller node.
 
+  This node is also a reset provider for all the peripherals.
+
+  Reset related bits are defined in:
+  [2]: <include/dt-bindings/reset/mt7621-reset.h>.
+
 properties:
   compatible:
     items:
@@ -37,6 +42,12 @@ properties:
       clocks.
     const: 1
 
+  "#reset-cells":
+    description:
+      The first cell indicates the reset bit within the register, see
+      [2] for available resets.
+    const: 1
+
   ralink,memctl:
     $ref: /schemas/types.yaml#/definitions/phandle
     description:
@@ -61,6 +72,7 @@ examples:
       compatible = "mediatek,mt7621-sysc", "syscon";
       reg = <0x0 0x100>;
       #clock-cells = <1>;
+      #reset-cells = <1>;
       ralink,memctl = <&memc>;
       clock-output-names = "xtal", "cpu", "bus",
                            "50m", "125m", "150m",
-- 
2.25.1


  parent reply	other threads:[~2022-01-10 11:51 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-10 11:49 [PATCH v8 0/4] clk: ralink: make system controller a reset provider Sergio Paracuellos
2022-01-10 11:49 ` [PATCH v8 1/4] dt-bindings: reset: add dt binding header for Mediatek MT7621 resets Sergio Paracuellos
2022-01-10 11:49 ` Sergio Paracuellos [this message]
2022-01-25  1:10   ` [PATCH v8 2/4] dt-bindings: clock: mediatek,mt7621-sysc: add '#reset-cells' property Stephen Boyd
2022-01-10 11:49 ` [PATCH v8 3/4] clk: ralink: make system controller node a reset provider Sergio Paracuellos
2022-01-10 11:54   ` Philipp Zabel
2022-01-25  1:11   ` Stephen Boyd
2022-01-25  1:14   ` Stephen Boyd
2022-01-25  6:27     ` Sergio Paracuellos
2022-01-10 11:49 ` [PATCH v8 4/4] staging: mt7621-dts: align resets with binding documentation Sergio Paracuellos
2022-01-10 11:54   ` Philipp Zabel
2022-01-26 11:46     ` Sergio Paracuellos
2022-01-26 12:16       ` Greg KH
2022-01-19 13:27 ` [PATCH v8 0/4] clk: ralink: make system controller a reset provider Arınç ÜNAL
2022-01-19 13:55   ` Sergio Paracuellos
2022-01-26 12:06 ` Greg KH
2022-01-26 12:08   ` Sergio Paracuellos
2022-01-26 12:14     ` Greg KH
2022-01-26 12:45       ` Sergio Paracuellos
2022-02-05  2:55         ` Stephen Boyd
2022-02-05  7:31           ` Sergio Paracuellos
2022-02-10  6:44             ` Sergio Paracuellos
2022-02-10  6:55               ` Greg KH
2022-02-10  9:52                 ` Sergio Paracuellos

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220110114930.1406665-3-sergio.paracuellos@gmail.com \
    --to=sergio.paracuellos@gmail.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=john@phrozen.org \
    --cc=linux-clk@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-staging@lists.linux.dev \
    --cc=neil@brown.name \
    --cc=p.zabel@pengutronix.de \
    --cc=robh@kernel.org \
    --cc=sboyd@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®