From patchwork Tue Apr 2 02:19:31 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joel Stanley X-Patchwork-Id: 10880915 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 3A87D139A for ; Tue, 2 Apr 2019 02:19:55 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 27CE320CCF for ; Tue, 2 Apr 2019 02:19:55 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1BA262434C; Tue, 2 Apr 2019 02:19:55 +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,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 C8A3920CCF for ; Tue, 2 Apr 2019 02:19:54 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id EEDE16E2BA; Tue, 2 Apr 2019 02:19:53 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-pl1-x642.google.com (mail-pl1-x642.google.com [IPv6:2607:f8b0:4864:20::642]) by gabe.freedesktop.org (Postfix) with ESMTPS id 510AC6E2B7 for ; Tue, 2 Apr 2019 02:19:52 +0000 (UTC) Received: by mail-pl1-x642.google.com with SMTP id ck15so4233722plb.3 for ; Mon, 01 Apr 2019 19:19:52 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=omo+gsvUv/mNXteAzfVazNvpx4ZfEVnSExqzqZ2Pw8w=; b=kYLbCtcNIts9j5U5LxwLDemoVdMzi3WmVpIGo2wg9U2anFntJKJbrePMrB9O+kwLJw M6VMVzO/q+S1bXte1rYIB0gQuxW7wcM5R2TQwQndejGwuMcyIgx5+PQ8bzGEphZjLpxS BieCB7nsk8DNy7F5BIyVZbkrEAVFqWCwLNdP0r0OyOpr0AxoTXEShyQsquvdtXHdmWFy GBoN/bh92H0hbWF//N6jMLByBcCkChY47AXoK2c4W7QGX6s7R3NciGvAytumOiVNn6Fn oweCGenZMlnh9i0oGvtFkiSM4Mbiyh7ttvJ+MzEuWdGROLZ1ENTiRqmG+OP5okdNN/6h gCkg== X-Gm-Message-State: APjAAAU6ODOVQSS/lTnzyC6ZWFd2a33rtmmYsXLXHDzYhDKKoBHedakU d+dTafzR1fM0tjYvmnOODNo= X-Google-Smtp-Source: APXvYqyGHHE31sjH1tCtsBmI+TAAacfI2Oxn/SgVBsZGrVxzzCoBzJuzCTsEsCs9k3UwhcxW3yMZ9w== X-Received: by 2002:a17:902:7b96:: with SMTP id w22mr33258498pll.28.1554171591786; Mon, 01 Apr 2019 19:19:51 -0700 (PDT) Received: from voyager.jms.id.au ([36.255.48.244]) by smtp.gmail.com with ESMTPSA id 26sm15918553pfj.93.2019.04.01.19.19.46 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 01 Apr 2019 19:19:51 -0700 (PDT) Received: by voyager.jms.id.au (sSMTP sendmail emulation); Tue, 02 Apr 2019 12:49:43 +1030 From: Joel Stanley To: Daniel Vetter , Rob Herring Subject: [PATCH v2 1/3] dt-bindings: gpu: Add ASPEED GFX bindings document Date: Tue, 2 Apr 2019 12:49:31 +1030 Message-Id: <20190402021933.13071-2-joel@jms.id.au> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190402021933.13071-1-joel@jms.id.au> References: <20190402021933.13071-1-joel@jms.id.au> MIME-Version: 1.0 X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=omo+gsvUv/mNXteAzfVazNvpx4ZfEVnSExqzqZ2Pw8w=; b=gmM54o7tALuvzHXqk25AFF0tFlsGNM3AYaNl0ReZmOFwrNspYUu/+MS3AEVw7dKXcX CLzPZEZbh5lAFryM77GljMFdFTUaZ9l4TWdZFPxnnAdTWshwGcrWHnF93u85gVI9AuOl UaPfZK/0WkJAIKPHq2ifIToXKhGjdFcW1oMOdgUcvRizAZyUD9GPT6oQ8N5hyzcNlREq lqrB6s/HbEGX5tjiBBiqXh/nVc1Ji17JEqc/waxSolXe9HjBj7bFgs8+VY4WGNT3l2Tx vyKNtiQrwRHXmJobJJT+KaqekUmml6mx5L7R7PI0aN3PBP7P9roG2fnWMdprcd5RCork IwGg== 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-aspeed@lists.ozlabs.org, David Airlie , dri-devel@lists.freedesktop.org, Andrew Jeffery , Sean Paul , linux-arm-kernel@lists.infradead.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP This describes the ASPEED BMC SoC's display controller. Signed-off-by: Joel Stanley Reviewed-by: Andrew Jeffery --- .../devicetree/bindings/gpu/aspeed-gfx.txt | 41 +++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 Documentation/devicetree/bindings/gpu/aspeed-gfx.txt diff --git a/Documentation/devicetree/bindings/gpu/aspeed-gfx.txt b/Documentation/devicetree/bindings/gpu/aspeed-gfx.txt new file mode 100644 index 000000000000..a74033332668 --- /dev/null +++ b/Documentation/devicetree/bindings/gpu/aspeed-gfx.txt @@ -0,0 +1,41 @@ +Device tree configuration for the GFX display deivce on the AST2500 SoCs. + +Required properties: + - compatible + * Must be one of the following: + + aspeed,ast2500-gfx + + aspeed,ast2400-gfx + * In addition, the ASPEED pinctrl bindings require the 'syscon' property to + be present + + - reg: Physical base address and length of the GFX registers + + - interrupts: interrupt number for the GFX device + + - clocks: clock number used to generate the pixel clock + + - resets: reset line that must be released to use the GFX device + + - memory-region: + Phandle to a memory region to allocate from, as defined in + Documentation/devicetree/bindings/reserved-memory/reserved-memory.txt + + +Example: + +gfx: display@1e6e6000 { + compatible = "aspeed,ast2500-gfx", "syscon"; + reg = <0x1e6e6000 0x1000>; + reg-io-width = <4>; + clocks = <&syscon ASPEED_CLK_GATE_D1CLK>; + resets = <&syscon ASPEED_RESET_CRT1>; + interrupts = <0x19>; + memory-region = <&gfx_memory>; +}; + +gfx_memory: framebuffer { + size = <0x01000000>; + alignment = <0x01000000>; + compatible = "shared-dma-pool"; + reusable; +};