From patchwork Wed Apr 10 10:02:26 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pierre Yves MORDRET X-Patchwork-Id: 10893565 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 2A44714DB for ; Wed, 10 Apr 2019 10:03:10 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0D93828821 for ; Wed, 10 Apr 2019 10:03:10 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0160D288D0; Wed, 10 Apr 2019 10:03:09 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id ABF1928821 for ; Wed, 10 Apr 2019 10:03:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=k717pENxCl5O6rg3IJ+USwIpw916yiSMN///E35ps6A=; b=ILKFolKbbtvPWL vhmtrFGb+N4YEz8KvcvoJjByVDG5sflLSjXCc1xZtg3vBB/qvh3x1tdhL4QzoUv43yKT99mlrWgnl 5jRjXj5rFJL40Lzmteuif0sNM5wDgzd+5VMUBmOUhLzb4R5MfnnFYarM3ujJK9oHTN83iXgt3hEkG XYWCiJs2yjZ9iezKgOJIE/bRsuwQORNOk2a7Ad5q+xDXvY7Eg3PUObZ6Mst8xCXkAtE8PobBQ71rL RrqLRqxIHSKLna6QL85jdJNnR5gJHqFs+GTndgvtP19zy9LKms+MvXWdqTI88NX//yk8xruQiimfR L00NvBR8m4qJQGBlQlDA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1hEA4O-0005E4-4o; Wed, 10 Apr 2019 10:03:04 +0000 Received: from mx08-00178001.pphosted.com ([91.207.212.93] helo=mx07-00178001.pphosted.com) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hEA42-0004oB-Dq for linux-arm-kernel@lists.infradead.org; Wed, 10 Apr 2019 10:02:43 +0000 Received: from pps.filterd (m0046661.ppops.net [127.0.0.1]) by mx08-00178001.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x3A9qDra010607; Wed, 10 Apr 2019 12:02:32 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=st.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-type; s=STMicroelectronics; bh=s7I1bjiMwL3TR988ztsOG22VK5hebk59T4O+tHV5tM8=; b=COvlmXGi9weujUQzzjQRP0f96uzk6JbnuOH8joDNoX54TjfWtLMLZFd8y9uodkdB0HcP LJfA0EkX0NWBksTaAYIaYMtPweYAb1GbVtssJhG2dMEZssRVVe5bfGsaQ3MMqZCo25im eUgXjd+iNZKhqFwL87PZS5BLmRX5U3254VKl0Xj2P1MCPXbVa9LPGy93YOfSZIN9w/sO GHauqnIcW/7BUTkwzPl/l8ahFym7CnAlNYZXe17lwVqJtUyZ2a/VvJGNP/kVzpqDGsy6 V3SYWoZZn/WiB5O1Pu7Rv55/mbqKKO5Ic3RKM15q+BFOHN4mAtxAlDFGJBJ0FKi5wziM cg== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx08-00178001.pphosted.com with ESMTP id 2rpr7wqbn1-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Wed, 10 Apr 2019 12:02:32 +0200 Received: from zeta.dmz-eu.st.com (zeta.dmz-eu.st.com [164.129.230.9]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 73C0634; Wed, 10 Apr 2019 10:02:31 +0000 (GMT) Received: from Webmail-eu.st.com (sfhdag5node2.st.com [10.75.127.14]) by zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 5B3301393; Wed, 10 Apr 2019 10:02:31 +0000 (GMT) Received: from localhost (10.75.127.45) by SFHDAG5NODE2.st.com (10.75.127.14) with Microsoft SMTP Server (TLS) id 15.0.1347.2; Wed, 10 Apr 2019 12:02:30 +0200 From: Pierre-Yves MORDRET To: Maxime Coquelin , Alexandre Torgue , Rob Herring , Mark Rutland , , , , Subject: [PATCH v2 1/3] ARM: dts: stm32: Add Vivante GPU support on STM32MP157c Date: Wed, 10 Apr 2019 12:02:26 +0200 Message-ID: <1554890548-24448-2-git-send-email-pierre-yves.mordret@st.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1554890548-24448-1-git-send-email-pierre-yves.mordret@st.com> References: <1554890548-24448-1-git-send-email-pierre-yves.mordret@st.com> MIME-Version: 1.0 X-Originating-IP: [10.75.127.45] X-ClientProxiedBy: SFHDAG5NODE1.st.com (10.75.127.13) To SFHDAG5NODE2.st.com (10.75.127.14) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2019-04-10_05:, , signatures=0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190410_030242_748740_E1F68F3B X-CRM114-Status: GOOD ( 15.09 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Pierre-Yves MORDRET Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Append Vivante GPU DT configuration. Signed-off-by: Pierre-Yves MORDRET --- Version history: v2: v1: * Initial --- --- arch/arm/boot/dts/stm32mp157c.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/stm32mp157c.dtsi b/arch/arm/boot/dts/stm32mp157c.dtsi index 6ce75f6..3310aba 100644 --- a/arch/arm/boot/dts/stm32mp157c.dtsi +++ b/arch/arm/boot/dts/stm32mp157c.dtsi @@ -1136,6 +1136,16 @@ status = "disabled"; }; + gpu: gpu@59000000 { + compatible = "vivante,gc"; + reg = <0x59000000 0x800>; + interrupts = ; + clocks = <&rcc GPU>, <&rcc GPU_K>; + clock-names = "bus" ,"core"; + resets = <&rcc GPU_R>; + status = "disabled"; + }; + dsi: dsi@5a000000 { compatible = "st,stm32-dsi"; reg = <0x5a000000 0x800>; From patchwork Wed Apr 10 10:02:27 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pierre Yves MORDRET X-Patchwork-Id: 10893563 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id BABAE13B5 for ; Wed, 10 Apr 2019 10:03:00 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9CBC928821 for ; Wed, 10 Apr 2019 10:03:00 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8C1A5288D0; Wed, 10 Apr 2019 10:03:00 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 3D7E428821 for ; Wed, 10 Apr 2019 10:03:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=JbJV9YqNNK4rhVvyZeM0ibA9QwcdZ8PxKeuUMFaM8s8=; b=dRzttJOZ5+fmn5 vy4alkQBdgVnFDc34ssyeFjTYu2redk6r1WJvliiV1pPBVq96ussBk1zw1QwlKgz53JTr7YnT5LlO L2odz+XQJ38WR3oESdFAmg5fox/DYgorcf7sSAloG1gmzEhjnZAayjCFacfEsmvJLcswpGa4kTVxA o9qFo1XmxGXZoHL0IhaIqQ3qf4R7h60V6kLhoiCvAfZfMGVQHxyIwd5Cu2AB0/xd/eEgJ/aEANJUi c7SGw7Le3HmjSdmelxb8vcFMan3J6n5qzYncE/Tri4X4pLdP1ve1lxhIH98M3fcR5pp7WCf1/PtjF doQnwjJBK3p0FP7fl/og==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1hEA4D-00050v-Ft; Wed, 10 Apr 2019 10:02:53 +0000 Received: from mx07-00178001.pphosted.com ([62.209.51.94]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hEA41-0004oC-Vq for linux-arm-kernel@lists.infradead.org; Wed, 10 Apr 2019 10:02:43 +0000 Received: from pps.filterd (m0046668.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x3A9pE2p021997; Wed, 10 Apr 2019 12:02:33 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=st.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-type; s=STMicroelectronics; bh=khjS2R2nmPFjF18UlwbWNS8oKt8MGfK2JdwVwOgpfX8=; b=UAlxy9vNnu4px7u4+DdmQ9tELqr/SY4KR9EZQ4xVEbAope0DKItbTFJeMt5c8npDCQpO EqNq/dtOFVDBoYgDPTcIyISSY95wjldWvcCOdLvjIcCCsZsNOf2a5gkDewyn+hFnIzAS YMwGaMY8F7V3qr3vcnga1eyVMdmDpDKqJ9ibzHWePju80BTYwvgWtJltVZ66obta3nYr iWXJ8RAMEJh+GTKaACPVUcIZLSaA7dBVAmaKIeNI878QeKRIDWSsRspFCeXV+8u1ylLY BD/TYclH6mxn0p4IGjSjipTpQ+4OAfEYyCIk/TCFfGXgTJ3jC1s01LPdmNhW/MNmxsD1 GQ== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com with ESMTP id 2rprcp64t6-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Wed, 10 Apr 2019 12:02:33 +0200 Received: from zeta.dmz-eu.st.com (zeta.dmz-eu.st.com [164.129.230.9]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 7F06738; Wed, 10 Apr 2019 10:02:32 +0000 (GMT) Received: from Webmail-eu.st.com (sfhdag5node2.st.com [10.75.127.14]) by zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 63D6E1393; Wed, 10 Apr 2019 10:02:32 +0000 (GMT) Received: from localhost (10.75.127.44) by SFHDAG5NODE2.st.com (10.75.127.14) with Microsoft SMTP Server (TLS) id 15.0.1347.2; Wed, 10 Apr 2019 12:02:31 +0200 From: Pierre-Yves MORDRET To: Maxime Coquelin , Alexandre Torgue , Rob Herring , Mark Rutland , , , , Subject: [PATCH v2 2/3] ARM: dts: stm32: enable Vivante GPU support on stm32mp157c-ed1 board Date: Wed, 10 Apr 2019 12:02:27 +0200 Message-ID: <1554890548-24448-3-git-send-email-pierre-yves.mordret@st.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1554890548-24448-1-git-send-email-pierre-yves.mordret@st.com> References: <1554890548-24448-1-git-send-email-pierre-yves.mordret@st.com> MIME-Version: 1.0 X-Originating-IP: [10.75.127.44] X-ClientProxiedBy: SFHDAG2NODE2.st.com (10.75.127.5) To SFHDAG5NODE2.st.com (10.75.127.14) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2019-04-10_05:, , signatures=0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190410_030242_310524_5825A6F6 X-CRM114-Status: GOOD ( 13.73 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Pierre-Yves MORDRET Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Enable Vivante GPU driver for stm32mp157c-ed1 board. Signed-off-by: Pierre-Yves MORDRET --- Version history: v2: * move GPU reserved memeory out of bottom DDR to let free this area for U-Boot v1: * Initial --- --- arch/arm/boot/dts/stm32mp157c-ed1.dts | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/arch/arm/boot/dts/stm32mp157c-ed1.dts b/arch/arm/boot/dts/stm32mp157c-ed1.dts index 9fd7943..7bcc122 100644 --- a/arch/arm/boot/dts/stm32mp157c-ed1.dts +++ b/arch/arm/boot/dts/stm32mp157c-ed1.dts @@ -22,6 +22,17 @@ reg = <0xC0000000 0x40000000>; }; + reserved-memory { + #address-cells = <1>; + #size-cells = <1>; + ranges; + + gpu_reserved: gpu@e8000000 { + reg = <0xe8000000 0x8000000>; + no-map; + }; + }; + aliases { serial0 = &uart4; }; @@ -76,6 +87,11 @@ status = "okay"; }; +&gpu { + contiguous-area = <&gpu_reserved>; + status = "okay"; +}; + &i2c4 { pinctrl-names = "default"; pinctrl-0 = <&i2c4_pins_a>; From patchwork Wed Apr 10 10:02:28 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pierre Yves MORDRET X-Patchwork-Id: 10893567 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 6180E14DB for ; Wed, 10 Apr 2019 10:11:18 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 46189289C2 for ; Wed, 10 Apr 2019 10:11:18 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3A2F028A1B; Wed, 10 Apr 2019 10:11:18 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id C548C28A17 for ; Wed, 10 Apr 2019 10:11:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=VMx3uULsXs234FmUe8ZmHXH2BUPIw/N03Pjn+KX2hL0=; b=DPJBtg+hileDfs yVNtZrfbV6DgOqrShJplWugTJOMKT36r9QlBDUGhZjedZfBCTWkAm7Vwee0F1GeY/WQ1lvN8N5U0g oxXufuiDLNTU3lEF9ll8A7GbetGSOgfUmHKcvgOSDWpu/76YwWNMV6IGP/2Ioa+dgsCCjOvJxxeJN DHaJbb1gRh3JASkIj6fMcVAXiHMzV4nfo26a6/NOwF3D1qEdYQfDUIKY/xpJtXNKXusMx35MxocdO 5bCACql2mCeF0/jiMvp53lkZXbAXQp5PurXXAIKu7p+GnFEkh4Pp4gfTEIgNXlJvxoS3h2QhUd18s eh9QVmWQswvB9dkKzRLA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1hEACG-0000UE-O6; Wed, 10 Apr 2019 10:11:12 +0000 Received: from mx07-00178001.pphosted.com ([62.209.51.94]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hEACD-0000Ti-Q7 for linux-arm-kernel@lists.infradead.org; Wed, 10 Apr 2019 10:11:11 +0000 Received: from pps.filterd (m0046037.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x3A9pWi9020144; Wed, 10 Apr 2019 12:02:33 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=st.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-type; s=STMicroelectronics; bh=CTjBmZ/8Y8sJIntk4HY3GIldUOqlwVPxpqC9dk1e2Xg=; b=xEh8ra8lbWjLeIpLlXGN5yLjXmtOQcOeXLNq7Z2rDhccAojsr9meuJJFw3SS2Mgs4YT6 kKKTP2F4R4xzDHznA5x/X2Aobiw3jU9OkPq58SCyccpI5JKhvTtE6gzf2eUTqwRoFW8l PZgOdVWVK2HVQtF4u8dQYYWn0LOXX6OlX5v/jD22FCJ6sAZZXiFILrK3QIYylBLfLZbm wBFHrnaF7Ao0+uNppG/04bdYIycY9hDOxl24wGg/fBBJr+YSbbkK2Rx5lQwhUNYKxXGx Ht6AXd62eSFNqrXYBaLd34g7Pi16AktYkiyMB2gLUyJQRh8S74lmOkSytycQPLjKug9X zw== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com with ESMTP id 2rse7881st-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Wed, 10 Apr 2019 12:02:33 +0200 Received: from zeta.dmz-eu.st.com (zeta.dmz-eu.st.com [164.129.230.9]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 50C4931; Wed, 10 Apr 2019 10:02:33 +0000 (GMT) Received: from Webmail-eu.st.com (sfhdag5node2.st.com [10.75.127.14]) by zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 3A9891393; Wed, 10 Apr 2019 10:02:33 +0000 (GMT) Received: from localhost (10.75.127.44) by SFHDAG5NODE2.st.com (10.75.127.14) with Microsoft SMTP Server (TLS) id 15.0.1347.2; Wed, 10 Apr 2019 12:02:32 +0200 From: Pierre-Yves MORDRET To: Maxime Coquelin , Alexandre Torgue , Rob Herring , Mark Rutland , , , , Subject: [PATCH v2 3/3] ARM: dts: stm32: enable Vivante GPU support on stm32mp157a-dk1 board Date: Wed, 10 Apr 2019 12:02:28 +0200 Message-ID: <1554890548-24448-4-git-send-email-pierre-yves.mordret@st.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1554890548-24448-1-git-send-email-pierre-yves.mordret@st.com> References: <1554890548-24448-1-git-send-email-pierre-yves.mordret@st.com> MIME-Version: 1.0 X-Originating-IP: [10.75.127.44] X-ClientProxiedBy: SFHDAG5NODE3.st.com (10.75.127.15) To SFHDAG5NODE2.st.com (10.75.127.14) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2019-04-10_05:, , signatures=0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190410_031110_140411_72BD811F X-CRM114-Status: GOOD ( 12.94 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Pierre-Yves MORDRET Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Enable Vivante GPU driver for stm32mp157a-dk1 and dk2 boards. Signed-off-by: Pierre-Yves MORDRET --- Version history: v2: * move GPU reserved memeory out of bottom DDR to let free this area for U-Boot v1: * Initial --- --- arch/arm/boot/dts/stm32mp157a-dk1.dts | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/arch/arm/boot/dts/stm32mp157a-dk1.dts b/arch/arm/boot/dts/stm32mp157a-dk1.dts index 1b1886d..bd06f7b 100644 --- a/arch/arm/boot/dts/stm32mp157a-dk1.dts +++ b/arch/arm/boot/dts/stm32mp157a-dk1.dts @@ -27,6 +27,17 @@ reg = <0xc0000000 0x20000000>; }; + reserved-memory { + #address-cells = <1>; + #size-cells = <1>; + ranges; + + gpu_reserved: gpu@d4000000 { + reg = <0xd4000000 0x4000000>; + no-map; + }; + }; + led { compatible = "gpio-leds"; blue { @@ -69,6 +80,11 @@ status = "okay"; }; +&gpu { + contiguous-area = <&gpu_reserved>; + status = "okay"; +}; + &iwdg2 { timeout-sec = <32>; status = "okay";