From patchwork Wed Apr 10 23:25:36 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?b?Q2zDqW1lbnQgUMOpcm9u?= X-Patchwork-Id: 10895231 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 D239B139A for ; Thu, 11 Apr 2019 08:01:20 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C170A27BA5 for ; Thu, 11 Apr 2019 08:01:20 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B5C4928AE3; Thu, 11 Apr 2019 08:01:20 +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_ADSP_CUSTOM_MED, FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 776E527BA5 for ; Thu, 11 Apr 2019 08:01:20 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id D663489831; Thu, 11 Apr 2019 08:01:04 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wr1-x442.google.com (mail-wr1-x442.google.com [IPv6:2a00:1450:4864:20::442]) by gabe.freedesktop.org (Postfix) with ESMTPS id 566A4893E8 for ; Wed, 10 Apr 2019 23:15:31 +0000 (UTC) Received: by mail-wr1-x442.google.com with SMTP id w1so4857312wrp.2 for ; Wed, 10 Apr 2019 16:15:31 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=1WIGTjZh4mIwUZpoXVfzkYofixlglZX9sKei53EYiYk=; b=dmKODFJsjeY1bNlo+xVAUPDikYEOyfJ7kRxFYvW9aaXwYU6iEihTc/FUnh/g4L4oOi Zxm7VtuvZQnDOjwYfeRbBGkkB2fo+46sapNg4tdY8B1bfBzayqIZbEL5DLIpeuyyjOVl wV5mkvhTURQpXI2ewRPYPqqN5E28vIQi5cLmx8GmfsQQ8GL9XxaVwjrkAd6xAONxY2A7 44vLwHjYQ5UX5H6mXGonVdj2it0jj5z5cfTz2GAYyS7nRvTvHI3BnFTzNhTusPK0Boy7 /+v5uqmTXK3E3vqtiDFNhHdwyrwd/bUlHZNkF0+fdud21Zkundm+HEELCVPl4t8iD1m+ vZug== X-Gm-Message-State: APjAAAViz6MSmj7lCqoJPVstVkbZE7Xk0whEv3ad/kWWfpyr+OiOU+mU V8bDwaJbdHv8dooy7fejIMs= X-Google-Smtp-Source: APXvYqwga4OsIaHauAmhG+osyPhw8HMrpAIGBiK0NmNh8Kv9TJ2rK2/SwoIBlX/GD+Fc1GjJaDrMaQ== X-Received: by 2002:adf:f48d:: with SMTP id l13mr24041248wro.2.1554938129907; Wed, 10 Apr 2019 16:15:29 -0700 (PDT) Received: from localhost.localdomain ([2a01:e0a:1f1:d0f0::df7e:4a05]) by smtp.gmail.com with ESMTPSA id n6sm8504947wmn.48.2019.04.10.16.15.29 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 10 Apr 2019 16:15:29 -0700 (PDT) From: =?utf-8?b?Q2zDqW1lbnQgUMOpcm9u?= To: Rob Herring , Maxime Ripard , Chen-Yu Tsai , Icenowy Zheng , Jagan Teki , Jernej Skrabec Subject: [PATCH 1/8] dt-bindings: gpu: mali-midgard: Add resets property Date: Thu, 11 Apr 2019 01:25:36 +0200 Message-Id: <20190410232543.13297-2-peron.clem@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190410232543.13297-1-peron.clem@gmail.com> References: <20190410232543.13297-1-peron.clem@gmail.com> X-Mailman-Approved-At: Thu, 11 Apr 2019 08:01:03 +0000 X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=1WIGTjZh4mIwUZpoXVfzkYofixlglZX9sKei53EYiYk=; b=qxAiqn45+6Y6QrCOAT+10PSRnzGB7LKozH2AtUj3cvq3JTe3BuLLc8gW8tWe8jgGK9 F8WgiV+wHUZr7Szgs/hXyn/Kb6CG4qFa7KvqU41D3nv5KpxhSxjF9JOc7xk+SyQOC6Ef dX/8J6RtKAt+5N1ShFj/WWehH6LqnkvbKXkrySPorA7zNZoIPZnIWsErsrTDR4N/m8cO DzATr/BmWuSG6QJB/tGjjDqufAA6bVgApA1rQqPhmYjznCapn6edBoCCK4lzgE01LPtT EHoRYtvMVKHONdJllWICY121+zQAMrLzD6sa+mnUkn1dJAYc7tQgC5QwqUYIddGAxUwR /SFQ== X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Neil Armstrong , Kevin Hilman , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-sunxi@googlegroups.com, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP From: Neil Armstrong The Amlogic ARM Mali Midgard requires reset controls to power on and software reset the GPU, adds these as optional in the bindings. Signed-off-by: Neil Armstrong Reviewed-by: Rob Herring Signed-off-by: Kevin Hilman --- .../devicetree/bindings/gpu/arm,mali-midgard.txt | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/Documentation/devicetree/bindings/gpu/arm,mali-midgard.txt b/Documentation/devicetree/bindings/gpu/arm,mali-midgard.txt index 18a2cde2e5f3..1b1a74129141 100644 --- a/Documentation/devicetree/bindings/gpu/arm,mali-midgard.txt +++ b/Documentation/devicetree/bindings/gpu/arm,mali-midgard.txt @@ -37,6 +37,20 @@ Optional properties: - operating-points-v2 : Refer to Documentation/devicetree/bindings/opp/opp.txt for details. +- resets : Phandle of the GPU reset line. + +Vendor-specific bindings +------------------------ + +The Mali GPU is integrated very differently from one SoC to +another. In order to accomodate those differences, you have the option +to specify one more vendor-specific compatible, among: + +- "amlogic,meson-gxm-mali" + Required properties: + - resets : Should contain phandles of : + + GPU reset line + + GPU APB glue reset line Example for a Mali-T760: From patchwork Wed Apr 10 23:25:37 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?Q2zDqW1lbnQgUMOpcm9u?= X-Patchwork-Id: 10895237 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 C81E4139A for ; Thu, 11 Apr 2019 08:01:30 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BA16C27BA5 for ; Thu, 11 Apr 2019 08:01:30 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id AE93F288F3; Thu, 11 Apr 2019 08:01:30 +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_ADSP_CUSTOM_MED, FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 6AA5827BA5 for ; Thu, 11 Apr 2019 08:01:30 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 710EB8989A; Thu, 11 Apr 2019 08:01:10 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wr1-x443.google.com (mail-wr1-x443.google.com [IPv6:2a00:1450:4864:20::443]) by gabe.freedesktop.org (Postfix) with ESMTPS id 0C475893E8 for ; Wed, 10 Apr 2019 23:15:33 +0000 (UTC) Received: by mail-wr1-x443.google.com with SMTP id q1so4882371wrp.0 for ; Wed, 10 Apr 2019 16:15:32 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=0qACYbWibCn2NYEQtyoZ/KKRf3EQ91V9nFYFBIMWmRE=; b=dUwzTORfo3ONn3P9p9ZpXl5BEqJh6LMtAbfN6sqpbVW+XaVC39pxfk2KbBaXx/1V8f eh7U0CwuJa98PTTWQEpYA0/Qv1D0euUiZDOjrGR69Qtl6G73caqwSJZfVj9sQmbm5uwf 7S1CaFifX7lDH2ql9Bl2OyBP/JEQ9s4WT7aM1eV/SUNsX2uz4Lzm8M5vhRg5riVZ3r01 uaPHPiZADMPZBt8fs1vjHIPYLsGXBV5FtG6qTUDovv1d7IGyv7p9WJL85U+BdpPRQaR/ fq7KuwSBYDtxjSncYIfag+a29LbwCAep4vRhOUUOmQQUGp48CSg361B8arhOJjMbxkVA E/9A== X-Gm-Message-State: APjAAAXvapSINIOm2xADf60YOOD4ICoAklPRiIQhWA4QWS6oDa77gBG9 fguG8zZBavc9FofNU6OyHrw= X-Google-Smtp-Source: APXvYqyBZJPAanBgPDdnRGF5zfKp/yROBhDxSLVw7mZSsuMmbwIMSl2mOOMQa9n0FC87k3dd1GJHVQ== X-Received: by 2002:a5d:530e:: with SMTP id e14mr26166582wrv.18.1554938131542; Wed, 10 Apr 2019 16:15:31 -0700 (PDT) Received: from localhost.localdomain ([2a01:e0a:1f1:d0f0::df7e:4a05]) by smtp.gmail.com with ESMTPSA id n6sm8504947wmn.48.2019.04.10.16.15.29 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 10 Apr 2019 16:15:30 -0700 (PDT) From: =?utf-8?b?Q2zDqW1lbnQgUMOpcm9u?= To: Rob Herring , Maxime Ripard , Chen-Yu Tsai , Icenowy Zheng , Jagan Teki , Jernej Skrabec Subject: [PATCH 2/8] dt-bindings: gpu: add bus clock for Mali Midgard GPUs Date: Thu, 11 Apr 2019 01:25:37 +0200 Message-Id: <20190410232543.13297-3-peron.clem@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190410232543.13297-1-peron.clem@gmail.com> References: <20190410232543.13297-1-peron.clem@gmail.com> MIME-Version: 1.0 X-Mailman-Approved-At: Thu, 11 Apr 2019 08:01:03 +0000 X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=0qACYbWibCn2NYEQtyoZ/KKRf3EQ91V9nFYFBIMWmRE=; b=qaDn8zJeQZMtdJyivrryOFs3/Rh4tV5pTEHX2ACinGABPsL94hSck0mlvN5XXUdLVO 2QshiSkH+/F8/C2sVTH2iSq29/ulGT5/Hr0tOMQBcUDzY7DHfqDJ/bxn096IQqaza05w xG1ce7D8k67kQA0ddLVhuDerJg9hgksF3+OE0M5Ix62EcHMYic0pZna2iysaAEGS8J7U FtBtOb1lvYaEry1Xj0tAqL+RvBPvcm6qvIzeJzFN7f7OKnQFxlD7mcTaM5DLDwjFhZM+ 3YR6jgEC1ry9ZNBgOrn2in5pIa9/Rsfi50i0Ym0C/FVts+Nm24Zwfe+GZpN3GrEZ3A5Y lqtA== X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-sunxi@googlegroups.com, =?utf-8?b?Q2zDqW1lbnQgUMOpcm9u?= , linux-arm-kernel@lists.infradead.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP Some SoCs adds a bus clock gate to the Mali Midgard GPU. Add the binding for the bus clock. Signed-off-by: Icenowy Zheng Signed-off-by: Clément Péron --- Documentation/devicetree/bindings/gpu/arm,mali-midgard.txt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Documentation/devicetree/bindings/gpu/arm,mali-midgard.txt b/Documentation/devicetree/bindings/gpu/arm,mali-midgard.txt index 1b1a74129141..2e8bbce35695 100644 --- a/Documentation/devicetree/bindings/gpu/arm,mali-midgard.txt +++ b/Documentation/devicetree/bindings/gpu/arm,mali-midgard.txt @@ -31,6 +31,12 @@ Optional properties: - clocks : Phandle to clock for the Mali Midgard device. +- clock-names : Specify the names of the clocks specified in clocks + when multiple clocks are present. + * core: clock driving the GPU itself (When only one clock is present, + assume it's this clock.) + * bus: bus clock for the GPU + - mali-supply : Phandle to regulator for the Mali device. Refer to Documentation/devicetree/bindings/regulator/regulator.txt for details. From patchwork Wed Apr 10 23:25:38 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?Q2zDqW1lbnQgUMOpcm9u?= X-Patchwork-Id: 10895241 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 16DAD17E6 for ; Thu, 11 Apr 2019 08:01:34 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0750228852 for ; Thu, 11 Apr 2019 08:01:34 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id EE1DD28AE3; Thu, 11 Apr 2019 08:01:33 +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_ADSP_CUSTOM_MED, FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=unavailable version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id A49F628852 for ; Thu, 11 Apr 2019 08:01:33 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 5B33B89885; Thu, 11 Apr 2019 08:01:10 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wr1-x442.google.com (mail-wr1-x442.google.com [IPv6:2a00:1450:4864:20::442]) by gabe.freedesktop.org (Postfix) with ESMTPS id 27147893E8 for ; Wed, 10 Apr 2019 23:15:34 +0000 (UTC) Received: by mail-wr1-x442.google.com with SMTP id j9so4837756wrn.6 for ; Wed, 10 Apr 2019 16:15:34 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=kq8Fk6m07P6jzWZ9olFEh1l8VyZCS3V+gmVAUG9Nqhs=; b=mm9DISyYCWaEj1XSM6Rh03xDcsURw7ZpWyoUvqaFikX8WZPHO58Bsax4oRF1bPllqL i8eM10XIJYbyf3nUnJYs2ErC4MvzbiujhJa2b5ueScGYuMz5RMJmu7EmycuvKdlQjZzU fbprDKd+64gEmCDaT9JoRTPTjMqA+Lfr74/5SIcWyngIJp+sEP4QJNap2n0nbBMDnUfo aTKYwJZkZtPThagPQza01//0hIL3aaglrNXh8ByRNkplOcbpvd56Kehj2wueahQge1cZ omTis2ONud2FxdMqAhr65Bowcp4tcrZhqnHaTuw4sP+lLsOqXT6qldrlZWJfAR5KWCqV INWw== X-Gm-Message-State: APjAAAW97tqGsDkw2+0CfNcnoNWGJP/MHwlCUPFbB41E7OSQcxZKU+PP hLLYpb5Qo6JvL051lhXTbpU= X-Google-Smtp-Source: APXvYqy1mP74mIs9gFl+OL7J5jVXFMmS7M1TKpkjWocGf/mK4U0ERj4+bBEPadv2HHx/F6iWPL17Ng== X-Received: by 2002:adf:fa86:: with SMTP id h6mr27837901wrr.67.1554938132715; Wed, 10 Apr 2019 16:15:32 -0700 (PDT) Received: from localhost.localdomain ([2a01:e0a:1f1:d0f0::df7e:4a05]) by smtp.gmail.com with ESMTPSA id n6sm8504947wmn.48.2019.04.10.16.15.31 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 10 Apr 2019 16:15:31 -0700 (PDT) From: =?utf-8?b?Q2zDqW1lbnQgUMOpcm9u?= To: Rob Herring , Maxime Ripard , Chen-Yu Tsai , Icenowy Zheng , Jagan Teki , Jernej Skrabec Subject: [PATCH 3/8] dt-bindings: gpu: mali-midgard: Add h6 mali gpu compatible Date: Thu, 11 Apr 2019 01:25:38 +0200 Message-Id: <20190410232543.13297-4-peron.clem@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190410232543.13297-1-peron.clem@gmail.com> References: <20190410232543.13297-1-peron.clem@gmail.com> MIME-Version: 1.0 X-Mailman-Approved-At: Thu, 11 Apr 2019 08:01:03 +0000 X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=kq8Fk6m07P6jzWZ9olFEh1l8VyZCS3V+gmVAUG9Nqhs=; b=sIlC+CZQDLmSAHBjWktNS6GjvQQK+LNh2Dgq4eBoN54cK8kNs3GNfX9w0OFMK8Vgx/ 88kNsVYUoaI1ue4521+OfDimpL74RyzscB3xBDfYWEYYSZ7B0THGuwuV1pRKXScxtVeE ihtGhEaD6A9FHvFmFC5iuuVmXsbvkELR9nXUFA9c2dLd2QtkcR8XIT+W7y8UbEnMXihr i18in6xUY6D7ptZP36+LDhX8ffjT128SAqN4o1EUNd12m+RTttl8/GprNDhCfsvhtE3k fI6YbiPUbEWutFSY1pPGu0+cPFUFJaV1d7JHGtX+tKnC01WIwpE8EEM4iABBAbgo1ECi YpLA== X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-sunxi@googlegroups.com, =?utf-8?b?Q2zDqW1lbnQgUMOpcm9u?= , linux-arm-kernel@lists.infradead.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP This add the H6 mali compatible in the dt-bindings to later support specific implementation. Signed-off-by: Clément Péron --- .../devicetree/bindings/gpu/arm,mali-midgard.txt | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/gpu/arm,mali-midgard.txt b/Documentation/devicetree/bindings/gpu/arm,mali-midgard.txt index 2e8bbce35695..9e71146b5c8a 100644 --- a/Documentation/devicetree/bindings/gpu/arm,mali-midgard.txt +++ b/Documentation/devicetree/bindings/gpu/arm,mali-midgard.txt @@ -15,6 +15,7 @@ Required properties: + "arm,mali-t860" + "arm,mali-t880" * which must be preceded by one of the following vendor specifics: + + "allwinner,sun50i-h6-mali" + "amlogic,meson-gxm-mali" + "rockchip,rk3288-mali" + "rockchip,rk3399-mali" @@ -49,9 +50,14 @@ Vendor-specific bindings ------------------------ The Mali GPU is integrated very differently from one SoC to -another. In order to accomodate those differences, you have the option +another. In order to accommodate those differences, you have the option to specify one more vendor-specific compatible, among: +- "allwinner,sun50i-h6-mali" + Required properties: + - resets: Should contain phandle of : + + GPU reset line + - "amlogic,meson-gxm-mali" Required properties: - resets : Should contain phandles of : From patchwork Wed Apr 10 23:25:39 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?Q2zDqW1lbnQgUMOpcm9u?= X-Patchwork-Id: 10895227 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 003A2139A for ; Thu, 11 Apr 2019 08:01:06 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E2FCD28852 for ; Thu, 11 Apr 2019 08:01:06 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D57FB28AF1; Thu, 11 Apr 2019 08:01:06 +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_ADSP_CUSTOM_MED, FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=unavailable version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 8C7A328852 for ; Thu, 11 Apr 2019 08:01:05 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 3C5C8897FD; Thu, 11 Apr 2019 08:01:04 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wr1-x443.google.com (mail-wr1-x443.google.com [IPv6:2a00:1450:4864:20::443]) by gabe.freedesktop.org (Postfix) with ESMTPS id 50288893E8 for ; Wed, 10 Apr 2019 23:15:35 +0000 (UTC) Received: by mail-wr1-x443.google.com with SMTP id h4so4825470wre.7 for ; Wed, 10 Apr 2019 16:15:35 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=9BEpM5Gvyvd4udCA+glYkPWMTJCgvlXeRuBegEu1lKo=; b=F9jRBCu9zoRx1xM7v3VEacUOXXbQrABr3SoPOlnzR7Jz5X5tqtYYtQw3PUkcDD9wSi vPCfpTjhXI9j76GBxczpH5pp7OOBnJ3tXi49pdZ3tSSMgFub90dH1KQS+oyf3BzWwikq VOmvxp1vO5nTh/0YfINPUpS7vDyhcSSRV1rUM0L+pdpr2wLcD2Rjw1FLfKGhdxCG/b/8 9TMfGABLXAvvDIKjCCfhzUFnYxKrXY7APaQyCMmtBvlGCz4icYsjA7psYNyOyskqVANQ VIfZhVnUVXL/XA8YZQMeIBgJUOHRq6DjpXQzD7uYKtPjBh9y1OYXqb6fDb3BTFNaNTc3 OnHA== X-Gm-Message-State: APjAAAVSCEqClAIUTecMZs/ahiADuY96wAPAXnWq/uFQodg7BpciLIiI /pTAvWoBEpXmgXCNCAn9hn8= X-Google-Smtp-Source: APXvYqxmMnOuV9QlB1rJNCq2zuN/qWbxaNtjCYrscjABEvCSyhXiKDR+O/48hfVcxZgt8oAvb7CdIw== X-Received: by 2002:adf:e602:: with SMTP id p2mr9735994wrm.105.1554938133850; Wed, 10 Apr 2019 16:15:33 -0700 (PDT) Received: from localhost.localdomain ([2a01:e0a:1f1:d0f0::df7e:4a05]) by smtp.gmail.com with ESMTPSA id n6sm8504947wmn.48.2019.04.10.16.15.32 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 10 Apr 2019 16:15:32 -0700 (PDT) From: =?utf-8?b?Q2zDqW1lbnQgUMOpcm9u?= To: Rob Herring , Maxime Ripard , Chen-Yu Tsai , Icenowy Zheng , Jagan Teki , Jernej Skrabec Subject: [PATCH 4/8] arm64: dts: allwinner: Add ARM Mali GPU node for H6 Date: Thu, 11 Apr 2019 01:25:39 +0200 Message-Id: <20190410232543.13297-5-peron.clem@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190410232543.13297-1-peron.clem@gmail.com> References: <20190410232543.13297-1-peron.clem@gmail.com> MIME-Version: 1.0 X-Mailman-Approved-At: Thu, 11 Apr 2019 08:01:03 +0000 X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=9BEpM5Gvyvd4udCA+glYkPWMTJCgvlXeRuBegEu1lKo=; b=SNGO69hQE55nUj7jA/Zvn61DSUs+8kjWx3AzLpr8wXajyDAs3FSPM3SF1RyBC5YSMJ naL5iOq4NG7jlGFqZzC0mwDLRP9EGisSKsMcSPlzRvgq5SeWUQdIM7ekpA9Cx3K/U1ws coWSYoLZgy7EXSayIz8IIbeOwn5Ec0F0tEkA/MB3gIIiSyoTNNf0L4zseV4CHPLqlFvm 8TPN4lQxo1Aq84fLD/teOn+732IhdGUz0XiyvHzasjiaLOaLdBPPtodWE4lwV/wV5xJ6 iGP5ApNNQjijSlc/2aPb27sIzo0/Ha2W5koWk/IuNiipw7BWvHBCJ4mPpm47qYmxnY93 PwBw== X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-sunxi@googlegroups.com, =?utf-8?b?Q2zDqW1lbnQgUMOpcm9u?= , linux-arm-kernel@lists.infradead.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP Add the mali gpu node to the H6 device-tree. Signed-off-by: Clément Péron --- arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi | 80 ++++++++++++++++++++ 1 file changed, 80 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi index e0dc4a05c1ba..152b2128aadf 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi +++ b/arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi @@ -17,6 +17,71 @@ #address-cells = <1>; #size-cells = <1>; + gpu_opp_table: opp_table1 { + compatible = "operating-points-v2"; + + opp@756000000 { + opp-hz = /bits/ 64 <756000000>; + opp-microvolt = <1040000>; + }; + opp@624000000 { + opp-hz = /bits/ 64 <624000000>; + opp-microvolt = <950000>; + }; + opp@576000000 { + opp-hz = /bits/ 64 <576000000>; + opp-microvolt = <930000>; + }; + opp@540000000 { + opp-hz = /bits/ 64 <540000000>; + opp-microvolt = <910000>; + }; + opp@504000000 { + opp-hz = /bits/ 64 <504000000>; + opp-microvolt = <890000>; + }; + opp@456000000 { + opp-hz = /bits/ 64 <456000000>; + opp-microvolt = <870000>; + }; + opp@432000000 { + opp-hz = /bits/ 64 <432000000>; + opp-microvolt = <860000>; + }; + opp@420000000 { + opp-hz = /bits/ 64 <420000000>; + opp-microvolt = <850000>; + }; + opp@408000000 { + opp-hz = /bits/ 64 <408000000>; + opp-microvolt = <840000>; + }; + opp@384000000 { + opp-hz = /bits/ 64 <384000000>; + opp-microvolt = <830000>; + }; + opp@360000000 { + opp-hz = /bits/ 64 <360000000>; + opp-microvolt = <820000>; + }; + opp@336000000 { + opp-hz = /bits/ 64 <336000000>; + opp-microvolt = <810000>; + }; + opp@312000000 { + opp-hz = /bits/ 64 <312000000>; + opp-microvolt = <810000>; + }; + opp@264000000 { + opp-hz = /bits/ 64 <264000000>; + opp-microvolt = <810000>; + }; + opp@216000000 { + opp-hz = /bits/ 64 <216000000>; + opp-microvolt = <810000>; + }; + }; + cpus { #address-cells = <1>; #size-cells = <0>; @@ -157,6 +222,21 @@ allwinner,sram = <&ve_sram 1>; }; + gpu: gpu@1800000 { + compatible = "allwinner,sun50i-h6-mali", + "arm,mali-t720"; + reg = <0x01800000 0x4000>; + interrupts = , + , + ; + interrupt-names = "job", "mmu", "gpu"; + clocks = <&ccu CLK_GPU>, <&ccu CLK_BUS_GPU>; + clock-names = "core", "bus"; + resets = <&ccu RST_BUS_GPU>; + operating-points-v2 = <&gpu_opp_table>; + status = "disabled"; + }; + syscon: syscon@3000000 { compatible = "allwinner,sun50i-h6-system-control", "allwinner,sun50i-a64-system-control"; From patchwork Wed Apr 10 23:25:40 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?Q2zDqW1lbnQgUMOpcm9u?= X-Patchwork-Id: 10895243 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 B82DA139A for ; Thu, 11 Apr 2019 08:01:35 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A9E8727BA5 for ; Thu, 11 Apr 2019 08:01:35 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9E065288F3; Thu, 11 Apr 2019 08:01:35 +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_ADSP_CUSTOM_MED, FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 4EB8D27BA5 for ; Thu, 11 Apr 2019 08:01:35 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 9820D898A3; Thu, 11 Apr 2019 08:01:10 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wr1-x443.google.com (mail-wr1-x443.google.com [IPv6:2a00:1450:4864:20::443]) by gabe.freedesktop.org (Postfix) with ESMTPS id 01209893E8 for ; Wed, 10 Apr 2019 23:15:35 +0000 (UTC) Received: by mail-wr1-x443.google.com with SMTP id y7so4806956wrn.11 for ; Wed, 10 Apr 2019 16:15:35 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=yuhRBMQmkLmEXKm2BYKcq8wbbgzPSvK5ds0MAMCI7u0=; b=cdTXOUswoD2oCkvICru7Mkvl6gctQhyYdJWZajcF70bTAF84jgaQVURR1FcJBWqB2e fmE2Ain00XDmgtcIibIutM2YOEPVztqueRMf77LJGI6k468v7iEygJ3gfkNI2lSH1UI+ vMXdqiDdnLNZtSk8rbtgSz7DEaeY1+SqGPHudASixx/VaT7h6R9CyA7sBJfrWy7i0C7V UoBIF+jU54yR4A0hVEXWeZmK1hx5mAqD63/x707QGfW27+qIYcqf6BDuH9mgmSf5uIRP YR6ISRDsl5qMe8gFtZ6BRmtPWYJQxMfEfv4BQeFsftko9NVleBvFzdui2swOUVEiQd/y RGmQ== X-Gm-Message-State: APjAAAXmmM+dJ5a9hq6UNVp48QDlEyFOkVm1W0/isPnzgclvkEbALMBN y+AM5e4CNzsy0SKHIVhOkbI= X-Google-Smtp-Source: APXvYqz6YREXV/q/g6DW2SN6F3A7SRojMAVqaFAF77Qiw2G8z/EbNPshjGfgMyxCsiUSJMeiejOg0g== X-Received: by 2002:adf:f78c:: with SMTP id q12mr7728890wrp.172.1554938134597; Wed, 10 Apr 2019 16:15:34 -0700 (PDT) Received: from localhost.localdomain ([2a01:e0a:1f1:d0f0::df7e:4a05]) by smtp.gmail.com with ESMTPSA id n6sm8504947wmn.48.2019.04.10.16.15.33 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 10 Apr 2019 16:15:34 -0700 (PDT) From: =?utf-8?b?Q2zDqW1lbnQgUMOpcm9u?= To: Rob Herring , Maxime Ripard , Chen-Yu Tsai , Icenowy Zheng , Jagan Teki , Jernej Skrabec Subject: [PATCH 5/8] arm64: dts: allwinner: Add mali GPU supply for Pine H64 Date: Thu, 11 Apr 2019 01:25:40 +0200 Message-Id: <20190410232543.13297-6-peron.clem@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190410232543.13297-1-peron.clem@gmail.com> References: <20190410232543.13297-1-peron.clem@gmail.com> MIME-Version: 1.0 X-Mailman-Approved-At: Thu, 11 Apr 2019 08:01:03 +0000 X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=yuhRBMQmkLmEXKm2BYKcq8wbbgzPSvK5ds0MAMCI7u0=; b=Oewdvft1nTE7uHaoaEMNzogKAQjw4NxxZXX7ivoWsKA1pW5eXe+lxDIyE4NBOk2rHz m93d1Z5aVSQgSjE3YKvCpmycl+y311CVJ2UmDxey3St2FawcJU7LPjnYqj0EehzzQL4I HWg7riAGQ166jsdWM6o7wCpLfhNPKDyHf9ksuNWC7vk9ghbzI8lOzAZ2rd7c9g3Y4MyK x8LCu+L4YgoH0MwQlZ+VZe6iGQ6j5UNZ+JZZ5/1r0qAzeDHppn65vTCiauH5Zigd4BOi Y8Jfb3/2dzOx0LbvtNv2pxn85gClUACqmjbbUN3u7xMrI7N6Ag4bfu3F4oojObe9kjmA V9pg== X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-sunxi@googlegroups.com, =?utf-8?b?Q2zDqW1lbnQgUMOpcm9u?= , linux-arm-kernel@lists.infradead.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP Enable and add supply to the Mali GPU node on the Pine H64 board. Signed-off-by: Clément Péron --- arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64.dts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64.dts b/arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64.dts index 4802902e128f..e16a8c6738f9 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64.dts +++ b/arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64.dts @@ -85,6 +85,11 @@ status = "okay"; }; +&gpu { + mali-supply = <®_dcdcc>; + status = "okay"; +}; + &hdmi { status = "okay"; }; From patchwork Wed Apr 10 23:25:41 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?Q2zDqW1lbnQgUMOpcm9u?= X-Patchwork-Id: 10895253 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 C730317E6 for ; Thu, 11 Apr 2019 08:01:50 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B804227BA5 for ; Thu, 11 Apr 2019 08:01:50 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id ACA49288F3; Thu, 11 Apr 2019 08:01:50 +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_ADSP_CUSTOM_MED, FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 769F227BA5 for ; Thu, 11 Apr 2019 08:01:50 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 213E6898C6; Thu, 11 Apr 2019 08:01:14 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wr1-x441.google.com (mail-wr1-x441.google.com [IPv6:2a00:1450:4864:20::441]) by gabe.freedesktop.org (Postfix) with ESMTPS id 8658A895E1 for ; Wed, 10 Apr 2019 23:15:37 +0000 (UTC) Received: by mail-wr1-x441.google.com with SMTP id r4so4818723wrq.8 for ; Wed, 10 Apr 2019 16:15:37 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Mlzb91vv83xS6UoRv6kQTj2/DAjCHH1E4jjakjsuiwg=; b=Olkbn5YT3NmfJb4Dj8mJTt+NBaZkGTJkQWFAmHvyABJKc56Bk7qVKW/5o2fBK2qbUH XeCAwI98s8GU21JIwH4JRYKFVLqudyY3/1WYOlHDEl53bjlLO2B02ouz7ZtmCpPV3Jgm HUGnHnSvA/vcw38cLyxAO0nHDJUyVfX1q/xNyAif8uFEnjD0nvR4Ez8q6sbj5x3xKgya PYfXa/O+1qqnapbRXT08PDSSwNY8AIydxbocQKJQF6F4tOLqsNfot7TPGJX7FLKC/DcA F6n7ZD7+BjpXq33vG7rBZdkRNnYtiBQo3LnRIPVsxkVyDxA98Z+B2KDdoB5f6w5pMqH4 1LGg== X-Gm-Message-State: APjAAAWTnVRMhPNX3j1hj2tne3yCA9QNSvmZDqOtx3SbPGOiMfx++tGN uhOYX2/EcVNjiz4EOYCdOQk= X-Google-Smtp-Source: APXvYqx0kRReicqPxEr0DtPz5CEZ+SMgO/aZGoexG+gUk3h9/Ak5QGZXIc8sBOCXrGvjcIzIHGWrrA== X-Received: by 2002:adf:fe03:: with SMTP id n3mr9255409wrr.59.1554938136072; Wed, 10 Apr 2019 16:15:36 -0700 (PDT) Received: from localhost.localdomain ([2a01:e0a:1f1:d0f0::df7e:4a05]) by smtp.gmail.com with ESMTPSA id n6sm8504947wmn.48.2019.04.10.16.15.34 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 10 Apr 2019 16:15:34 -0700 (PDT) From: =?utf-8?b?Q2zDqW1lbnQgUMOpcm9u?= To: Rob Herring , Maxime Ripard , Chen-Yu Tsai , Icenowy Zheng , Jagan Teki , Jernej Skrabec Subject: [PATCH 6/8] arm64: dts: allwinner: Add mali GPU supply for Beelink GS1 Date: Thu, 11 Apr 2019 01:25:41 +0200 Message-Id: <20190410232543.13297-7-peron.clem@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190410232543.13297-1-peron.clem@gmail.com> References: <20190410232543.13297-1-peron.clem@gmail.com> MIME-Version: 1.0 X-Mailman-Approved-At: Thu, 11 Apr 2019 08:01:03 +0000 X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Mlzb91vv83xS6UoRv6kQTj2/DAjCHH1E4jjakjsuiwg=; b=aQ0Z3Nmy6q+KAq9UiLOjZNsYt6gp5r1F7edVKxFr8RJT5sv06MLjmDhNGhrw+o+W9n PzluCivNfLBQesYNXDitq9fqOLSeFEubZI9mGg8U4ctw5vd9+z9zgsUMpzFNyHBPBUy2 okRTLzsEXwQy4P3kxRdWJ3dvxs6wzyaOQy3hm/TIYK+iWDpskJkVCY7MyRGWoBzx2S0f ToA3qu5p/Y777kF6b5kGftWCTa+jjj/xhr+oM51H8bmDvd2n/rL4B5QIUAwmuMK6J/L+ wq4uvX+66HOfcdY+oMreM0wW8yD13a6rLc8TRm0GxaqziQjk3amugpm6YbOQP+LEV3vx 923g== X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-sunxi@googlegroups.com, =?utf-8?b?Q2zDqW1lbnQgUMOpcm9u?= , linux-arm-kernel@lists.infradead.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP Enable and add supply to the Mali GPU node on the Beelink GS1 board. Signed-off-by: Clément Péron --- arch/arm64/boot/dts/allwinner/sun50i-h6-beelink-gs1.dts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h6-beelink-gs1.dts b/arch/arm64/boot/dts/allwinner/sun50i-h6-beelink-gs1.dts index 0dc33c90dd60..21440d572f0a 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-h6-beelink-gs1.dts +++ b/arch/arm64/boot/dts/allwinner/sun50i-h6-beelink-gs1.dts @@ -70,6 +70,11 @@ status = "okay"; }; +&gpu { + mali-supply = <®_dcdcc>; + status = "okay"; +}; + &hdmi { status = "okay"; }; From patchwork Wed Apr 10 23:25:42 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?Q2zDqW1lbnQgUMOpcm9u?= X-Patchwork-Id: 10895235 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 40F6317E6 for ; Thu, 11 Apr 2019 08:01:27 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3314727BA5 for ; Thu, 11 Apr 2019 08:01:27 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 27553288F3; Thu, 11 Apr 2019 08:01:27 +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_ADSP_CUSTOM_MED, FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id DB92F27BA5 for ; Thu, 11 Apr 2019 08:01:26 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 617CB8986D; Thu, 11 Apr 2019 08:01:08 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wr1-x441.google.com (mail-wr1-x441.google.com [IPv6:2a00:1450:4864:20::441]) by gabe.freedesktop.org (Postfix) with ESMTPS id 86A2B89624 for ; Wed, 10 Apr 2019 23:15:38 +0000 (UTC) Received: by mail-wr1-x441.google.com with SMTP id k11so4842317wro.5 for ; Wed, 10 Apr 2019 16:15:38 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=k+4rEQwoh/x6L1vMEfLnhjWMCaYNdunEelwJgclnNME=; b=VtEcwy7kSv2LwC+n4iBFmv2KDHxvoB5FgEdT0hCpQqpSKJuz7rs7YMUSbElh1PTtsT 0FY8iyHexaOgsw3r81alS92Spxa0+PyQ4miKUpTSWCnEEeKdaFtmmiqt+Cg+zgZx4PLO y1s6Csjw32ChrfAsUlYPbBHZTwNUnu4p7A8Qom2DUxtVjvu0jS2aas3cTfytWzM+xuc+ ARPzqn04AwbwSk8w+CbDK8Jcd4nMTmiVL66g0nqU5RtDlobeIu8BP2uWFuQSV1uSe0Mi JnsjgPZwQ3JS31xC+WKv2L3VSwLvxS+1EDB2O6oUMxDjSiXNTSLgRx2wR7IfP7NAAn8E GgSA== X-Gm-Message-State: APjAAAWJucZE8mdkjbWjNUrJ/QM1nRef43NbnIkH5YZniBoa+q+WP6Z+ +oanuDUG4ZJpm+pOGpQEAeo= X-Google-Smtp-Source: APXvYqx31kLMhziL8Yo+k+kniqiBbaLP+FOOPB0SCGUEW+Sn18W3vniwd88vAy6StyFgWGrMHpl3HQ== X-Received: by 2002:adf:97c5:: with SMTP id t5mr11390835wrb.252.1554938137150; Wed, 10 Apr 2019 16:15:37 -0700 (PDT) Received: from localhost.localdomain ([2a01:e0a:1f1:d0f0::df7e:4a05]) by smtp.gmail.com with ESMTPSA id n6sm8504947wmn.48.2019.04.10.16.15.36 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 10 Apr 2019 16:15:36 -0700 (PDT) From: =?utf-8?b?Q2zDqW1lbnQgUMOpcm9u?= To: Rob Herring , Maxime Ripard , Chen-Yu Tsai , Icenowy Zheng , Jagan Teki , Jernej Skrabec Subject: [PATCH 7/8] arm64: dts: allwinner: Add mali GPU supply for OrangePi Boards Date: Thu, 11 Apr 2019 01:25:42 +0200 Message-Id: <20190410232543.13297-8-peron.clem@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190410232543.13297-1-peron.clem@gmail.com> References: <20190410232543.13297-1-peron.clem@gmail.com> MIME-Version: 1.0 X-Mailman-Approved-At: Thu, 11 Apr 2019 08:01:03 +0000 X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=k+4rEQwoh/x6L1vMEfLnhjWMCaYNdunEelwJgclnNME=; b=PTatGZPCmjZFTroABySWpv9xgTtzKUseUwkanagKUsXUKRbVHbfePali9R3GdcNq/5 uJVUib94G/JjRkzik5rbzY53Rnw2nxW+9aZRvTLjnmrqlKwe3FMfiflavsxv0vAbuxIy JtXpBy7K2rKTE52leAuqJehzqxqKttc7LZ5dmx7WeNDsghSMdDLOD/tT2Eoom54OGwdj lbB5UDi7L/00ENpMgbuaqW+QUvlu5eOIGzLeKz6pZG3isdvMka3uP7BnjrFVUawwvEaK D2CYWO8XYer5ZzVbU89wmyooFp5vjS+dtdjhWuAP1dHuhNQ0tURTOGhjgryQs11+dvs3 f+Kw== X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-sunxi@googlegroups.com, =?utf-8?b?Q2zDqW1lbnQgUMOpcm9u?= , linux-arm-kernel@lists.infradead.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP Enable and add supply to the Mali GPU node on the Orange Pi One Plus and Lite2 boards. Signed-off-by: Clément Péron --- arch/arm64/boot/dts/allwinner/sun50i-h6-orangepi.dtsi | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h6-orangepi.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-h6-orangepi.dtsi index 62e27948a3fa..bd13297555ab 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-h6-orangepi.dtsi +++ b/arch/arm64/boot/dts/allwinner/sun50i-h6-orangepi.dtsi @@ -55,6 +55,11 @@ status = "okay"; }; +&gpu { + mali-supply = <®_dcdcc>; + status = "okay"; +}; + &mmc0 { vmmc-supply = <®_cldo1>; cd-gpios = <&pio 5 6 GPIO_ACTIVE_LOW>; From patchwork Wed Apr 10 23:25:43 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?Q2zDqW1lbnQgUMOpcm9u?= X-Patchwork-Id: 10895247 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 45393139A for ; Thu, 11 Apr 2019 08:01:41 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 376EA27BA5 for ; Thu, 11 Apr 2019 08:01:41 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2A04E288F3; Thu, 11 Apr 2019 08:01:41 +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_ADSP_CUSTOM_MED, FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id DE67A27BA5 for ; Thu, 11 Apr 2019 08:01:40 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 9E8D789870; Thu, 11 Apr 2019 08:01:11 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wr1-x443.google.com (mail-wr1-x443.google.com [IPv6:2a00:1450:4864:20::443]) by gabe.freedesktop.org (Postfix) with ESMTPS id 8E63489624 for ; Wed, 10 Apr 2019 23:15:39 +0000 (UTC) Received: by mail-wr1-x443.google.com with SMTP id h4so4825584wre.7 for ; Wed, 10 Apr 2019 16:15:39 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=sgaCObQyxyHYTX1YXpu+MjtXHmBUZKNVey1+WmtN8oM=; b=imSFRdCAN3vKoIFp7g6YJ+Jb6yS6iYPY0xH8vKdbWBs/blVAUMTYhGjSECnwQP7XdT trX28yJd2CLZzD6EDY7/iPrb8xupU4KEeEIqLEPpGNQrjllkIJBcbt2YSVUit4aujicy wEXxjsVlkectix6UljdMtXbYk1Qm91FxA8miZT78RZvdWUtNulEKwQQaz527TH4zou7y 9uYYg7l5yteE4NOR/W+wI8SJ9z1mo9ycBRzx+YgLJesDdW+wqyWU6znVmxoIglqIo2IN 0x389NC3I36Ca6wRf+u/xpD5QyIy21SYcXAJEsyZi0yrrkF16to4OTBLt0F2sI/P329s G0gw== X-Gm-Message-State: APjAAAVK4jnymNIvkbJ/TyfgA+nAWFGBHW9cFwZbo+o265VEx7WjKQVG CjkbpykaoWl2KuhWnWHvvwM= X-Google-Smtp-Source: APXvYqyrEOhQGJXKNgtF9WRMgQDssvnADUdGdfCEkK5gOcrjWIPZQtC6Ecjsw4vVDy/iUkLvJdhcEQ== X-Received: by 2002:adf:f7cc:: with SMTP id a12mr7719109wrq.87.1554938138130; Wed, 10 Apr 2019 16:15:38 -0700 (PDT) Received: from localhost.localdomain ([2a01:e0a:1f1:d0f0::df7e:4a05]) by smtp.gmail.com with ESMTPSA id n6sm8504947wmn.48.2019.04.10.16.15.37 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 10 Apr 2019 16:15:37 -0700 (PDT) From: =?utf-8?b?Q2zDqW1lbnQgUMOpcm9u?= To: Rob Herring , Maxime Ripard , Chen-Yu Tsai , Icenowy Zheng , Jagan Teki , Jernej Skrabec Subject: [PATCH 8/8] arm64: dts: allwinner: Add mali GPU supply for OrangePi 3 Date: Thu, 11 Apr 2019 01:25:43 +0200 Message-Id: <20190410232543.13297-9-peron.clem@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190410232543.13297-1-peron.clem@gmail.com> References: <20190410232543.13297-1-peron.clem@gmail.com> MIME-Version: 1.0 X-Mailman-Approved-At: Thu, 11 Apr 2019 08:01:03 +0000 X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=sgaCObQyxyHYTX1YXpu+MjtXHmBUZKNVey1+WmtN8oM=; b=ojL6po6l4LU/k/u3XfN9aPFLuB2HT3i/14b+tXflDIObX411NgTFq//0jyc/Skpvv/ UDdg3BLLwRy0IqWoETfOWTx/iPzG1ijKkEAo/xRjzgs5xXtuARmo2t87TS1hQT9Suxmx rvRxOSD8LrZIiK2EPBGwN2OX99/DyvX5eIddFPtnsMQRH8hUNQMmtahAZN3mjCJ0lGX4 RFmaynR7rhEYjM7lZsxxbPUN3bSIBDTQtuNsyywfhRKRTV64tLHW7y/8/HhkAmB3rFOy wUN5Z2JrF/gEZOWYH3nzWQgC9Vkk9IRt0Jc0Xt3aCOaZkQ4X0q6pVH5E/at2uDFP6vJa xvPg== X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-sunxi@googlegroups.com, =?utf-8?b?Q2zDqW1lbnQgUMOpcm9u?= , linux-arm-kernel@lists.infradead.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP Enable and add supply to the Mali GPU node on the Orange Pi 3 board. Signed-off-by: Clément Péron --- arch/arm64/boot/dts/allwinner/sun50i-h6-orangepi-3.dts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h6-orangepi-3.dts b/arch/arm64/boot/dts/allwinner/sun50i-h6-orangepi-3.dts index 17d496990108..d4c989cc92a7 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-h6-orangepi-3.dts +++ b/arch/arm64/boot/dts/allwinner/sun50i-h6-orangepi-3.dts @@ -58,6 +58,11 @@ status = "okay"; }; +&gpu { + mali-supply = <®_dcdcc>; + status = "okay"; +}; + &mmc0 { vmmc-supply = <®_cldo1>; cd-gpios = <&pio 5 6 GPIO_ACTIVE_LOW>; /* PF6 */