Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp4888685ybl; Mon, 13 Jan 2020 23:17:17 -0800 (PST) X-Google-Smtp-Source: APXvYqyRycbln+0h6lPQLPwCrRQddDYrc31Q0gHtay+Ps4jBVx5SU8lTg9c0YoC8BmC7jjMVY80L X-Received: by 2002:aca:cf58:: with SMTP id f85mr15994574oig.6.1578986237512; Mon, 13 Jan 2020 23:17:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1578986237; cv=none; d=google.com; s=arc-20160816; b=VvVzmaGkHW6RlWkGtQUb4pGcHxwpi5A92Qn44vaW6XVzvAtPCoIBorix/2s22SfV9Q ZGtPs9Yvs9aXv6tZ7QDBLLxFDuv1csrR0WbxSQqhtUNeCkuGANAD0m0A65w80IPNoLFR op4ktv0D8luARXGx8kfhv/BeZmYr5Y3cua3V0dbCqObwULeQ9q3HzX/hHsFUvZYyJnHB FsvlozBx2VjIMI9BrTFXv4M3IeL7Mi357mZ9rxC2cUcGk34etZWIsgiP7LM7WhugSBS/ EE178Ev/uuJVJTp77v99CblS8n6jHyZ2DKEBQn5JBxFTR9rVRwJXD5lV7t2TGJRb96ry 3+eA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=EoATaCn4ot7/fRXVyyupWqTUK/J3grtKGGD0GZimmTI=; b=o0qBdCoOJwiSWyahWeD4rOowdFdafXNTXAV1iQR24Gt4YgkApj7yssfwIXD3YvJv7f jFCH9qT178Yn0T7K8IqS8gPyEdLkhFYmnZVAOdH5pw1tbFJ+RytvzRfkRr0WjGwJNKjW QSIwhycOvQLuXuCHfAp/F16aFOHYeWacliWavdttsxNB1ZWf0gU/aLN8Mno2NN1Qrgde ASIn/4O8Dhymyhok437SDGPxJfYk3B3cNTiQilhiRhf8Xa/kd2bHRpm+EkLqag7KE8YX jGzSTf6/KPFM1AFvRLdgftUe+P4WKE5KBk6I+HhnrgNeGn0Ysq+L+kZyfCNcIr5Fi/bU DbWg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=YahZMu4j; 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=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 10si6969139ois.76.2020.01.13.23.17.05; Mon, 13 Jan 2020 23:17:17 -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; dkim=pass header.i=@chromium.org header.s=google header.b=YahZMu4j; 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=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728927AbgANHQN (ORCPT + 99 others); Tue, 14 Jan 2020 02:16:13 -0500 Received: from mail-pj1-f68.google.com ([209.85.216.68]:37512 "EHLO mail-pj1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728855AbgANHQM (ORCPT ); Tue, 14 Jan 2020 02:16:12 -0500 Received: by mail-pj1-f68.google.com with SMTP id m13so5450903pjb.2 for ; Mon, 13 Jan 2020 23:16:11 -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=EoATaCn4ot7/fRXVyyupWqTUK/J3grtKGGD0GZimmTI=; b=YahZMu4jUSx+kdGsktVd/kysOsca1+L1cDz6GC/y3EdchGBL4lmkZC+vd2F+RyK0A7 cSFw3LO7hgNpta3FVyHm971uhVjHwJ2SCe+7L/g+HAE+Ip5mi3Zg2ITUK1YM0hs9vyPL bojXkbovYxxTJydqmr/V1/I5IiLD5C/gKkXm8= 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=EoATaCn4ot7/fRXVyyupWqTUK/J3grtKGGD0GZimmTI=; b=R0VL4zIygfNVwGVBlwlfxFRSplkMLQF18+a4DjtmKPjVr+Qn8vg1+MQXEUMKx/4dx9 cm8I5q+HSb7rib+FSSZoGMGHUjKwicmh0BuwfBFqXqFGk5164LsH0C78Hz698rKOnYAk Qb7sOEkwc7VqRGuHDV0VViYFcjP0OfMTHR32AfMjgvGIuc/GvBoJV+d0gj61RGxueXfB Zv6bg2Kpig/wF8Plkz3Lo5+IQ1y8tHInzEn+4/CkCluvl/oKXy512ewsS3pnlUdfiAwi VwR90+YKskLWzGBKUEJmeSSuQgKYz2X0N0WFgK9Sw16LAJm+hST9R8vuwASkN2RUhBXJ te8w== X-Gm-Message-State: APjAAAVkcDEoN+aNqzY/x9ssXkuf8o0Y49PMODJ+3WveB1zHQtCQpmtN FigJjhuN8ZW13q2hQ0AN95fbwA== X-Received: by 2002:a17:902:d68e:: with SMTP id v14mr25504465ply.36.1578986171223; Mon, 13 Jan 2020 23:16:11 -0800 (PST) Received: from drinkcat2.tpe.corp.google.com ([2401:fa00:1:b:d8b7:33af:adcb:b648]) by smtp.gmail.com with ESMTPSA id b4sm17092976pfd.18.2020.01.13.23.16.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Jan 2020 23:16:10 -0800 (PST) From: Nicolas Boichat To: Rob Herring 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 Subject: [PATCH v3 1/7] dt-bindings: gpu: mali-bifrost: Add Mediatek MT8183 Date: Tue, 14 Jan 2020 15:15:56 +0800 Message-Id: <20200114071602.47627-2-drinkcat@chromium.org> X-Mailer: git-send-email 2.25.0.rc1.283.g88dfdc4193-goog In-Reply-To: <20200114071602.47627-1-drinkcat@chromium.org> References: <20200114071602.47627-1-drinkcat@chromium.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org 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 --- v3: - No change .../bindings/gpu/arm,mali-bifrost.yaml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/Documentation/devicetree/bindings/gpu/arm,mali-bifrost.yaml b/Documentation/devicetree/bindings/gpu/arm,mali-bifrost.yaml index 4ea6a8789699709..9e095608d2d98f0 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,23 @@ 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 + required: + - sram-supply + - power-domains examples: - | -- 2.25.0.rc1.283.g88dfdc4193-goog