From patchwork Thu Apr 11 10:57:13 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: 10897355 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 CD1EA14DB for ; Fri, 12 Apr 2019 07:27:22 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id AC60F28E45 for ; Fri, 12 Apr 2019 07:27:22 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A0DB328E52; Fri, 12 Apr 2019 07:27:22 +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 5611928E45 for ; Fri, 12 Apr 2019 07:27:22 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id CC7D289870; Fri, 12 Apr 2019 07:27:09 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wm1-x344.google.com (mail-wm1-x344.google.com [IPv6:2a00:1450:4864:20::344]) by gabe.freedesktop.org (Postfix) with ESMTPS id D240F892CC for ; Thu, 11 Apr 2019 10:47:38 +0000 (UTC) Received: by mail-wm1-x344.google.com with SMTP id y197so6057102wmd.0 for ; Thu, 11 Apr 2019 03:47: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; bh=1WIGTjZh4mIwUZpoXVfzkYofixlglZX9sKei53EYiYk=; b=pmdVBvDNUCl0DVDcz/JyKURxYvqZj6+wA7apz58BC4d3Kb/piaJgylj4SD+BfKoz2n LunnYgqKedsognkfRr9ZsKRgC1f470rvLHQnuCyDCT3xDu8w2DvfuKXIeFLPVEBi2hQe 2DeY6V96e2pqhSijl2LPNHxZGkgPyInz/uT4d8tVuWYaXDbItDiMHYQ2LJIdNqFs5AAL 5K6BNNBc6MlCbR6W7AF03eK4cRtoPhIZ1IoiFiChQahHXchOhR6PR9CzCMnXiXt0Peg6 GN8Tob/bfVMOcc1QoD9sXpj6j5TT+8C9V+KLq149yx3v6yMXznQMHZM47EL+QzPKtThe lWxw== X-Gm-Message-State: APjAAAWguc73xJeWGP5OfjuP83QnAAgYgcdrihRC/9BeR9jAJrDlY8HL xusmJsvdI6/uUV2j58gSH9E= X-Google-Smtp-Source: APXvYqypVQbIptRxZbWO4OESOGCBjxgP1jLmEUbZYgewaa0EuMPpeITisCxAjn+XI/8xMN4HpeSQVw== X-Received: by 2002:a1c:e912:: with SMTP id q18mr5976460wmc.137.1554979657350; Thu, 11 Apr 2019 03:47:37 -0700 (PDT) Received: from localhost.localdomain ([2a01:e0a:1f1:d0f0::df7e:4a05]) by smtp.gmail.com with ESMTPSA id k4sm54987587wro.33.2019.04.11.03.47.36 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 11 Apr 2019 03:47:36 -0700 (PDT) From: =?utf-8?b?Q2zDqW1lbnQgUMOpcm9u?= To: Rob Herring , Maxime Ripard , Chen-Yu Tsai , Icenowy Zheng , Jagan Teki , Jernej Skrabec Subject: [PATCH v2 1/8] dt-bindings: gpu: mali-midgard: Add resets property Date: Thu, 11 Apr 2019 12:57:13 +0200 Message-Id: <20190411105720.32357-2-peron.clem@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190411105720.32357-1-peron.clem@gmail.com> References: <20190411105720.32357-1-peron.clem@gmail.com> X-Mailman-Approved-At: Fri, 12 Apr 2019 07:27:08 +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=m+CPze15BXpmCnfHe7tC+npflErN9n978bF/GtAZ/nX87YZWIgkaiMAFrwvD1Nrjy+ qlVaufbg7pJdUuYiibezwwJXcrv74A9kcUAJzI3Ir4CxYK5U815wQg3BO+aYXb712Zic EO7sNsV7fylxIQ4eTCq5aFi7Tj3AHGdVCjB8dNPf05XaDD0I5YHFoc+m0WfI5wYuP+6O iRfkka8jrKWj3VtFFiXQz1GzO95TsPBeo1xH7lTTR6jbTTw3wUsGelJEupKeedmQs4fL Jc0tWoQK3mtQ/oVVMwJy3m04B0HnJZhHVDZEprSuYTDsCwKTNyv1RRA4BXqmZAdryTxk 0afw== 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 Thu Apr 11 10:57:14 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: 10897367 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 D6DB014DB for ; Fri, 12 Apr 2019 07:28:01 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B184E28E45 for ; Fri, 12 Apr 2019 07:28:01 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A5C9228E52; Fri, 12 Apr 2019 07:28:01 +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 A8FAD28E45 for ; Fri, 12 Apr 2019 07:28:00 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 71189899B5; Fri, 12 Apr 2019 07:27:42 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wr1-x444.google.com (mail-wr1-x444.google.com [IPv6:2a00:1450:4864:20::444]) by gabe.freedesktop.org (Postfix) with ESMTPS id DD80A894E0 for ; Thu, 11 Apr 2019 10:47:39 +0000 (UTC) Received: by mail-wr1-x444.google.com with SMTP id t17so6641889wrw.13 for ; Thu, 11 Apr 2019 03:47: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=0qACYbWibCn2NYEQtyoZ/KKRf3EQ91V9nFYFBIMWmRE=; b=iCzVfeqwfVpxDL5N6nCfoGDYo+vD7KHx6CL+9e59x7ZeyOwZ9vzFsvcG7IyAFFGt5q Hs+ftdH+c0XJfPRRVkB0QNn3MPyMegVG7vUNnBiG8+3zbctu8ReSxy7XNzuaEjTgnssU Ka5A69Vpx2zcS88OLX9aEqUNko4v+0QRLQPlpBbetK14m06J1MHVKQVjkP+aWoXVtMnX BJSjDt3mvKRvyXz57Ctp4ISTQe8f4izf3SDtIklQH7RcFXTmuM1QU696lwXt4iQxoYoJ ppROubdyBlllS2SW9YMgtH2kALW6qfY5sEcPoN2zSp03Ot2OvthFuQdNLRplAFG0Rcmi 94ug== X-Gm-Message-State: APjAAAXwTy6qxd375lg9IPeY8ylAkza70LSCS+tsBiGNYmFhB5prBjFv XQyxE97bXEUJsV+Xk2J1e9c= X-Google-Smtp-Source: APXvYqy9Ffo+bDiYwpkeZxK/eC2sbRafYMnlCEqnhKorcJATkTITXvDg3unrBdUlj+ef9w8kjCE75g== X-Received: by 2002:adf:dc88:: with SMTP id r8mr8993988wrj.28.1554979658424; Thu, 11 Apr 2019 03:47:38 -0700 (PDT) Received: from localhost.localdomain ([2a01:e0a:1f1:d0f0::df7e:4a05]) by smtp.gmail.com with ESMTPSA id k4sm54987587wro.33.2019.04.11.03.47.37 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 11 Apr 2019 03:47:37 -0700 (PDT) From: =?utf-8?b?Q2zDqW1lbnQgUMOpcm9u?= To: Rob Herring , Maxime Ripard , Chen-Yu Tsai , Icenowy Zheng , Jagan Teki , Jernej Skrabec Subject: [PATCH v2 2/8] dt-bindings: gpu: add bus clock for Mali Midgard GPUs Date: Thu, 11 Apr 2019 12:57:14 +0200 Message-Id: <20190411105720.32357-3-peron.clem@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190411105720.32357-1-peron.clem@gmail.com> References: <20190411105720.32357-1-peron.clem@gmail.com> MIME-Version: 1.0 X-Mailman-Approved-At: Fri, 12 Apr 2019 07:27:08 +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=OoNxAH/UfZWQ71k0iVbW+Nd4KZMUclCIEDuHnjYtLfggWsktEQj8t5eyskGK4f57o9 rYDvKldzHFOtrFQSkXlXSHSFl4AP8Q6cHOgeLrzGESILvkJF6bF0KQtENGLoPxXpawwS ed82nuuJrmOgmtbDYT2vjKudiEGYDkXCfpUadAHZiKShGQtYZ6bfbSdIjTOZk3XebqIm xRONMSLQamIk6yBwYXV1iZxqIOWo2XzGpDxMdFpRbsvKEs13PPFOHBp/o/bSsFne2kjw uGNBpi1HUbATtdkZ+JNuaqQYT00evBBO4aEwIpbcXnKgNtmoWCkm+Klp8DEbjRcODQLS kr9Q== 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 Thu Apr 11 10:57:15 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: 10897357 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 65CD214DB for ; Fri, 12 Apr 2019 07:27:26 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 477BA28E45 for ; Fri, 12 Apr 2019 07:27:26 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3B99D28E52; Fri, 12 Apr 2019 07:27:26 +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 02E4D28E45 for ; Fri, 12 Apr 2019 07:27:26 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 141D489875; Fri, 12 Apr 2019 07:27:10 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wm1-x341.google.com (mail-wm1-x341.google.com [IPv6:2a00:1450:4864:20::341]) by gabe.freedesktop.org (Postfix) with ESMTPS id 39AF9894E0 for ; Thu, 11 Apr 2019 10:47:41 +0000 (UTC) Received: by mail-wm1-x341.google.com with SMTP id v14so6049327wmf.2 for ; Thu, 11 Apr 2019 03:47:41 -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=JHkOGE5uu1KF72uJBHM3+EVdhQraRuZIRYHO0QubjyY=; b=VatIdbCGtCFPcB9m0bCilqo4bv4uF1BUMDJ5TtQ4Q9AQHESuRIP4oapsnXosvj3AiA 6ReVkUj46aff1yKHlMmRyKJXoY5i9hLAoW09h4wxwKDT6gUbHT9RMgqOUqZrNTnaoEXK YIPDaHz+dHWZ2tSLjGdL9GwJL7bCR9w+dhA/zJw+kFg5T5UeDsxEGMRLTvVwKDwvjyWh 5x6bOR+4CAm4q+P/xKTl/xxuwecjnBFHSCiM9xH+jvg6v7rPcTzfoqkFyhbT7v4tmTbF dFl7iH4O+KPMJ33fY5UBwPzofhOcudS/OTOOI0eexI8dJe02Aj5Sff6sHHcIjM/yx+DZ 5JMQ== X-Gm-Message-State: APjAAAUaGdhxbHcQhw2Y5rzAi6bvI7TpZ5pjICk9Xw/zsJhEAXyR27lm l5ORd3sRPoCW+/dybUIQSUI= X-Google-Smtp-Source: APXvYqwUVO47Xzv2wwLZM5mMaymg37EacWx0IUtmMP2cUVDdxOkoyVaeBEJxOwxhGQeCdikT5Puxqg== X-Received: by 2002:a1c:67c1:: with SMTP id b184mr5906273wmc.12.1554979659783; Thu, 11 Apr 2019 03:47:39 -0700 (PDT) Received: from localhost.localdomain ([2a01:e0a:1f1:d0f0::df7e:4a05]) by smtp.gmail.com with ESMTPSA id k4sm54987587wro.33.2019.04.11.03.47.38 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 11 Apr 2019 03:47:38 -0700 (PDT) From: =?utf-8?b?Q2zDqW1lbnQgUMOpcm9u?= To: Rob Herring , Maxime Ripard , Chen-Yu Tsai , Icenowy Zheng , Jagan Teki , Jernej Skrabec Subject: [PATCH v2 3/8] dt-bindings: gpu: mali-midgard: Add h6 mali gpu compatible Date: Thu, 11 Apr 2019 12:57:15 +0200 Message-Id: <20190411105720.32357-4-peron.clem@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190411105720.32357-1-peron.clem@gmail.com> References: <20190411105720.32357-1-peron.clem@gmail.com> MIME-Version: 1.0 X-Mailman-Approved-At: Fri, 12 Apr 2019 07:27:08 +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=JHkOGE5uu1KF72uJBHM3+EVdhQraRuZIRYHO0QubjyY=; b=DCvh5DJN/VhCX8twV583hUuNgsfSrt4arzUvg9WdmDMr4gFsPQIZP5S3N4KtF8fJYt 99FymPlUe6sGtGWuF0O/vszLfuObtYKWss7mpmGWX9QiKsG5MONdbP9uDotpKYKg+ess yB/nP3dNHfZ7R659mVg3LLeDRLKWdVm01qIs/sjjUJn3MflWG7rMesrUlf4fUR0P71bi tqRO7He6L2ekx/Fk1naW5mBTywUF6xXN+WS2EwJNm8V1kwg7rWaooO4gdZX7ecEHTrVk 3G65jbB06ogBj/uHJ/PebdGwMUDowbQOz1T6RehMQluJYaEkBA441JSKwmRhbjt2UfIs v91A== 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 | 9 ++++++++- 1 file changed, 8 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..0000ec4a9f44 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,15 @@ 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: + - clocks : phandles to core and bus clocks + - clock-names : must contain "core" and "bus" + - resets: phandle to GPU reset line + - "amlogic,meson-gxm-mali" Required properties: - resets : Should contain phandles of : From patchwork Thu Apr 11 10:57:16 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: 10897351 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 6AD2714DB for ; Fri, 12 Apr 2019 07:27:19 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4884928E45 for ; Fri, 12 Apr 2019 07:27:19 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3CDA028E52; Fri, 12 Apr 2019 07:27:19 +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 031E628E45 for ; Fri, 12 Apr 2019 07:27:18 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 165248987A; Fri, 12 Apr 2019 07:27:10 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wm1-x343.google.com (mail-wm1-x343.google.com [IPv6:2a00:1450:4864:20::343]) by gabe.freedesktop.org (Postfix) with ESMTPS id B1594894E0 for ; Thu, 11 Apr 2019 10:47:42 +0000 (UTC) Received: by mail-wm1-x343.google.com with SMTP id n25so6033454wmk.4 for ; Thu, 11 Apr 2019 03:47:42 -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=4iIsSq4w5xueJD+Zm+ZuZyaOSt0w4rNwgySBcGo22Xg=; b=H78GNFS9bqPRjIIElSoVtpZZh1lNLJURi1x9VWF74XmkkfyU0iAiFjdGivlaR8VrgN qIGoIG9LvMRLO1WndIM+4OC7OIPsfHzyA8yaBHoakkYhTMacDA+M7HdWkzQFgN/QM+OW bYByFs74twg+ljkt/56aVoFGF8KJQ5NIIQg1ZwBtDN/EFf11jL29HYkgFFRNw4ONbxIL AxWjP+rxvHri1ktlX80Jk0ddHmzpReWDxPlW2O81l0s48eEQX2mpG/QqatBbqdaiPNbI 7ijkmQZ1NkkcWxTFBGw3+ly0e6LlPeXdZLPNNoeoNkV4qtsJuJTUYEtbUW9idg+LvEsg vTxA== X-Gm-Message-State: APjAAAWLvgqx5F8Vqs4/TYp/14TN9tJ8z2CRCA2J5oI1shODeuliKTdy Lyz4zFUPHmnqIyTozAZsXz98QBeRRO/nvw== X-Google-Smtp-Source: APXvYqxMhVlu18sbgQIpM6jDzAylYDoyfvPo/Zbra458MLtBy5hGswmJra+6A9NZlwknzJcjKTO+1Q== X-Received: by 2002:a05:600c:2199:: with SMTP id e25mr6072964wme.36.1554979661261; Thu, 11 Apr 2019 03:47:41 -0700 (PDT) Received: from localhost.localdomain ([2a01:e0a:1f1:d0f0::df7e:4a05]) by smtp.gmail.com with ESMTPSA id k4sm54987587wro.33.2019.04.11.03.47.39 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 11 Apr 2019 03:47:40 -0700 (PDT) From: =?utf-8?b?Q2zDqW1lbnQgUMOpcm9u?= To: Rob Herring , Maxime Ripard , Chen-Yu Tsai , Icenowy Zheng , Jagan Teki , Jernej Skrabec Subject: [PATCH v2 4/8] arm64: dts: allwinner: Add ARM Mali GPU node for H6 Date: Thu, 11 Apr 2019 12:57:16 +0200 Message-Id: <20190411105720.32357-5-peron.clem@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190411105720.32357-1-peron.clem@gmail.com> References: <20190411105720.32357-1-peron.clem@gmail.com> MIME-Version: 1.0 X-Mailman-Approved-At: Fri, 12 Apr 2019 07:27:08 +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=4iIsSq4w5xueJD+Zm+ZuZyaOSt0w4rNwgySBcGo22Xg=; b=oOv+aG0g4ut0d1ZEVU6FtEqKAobVLg2RVX1DqkuSxu3ZP6zdcV9fHF+VFBdiE76K4o 4JtmPaBH8x1h+MljkWOsYYRVM0ElhGG640M66C0Q3lNYoYrrknPh4+roIV/Kg2JDw9re UKvYPryCdSl+7B0YZqRN7JS8FDMccEdtgC2MH/ltFkNqWSToYzvflrbfZGqJG/RbVMDv d8De6wHT9awsnJLdqSzDKKdcXDgEUjtfYs6mMsC4Eot2DfHj3FxRNlBlonm4pjALtsaz gh6DUCuyQvvH5aj3da3kqurbxwdbpSn/yFo3Iq/j9Rdmm0p2IhOxle4LrUk48SmQM9hM U2nQ== 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 | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi index e0dc4a05c1ba..196753110434 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi +++ b/arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi @@ -157,6 +157,20 @@ 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>; + status = "disabled"; + }; + syscon: syscon@3000000 { compatible = "allwinner,sun50i-h6-system-control", "allwinner,sun50i-a64-system-control"; From patchwork Thu Apr 11 10:57:17 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: 10897353 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 12B0D1800 for ; Fri, 12 Apr 2019 07:27:21 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E68D328E45 for ; Fri, 12 Apr 2019 07:27:20 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id DAA0328E52; Fri, 12 Apr 2019 07:27: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 98DDD28E45 for ; Fri, 12 Apr 2019 07:27:20 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 2EBDB8991C; Fri, 12 Apr 2019 07:27:10 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wm1-x344.google.com (mail-wm1-x344.google.com [IPv6:2a00:1450:4864:20::344]) by gabe.freedesktop.org (Postfix) with ESMTPS id E08FD89801 for ; Thu, 11 Apr 2019 10:47:43 +0000 (UTC) Received: by mail-wm1-x344.google.com with SMTP id w15so6034940wmc.3 for ; Thu, 11 Apr 2019 03:47:43 -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=QFzUCOPvbmUJ9lRfB80SMM+SW7BOjqGDoL2Cn6GNuP6FCSCeVh/n+6P3ABBkCldQr8 JQ1oTJE61ih5V5v94PwqDDllypbspBwKEi9LsOS2VRUykJ9l4NKB5qJu4zYIF475loHF hfC/K4hkV/akbsFbatVWxBdWNWVzUESJ2fgQrbad+GTwY1rLDlmjO9D0RhKv9tpPVTvo oRzzcYP9HQxSz6COJdKOpr1kX1/PZcNmQhXXoiDRI22MK3+lmRYuwTfdZZJlEts6//2V uKZP7BhrO0rE85D42p4tD0/pFCUiyMsmbXVa/Rt/yteeAEjsgFYurlBGixXXOG2mVX8C 8zbQ== X-Gm-Message-State: APjAAAW2xbslKJcvBcNiLQ24vnuuWVy5UEkAqltLm0RLCVryyUdtrGQ2 MolcjWN+sjV0Qp0bM7ZbRTY= X-Google-Smtp-Source: APXvYqw9AN3cvn36N8BP+b3HrDyX+J34RlOJ5e4RGC4s6yTLarYECk9ptfgi1nZ4qq3eEWrNSFs/3A== X-Received: by 2002:a1c:230e:: with SMTP id j14mr6433035wmj.120.1554979662475; Thu, 11 Apr 2019 03:47:42 -0700 (PDT) Received: from localhost.localdomain ([2a01:e0a:1f1:d0f0::df7e:4a05]) by smtp.gmail.com with ESMTPSA id k4sm54987587wro.33.2019.04.11.03.47.41 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 11 Apr 2019 03:47:41 -0700 (PDT) From: =?utf-8?b?Q2zDqW1lbnQgUMOpcm9u?= To: Rob Herring , Maxime Ripard , Chen-Yu Tsai , Icenowy Zheng , Jagan Teki , Jernej Skrabec Subject: [PATCH v2 5/8] arm64: dts: allwinner: Add mali GPU supply for Pine H64 Date: Thu, 11 Apr 2019 12:57:17 +0200 Message-Id: <20190411105720.32357-6-peron.clem@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190411105720.32357-1-peron.clem@gmail.com> References: <20190411105720.32357-1-peron.clem@gmail.com> MIME-Version: 1.0 X-Mailman-Approved-At: Fri, 12 Apr 2019 07:27:08 +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=Q/rrAg9vBYfYoAGD09Q4fPWwKDuaxC6g+9G+D3o2iFnzPbzoXLBupqwHWGB7gCRj7p NOCWoFQmhZyM5KCwpt93Zg1LXcLWYl7+/R4z1apy5PhNn9xOBxZfOqhFBp+8yQ/9Iwt/ qAnt0/QrsIWXsO0f/YKf9vqYEhvbeSt+5HqomSeolqnzwzm+FIAkVT9tXoaVDnOyAkkW hkzyDWcgksVU/UnfbcSuW09l+R9BsrxF65pgGsFLZjljICwYCCOWB+6FQl1eDvtrQm7I rb6oULVgDQw2iJH2dceh8bFO+NIG1iPTazsg7B+IZufbMsWsoCoKi2vauXfcU9G23qJs u+Nw== 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 Thu Apr 11 10:57:18 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: 10897359 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 1C10F1800 for ; Fri, 12 Apr 2019 07:27:31 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id EB91028E45 for ; Fri, 12 Apr 2019 07:27:30 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E028828E52; Fri, 12 Apr 2019 07:27: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 AA5A828E45 for ; Fri, 12 Apr 2019 07:27:30 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id DA39D89939; Fri, 12 Apr 2019 07:27:11 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wm1-x342.google.com (mail-wm1-x342.google.com [IPv6:2a00:1450:4864:20::342]) by gabe.freedesktop.org (Postfix) with ESMTPS id DB68489804 for ; Thu, 11 Apr 2019 10:47:44 +0000 (UTC) Received: by mail-wm1-x342.google.com with SMTP id z11so6149243wmi.0 for ; Thu, 11 Apr 2019 03:47:44 -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=bDOwgrXQoBThOKKrDw1Iz+xiPuP191jS221+SO0LLTFnFX7845OODVSt/uRB8vmnzO 7Q7VJL5NDBA/ad+zlYB3AsUjo1Kcpv2u7vDZvcLJ+tqRqHMGFgr0UhPZuouWvn54vnpo LKJo1nLacH5wfJJQYsWrIXzD6NRV0AwIwyulr5oKPLew6iC5P0kpatHMT/oT96h6HQ8S pjbn8eLg24OAFMcLBMBWJPotfmSdWA1nY+5SiITykPqyzQbSA56OnA4XCXsP/8nlKPdb EVVXMCtt9ej5my2CzmJizu/zPeajBeyz3u/TNJxUOs0BNoY/gM+A0DXra12L5zhCdRk+ 8P8Q== X-Gm-Message-State: APjAAAX7XEhwlBRatZizn75CnmkHhUtvhk6kJvUglW20uhIq8qv7qStj q6QFfhDI1jXs5dDTEgo2wDE= X-Google-Smtp-Source: APXvYqy3K2FjIzG14mNBpzthX3a+MU1TFHPyr1P7K7PrRdr/Z+5idGHATszMkxp1k+yaHUnT0ehoKQ== X-Received: by 2002:a05:600c:24f:: with SMTP id 15mr6425572wmj.48.1554979663480; Thu, 11 Apr 2019 03:47:43 -0700 (PDT) Received: from localhost.localdomain ([2a01:e0a:1f1:d0f0::df7e:4a05]) by smtp.gmail.com with ESMTPSA id k4sm54987587wro.33.2019.04.11.03.47.42 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 11 Apr 2019 03:47:42 -0700 (PDT) From: =?utf-8?b?Q2zDqW1lbnQgUMOpcm9u?= To: Rob Herring , Maxime Ripard , Chen-Yu Tsai , Icenowy Zheng , Jagan Teki , Jernej Skrabec Subject: [PATCH v2 6/8] arm64: dts: allwinner: Add mali GPU supply for Beelink GS1 Date: Thu, 11 Apr 2019 12:57:18 +0200 Message-Id: <20190411105720.32357-7-peron.clem@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190411105720.32357-1-peron.clem@gmail.com> References: <20190411105720.32357-1-peron.clem@gmail.com> MIME-Version: 1.0 X-Mailman-Approved-At: Fri, 12 Apr 2019 07:27:08 +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=Nh5qFk6MaVPdek9JN8ROuJxKlWK/CKVAS5nuwEsXKDiwbRxV/YwyZQuAPNgb+i3pSA snVOty9y86iJWjjJKEVuLgUSdECnD+eeufP/jv9pj/EqEpSS/syeWpeluWURNA7KUjYT 82XNpHufHG15wVFXI77gITwKXprSk0x9iDDbbrT2LXMg69MUz5o1ia6mqS2Ma9DBbM/s Y/i4bbDZxjm1Kf7TuctRR5LHfmYjnu0SDNgrJiW6faC0rPCuYSHtj3hTkKYBuDzEjmHD b9/4NqbNdPDPdYmdaLZr+KpJkCQzWj/R93QlOFGOC6Ec6UsL1Be9PFWh6N8feWWLC3En Ij8g== 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 Thu Apr 11 10:57:19 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: 10897349 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 75F8114DB for ; Fri, 12 Apr 2019 07:27:17 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5649328E45 for ; Fri, 12 Apr 2019 07:27:17 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4A50E28E52; Fri, 12 Apr 2019 07:27:17 +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 143C928E45 for ; Fri, 12 Apr 2019 07:27:17 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 7145189812; Fri, 12 Apr 2019 07:27:09 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wm1-x341.google.com (mail-wm1-x341.google.com [IPv6:2a00:1450:4864:20::341]) by gabe.freedesktop.org (Postfix) with ESMTPS id 22C72892AC for ; Thu, 11 Apr 2019 10:47:46 +0000 (UTC) Received: by mail-wm1-x341.google.com with SMTP id c1so6096956wml.4 for ; Thu, 11 Apr 2019 03:47:46 -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=Ji6gYv3V6P/5apJYp+MIRPO+OkembuLwHl2HtUCksds1YN9rNYGjYqbRVzgSXJ1vQN YQ+1GMSYtSSY8Oj8Yj9BLphKCFGYWpJVLwniQPmKg7wlluTl7tG0ajmdlKN/4nBPaT3B /z7UdOeDYVqjVJuLk6igsDvTqXd9ohaVKg1N9q5beL0JjUJfJBJ2BDxxpmZJZKNXoxTO XCi6By8T6gdgT7MdeZDG+6tNMkptCc0PNjMb24Sf501UGWTcZm1S+MVBSVGB5lNymJA7 0YyVLtScBytmpAZbze9JsoFZxVRBFUNdkIivb8S5DR5xXN/kRB6Qqc6/Rp9XG5Pb4Aot m3vA== X-Gm-Message-State: APjAAAUMGr/KScpGpOGalJU/4XsgD7myhR4XXqoZjK4w3tEGJB+qovQO KrxcvPVJa4VmvFgKt5J3yFk= X-Google-Smtp-Source: APXvYqx3DknNYL3cRdn3yE4zCPUJDK0NpJglQVNKpvMRJSZwus4bSWeW55pMqf5kQseRWkAgzXVF1A== X-Received: by 2002:a1c:4d10:: with SMTP id o16mr5964056wmh.59.1554979664468; Thu, 11 Apr 2019 03:47:44 -0700 (PDT) Received: from localhost.localdomain ([2a01:e0a:1f1:d0f0::df7e:4a05]) by smtp.gmail.com with ESMTPSA id k4sm54987587wro.33.2019.04.11.03.47.43 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 11 Apr 2019 03:47:43 -0700 (PDT) From: =?utf-8?b?Q2zDqW1lbnQgUMOpcm9u?= To: Rob Herring , Maxime Ripard , Chen-Yu Tsai , Icenowy Zheng , Jagan Teki , Jernej Skrabec Subject: [PATCH v2 7/8] arm64: dts: allwinner: Add mali GPU supply for OrangePi Boards Date: Thu, 11 Apr 2019 12:57:19 +0200 Message-Id: <20190411105720.32357-8-peron.clem@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190411105720.32357-1-peron.clem@gmail.com> References: <20190411105720.32357-1-peron.clem@gmail.com> MIME-Version: 1.0 X-Mailman-Approved-At: Fri, 12 Apr 2019 07:27:08 +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=oHeSqyuH5jJPFQUArGKlW44jzK9aFVTiZD718T1M+MYtXyCY2g7N1XUf8r8PMhuSRv eRkcLgkLC2UsKzmIu2j5PlogWBZSt7yBJMTvFGGfzNu2iydqdmDW7ekZq9qX85n0OVqg lwkFmt/SZKtE6eFhfQ71UUKQgMURFlwnWVrh5QPT2bbf9iZjP/b/sztGZKhXMD5OGHVZ avIx6lZGwyn9Tgkr2D5RhkjkN1HpPNqbuXKTXJA6NnlLvwTXZvfxq3kEikS6G/9CrSIX EJdveOuoWqtkE8LCsaCRkUPNMzJJODtU9YUx9r+juxevSBGA9iOYILYW+2bpwLSonBI5 g8lA== 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 Thu Apr 11 10:57:20 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: 10897373 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 D987C17E1 for ; Fri, 12 Apr 2019 07:28:07 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B9CB928E46 for ; Fri, 12 Apr 2019 07:28:07 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id ADA3B28E53; Fri, 12 Apr 2019 07:28:07 +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 6BA2428E46 for ; Fri, 12 Apr 2019 07:28:07 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id E608289938; Fri, 12 Apr 2019 07:27:57 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wm1-x343.google.com (mail-wm1-x343.google.com [IPv6:2a00:1450:4864:20::343]) by gabe.freedesktop.org (Postfix) with ESMTPS id 0EE41892AC for ; Thu, 11 Apr 2019 10:47:47 +0000 (UTC) Received: by mail-wm1-x343.google.com with SMTP id z6so1653156wmi.0 for ; Thu, 11 Apr 2019 03:47:46 -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=k2SePZlEFKuuOPHFvChmlBxOiargHBRLk8KpdFiPSuz4m8T+hcktyP0shLR0FoI8Mc Oq8AOoftQIKOT2HQtisqWhOPT4syP0/Zg8mxZOSFraf7J5Y8cybhhpCPLjcCFuxrTZkG t2MUtxAkhBGuygO9VWkKuT+ny9+NzhwvOaI5gKAZMtPP5RqAklxnrfhBOCsfzkSsC5aA 5P1bI2Ur0jRyMaZMHvoyge7zDttukArDiNiyuUNFHJACdqHhmBDLTkMkzZEEF0gks8Wf lm7Jw7McruXML8c5VbxnIz8XbhqL5rqlY/aIDVIrTn119AW0jhehlb44TTzAEM94ENIG yKUg== X-Gm-Message-State: APjAAAU1+4TVeAyZQrMlMFhC5tyHmrLIcseImKoQRSsaWIuZR8VKHDi4 muEwiBMIb6IwJx6eBhiFmvE= X-Google-Smtp-Source: APXvYqwfyMn2Y5/mYn4Wxueal1nFGdObseD+pt+aaXlRn0/pSTvCbnS93jh7T5aYu7s0Vkoctynzvw== X-Received: by 2002:a1c:cc15:: with SMTP id h21mr6044974wmb.85.1554979665527; Thu, 11 Apr 2019 03:47:45 -0700 (PDT) Received: from localhost.localdomain ([2a01:e0a:1f1:d0f0::df7e:4a05]) by smtp.gmail.com with ESMTPSA id k4sm54987587wro.33.2019.04.11.03.47.44 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 11 Apr 2019 03:47:44 -0700 (PDT) From: =?utf-8?b?Q2zDqW1lbnQgUMOpcm9u?= To: Rob Herring , Maxime Ripard , Chen-Yu Tsai , Icenowy Zheng , Jagan Teki , Jernej Skrabec Subject: [PATCH v2 8/8] arm64: dts: allwinner: Add mali GPU supply for OrangePi 3 Date: Thu, 11 Apr 2019 12:57:20 +0200 Message-Id: <20190411105720.32357-9-peron.clem@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190411105720.32357-1-peron.clem@gmail.com> References: <20190411105720.32357-1-peron.clem@gmail.com> MIME-Version: 1.0 X-Mailman-Approved-At: Fri, 12 Apr 2019 07:27:08 +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=h3A7DxVW+0PRm4RW0yFkuRt8I2eEtYCuczXFelTyN5D1FhMf0iIpmI8CPpzT+Z1vdM NKbxLK0FvBlEVkO0+myids57L9PB/tbFSgLvpBrtLFML+bUvmJJ2rlSD0/pp2p/3fNfM vEYaOwNo2ZKmLlyVCbbYgfviZ7T/8IQXRnnOrFXYWqLA4z/8qB+50vknCdRFERi48OgJ rAVLUkHdHuk2r1vJbuT9ro22zJaeNQUjGWI/p6ufAE7/sZPxT92EcDnJYSNgf3ElGB93 VZBdl9H2MV9LThYwwqSQZohEr6xw0V61omZDM7Py4s9ijIWIpj6nseSgCkuSM9E9w2he 5gGg== 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 */