Received: by 10.192.165.148 with SMTP id m20csp4072846imm; Mon, 30 Apr 2018 11:11:36 -0700 (PDT) X-Google-Smtp-Source: AB8JxZqhN8zfM9NAsl8aFLYBJTzQLq8Jlk/AuTYtG0F25KXltrO68N/zwpQ6Bk2CMhmNWSSCe/Ew X-Received: by 2002:a63:65c4:: with SMTP id z187-v6mr3305298pgb.180.1525111896725; Mon, 30 Apr 2018 11:11:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525111896; cv=none; d=google.com; s=arc-20160816; b=DvUGqn/72uhmYLYPk4yu4vUYh9Aep0/faLZATwJ9UmJXCwAzZLyEjsyLoiS+qVLkLs InSGEKMIZz/qZ5EOQEjnf9FkvsD9Gk0Jz7VxZ6zqoy3o2cqJ20Ymib9ppRUt5kqizwfa 804oI8XC6X4jemvr5z53LfmOdbUlfk0FOKTFhvKL0IN3Pvcm3vbciBAZXaM0R2v06/LX 6qSxq2W5FUoV6NIRzSdUhKpQ8ixxVu3yiDfXvVJjDEl0pQpLaGUbsCnaEpzUf6CFXIyP NEi5kGK8nTRGmUl9ad/XjWVXi7ArdipwmAbgfN+0tm10iQbQMXTtviSX7oUEdT65+WlG P3jg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:arc-authentication-results; bh=IuAob+aAMtdKaPZnlQ9CVGUnKfKH/jm3Z/WiYOR5U1E=; b=j95YiP2WafmPyjvXTjOIG3tMMnYe+4Yh/cehGyGpISWjsAgTDJcjGgPb2M2vZf1slN p6s2H5FNm94z3cgZ+d49CjsAIAFFnNuhCl2c7yUzFmBgXc5i7v7I8dVUjXOyBkOw5frX +PKOuwYiJoobmnbSIFC5R2Ibsc8wP1pbFabqsRJsl8kib88UODkclJ944UiQCmFMH0Ig WnUMXX6cqLqwdYApcFic+uHrZHK++iuZRtCpefRLw5Gh/sNvBehLNTGgFdWZ5YM5PQ/7 7R7PHW5sabfONloIzWfFyFWYyE6lvc6fV05oTZ/ihQZr91Khj4QbWvivTMn/AXYpf1lR zbHg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e1-v6si7726509ple.428.2018.04.30.11.11.22; Mon, 30 Apr 2018 11:11:36 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-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 linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754398AbeD3SLD (ORCPT + 99 others); Mon, 30 Apr 2018 14:11:03 -0400 Received: from anholt.net ([50.246.234.109]:38378 "EHLO anholt.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753165AbeD3SLB (ORCPT ); Mon, 30 Apr 2018 14:11:01 -0400 Received: from localhost (localhost [127.0.0.1]) by anholt.net (Postfix) with ESMTP id 3346A10A1772; Mon, 30 Apr 2018 11:11:01 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at anholt.net Received: from anholt.net ([127.0.0.1]) by localhost (kingsolver.anholt.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id N0xq3VdthZiG; Mon, 30 Apr 2018 11:10:59 -0700 (PDT) Received: from eliezer.anholt.net (localhost [127.0.0.1]) by anholt.net (Postfix) with ESMTP id 82F4110A03F9; Mon, 30 Apr 2018 11:10:59 -0700 (PDT) Received: by eliezer.anholt.net (Postfix, from userid 1000) id 6A1A92FE2D79; Mon, 30 Apr 2018 11:10:58 -0700 (PDT) From: Eric Anholt To: dri-devel@lists.freedesktop.org, Rob Herring , Mark Rutland , devicetree@vger.kernel.org Cc: linux-kernel@vger.kernel.org, Eric Anholt Subject: [PATCH v3 1/2] dt-bindings: Add a new binding for Broadcom V3D 3.x and newer GPUs. Date: Mon, 30 Apr 2018 11:10:57 -0700 Message-Id: <20180430181058.30181-2-eric@anholt.net> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180430181058.30181-1-eric@anholt.net> References: <20180430181058.30181-1-eric@anholt.net> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org These OpenGL ES GPUs are present in the 7268 and 7278 set top box chips. v2: no changes v3: move to gpu/, fix typo Signed-off-by: Eric Anholt --- .../devicetree/bindings/gpu/brcm,bcm-v3d.txt | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 Documentation/devicetree/bindings/gpu/brcm,bcm-v3d.txt diff --git a/Documentation/devicetree/bindings/gpu/brcm,bcm-v3d.txt b/Documentation/devicetree/bindings/gpu/brcm,bcm-v3d.txt new file mode 100644 index 000000000000..c907aa8dd755 --- /dev/null +++ b/Documentation/devicetree/bindings/gpu/brcm,bcm-v3d.txt @@ -0,0 +1,28 @@ +Broadcom V3D GPU + +Only the Broadcom V3D 3.x and newer GPUs are covered by this binding. +For V3D 2.x, see brcm,bcm-vc4.txt. + +Required properties: +- compatible: Should be "brcm,7268-v3d" or "brcm,7278-v3d" +- reg: Physical base addresses and lengths of the register areas +- reg-names: Names for the register areas. The "hub", "bridge", and "core0" + register areas are always required. The "gca" register area + is required if the GCA cache controller is present. +- interrupts: The interrupt numbers. The first interrupt is for the hub, + while the following interrupts are for the cores. + See bindings/interrupt-controller/interrupts.txt + +Optional properties: +- clocks: The core clock the unit runs on + +v3d { + compatible = "brcm,7268-v3d"; + reg = <0xf1204000 0x100>, + <0xf1200000 0x4000>, + <0xf1208000 0x4000>, + <0xf1204100 0x100>; + reg-names = "bridge", "hub", "core0", "gca"; + interrupts = <0 78 4>, + <0 77 4>; +}; -- 2.17.0