Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp214407ybv; Thu, 6 Feb 2020 21:29:05 -0800 (PST) X-Google-Smtp-Source: APXvYqxJQqmfJDl64IxfOcjUbjVHQ1jeHYiU5zyzx2WoDUU50wTL/y+nlP7H6+LAsk3hcE4545ss X-Received: by 2002:a9d:268:: with SMTP id 95mr1381857otb.183.1581053345483; Thu, 06 Feb 2020 21:29:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581053345; cv=none; d=google.com; s=arc-20160816; b=1DAt0Jqk+/uRqbNB6Ho1d0414CO77YGSZ0Uj2gPDot/w2fL2Op84142KFEWpN9AsVS BFq6ulT57dGHDZSZfHnzckMhpryN5qFWsUirpM0Epl9hen2POcvIn5aGgmUHvIlhiqiq lW8r4Jj9Ivf4Pi+VCEC+cWjDR2trw0M8UYA1lGDuIv+jDACQziJ2qqmZJXaf7GRi4hnJ U0MGhQ61mHMCrCyuS5S0Z7OKbGHC5/mLVPe+R04cBhhlQuzzesx5aNz/fP3zyhQ/wuaG 3vasGX9hQgBeK7DUwxDf1VaXMsJi1/yfYkGeVai7F3mYHNOFjra6JqG1nZF9/lR4hip9 n3Zw== 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=CIn5sKN4KiBio0RDhfFCPXTE80uz5ajGK0muKh5dKSI=; b=XF/Ux/rmASpESc2prZgjVD7494nbF05TpK1CMfaN/e2GsrGJ4ZWocCJWWx2fONFVeB q6cJ5QJJwq2hp2D9eS5z4BjeBKP9G1VvTwb0coic9L61G3RSe4ieRVKt5GqM+s562bik SZjbUC+VEIOimlS/oIDG6gfH9ejfyiU/6K5OoMETZ91FosbkMfG7APZChHn62/mflE5n f3f+TNg6yIljm7Kmgqnjs1l/Hz3oygO3Yz/K7llBtcPqpTDkS0AV/s4oehClWFYizTeB ZGOYR6e6K6oTteLoOM2vN9oJ0uTOJOfQLBbnqi7GlNz+uBVg/VCKH+xkbFhw+R/8htnL yuVg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=jehEAPOl; 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 m67si3327108oib.117.2020.02.06.21.28.37; Thu, 06 Feb 2020 21:29:05 -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=jehEAPOl; 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 S1726619AbgBGF0y (ORCPT + 99 others); Fri, 7 Feb 2020 00:26:54 -0500 Received: from mail-pf1-f196.google.com ([209.85.210.196]:45382 "EHLO mail-pf1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726465AbgBGF0y (ORCPT ); Fri, 7 Feb 2020 00:26:54 -0500 Received: by mail-pf1-f196.google.com with SMTP id 2so657637pfg.12 for ; Thu, 06 Feb 2020 21:26:53 -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=CIn5sKN4KiBio0RDhfFCPXTE80uz5ajGK0muKh5dKSI=; b=jehEAPOlDHxOIf658U57Pz+Lxc9WjB5npjsc5eIfdKKIgLI6wIasqGvVPkiVpdJQ0G Hzpf9s+Mrm6ErGv53ZanL5Ar8j551dwPz09ideYJ5ExThnUtNvN841ZIU2L4qTBXCsLw CUJvrrL1JkluseTv3rUysxVHovsnV10a4Qg0g= 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=CIn5sKN4KiBio0RDhfFCPXTE80uz5ajGK0muKh5dKSI=; b=RZ4q2yEd3n5V3rV6TJSn6SdQwXfXaWcfSS+C0VDL+jkyrYXCWYbc9DTOFupr27v1bK A8hrdYt5WZODSnsieMabLqTVDAUX9WuvfLHg/8wtVt7fogDCHX0ITBCmRIiBEHMTs5X+ 7SYtmoOOIyj+mEkKnEOvU+xKa4eDEQPPh+YAtNadqnefoNzcSji1PgYkoACEB6c0oYLG wvM6qbiS83oA79QFBYPEs4EH2y3pelC6PWxSWFwJieDN2OONbR2E6rOjao/UhpY02jJu RasSfBXpNNax9Pn72vmBEG5KGEjKu9GvmutoP3jRyWf9eVTckSXA1DuWz2diiH92OfUS n++A== X-Gm-Message-State: APjAAAXcbxR37CugiynGtw0kUteYr4TC/DVP1VlrBQZpbojCtMSRmfUT rFju1EPS3l26IwHGJbNAB5z2Rw== X-Received: by 2002:a63:5558:: with SMTP id f24mr7314186pgm.92.1581053213363; Thu, 06 Feb 2020 21:26:53 -0800 (PST) Received: from drinkcat2.tpe.corp.google.com ([2401:fa00:1:b:d8b7:33af:adcb:b648]) by smtp.gmail.com with ESMTPSA id i66sm1174485pfg.85.2020.02.06.21.26.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Feb 2020 21:26:52 -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, ulf.hansson@linaro.org Subject: [PATCH v4 1/7] dt-bindings: gpu: mali-bifrost: Add Mediatek MT8183 Date: Fri, 7 Feb 2020 13:26:21 +0800 Message-Id: <20200207052627.130118-2-drinkcat@chromium.org> X-Mailer: git-send-email 2.25.0.341.g760bfbb309-goog In-Reply-To: <20200207052627.130118-1-drinkcat@chromium.org> References: <20200207052627.130118-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 --- 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 + + required: + - sram-supply + - power-domains + - power-domains-names examples: - | -- 2.25.0.341.g760bfbb309-goog