devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Rob Herring <robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
To: chenfeng <puck.chen-C8/M+/jPZTeaMJb+Lgu22Q@public.gmane.org>
Cc: Mark Rutland <mark.rutland-5wv7dgnIgG8@public.gmane.org>,
	Greg Kroah-Hartman
	<gregkh-hQyY1W1yCW8ekmWlsbkhG0B+6BGkLq7r@public.gmane.org>,
	arve-z5hGa2qSFaRBDgjK7y7TUQ@public.gmane.org,
	Riley Andrews <riandrews-z5hGa2qSFaRBDgjK7y7TUQ@public.gmane.org>,
	tranmanphong-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org,
	Mitchel Humpherys
	<mitchelh-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org>,
	dan.carpenter-QHcLZuEGTsvQT0dZR+AlfA@public.gmane.org,
	tapaswenipathak-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org,
	Sumit Semwal
	<sumit.semwal-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>,
	yudongbin-C8/M+/jPZTeaMJb+Lgu22Q@public.gmane.org,
	saberlily.xia-C8/M+/jPZTeaMJb+Lgu22Q@public.gmane.org,
	suzhuangluan-C8/M+/jPZTeaMJb+Lgu22Q@public.gmane.org,
	Xinwei Kong
	<kong.kongxinwei-C8/M+/jPZTeaMJb+Lgu22Q@public.gmane.org>,
	Yiping Xu <xuyiping-C8/M+/jPZTeaMJb+Lgu22Q@public.gmane.org>,
	z.liuxinliang-C8/M+/jPZTeaMJb+Lgu22Q@public.gmane.org,
	puck.chen-H32Fclmsjq1BDgjK7y7TUQ@public.gmane.org,
	weidong2-C8/M+/jPZTeaMJb+Lgu22Q@public.gmane.org,
	w.f-hv44wF8Li93QT0dZR+AlfA@public.gmane.org,
	Pawel Moll <pawel.moll-5wv7dgnIgG8@public.gmane.org>,
	Ian Campbell
	<ijc+devicetree-KcIKpvwj1kUDXYZnReoRVg@public.gmane.org>,
	Kumar Gala <galak-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org>,
	qijiwen-C8/M+/jPZTeaMJb+Lgu22Q@public.gmane.org,
	shilin pan
	<peter.panshilin-C8/M+/jPZTeaMJb+Lgu22Q@public.gmane.org>,
	dan.zhao-C8/M+/jPZTeaMJb+Lgu22Q@public.gmane.org,
	linuxarm-hv44wF8Li93QT0dZR+AlfA@public.gmane.org,
	"devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
	<devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
	Laura Abbott <laura-0PSzFVTn/CLa5EbDDlwbIw@public.gmane.org>
Subject: Re: [PATCH 1/3] docs: dts: Add documentation for hi6220 SoC ION node
Date: Tue, 13 Oct 2015 15:42:12 -0500	[thread overview]
Message-ID: <CAL_JsqJ=B_r2Cown=PEb4t8kkQLJMCvnx-x8sVv2k8UQAXOk3A@mail.gmail.com> (raw)
In-Reply-To: <561CA408.5060202-C8/M+/jPZTeaMJb+Lgu22Q@public.gmane.org>

On Tue, Oct 13, 2015 at 1:26 AM, chenfeng <puck.chen-C8/M+/jPZTeaMJb+Lgu22Q@public.gmane.org> wrote:
>
>
> On 2015/10/12 17:31, Mark Rutland wrote:
>> On Mon, Oct 12, 2015 at 02:46:24PM +0800, Chen Feng wrote:
>>> Documentation for hi6220 SoC ION node
>>>
>>> Signed-off-by: Chen Feng <puck.chen-C8/M+/jPZTeaMJb+Lgu22Q@public.gmane.org>
>>> Signed-off-by: Yu Dongbin <yudongbin-C8/M+/jPZTeaMJb+Lgu22Q@public.gmane.org>
>>> ---
>>>  .../devicetree/bindings/staging/ion/hi6220-ion.txt | 31 ++++++++++++++++++++++
>>>  1 file changed, 31 insertions(+)
>>>  create mode 100644 Documentation/devicetree/bindings/staging/ion/hi6220-ion.txt
>>
>>
>> We should not be adding platform-specific bindings and/or drivers for
>> this.
>>
>> There's already a proposal for a generic binding [1]. Please work with
>> that rather than working on your own.
>>
>> Mark.
>>
>> [1] https://lkml.org/lkml/2015/10/6/854
>
> Mark, I checked the patch in https://lkml.org/lkml/2015/10/6/854.
>
> It's a generic binding document for devicetree of ion.
>
> Should I just drop this document patch?
>
> Is the patch 2,3 for hisilicon ion ok for upstream?
>
> Please give me more help. Thanks very much.

Well, first we need to accept the documentation patch before this. I'm
expecting at least some changes to the doc first.

Rob

