devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Bintian <bintian.wang-hv44wF8Li93QT0dZR+AlfA@public.gmane.org>
To: Rob Herring <robherring2-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Cc: "linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org"
	<linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org>,
	"linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
	<linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
	Catalin Marinas <catalin.marinas-5wv7dgnIgG8@public.gmane.org>,
	Will Deacon <will.deacon-5wv7dgnIgG8@public.gmane.org>,
	"devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
	<devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
	Rob Herring <robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>,
	Pawel Moll <pawel.moll-5wv7dgnIgG8@public.gmane.org>,
	Mark Rutland <mark.rutland-5wv7dgnIgG8@public.gmane.org>,
	Ian Campbell
	<ijc+devicetree-KcIKpvwj1kUDXYZnReoRVg@public.gmane.org>,
	Kumar Gala <galak-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org>,
	Kevin Hilman <khilman-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>,
	Mike Turquette
	<mturquette-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>,
	Rob Herring <rob.herring-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>,
	Zhangfei Gao
	<zhangfei.gao-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>,
	Haojian Zhuang
	<haojian.zhuang-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>,
	xuwei5-C8/M+/jPZTeaMJb+Lgu22Q@public.gmane.org,
	Jaehoon Chung
	<jh80.chung-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>,
	Olof Johansson <olof-nZhT3qVonbNeoWH0uzbU5w@public.gmane.org>,
	yanhaifeng-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org,
	Stephen Boyd <sboyd-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org>,
	xuejiancheng-hv44wF8Li93QT0dZR+AlfA@public.gmane.org,
	sledge.yanwei-hv44wF8Li91hl2p70BpVqQ@public.gmane.org
Subject: Re: [PATCH v9 2/6] arm64: hi6220: Document devicetree bindings for Hisilicon hi6220 SoC
Date: Thu, 4 Jun 2015 15:23:43 +0800	[thread overview]
Message-ID: <556FFCFF.8040003@huawei.com> (raw)
In-Reply-To: <CAL_JsqKhoDe-Z700RnmZXUtFLS_Kpn1wsE2JVo-pu6UGHBJsAw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>

On 2015/6/4 12:36, Rob Herring wrote:
> On Fri, May 29, 2015 at 8:50 PM, Bintian Wang <bintian.wang-hv44wF8Li93QT0dZR+AlfA@public.gmane.org> wrote:
>> This patch adds documentation for the devicetree bindings used by the
>> DT files of Hisilicon hi6220 SoC mobile platform.
>>
>> Signed-off-by: Bintian Wang <bintian.wang-hv44wF8Li93QT0dZR+AlfA@public.gmane.org>
>> Suggested-by: Arnd Bergmann <arnd-r2nGTMty4D4@public.gmane.org>
>> Acked-by: Haojian Zhuang <haojian.zhuang-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
>> Acked-by: Stephen Boyd <sboyd-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org>
>
> Acked-by: Rob Herring <robh-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
>
> One minor comment below.
Thank you Rob, I will fix in version 10.

BR,

Bintian

