Received: by 2002:a05:6a10:2785:0:0:0:0 with SMTP id ia5csp591pxb; Thu, 7 Jan 2021 17:15:40 -0800 (PST) X-Google-Smtp-Source: ABdhPJzSLUC+gZmJYuqCFx/wN5YP20Xx4FxSU4vyqUBGVOwpjMmR8/7D40sPjrcDT6fQcSbXiic7 X-Received: by 2002:aa7:c891:: with SMTP id p17mr3566396eds.309.1610068540349; Thu, 07 Jan 2021 17:15:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610068540; cv=none; d=google.com; s=arc-20160816; b=xdgEwuqeou9HC1/06bTszcyP2b1NLmqDqinpu4oZtciLwiN6D5fyxvipC7aCs81V2o BsShWw5Gyfzk713RIyk+nzjR+a0IPQffLNBqbhuoTexEv/KQIwJV+WxoSr2BH4I+QW23 5/L82YBgUBEDqgTdLx/2i+AoVOGvwy/4CSCvGcFMuIT9pUIAZ7TlmjwmlyIhbh1rHy5T Vlq2aVBMXJ1XtYMwGYUW3fWlr7JK0xqz/EKEbzLWDMJzi/aOkLh+4epRmJ4c8ie/I/C1 jNzHzHhWH+JYylCoOGSD5/j+WcyCas9BZit42Ime0znqmtMwlr3nqHsql1aP+SA+tTC6 A5QQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=uW2DZ7++hBKvfAfIb4cUFZ4hOVC2XsuncgcT5bF8JnM=; b=P8Db+qzPAz3eJsY7oMXdEMXtJb7an1ZsZYZ/gkfNFrgpk+CLWWz9xK5fpi7LKvhonr aflY3LOID0+Ry/nSoQzHaixhMHA5JpMnkOBZTmYymSyDKhB2hWLdlHjx85gscKVk4luP DKx0dRcpgREZ0WCjn7zrnnvcVbYS7i8joMYdusw3A7z24kBVZIN+o6ZT9KkUuJZVcZmM +mXPsl3Hqj2gtAX/nZCwV9yYpTCFVmngDOzLoxolEhGM5t5lkNGwQutn36Avv6VLcUfR 4GMGD5eb0NqE89meHCXN2HNrwd1EhkX9y3O8aWnoZW9h0yfKR34UcIiOCIS+woOXS+8J tLHA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=LRt6wt6z; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e6si3163315edv.445.2021.01.07.17.15.16; Thu, 07 Jan 2021 17:15:40 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=LRt6wt6z; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729871AbhAHBLl (ORCPT + 99 others); Thu, 7 Jan 2021 20:11:41 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44216 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729697AbhAHBLi (ORCPT ); Thu, 7 Jan 2021 20:11:38 -0500 Received: from mail-pl1-x630.google.com (mail-pl1-x630.google.com [IPv6:2607:f8b0:4864:20::630]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B808DC0612FA for ; Thu, 7 Jan 2021 17:10:21 -0800 (PST) Received: by mail-pl1-x630.google.com with SMTP id j1so4814701pld.3 for ; Thu, 07 Jan 2021 17:10:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=uW2DZ7++hBKvfAfIb4cUFZ4hOVC2XsuncgcT5bF8JnM=; b=LRt6wt6zwQgeeZf8xg4HcyENMcrZzQVkz9tGJoA6djOlZ1N3MP4kaflXq2plSxgFmc OlhEnQnmrC8TvP7M9bX4FqBN3JKXxILyCyrcCFl9eeA6qrVHyURp7SrTKiUiffsJq/QG R0gPecLoLZ4tk+CgPSbefZeAEnWiaCcVyEEQs= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=uW2DZ7++hBKvfAfIb4cUFZ4hOVC2XsuncgcT5bF8JnM=; b=dY2kdry+LzyWf4W31HXJRSUqxu9e9VV3B3BQeBJmQ7sgFSCjqPL8wtyP5vaFFem9BA iyEh8bTRogrkU+Vq4047IC/99o41uBvSsr7G5R5HSU6+E9Q0zHRxOu8Bb6CrOsH5kLfv gvZdEixIjhHyuT5gWtqipOcjYkcAwV9yI0W3XmlG/rdaQA9eqYN1WmkmWTh3MpiFjS5R 6X4OBtJ9c337Cyp435S48tNOnAffIuxXeY4rCdFn6Rju5ZUej0Gt0iN3f6YydOGfPok9 cd3p00RZcC5+OrzQs48yaYLULy76bheQKp1cg1y23cqhaJsFApb69hcHqNmCvi8cMIC7 aMfg== X-Gm-Message-State: AOAM533Pgk+yMClFJeKlIKperVDiNWkZMpQWQD3Lk16+Bmwul9J6ENk4 3X/AjMEH/uNRZ/m9HRmyv92zzA== X-Received: by 2002:a17:90a:7e18:: with SMTP id i24mr1163773pjl.72.1610068221365; Thu, 07 Jan 2021 17:10:21 -0800 (PST) Received: from drinkcat2.tpe.corp.google.com ([2401:fa00:1:b:7220:84ff:fe09:41dc]) by smtp.gmail.com with ESMTPSA id s1sm6400083pfb.103.2021.01.07.17.10.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Jan 2021 17:10:20 -0800 (PST) From: Nicolas Boichat To: Rob Herring , Steven Price , Alyssa Rosenzweig Cc: fshao@chromium.org, hoegsberg@chromium.org, hsinyi@chromium.org, boris.brezillon@collabora.com, Tomeu Vizoso , Nicolas Boichat , Daniel Vetter , David Airlie , Matthias Brugger , Rob Herring , devicetree@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org Subject: [PATCH v9 1/4] dt-bindings: gpu: mali-bifrost: Add Mediatek MT8183 Date: Fri, 8 Jan 2021 09:10:08 +0800 Message-Id: <20210108091005.v9.1.Ie74d3355761aab202d4825ac6f66d990bba0130e@changeid> X-Mailer: git-send-email 2.29.2.729.g45daf8777d-goog In-Reply-To: <20210108011011.4061575-1-drinkcat@chromium.org> References: <20210108011011.4061575-1-drinkcat@chromium.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Define a compatible string for the Mali Bifrost GPU found in Mediatek's MT8183 SoCs. Signed-off-by: Nicolas Boichat Reviewed-by: Alyssa Rosenzweig --- (no changes since v6) Changes in v6: - Rebased, actually tested with recent mesa driver. - No change Changes in v5: - Rename "2d" power domain to "core2" Changes in v4: - Add power-domain-names description (kept Alyssa's reviewed-by as the change is minor) Changes in 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 184492162e7e..71b613ee5bd7 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 @@ -87,6 +88,30 @@ allOf: then: 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: core2 + + required: + - sram-supply + - power-domains + - power-domains-names examples: - | -- 2.29.2.729.g45daf8777d-goog