From patchwork Thu Mar 28 05:43:15 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joel Stanley X-Patchwork-Id: 10874475 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 8C16C922 for ; Thu, 28 Mar 2019 05:43:53 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 76E2828BCB for ; Thu, 28 Mar 2019 05:43:53 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6AD9228BF2; Thu, 28 Mar 2019 05:43:53 +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 E127F28BCB for ; Thu, 28 Mar 2019 05:43:52 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 01F376E2D7; Thu, 28 Mar 2019 05:43:52 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-pg1-x541.google.com (mail-pg1-x541.google.com [IPv6:2607:f8b0:4864:20::541]) by gabe.freedesktop.org (Postfix) with ESMTPS id 84BDC6E2D7 for ; Thu, 28 Mar 2019 05:43:50 +0000 (UTC) Received: by mail-pg1-x541.google.com with SMTP id v12so11115144pgq.1 for ; Wed, 27 Mar 2019 22:43:50 -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=mdlMww4mpBrXrZ6nWTm2a1ZIwuImD81uPmmIp79NyMmP28/7RDmH2WytTpNX85eMxf NsOtqEc0UexrMs6HC3cOQrckpZQ9IDBsAvzq3T8XEUS/k1bLapRsv9/2Rt2qSpr20/o2 kMUUKAkCtumsGo+AN9d74/YsHkTy1az3dbTHJdC7raxiLedeZ/u3Pm5EomssvmMWrGlm Fe3r8i6bz7A1MG5FlTuQcwoY1ZE33mmgt/AA+9fZZSR/XuQD96KJz71f0RoVQIBDa+F0 UlPYWDugWhJUIPp2JNagnFc9jSsif11lE9XFEWAuKt+drSxoHD/30V4XS3W0R/aDW4PU RPcw== X-Gm-Message-State: APjAAAXxbpuUX4tGbWeMPSgkNppfsXFHgKlnSsRaxkAn0JAT3Bn7qNYl FZqoxfVIypMBltZlFYS80xJRz33Cza4= X-Google-Smtp-Source: APXvYqzTRJweUYVCxZiwI3tGFQiIJafnG5M/D3vsnIILaqHwdfNJfV670lBtUSwm+QtmgSUw3jtIBw== X-Received: by 2002:a62:571b:: with SMTP id l27mr10945987pfb.195.1553751830061; Wed, 27 Mar 2019 22:43:50 -0700 (PDT) Received: from voyager.jms.id.au ([36.255.48.244]) by smtp.gmail.com with ESMTPSA id j24sm26595794pgl.58.2019.03.27.22.43.44 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 27 Mar 2019 22:43:49 -0700 (PDT) Received: by voyager.jms.id.au (sSMTP sendmail emulation); Thu, 28 Mar 2019 16:13:41 +1030 From: Joel Stanley To: David Airlie , Daniel Vetter , Rob Herring Subject: [PATCH 1/2] dt-bindings: gpu: Add ASPEED GFX bindings document Date: Thu, 28 Mar 2019 16:13:15 +1030 Message-Id: <20190328054316.17939-2-joel@jms.id.au> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190328054316.17939-1-joel@jms.id.au> References: <20190328054316.17939-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=VO4zQcBJoyYsOZEF8Bnt6hjP18Lm/x1+VEFxpPb4hjjOVKulSiPNWs+bFEJKuyD76x +BfaMKLTPVCiCzK61evh+w35TtVsZDaCZeFfsuQs7cazgdT7vHD5Ejwb7OPV7YtYLgNk TQi0xeCWQB0rYrjYzHU8GTPN+7WyF6mMtigyz2Kr8fUv8G76a35oSa8p3T2T7pEzIAZ5 LMgG3vBQKD6wIwouqxhZJSuoiCrfHoVPWhDg40myK/6j6V3hMCGPFW7Ott/pgX7oDxiw p19NdmaxEhBun7rQYTUpfJ3EnHd68s3gv9KCK5PGGPJ0aMJhLrMAnDMvA9eJb/OpcpsX +TtA== 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, Andrew Jeffery , dri-devel@lists.freedesktop.org, Maxime Ripard , 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 --- .../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; +};