From patchwork Wed May 3 09:56:24 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guillaume Tucker X-Patchwork-Id: 98478 Delivered-To: patch@linaro.org Received: by 10.140.89.200 with SMTP id v66csp216564qgd; Wed, 3 May 2017 02:57:00 -0700 (PDT) X-Received: by 10.84.236.12 with SMTP id q12mr14723094plk.123.1493805420661; Wed, 03 May 2017 02:57:00 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n9si20812097pll.112.2017.05.03.02.57.00; Wed, 03 May 2017 02:57:00 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753019AbdECJ46 (ORCPT + 7 others); Wed, 3 May 2017 05:56:58 -0400 Received: from bhuna.collabora.co.uk ([46.235.227.227]:33838 "EHLO bhuna.collabora.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752920AbdECJ46 (ORCPT ); Wed, 3 May 2017 05:56:58 -0400 Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: gtucker) with ESMTPSA id 50BCA2682AD From: Guillaume Tucker To: Rob Herring , Mark Rutland , =?utf-8?q?Heiko_St=C3=BCbner?= , Neil Armstrong Cc: Sjoerd Simons , Enric Balletbo i Serra , John Reitan , Wookey , devicetree@vger.kernel.org, linux-rockchip@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Guillaume Tucker Subject: [PATCH v5 0/5] Add ARM Mali Midgard device tree bindings and gpu node for rk3288 Date: Wed, 3 May 2017 10:56:24 +0100 Message-Id: X-Mailer: git-send-email 2.11.0 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org The ARM Mali Midgard GPU kernel driver is only available out-of-tree and is not going to be merged in its current form. However, it would be useful to have its device tree bindings merged. In particular, this would enable distributions to create working driver packages (dkms...) without having to patch the kernel. The bindings for the earlier Mali Utgard GPU family have already been merged, so this is essentially the same scenario but for newer GPUs (Mali-T604 ~ Mali-T880). This series of patches first imports the bindings from the latest driver release with some clean-up then adds a gpu node for the rk3288 SoC. This was successfully tested on Radxa Rock2 Square, Firefly, Veyron Minnie and Jerry boards using Mali kernel driver r16p0 and r12p0 user-space binary. Changes since v1: - enabled gpu on rk3288-veyron boards Changes since v2: - removed "clk-names" property and "clk_mali" name - converted values of "interrupt-names" property to lower-case: "job", "mmu" and "gpu" - replaced dt compatible strings with list of all Midgard GPU variants and optional vendors - cleaned up gpu node example Changes since v3: - add "rockchip,rk3288-mali" vendor compatible string - move gpu node at the right location in rk3288.dtsi - use operating-points-v2 in documentation and rk3288.dtsi Changes since v4: - removed wildcards (mali-t60x, -t62x) - vendor compatible strings are not optional any more - example updated accordingly, based on rk3288 Enric Balletbo i Serra (1): ARM: dts: rockchip: enable ARM Mali GPU on rk3288-veyron Guillaume Tucker (4): dt-bindings: gpu: add bindings for the ARM Mali Midgard GPU ARM: dts: rockchip: add ARM Mali GPU node for rk3288 ARM: dts: rockchip: enable ARM Mali GPU on rk3288-rock2-som ARM: dts: rockchip: enable ARM Mali GPU on rk3288-firefly .../devicetree/bindings/gpu/arm,mali-midgard.txt | 86 ++++++++++++++++++++++ arch/arm/boot/dts/rk3288-firefly.dtsi | 5 ++ arch/arm/boot/dts/rk3288-rock2-som.dtsi | 5 ++ arch/arm/boot/dts/rk3288-veyron.dtsi | 5 ++ arch/arm/boot/dts/rk3288.dtsi | 43 +++++++++++ 5 files changed, 144 insertions(+) create mode 100644 Documentation/devicetree/bindings/gpu/arm,mali-midgard.txt -- 2.11.0 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html