From patchwork Tue Nov 15 11:17:27 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Benjamin Gaignard X-Patchwork-Id: 82302 Delivered-To: patch@linaro.org Received: by 10.140.97.165 with SMTP id m34csp1471921qge; Tue, 15 Nov 2016 03:18:44 -0800 (PST) X-Received: by 10.99.178.89 with SMTP id t25mr76541424pgo.131.1479208724411; Tue, 15 Nov 2016 03:18:44 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e2si26099508pga.218.2016.11.15.03.18.43; Tue, 15 Nov 2016 03:18:44 -0800 (PST) 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; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932334AbcKOLSi (ORCPT + 26 others); Tue, 15 Nov 2016 06:18:38 -0500 Received: from mail-wm0-f47.google.com ([74.125.82.47]:32824 "EHLO mail-wm0-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752822AbcKOLSe (ORCPT ); Tue, 15 Nov 2016 06:18:34 -0500 Received: by mail-wm0-f47.google.com with SMTP id c184so22012378wmd.0 for ; Tue, 15 Nov 2016 03:18:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=f00fLjn6Z0ur05+VTFyW9OJzQqFZgl1vVBT2RkWGriQ=; b=STq+hqAVU6ZeTyvLfqCqErDbcaLt3MsKnQHvHrMVODuavnJY/x8szhIzdFBnPLC8mH 41YvFU/UDoSeP10pphD2AfPZIA/7ZKhvk7XOZJ35PixfdnFTzUPmNNCtMDI19vsR0++z pz4n/TSdfAwoIIwqDi4BTj1az0uN3thuCeE9s= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=f00fLjn6Z0ur05+VTFyW9OJzQqFZgl1vVBT2RkWGriQ=; b=WFlAtx+36rs4BWj01zTXhGHCgvC2y+NtrOjISO53FQcZTwS8HR0aA7f5RSA7nhoROo 19EeL8j0nY2nPPWZTKAdDbnCOMXGxqYOc6X9QL3PUxJFcTc0hf7gqeM2TrdS5eWS4T0J eU/J9xf+wXuZYVvUS/gIV/OvT7MGDOoIFmmwdH8X3jDHqzg0xTnAx/WCcwlaGfdCvnyn B9NXWDGLZ1Z7hLyrjMtgcBYAfPxVBOziheJT4Hh+FP0aL6SQwKIYP4WRc+zXfstf/jw5 pggXumEbadn1M/GhoNGcTYvAdTfLZzaidSuoWiNQZ8+o2JL0+y/70VCWBOE3rvHk46KX xzcw== X-Gm-Message-State: ABUngvc137Mx/XPPP33/lmAwrC4iCQ1o+WJn2DY5R0lj6DaWwRz3Ec3ycGrw2FbJmCycL21y X-Received: by 10.194.146.228 with SMTP id tf4mr23170959wjb.183.1479208713203; Tue, 15 Nov 2016 03:18:33 -0800 (PST) Received: from lmenx321.st.com. ([80.215.34.27]) by smtp.gmail.com with ESMTPSA id hy10sm34072002wjb.10.2016.11.15.03.18.31 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 15 Nov 2016 03:18:32 -0800 (PST) From: Benjamin Gaignard To: labbott@redhat.com, sumit.semwal@linaro.org, gregkh@linuxfoundation.org, yudongbin@hisilicon.com, puck.chen@hisilicon.com, linux-kernel@vger.kernel.org Cc: linaro-kernel@lists.linaro.org, kernel@stlinux.com, Benjamin Gaignard Subject: [PATCH v2 1/3] add binding for STIh4xx ION driver Date: Tue, 15 Nov 2016 12:17:27 +0100 Message-Id: <1479208649-23725-2-git-send-email-benjamin.gaignard@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1479208649-23725-1-git-send-email-benjamin.gaignard@linaro.org> References: <1479208649-23725-1-git-send-email-benjamin.gaignard@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Describe bindings for STIH4xx ION driver. They are limited to have is used by ion_of.c Signed-off-by: Benjamin Gaignard --- .../devicetree/bindings/staging/ion/st,sti-ion.txt | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 Documentation/devicetree/bindings/staging/ion/st,sti-ion.txt -- 1.9.1 diff --git a/Documentation/devicetree/bindings/staging/ion/st,sti-ion.txt b/Documentation/devicetree/bindings/staging/ion/st,sti-ion.txt new file mode 100644 index 0000000..ec6dd9d --- /dev/null +++ b/Documentation/devicetree/bindings/staging/ion/st,sti-ion.txt @@ -0,0 +1,17 @@ +STIH4xxSoC ION + +Required properties: +- compatible: "st,sti-ion", "linux,ion" +- list of ION heaps: + - compatible: "st,cma-heap", "linux,ion-heap-dma" + +heap bindings are defined in drivers/staging/android/ion/devicetree.txt + +Example: + ion { + compatible = "st,sti-ion", "linux,ion"; + + ion-cma-heap { + compatible = "st,cma-heap", "linux,ion-heap-dma"; + }; + };