>> ---
>>   .../bindings/arm/hisilicon/hisilicon.txt           |   87 ++++++++++++++++++++
>>   1 file changed, 87 insertions(+)
>>
>> diff --git a/Documentation/devicetree/bindings/arm/hisilicon/hisilicon.txt b/Documentation/devicetree/bindings/arm/hisilicon/hisilicon.txt
>> index 35b1bd4..f67d0f3 100644
>> --- a/Documentation/devicetree/bindings/arm/hisilicon/hisilicon.txt
>> +++ b/Documentation/devicetree/bindings/arm/hisilicon/hisilicon.txt
>> @@ -1,5 +1,8 @@
>>   Hisilicon Platforms Device Tree Bindings
>>   ----------------------------------------------------
>> +Hi6220 SoC
>> +Required root node properties:
>> +       - compatible = "hisilicon,hi6220";
>>
>>   Hi4511 Board
>>   Required root node properties:
>> @@ -13,6 +16,9 @@ HiP01 ca9x2 Board
>>   Required root node properties:
>>          - compatible = "hisilicon,hip01-ca9x2";
>>
>> +HiKey Board
>> +Required root node properties:
>> +       - compatible = "hisilicon,hi6220-hikey", "hisilicon,hi6220";
>>
>>   Hisilicon system controller
>>
>> @@ -41,6 +47,87 @@ Example:
>>          };
>>
>>   -----------------------------------------------------------------------
>> +Hisilicon Hi6220 system controller
>> +
>> +Required properties:
>> +- compatible : "hisilicon,hi6220-sysctrl"
>> +- reg : Register address and size
>> +- #clock-cells: should be set to 1, many clock registers are defined
>> +  under this controller and this property must be present.
>> +
>> +Hisilicon designs this controller as one of the system controllers,
>> +its main functions are the same as Hisilicon system controller, but
>> +the register offset of some core modules are different.
>> +
>> +Example:
>> +       /*for Hi6220*/
>> +       sys_ctrl: sys_ctrl {
>
> You should have the unit address in the name here. Same with the
> follow examples.
>
>> +               compatible = "hisilicon,hi6220-sysctrl", "syscon";
>> +               reg = <0x0 0xf7030000 0x0 0x2000>;
>> +               #clock-cells = <1>;
>> +       };
>> +
>> +
>> +Hisilicon Hi6220 Power Always ON domain controller
>> +
>> +Required properties:
>> +- compatible : "hisilicon,hi6220-aoctrl"
>> +- reg : Register address and size
>> +- #clock-cells: should be set to 1, many clock registers are defined
>> +  under this controller and this property must be present.
>> +
>> +Hisilicon designs this system controller to control the power always
>> +on domain for mobile platform.
>> +
>> +Example:
>> +       /*for Hi6220*/
>> +       ao_ctrl: ao_ctrl {
>> +               compatible = "hisilicon,hi6220-aoctrl", "syscon";
>> +               reg = <0x0 0xf7800000 0x0 0x2000>;
>> +               #clock-cells = <1>;
>> +       };
>> +
>> +
>> +Hisilicon Hi6220 Media domain controller
>> +
>> +Required properties:
>> +- compatible : "hisilicon,hi6220-mediactrl"
>> +- reg : Register address and size
>> +- #clock-cells: should be set to 1, many clock registers are defined
>> +  under this controller and this property must be present.
>> +
>> +Hisilicon designs this system controller to control the multimedia
>> +domain(e.g. codec, G3D ...) for mobile platform.
>> +
>> +Example:
>> +       /*for Hi6220*/
>> +       media_ctrl: media_ctrl {
>> +               compatible = "hisilicon,hi6220-mediactrl", "syscon";
>> +               reg = <0x0 0xf4410000 0x0 0x1000>;
>> +               #clock-cells = <1>;
>> +       };
>> +
>> +
>> +Hisilicon Hi6220 Power Management domain controller
>> +
>> +Required properties:
>> +- compatible : "hisilicon,hi6220-pmctrl"
>> +- reg : Register address and size
>> +- #clock-cells: should be set to 1, some clock registers are define
>> +  under this controller and this property must be present.
>> +
>> +Hisilicon designs this system controller to control the power management
>> +domain for mobile platform.
>> +
>> +Example:
>> +       /*for Hi6220*/
>> +       pm_ctrl: pm_ctrl {
>> +               compatible = "hisilicon,hi6220-pmctrl", "syscon";
>> +               reg = <0x0 0xf7032000 0x0 0x1000>;
>> +               #clock-cells = <1>;
>> +       };
>> +
>> +-----------------------------------------------------------------------
>>   Hisilicon HiP01 system controller
>>
>>   Required properties:
>> --
>> 1.7.9.5
>>
>
> .
>

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  parent reply	other threads:[~2015-06-04  7:23 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-30  1:50 [PATCH v9 0/6] arm64,hi6220: Enable Hisilicon Hi6220 SoC Bintian Wang
2015-05-30  1:51 ` [PATCH v9 5/6] arm64: dts: Add dts files for " Bintian Wang
     [not found]   ` <1432950661-23060-6-git-send-email-bintian.wang-hv44wF8Li93QT0dZR+AlfA@public.gmane.org>
2015-06-03  3:10     ` Bintian
2015-06-09  0:55   ` Shawn Guo
2015-06-09  1:39     ` Bintian
     [not found]       ` <557643EB.8000106-hv44wF8Li93QT0dZR+AlfA@public.gmane.org>
2015-06-09  2:30         ` Bintian
     [not found] ` <1432950661-23060-1-git-send-email-bintian.wang-hv44wF8Li93QT0dZR+AlfA@public.gmane.org>
2015-05-30  1:50   ` [PATCH v9 1/6] arm64: Enable Hisilicon ARMv8 SoC family in Kconfig and defconfig Bintian Wang
2015-06-02  9:03     ` Will Deacon
2015-05-30  1:50   ` [PATCH v9 2/6] arm64: hi6220: Document devicetree bindings for Hisilicon hi6220 SoC Bintian Wang
     [not found]     ` <1432950661-23060-3-git-send-email-bintian.wang-hv44wF8Li93QT0dZR+AlfA@public.gmane.org>
2015-06-04  4:36       ` Rob Herring
     [not found]         ` <CAL_JsqKhoDe-Z700RnmZXUtFLS_Kpn1wsE2JVo-pu6UGHBJsAw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-06-04  7:23           ` Bintian [this message]
2015-05-30  1:50   ` [PATCH v9 3/6] clk: hi6220: Document devicetree bindings for hi6220 clock Bintian Wang
2015-05-30  1:50   ` [PATCH v9 4/6] Documentation: DT: PL011: hi6220: add compatible string for Hisilicon designed UART Bintian Wang
2015-06-02  8:59     ` Linus Walleij
     [not found]       ` <CACRpkdav_5x6RC9F++ErvqGyxDCF-=kap7-jCsO4zZ6QGVLfBQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-06-02  9:13         ` Marc Zyngier
     [not found]           ` <556D73B6.4090608-5wv7dgnIgG8@public.gmane.org>
2015-06-02  9:43             ` Russell King - ARM Linux
2015-06-08 13:32           ` Linus Walleij
2015-06-02 10:55         ` Bintian
2015-06-02 11:24           ` Russell King - ARM Linux
2015-06-02 11:46             ` Bintian
2015-05-30  1:51   ` [PATCH v9 6/6] dt-bindings: Add header file of hi6220 clock driver Bintian Wang
2015-06-02  3:57   ` [PATCH v9 0/6] arm64,hi6220: Enable Hisilicon Hi6220 SoC Bintian
2015-06-02  9:05     ` Will Deacon
2015-06-02 10:49       ` Bintian
2015-06-02  0:14 ` Kevin Hilman

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=556FFCFF.8040003@huawei.com \
    --to=bintian.wang-hv44wf8li93qt0dzr+alfa@public.gmane.org \
    --cc=catalin.marinas-5wv7dgnIgG8@public.gmane.org \
    --cc=devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=galak-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org \
    --cc=haojian.zhuang-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org \
    --cc=ijc+devicetree-KcIKpvwj1kUDXYZnReoRVg@public.gmane.org \
    --cc=jh80.chung-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org \
    --cc=khilman-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org \
    --cc=linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org \
    --cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=mark.rutland-5wv7dgnIgG8@public.gmane.org \
    --cc=mturquette-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org \
    --cc=olof-nZhT3qVonbNeoWH0uzbU5w@public.gmane.org \
    --cc=pawel.moll-5wv7dgnIgG8@public.gmane.org \
    --cc=rob.herring-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org \
    --cc=robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \
    --cc=robherring2-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    --cc=sboyd-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org \
    --cc=sledge.yanwei-hv44wF8Li91hl2p70BpVqQ@public.gmane.org \
    --cc=will.deacon-5wv7dgnIgG8@public.gmane.org \
    --cc=xuejiancheng-hv44wF8Li93QT0dZR+AlfA@public.gmane.org \
    --cc=xuwei5-C8/M+/jPZTeaMJb+Lgu22Q@public.gmane.org \
    --cc=yanhaifeng-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    --cc=zhangfei.gao-QSEj5FYQhm4dnm+yROfE0A@public.gmane.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).