From: icenowy@aosc.io
To: Rob Herring <robh+dt@kernel.org>,
Maxime Ripard <maxime.ripard@free-electrons.com>,
Chen-Yu Tsai <wens@csie.org>
Cc: devicetree@vger.kernel.org, linux-sunxi@googlegroups.com,
linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH 2/4] ARM: sun8i: h3/h5: add DE2 CCU device node for H3
Date: Fri, 27 Oct 2017 16:01:07 +0800 [thread overview]
Message-ID: <0bf125256b4b7d42a2573ae122a52b33@aosc.io> (raw)
In-Reply-To: <20170911155529.62891-3-icenowy@aosc.io>
在 2017-09-11 23:55,Icenowy Zheng 写道:
> The DE2 in H3/H5 has a clock control unit in it, and the behavior is
> slightly different between H3 and H5.
>
> Add the common parts in H3/H5 DTSI, and add the compatible string in H3
> DTSI.
>
> The compatible string of H5 DE2 CCU will be added in a separated patch.
>
> Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
> ---
> arch/arm/boot/dts/sun8i-h3.dtsi | 4 ++++
> arch/arm/boot/dts/sunxi-h3-h5.dtsi | 14 ++++++++++++++
> 2 files changed, 18 insertions(+)
>
> diff --git a/arch/arm/boot/dts/sun8i-h3.dtsi
> b/arch/arm/boot/dts/sun8i-h3.dtsi
> index b36f9f423c39..a8a1db79f362 100644
> --- a/arch/arm/boot/dts/sun8i-h3.dtsi
> +++ b/arch/arm/boot/dts/sun8i-h3.dtsi
> @@ -85,6 +85,10 @@
> compatible = "allwinner,sun8i-h3-ccu";
> };
>
> +&display_clocks {
> + compatible = "allwinner,sun8i-a83t-de2-clk";
Sorry, this compatible is wrong.
Please wait for my new version of this patchset to add a
allwinner,sun8i-h3-de2-clk and use it.
(A83T doesn't have DE mod clk, but H3 has)
> +};
> +
> &mmc0 {
> compatible = "allwinner,sun7i-a20-mmc";
> clocks = <&ccu CLK_BUS_MMC0>,
> diff --git a/arch/arm/boot/dts/sunxi-h3-h5.dtsi
> b/arch/arm/boot/dts/sunxi-h3-h5.dtsi
> index 11240a8313c2..76a4cbc99bdb 100644
> --- a/arch/arm/boot/dts/sunxi-h3-h5.dtsi
> +++ b/arch/arm/boot/dts/sunxi-h3-h5.dtsi
> @@ -40,9 +40,11 @@
> * OTHER DEALINGS IN THE SOFTWARE.
> */
>
> +#include <dt-bindings/clock/sun8i-de2.h>
> #include <dt-bindings/clock/sun8i-h3-ccu.h>
> #include <dt-bindings/clock/sun8i-r-ccu.h>
> #include <dt-bindings/interrupt-controller/arm-gic.h>
> +#include <dt-bindings/reset/sun8i-de2.h>
> #include <dt-bindings/reset/sun8i-h3-ccu.h>
> #include <dt-bindings/reset/sun8i-r-ccu.h>
>
> @@ -85,6 +87,18 @@
> #size-cells = <1>;
> ranges;
>
> + display_clocks: clock@1000000 {
> + /* compatible is in per SoC .dtsi file */
> + reg = <0x01000000 0x100000>;
> + clocks = <&ccu CLK_DE>,
> + <&ccu CLK_BUS_DE>;
> + clock-names = "mod",
> + "bus";
> + resets = <&ccu RST_BUS_DE>;
> + #clock-cells = <1>;
> + #reset-cells = <1>;
> + };
> +
> syscon: syscon@1c00000 {
> compatible = "allwinner,sun8i-h3-system-controller",
> "syscon";
next prev parent reply other threads:[~2017-10-27 8:01 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-09-11 15:55 [PATCH 0/4] Add SimpleFB support for Allwinner H3 SoC Icenowy Zheng
[not found] ` <20170911155529.62891-1-icenowy-h8G6r0blFSE@public.gmane.org>
2017-09-11 15:55 ` [PATCH 1/4] dt-bindings: simplefb-sunxi: add pipelines for DE2 Icenowy Zheng
[not found] ` <20170911155529.62891-2-icenowy-h8G6r0blFSE@public.gmane.org>
2017-09-18 21:08 ` Rob Herring
2017-09-11 15:55 ` [PATCH 2/4] ARM: sun8i: h3/h5: add DE2 CCU device node for H3 Icenowy Zheng
[not found] ` <20170911155529.62891-3-icenowy-h8G6r0blFSE@public.gmane.org>
2017-09-17 2:34 ` Julian Calaby
2017-10-27 8:01 ` icenowy [this message]
2017-09-11 15:55 ` [PATCH 3/4] arm64: allwinner: h5: add compatible string for DE2 CCU Icenowy Zheng
[not found] ` <20170911155529.62891-4-icenowy-h8G6r0blFSE@public.gmane.org>
2017-09-17 2:35 ` Julian Calaby
2017-10-27 4:07 ` [PATCH 0/4] Add SimpleFB support for Allwinner H3 SoC icenowy-h8G6r0blFSE
2017-09-11 15:55 ` [PATCH 4/4] ARM: sunxi: h3/h5: add simplefb nodes Icenowy Zheng
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=0bf125256b4b7d42a2573ae122a52b33@aosc.io \
--to=icenowy@aosc.io \
--cc=devicetree@vger.kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-sunxi@googlegroups.com \
--cc=maxime.ripard@free-electrons.com \
--cc=robh+dt@kernel.org \
--cc=wens@csie.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;
as well as URLs for NNTP newsgroup(s).