From patchwork Thu May 9 21:19:11 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lubomir Rintel X-Patchwork-Id: 10937831 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 81CB513AD for ; Thu, 9 May 2019 21:19:43 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 72FF228A68 for ; Thu, 9 May 2019 21:19:43 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 66A2728AAC; Thu, 9 May 2019 21:19:43 +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=-7.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1AB4828A68 for ; Thu, 9 May 2019 21:19:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726764AbfEIVTm (ORCPT ); Thu, 9 May 2019 17:19:42 -0400 Received: from shell.v3.sk ([90.176.6.54]:45844 "EHLO shell.v3.sk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726806AbfEIVTm (ORCPT ); Thu, 9 May 2019 17:19:42 -0400 Received: from localhost (localhost [127.0.0.1]) by zimbra.v3.sk (Postfix) with ESMTP id 763F057F2F; Thu, 9 May 2019 23:19:40 +0200 (CEST) Received: from shell.v3.sk ([127.0.0.1]) by localhost (zimbra.v3.sk [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id FXU6NnfE1peR; Thu, 9 May 2019 23:19:31 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by zimbra.v3.sk (Postfix) with ESMTP id 0573C10402C; Thu, 9 May 2019 23:19:24 +0200 (CEST) X-Virus-Scanned: amavisd-new at zimbra.v3.sk Received: from shell.v3.sk ([127.0.0.1]) by localhost (zimbra.v3.sk [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 9aOyP7FwSBZ1; Thu, 9 May 2019 23:19:20 +0200 (CEST) Received: from furthur.local (g-server-2.ign.cz [91.219.240.2]) by zimbra.v3.sk (Postfix) with ESMTPSA id 37EA857F2F; Thu, 9 May 2019 23:19:19 +0200 (CEST) From: Lubomir Rintel To: linux-pm@vger.kernel.org Cc: "Rafael J. Wysocki" , Kevin Hilman , Ulf Hansson , James Cameron , Michael Turquette , Stephen Boyd , Lubomir Rintel Subject: [PATCH RFC 7/7] ARM: dts: mmp2: Add GPU core Date: Thu, 9 May 2019 23:19:11 +0200 Message-Id: <20190509211911.17998-8-lkundrak@v3.sk> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190509211911.17998-1-lkundrak@v3.sk> References: <20190509211911.17998-1-lkundrak@v3.sk> MIME-Version: 1.0 Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The base address, clock and power domain gotten from the OLPC OS kernel; the data sheet is not available. Signed-off-by: Lubomir Rintel --- arch/arm/boot/dts/mmp2.dtsi | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/mmp2.dtsi b/arch/arm/boot/dts/mmp2.dtsi index 8ad3e6673e1f..2f1d9fa8064f 100644 --- a/arch/arm/boot/dts/mmp2.dtsi +++ b/arch/arm/boot/dts/mmp2.dtsi @@ -8,6 +8,7 @@ */ #include +#include / { #address-cells = <1>; @@ -41,6 +42,17 @@ reg = <0xd4200000 0x00200000>; ranges; + gpu: gpu@d420d000 { + compatible = "vivante,gc"; + reg = <0xd420d000 0x4000>; + interrupts = <8>; + status = "disabled"; + clocks = <&soc_clocks MMP2_CLK_GPU_GC>, + <&soc_clocks MMP2_CLK_GPU_BUS>; + clock-names = "core", "bus"; + power-domains = <&soc_clocks MMP2_POWER_DOMAIN_GPU>; + }; + intc: interrupt-controller@d4282000 { compatible = "mrvl,mmp2-intc"; interrupt-controller;