>
>>
>>> diff --git a/Documentation/devicetree/bindings/staging/ion/hi6220-ion.txt b/Documentation/devicetree/bindings/staging/ion/hi6220-ion.txt
>>> new file mode 100644
>>> index 0000000..c59e27c
>>> --- /dev/null
>>> +++ b/Documentation/devicetree/bindings/staging/ion/hi6220-ion.txt
>>> @@ -0,0 +1,31 @@
>>> +Hi6220 SoC ION
>>> +===================================================================
>>> +Required properties:
>>> +- compatible : "hisilicon,hi6220-ion"
>>> +- list of the ION heaps
>>> +    - heap name : maybe heap_sys_user@0
>>> +    - heap id   : id should be unique in the system.
>>> +    - heap base : base ddr address of the heap,0 means that
>>> +    it is dynamic.
>>> +    - heap size : memory size and 0 means it is dynamic.
>>> +    - heap type : the heap type of the heap, please also
>>> +    see the define in ion.h(drivers/staging/android/uapi/ion.h)
>>> +-------------------------------------------------------------------
>>> +Example:
>>> +    hi6220-ion {
>>> +            compatible = "hisilicon,hi6220-ion";
>>> +            heap_sys_user@0 {
>>> +                    heap-name = "sys_user";
>>> +                    heap-id   = <0x0>;
>>> +                    heap-base = <0x0>;
>>> +                    heap-size = <0x0>;
>>> +                    heap-type = "ion_system";
>>> +            };
>>> +            heap_sys_contig@0 {
>>> +                    heap-name = "sys_contig";
>>> +                    heap-id   = <0x1>;
>>> +                    heap-base = <0x0>;
>>> +                    heap-size = <0x0>;
>>> +                    heap-type = "ion_system_contig";
>>> +            };
>>> +    };
>>> --
>>> 1.9.1
>>>
>>
>> .
>>
>
--
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-10-13 20:42 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1444632386-106627-1-git-send-email-puck.chen@hisilicon.com>
     [not found] ` <1444632386-106627-1-git-send-email-puck.chen-C8/M+/jPZTeaMJb+Lgu22Q@public.gmane.org>
2015-10-12  9:31   ` [PATCH 1/3] docs: dts: Add documentation for hi6220 SoC ION node Mark Rutland
2015-10-13  6:26     ` chenfeng
     [not found]       ` <561CA408.5060202-C8/M+/jPZTeaMJb+Lgu22Q@public.gmane.org>
2015-10-13 20:42         ` Rob Herring [this message]
     [not found]           ` <CAL_JsqJ=B_r2Cown=PEb4t8kkQLJMCvnx-x8sVv2k8UQAXOk3A-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-10-19  1:57             ` chenfeng

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='CAL_JsqJ=B_r2Cown=PEb4t8kkQLJMCvnx-x8sVv2k8UQAXOk3A@mail.gmail.com' \
    --to=robh+dt-dgejt+ai2ygdnm+yrofe0a@public.gmane.org \
    --cc=arve-z5hGa2qSFaRBDgjK7y7TUQ@public.gmane.org \
    --cc=dan.carpenter-QHcLZuEGTsvQT0dZR+AlfA@public.gmane.org \
    --cc=dan.zhao-C8/M+/jPZTeaMJb+Lgu22Q@public.gmane.org \
    --cc=devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=galak-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org \
    --cc=gregkh-hQyY1W1yCW8ekmWlsbkhG0B+6BGkLq7r@public.gmane.org \
    --cc=ijc+devicetree-KcIKpvwj1kUDXYZnReoRVg@public.gmane.org \
    --cc=kong.kongxinwei-C8/M+/jPZTeaMJb+Lgu22Q@public.gmane.org \
    --cc=laura-0PSzFVTn/CLa5EbDDlwbIw@public.gmane.org \
    --cc=linuxarm-hv44wF8Li93QT0dZR+AlfA@public.gmane.org \
    --cc=mark.rutland-5wv7dgnIgG8@public.gmane.org \
    --cc=mitchelh-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org \
    --cc=pawel.moll-5wv7dgnIgG8@public.gmane.org \
    --cc=peter.panshilin-C8/M+/jPZTeaMJb+Lgu22Q@public.gmane.org \
    --cc=puck.chen-C8/M+/jPZTeaMJb+Lgu22Q@public.gmane.org \
    --cc=puck.chen-H32Fclmsjq1BDgjK7y7TUQ@public.gmane.org \
    --cc=qijiwen-C8/M+/jPZTeaMJb+Lgu22Q@public.gmane.org \
    --cc=riandrews-z5hGa2qSFaRBDgjK7y7TUQ@public.gmane.org \
    --cc=saberlily.xia-C8/M+/jPZTeaMJb+Lgu22Q@public.gmane.org \
    --cc=sumit.semwal-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org \
    --cc=suzhuangluan-C8/M+/jPZTeaMJb+Lgu22Q@public.gmane.org \
    --cc=tapaswenipathak-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    --cc=tranmanphong-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    --cc=w.f-hv44wF8Li93QT0dZR+AlfA@public.gmane.org \
    --cc=weidong2-C8/M+/jPZTeaMJb+Lgu22Q@public.gmane.org \
    --cc=xuyiping-C8/M+/jPZTeaMJb+Lgu22Q@public.gmane.org \
    --cc=yudongbin-C8/M+/jPZTeaMJb+Lgu22Q@public.gmane.org \
    --cc=z.liuxinliang-C8/M+/jPZTeaMJb+Lgu22Q@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).