From patchwork Sat Oct 10 06:48:21 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chen Feng X-Patchwork-Id: 54735 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-lb0-f199.google.com (mail-lb0-f199.google.com [209.85.217.199]) by patches.linaro.org (Postfix) with ESMTPS id 3E8F722B0E for ; Sat, 10 Oct 2015 06:49:51 +0000 (UTC) Received: by lbwr8 with SMTP id r8sf49229069lbw.0 for ; Fri, 09 Oct 2015 23:49:49 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:cc:subject:date:message-id :mime-version:content-type:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=c28EqebbjzlMCgxt5lbFxgvjoY0s5XRJmnozaNZDLXA=; b=LMpgk9wR1NxE3/fCAKrfvJxW789dwbGkAoZWlu3ND2beRBOjC5F1WQSczsv0iRiCQF nYBRiCepiPrSiZneGai5keCk5UZGRtjHy0bNlMbJJKQoucX9jIv14+x7vzPrVBn9tTHM NSzo1Xa+Zyy7V8Prj74KymC4/ElgxlTNVhgj+/j5ziCH05uPPwDMv6x9TOoZCDzemceY q7hqnDwCvpm/QKcFtlKnBdd5CnK5afED2Bz0a9nKjBIDCTJLII9gdy0n0MPwuzvN2yHF eNLoPQWw9zh3FUWW8qT0NqaMAzLcyC6NnCCkmgvNF7TXWWhT9NvLImroxVXWOytEf4G+ 5TKA== X-Gm-Message-State: ALoCoQlvE9XBQ2WT3x+eOIyG9bgddHXVI3F1tBqv63pBsqExyc/0a75S+xAAFA6yqZSCwY/xkWtv X-Received: by 10.194.240.230 with SMTP id wd6mr3412679wjc.0.1444459789662; Fri, 09 Oct 2015 23:49:49 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.25.80.140 with SMTP id e134ls376368lfb.42.gmail; Fri, 09 Oct 2015 23:49:49 -0700 (PDT) X-Received: by 10.25.31.212 with SMTP id f203mr5440182lff.6.1444459789482; Fri, 09 Oct 2015 23:49:49 -0700 (PDT) Received: from mail-lb0-f180.google.com (mail-lb0-f180.google.com. [209.85.217.180]) by mx.google.com with ESMTPS id q201si3691308lfd.144.2015.10.09.23.49.49 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 09 Oct 2015 23:49:49 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.180 as permitted sender) client-ip=209.85.217.180; Received: by lbwr8 with SMTP id r8so100334243lbw.2 for ; Fri, 09 Oct 2015 23:49:49 -0700 (PDT) X-Received: by 10.112.139.201 with SMTP id ra9mr8261301lbb.29.1444459789169; Fri, 09 Oct 2015 23:49:49 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.59.35 with SMTP id w3csp375145lbq; Fri, 9 Oct 2015 23:49:47 -0700 (PDT) X-Received: by 10.66.136.39 with SMTP id px7mr20117413pab.23.1444459786901; Fri, 09 Oct 2015 23:49:46 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z10si8357193pas.74.2015.10.09.23.49.46; Fri, 09 Oct 2015 23:49:46 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751407AbbJJGsy (ORCPT + 30 others); Sat, 10 Oct 2015 02:48:54 -0400 Received: from szxga03-in.huawei.com ([119.145.14.66]:47491 "EHLO szxga03-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751203AbbJJGsw (ORCPT ); Sat, 10 Oct 2015 02:48:52 -0400 Received: from 172.24.1.47 (EHLO szxeml434-hub.china.huawei.com) ([172.24.1.47]) by szxrg03-dlp.huawei.com (MOS 4.4.3-GA FastPath queued) with ESMTP id BOR07508; Sat, 10 Oct 2015 14:48:36 +0800 (CST) Received: from u105-115.huawei.com (10.141.105.115) by szxeml434-hub.china.huawei.com (10.82.67.225) with Microsoft SMTP Server id 14.3.235.1; Sat, 10 Oct 2015 14:48:25 +0800 From: Chen Feng To: , , , , , , , , , , , , , , , , , , , , CC: , , , Subject: [PATCH V1 1/3] docs: dts: Add documentation for hi6220 SoC ION node Date: Sat, 10 Oct 2015 14:48:21 +0800 Message-ID: <1444459703-183909-1-git-send-email-puck.chen@hisilicon.com> X-Mailer: git-send-email 1.9.1 MIME-Version: 1.0 X-Originating-IP: [10.141.105.115] X-CFilter-Loop: Reflected X-Mirapoint-Virus-RAPID-Raw: score=unknown(0), refid=str=0001.0A090204.5618B4C5.003B, ss=1, re=0.000, recu=0.000, reip=0.000, cl=1, cld=1, fgs=0, ip=0.0.0.0, so=2013-05-26 15:14:31, dmn=2013-03-21 17:37:32 X-Mirapoint-Loop-Id: 6ec0e0b2fadd65b2c6c81b0002d84469 Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: puck.chen@hisilicon.com X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.180 as permitted sender) smtp.mailfrom=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Documentation for hi6220 SoC ION node Signed-off-by: Chen Feng Signed-off-by: Yu Dongbin --- .../devicetree/bindings/staging/ion/hi6220-ion.txt | 31 ++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 Documentation/devicetree/bindings/staging/ion/hi6220-ion.txt 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..97ba233 --- /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"; + }; + };