From patchwork Tue Nov 15 11:17:29 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Benjamin Gaignard X-Patchwork-Id: 82303 Delivered-To: patch@linaro.org Received: by 10.140.97.165 with SMTP id m34csp1471925qge; Tue, 15 Nov 2016 03:18:44 -0800 (PST) X-Received: by 10.98.11.198 with SMTP id 67mr45365182pfl.90.1479208724742; 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.44; 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 S932462AbcKOLSm (ORCPT + 26 others); Tue, 15 Nov 2016 06:18:42 -0500 Received: from mail-wm0-f51.google.com ([74.125.82.51]:38139 "EHLO mail-wm0-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932280AbcKOLSi (ORCPT ); Tue, 15 Nov 2016 06:18:38 -0500 Received: by mail-wm0-f51.google.com with SMTP id f82so161959491wmf.1 for ; Tue, 15 Nov 2016 03:18:37 -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=h22rvmVRnICC3EV21bDsK5i3F/EXo5RSlaoBUMV/3UI=; b=DXCTlkEqRQmkV5F7pANnj2DbG2+8rTjS09wYhrXQYzj32gmvd3BlYqKLFHFiTgx+vs NgZOMaaSow5Q/mODhXrhP4SSBB617Amqw2HUE9Y6r9FJXm5LCh6Jnepe+kqGTlGUJODv qseHyZJgjaJPe0q55C6mkcrKqIkZCOcd5I8Qc= 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=h22rvmVRnICC3EV21bDsK5i3F/EXo5RSlaoBUMV/3UI=; b=OCKoJirNYp3IMBTMcsg0hUOZ4RnxnslQCg5lGR7ZYNKHbFp5i7ZbpCvfTyuqNqfnM8 v/3ey14BDHhVD24u6a/F0MJkEXXG1Z/ZD8fIFd/lSAI3wM4RQ6tgK+vT9XllCrHT+bjI a3gBKz6Xsb+v2TTS+tOMTWXzT2p4GTkL0p8g7emmvCiPbOddhsVxY/YUfjt7drTlkY7e mHkzNq8J+ycgJXQtJi98P2DEqbaKG/YSWTtad+rZjvEocZTJ4/lUxYAJWZPIhNSV5PWP AbbCtk9/swAG8iCeLCK6tJP46MtdeAjYR+OFfkBiSEo2BtYjWvMrMOZjzKtAaBhr8MYo vUyg== X-Gm-Message-State: ABUngvf6UMiN+JcXEPqoGheGZUX/RQePpDdLcpyv8H0LVdCQrjSqf3XZVsTCXDB6Ax0yDmdD X-Received: by 10.28.159.16 with SMTP id i16mr3079706wme.122.1479208717009; Tue, 15 Nov 2016 03:18:37 -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.35 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 15 Nov 2016 03:18:36 -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 3/3] add STIH4xx ION driver in DT Date: Tue, 15 Nov 2016 12:17:29 +0100 Message-Id: <1479208649-23725-4-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 Very simple and limited to one heap for contiguous memory allocation Signed-off-by: Benjamin Gaignard --- arch/arm/boot/dts/stih407-family.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+) -- 1.9.1 diff --git a/arch/arm/boot/dts/stih407-family.dtsi b/arch/arm/boot/dts/stih407-family.dtsi index 91096a4..3654f8f 100644 --- a/arch/arm/boot/dts/stih407-family.dtsi +++ b/arch/arm/boot/dts/stih407-family.dtsi @@ -1007,4 +1007,12 @@ status = "disabled"; }; }; + + ion { + compatible = "st,sti-ion", "linux,ion"; + + ion-cma-heap { + compatible = "st,cma-heap", "linux,ion-heap-dma"; + }; + }; };