Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp3909667ybv; Tue, 25 Feb 2020 09:27:54 -0800 (PST) X-Google-Smtp-Source: APXvYqybYNs+gGR+p1nfuj0mMnQ/4CFgMTpzhkoDL+yy2JiQuROVgYPKRkiLVdGwjXyaz/gWy+fq X-Received: by 2002:a05:6808:18:: with SMTP id u24mr69461oic.10.1582651674802; Tue, 25 Feb 2020 09:27:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582651674; cv=none; d=google.com; s=arc-20160816; b=tIzG+zgmpt6nI4k07z5awJhkukkoXsk1QpF83PbBFGrBFPD/dAKgDfgKFn2+t2qq7V utR+aOVi01pRLs7gA2jLo2+Zil/7LCwUAGEtXzZbv6fo8mlUGBIYhXSVxpZhjmadvjbP 2NlSxMJiABciSqSj1SrteYl7wjs+tLKnwZyqqXFim067C0mmtdqYHiEBv9vRxuxUdY1t 94TM0Tk/qe/tlcdr+7jopULGwfBsSPc5rOldTInGJ6bbNqLnfkHeDGzaqBKUnsGTu7Rt FCLelZ0ylWOtJmFSt2RI6Nl3ep+LSpPlQPcRPDWX/P1jegP1ioln/qdgj0sEwwjnF+KC QZTw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=OE6eipVQm4bME6AE3KlIKW+8PF5MdzZLKNm5AdRaXEo=; b=WpFyKQwkIqE37SWTif5vFV1BWpl9kcKK3lK10lcPCZWzPmUcVdJIzczIavtW0khcZe B3zt9OKGohuH3rnwh2qbAJetksrwB0gEB8KKSvQx0oJLYapEr3i0CR4g65j1lQK3RWgq t2b3d1BQm6eibheCf7HUwommnp8hat9H3o7ATYeqmmAEkqcLQX4UtB1JNvUdDPUYE5AK vCmGxbEKEQMAiBERtibgsRYgy1WmQ+8hUYCKEdzN8Xn66QGZGCSe7biJbqoRJejDotrz 6/oGHrZVojhk0Hbfve6rXE7Vcb6dYUQnbJyhVdWMvFPnC8v9W1XPqvdy1JaXsQ/1YRJu Qh5g== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d199si7805625oib.135.2020.02.25.09.27.42; Tue, 25 Feb 2020 09:27:54 -0800 (PST) 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731134AbgBYRQQ (ORCPT + 99 others); Tue, 25 Feb 2020 12:16:16 -0500 Received: from mail-ot1-f66.google.com ([209.85.210.66]:42055 "EHLO mail-ot1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730460AbgBYRQQ (ORCPT ); Tue, 25 Feb 2020 12:16:16 -0500 Received: by mail-ot1-f66.google.com with SMTP id 66so207150otd.9; Tue, 25 Feb 2020 09:16:15 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=OE6eipVQm4bME6AE3KlIKW+8PF5MdzZLKNm5AdRaXEo=; b=rQIg1GE9eyS2IYLsDHR+TS+HDM1TYbDc2yE3+37bHhHqqkZmndvlcEaOFZYA8OnToe ioULHnqI0zfsC4wlDvHbgeFDidMitC46awjuibVOQaXlPEHVwIhXJLRiTP+hno/Atd0G n+iug7+8WQzUwF91tmB2gRq1vIX6X+lb+1h2QWfhYTpBEMS67Y3Tmwjqsyp5Kmu3nOTO kHKtANq8l1qexkZnIMCxppS+HZSCX2uwdKKSJUgLb9fO0w6HUrIRprZvuhvZlLaztcLV RKIEkdkzqgqYApBT6S3G5VLYjtbFBgIlVC05l7SggAZiLPGdyGvs1NYThjZwkM5eW0c+ cEPQ== X-Gm-Message-State: APjAAAV8fVy0J56cGDblE3n1K24Wl9kp9gE0HFxsiSwOieZJcA9SB4Q2 B4baGbBAIqr35K+zzoGQcw== X-Received: by 2002:a9d:760d:: with SMTP id k13mr43428788otl.42.1582650975368; Tue, 25 Feb 2020 09:16:15 -0800 (PST) Received: from rob-hp-laptop (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.gmail.com with ESMTPSA id t21sm5863311otr.42.2020.02.25.09.16.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 25 Feb 2020 09:16:14 -0800 (PST) Received: (nullmailer pid 13718 invoked by uid 1000); Tue, 25 Feb 2020 17:16:13 -0000 Date: Tue, 25 Feb 2020 11:16:13 -0600 From: Rob Herring To: Nicolas Boichat Cc: David Airlie , Daniel Vetter , Mark Rutland , Matthias Brugger , Tomeu Vizoso , Steven Price , Alyssa Rosenzweig , Liam Girdwood , Mark Brown , dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, hsinyi@chromium.org, ulf.hansson@linaro.org Subject: Re: [PATCH v4 1/7] dt-bindings: gpu: mali-bifrost: Add Mediatek MT8183 Message-ID: <20200225171613.GA7063@bogus> References: <20200207052627.130118-1-drinkcat@chromium.org> <20200207052627.130118-2-drinkcat@chromium.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200207052627.130118-2-drinkcat@chromium.org> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Feb 07, 2020 at 01:26:21PM +0800, Nicolas Boichat wrote: > Define a compatible string for the Mali Bifrost GPU found in > Mediatek's MT8183 SoCs. > > Signed-off-by: Nicolas Boichat > Reviewed-by: Alyssa Rosenzweig > --- > > v4: > - Add power-domain-names description > (kept Alyssa's reviewed-by as the change is minor) > v3: > - No change > > .../bindings/gpu/arm,mali-bifrost.yaml | 25 +++++++++++++++++++ > 1 file changed, 25 insertions(+) > > diff --git a/Documentation/devicetree/bindings/gpu/arm,mali-bifrost.yaml b/Documentation/devicetree/bindings/gpu/arm,mali-bifrost.yaml > index 4ea6a8789699709..0d93b3981445977 100644 > --- a/Documentation/devicetree/bindings/gpu/arm,mali-bifrost.yaml > +++ b/Documentation/devicetree/bindings/gpu/arm,mali-bifrost.yaml > @@ -17,6 +17,7 @@ properties: > items: > - enum: > - amlogic,meson-g12a-mali > + - mediatek,mt8183-mali > - realtek,rtd1619-mali > - rockchip,px30-mali > - const: arm,mali-bifrost # Mali Bifrost GPU model/revision is fully discoverable > @@ -62,6 +63,30 @@ allOf: > minItems: 2 > required: > - resets > + - if: > + properties: > + compatible: > + contains: > + const: mediatek,mt8183-mali > + then: > + properties: > + sram-supply: true > + power-domains: > + description: > + List of phandle and PM domain specifier as documented in > + Documentation/devicetree/bindings/power/power_domain.txt > + minItems: 3 > + maxItems: 3 > + power-domain-names: > + items: > + - const: core0 > + - const: core1 > + - const: 2d AFAIK, there's no '2d' block in bifrost GPUs. A power domain for each core group is correct though. Rob