From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.0 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_PASS, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 86471C10F06 for ; Sat, 6 Apr 2019 06:23:14 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 4E2FA2173C for ; Sat, 6 Apr 2019 06:23:14 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="OkhGOZDW"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="n1xldznA" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 4E2FA2173C Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Subject:To:From:Date:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=crXS5zTaBLYNMDJrIIaN/STAxctCTheM9zdnRzEfEOE=; b=OkhGOZDWBhBlc2 d+YeRAI3/KM0GiRff0kYMh7yZ80NdvU+zEE9RFhU+ieGQK1zzbkeX7tOz8Vx50Hmyn9v00pmE0kZs k6nYaTysB9eLc9wceEitPQtmrrqbgt/6UsG7N4+Y0LBb0kTtAM3Xnqr3hRoyGfPzTzQYEXyFxyjro e2b0OJZ1xGnqsYnDEgjpRXy+3EYPlzI6S5fd1OwWJg9Q9fzgGbHFw5Y/s8zrKVKHFfqs+94Ax7WVZ 6IGPndi2u6AUu/Ze/idB2rUZCmL1qUvtUQmJKhCyoyk7ADJBhtj7fs1e4xHACfugFJtcw6YwlR+rH 3KCGS9rVYvvHCl9Bggxw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1hCejL-0007Ft-9F; Sat, 06 Apr 2019 06:23:07 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hCejE-0006wN-Sm for linux-arm-kernel@bombadil.infradead.org; Sat, 06 Apr 2019 06:23:00 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Subject:Cc:To:From:Date:Message-ID:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=L2s3pz9rJXimbLGGqknE2khTuqWesIJ/tuXw50j84Yc=; b=n1xldznADVSqDQrHGfYGNLkik wZ4TlcfBU3fopOT8A50S5ScfQFaTpGmJOE2AaU/U1VFiRBC8kLShH5jdQNRIwwGPFnec8PrzV/Rg/ 0TGiFyEtmAhzJzhJRHfaEumT8glmdL2tz8vZYHkbGsnrDNNEHCz0zViFTtwX3z91DnRGxb05AwOP/ hy7OpB+k/WHqDRDugt2KYay+j5jQ/DRNyoNUKrPm3I+CyOg3EBscOUeMwLQy5hiJAJQh8Hx8HHb6S hllqEma8xi//zMUN9rZlp+yi8CTWrfg+jEyLJyGzWwyNnsM4IVk0Kb0BTBAuI/3pPCZQeI8hpZScW N7tsxbdqw==; Received: from mail-pl1-f195.google.com ([209.85.214.195]) by casper.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hCeTd-0004zB-Uv for linux-arm-kernel@lists.infradead.org; Sat, 06 Apr 2019 06:06:56 +0000 Received: by mail-pl1-f195.google.com with SMTP id b65so4178178plb.6 for ; Fri, 05 Apr 2019 23:06:53 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:date:from:to:cc:subject:references :mime-version:content-disposition:in-reply-to; bh=L2s3pz9rJXimbLGGqknE2khTuqWesIJ/tuXw50j84Yc=; b=OHW4Q7NzfIu/4YsMPhmoWEywkArlE4e45fOztvfQCvStGuUh5PBBAcygJH4s0RxucI qH3ErOXV1cmy1RajtpRYcAnfwag+GhPiT35DYHYASo7wZ4kd/W1DzB9BFmN2qJYADv92 gpx+hNmwpxlz18Ukd36GFKz5UAo9E2kvgHSmxwluJoFqAKWpMD7l19f0Z1t3XlJ+KSiB MsjZUhCYkpyln6SvBdXXGwcojLVfZ1rIadeuXUR8etPE4MKCdV9sMJMTux7NH3Ounn8J xR8rGs6X3IM1dnaQuwGMbdN1A14p/0IwH4lS5/ipgG8zJX92Bk75fw2Y/Ie/bW6p9Yjd Bttg== X-Gm-Message-State: APjAAAUf8aRxg/A4ERlGlQs7Eadhlpc9fwKBM/4a66ObDUsJM1VDqgO2 TfePhFUm3a3tx0B2b97Syw== X-Google-Smtp-Source: APXvYqxwQqlS86lhv3S4gX4Io2ovjsp4aDDwiWmg/Xep5t9IELo9BRqYzathKld6IssJfKdaTkUf6g== X-Received: by 2002:a17:902:e110:: with SMTP id cc16mr17513449plb.147.1554530812194; Fri, 05 Apr 2019 23:06:52 -0700 (PDT) Received: from localhost ([210.160.217.71]) by smtp.gmail.com with ESMTPSA id f14sm29613437pfn.3.2019.04.05.23.06.51 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 05 Apr 2019 23:06:51 -0700 (PDT) Message-ID: <5ca841fb.1c69fb81.58fe6.fabd@mx.google.com> Date: Sat, 06 Apr 2019 01:06:49 -0500 From: Rob Herring To: Joel Stanley Subject: Re: [PATCH v3 1/3] dt-bindings: gpu: Add ASPEED GFX bindings document References: <20190403001909.31637-1-joel@jms.id.au> <20190403001909.31637-2-joel@jms.id.au> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20190403001909.31637-2-joel@jms.id.au> X-Mutt-References: <20190403001909.31637-2-joel@jms.id.au> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190406_070654_204542_F6DD02AA X-CRM114-Status: GOOD ( 20.95 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-aspeed@lists.ozlabs.org, David Airlie , Maarten Lankhorst , dri-devel@lists.freedesktop.org, Andrew Jeffery , Noralf =?iso-8859-1?Q?Tr=F8nnes?= , Daniel Vetter , Sean Paul , linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Wed, Apr 03, 2019 at 10:49:07AM +1030, Joel Stanley wrote: > This describes the ASPEED BMC SoC's display controller. > > Signed-off-by: Joel Stanley > Reviewed-by: Andrew Jeffery > --- > v3: > Add Andrew's reviewed-by > > .../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 If required, does that mean the h/w can only use certain memory? Why? > + > + > +Example: > + > +gfx: display@1e6e6000 { > + compatible = "aspeed,ast2500-gfx", "syscon"; > + reg = <0x1e6e6000 0x1000>; > + reg-io-width = <4>; Not documented as used. This should be implied by the compatible though. > + 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; > +}; > -- > 2.20.1 > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel