From: Carlo Caione <carlo@caione.org>
To: robh+dt@kernel.org, devicetree@vger.kernel.org,
linux-arm-kernel@lists.infradead.org, mturquette@baylibre.com,
linux-clk@vger.kernel.org, linux@arm.linux.org.uk,
linux-meson@googlegroups.com, drake@endlessm.com,
jerry.cao@amlogic.com, victor.wan@amlogic.com,
pawel.moll@arm.com, arnd@arndb.de
Cc: Carlo Caione <carlo@endlessm.com>
Subject: [PATCH v2 2/7] dt-bindings: Amlogic: Document the CPU reset controller for Meson8b
Date: Wed, 2 Dec 2015 18:22:28 +0100 [thread overview]
Message-ID: <1449076953-5058-3-git-send-email-carlo@caione.org> (raw)
In-Reply-To: <1449076953-5058-1-git-send-email-carlo@caione.org>
From: Carlo Caione <carlo@endlessm.com>
The clock controller on Amlogic Meson8b SoCs has been extended with a
reset controller used to reset the CPU cores. It is used during SMP
bringup.
With this patch we extend the clock controller documentation.
Signed-off-by: Carlo Caione <carlo@endlessm.com>
---
Documentation/devicetree/bindings/clock/amlogic,meson8b-clkc.txt | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/Documentation/devicetree/bindings/clock/amlogic,meson8b-clkc.txt b/Documentation/devicetree/bindings/clock/amlogic,meson8b-clkc.txt
index 2b7b3fa..feeb4de 100644
--- a/Documentation/devicetree/bindings/clock/amlogic,meson8b-clkc.txt
+++ b/Documentation/devicetree/bindings/clock/amlogic,meson8b-clkc.txt
@@ -1,7 +1,8 @@
* Amlogic Meson8b Clock and Reset Unit
The Amlogic Meson8b clock controller generates and supplies clock to various
-controllers within the SoC.
+controllers within the SoC and also implements a reset controller for the CPU
+cores.
Required Properties:
@@ -13,16 +14,19 @@ Required Properties:
mapped region.
- #clock-cells: should be 1.
+- #reset-cells: should be 1.
Each clock is assigned an identifier and client nodes can use this identifier
to specify the clock which they consume. All available clocks are defined as
preprocessor macros in the dt-bindings/clock/meson8b-clkc.h header and can be
used in device tree sources.
+Similar identifiers exist for the CPU core reset lines.
Example: Clock controller node:
clkc: clock-controller@c1104000 {
#clock-cells = <1>;
+ #reset-cells = <1>;
compatible = "amlogic,meson8b-clkc";
reg = <0xc1108000 0x4>, <0xc1104000 0x460>;
};
--
2.5.0
next prev parent reply other threads:[~2015-12-02 17:22 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-12-02 17:22 [PATCH v2 0/7] Add basic SMP support for Amlogic Meson8b Carlo Caione
2015-12-02 17:22 ` [PATCH v2 1/7] ARM: DTS: Amlogic: Extend L2 cache controller node for Meson8b Carlo Caione
2015-12-02 17:22 ` Carlo Caione [this message]
2015-12-04 14:49 ` [PATCH v2 2/7] dt-bindings: Amlogic: Document the CPU reset controller " Rob Herring
2015-12-02 17:22 ` [PATCH v2 3/7] clk: Amlogic: Add reset controller for CPU cores " Carlo Caione
2015-12-02 19:39 ` Arnd Bergmann
2015-12-02 17:22 ` [PATCH v2 4/7] ARM: DTS: Amlogic: Enable reset controller " Carlo Caione
2015-12-02 17:22 ` [PATCH v2 5/7] dt-bindings: Amlogic: Add SMP related documentation Carlo Caione
2015-12-04 14:52 ` Rob Herring
2015-12-02 17:22 ` [PATCH v2 6/7] ARM: Amlogic: Add SMP bringup code for Meson8b Carlo Caione
2015-12-02 17:22 ` [PATCH v2 7/7] ARM: DTS: Amlogic: Add SMP related nodes " Carlo Caione
2015-12-04 14:53 ` Rob Herring
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=1449076953-5058-3-git-send-email-carlo@caione.org \
--to=carlo@caione.org \
--cc=arnd@arndb.de \
--cc=carlo@endlessm.com \
--cc=devicetree@vger.kernel.org \
--cc=drake@endlessm.com \
--cc=jerry.cao@amlogic.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-clk@vger.kernel.org \
--cc=linux-meson@googlegroups.com \
--cc=linux@arm.linux.org.uk \
--cc=mturquette@baylibre.com \
--cc=pawel.moll@arm.com \
--cc=robh+dt@kernel.org \
--cc=victor.wan@amlogic.com \
/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