Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp6408460ybf; Thu, 5 Mar 2020 20:14:35 -0800 (PST) X-Google-Smtp-Source: ADFU+vsbDeE6EsoVqMchqVll1uecZYsVfIMt5NK7WO4L1MBVKG4PG++CTGLuVC/GQ3dYnIlwzwuh X-Received: by 2002:a54:478a:: with SMTP id o10mr1287404oic.45.1583468075492; Thu, 05 Mar 2020 20:14:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1583468075; cv=none; d=google.com; s=arc-20160816; b=hMwcO/3rwtleYa/JgSrc8f3ne/87IUghx+sZ3CRzIiUlrkxHSg/1r0guX61LkWSZtK 9FOn0AMZpOYJ3kNFKwNcrYHPfBslL7vLptVnJ45PnaXpqJpbdkaxIdGhdNMGRPaFbmsG WUYVFJclR+3w+c0w8gCeq2Zbk0MJpj3KiNnpoYSLOVyT6SZNddAzl/BV9/TVVYc9fKKW OZ3dKV12fy6aCjsMy9OOa3yJiO/JagGs0UwsJqKNO0QXoZCMc18dNDpTw4DZspm2MXb0 BVLNesqKZXpUW2+2PpPeAMgZNlKuywpJ7lDLABwAMA75thzYJ9ut9ilWEEQus8QuuvOH OtCg== 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=FYo0wCuLZS6Af0DjoF3Xj17jVoInSu2OB15HTnyAsCo=; b=jPse1EW2qs79reNfpfLjp0YnHrlzm8usyDJ4aw/M3u9EIMGsTFXV7n1rBoo5C80Y2E oIGWVgR516dfis8wQU/r0VViNT9+rIJ3I4fAMc3DJWRDoE94DMn93oz5v70SsRkvOsg4 NTa2d4WJUEB2OX4tOrtGgXknPgOSenMKxQaSQ0Nyb4f2hvHlyGU0fOIZjIId1mLuHmGN Pj6CLaGI3UFiolvy+AA0lR8HYL1v3oulDmN0dYbd/GLrmT7QZJO2Y1I4Pa/8EXJJY6D7 qe/UR7pQK110eMcpVbL7VWx3Mix+CzNE1hLjt9PIhOQSXxqKQ9EP/D8qrsXhNZYj1xEb 1bBQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=YCCN2t1C; 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 j2si619730otk.164.2020.03.05.20.14.24; Thu, 05 Mar 2020 20:14:35 -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=YCCN2t1C; 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 S1726351AbgCFEOA (ORCPT + 99 others); Thu, 5 Mar 2020 23:14:00 -0500 Received: from mail-pj1-f68.google.com ([209.85.216.68]:40536 "EHLO mail-pj1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726674AbgCFEOA (ORCPT ); Thu, 5 Mar 2020 23:14:00 -0500 Received: by mail-pj1-f68.google.com with SMTP id gv19so509235pjb.5 for ; Thu, 05 Mar 2020 20:13:59 -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=FYo0wCuLZS6Af0DjoF3Xj17jVoInSu2OB15HTnyAsCo=; b=YCCN2t1CB2P2CfMaPm6rIKOPVG8t/6V3YQ2aCXAgjwQ/oXYOdBygxVA5DtyYataKSO 8jXTgzI9ZnMO/rKDqORjVs1ktjYBpeo3sqPj4vQGQJb5Dyg3EMeOJSo5Rar1l1W4uIHX DB1YWKd8PndfLlPLZiNSXoYYlp+cRIkYlwyFE= 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=FYo0wCuLZS6Af0DjoF3Xj17jVoInSu2OB15HTnyAsCo=; b=B9Xw4g9JPY4l/xPqacuDNqWoX9xTNT9VjxYWeFm6AnchyEdFQ4nAXeMTA9h0cqe/PL ZXeMLy4p+Hs42CWcHX4DIQEJHr+g/JmeOAvTEB24MQDbECJl3Fw4VLPay4CMGhAOy+DC /TmiveG3zdg18n3b1VRyvY8dVOHKQVtbCCK6JxW6HLAOVLvGM8EztjPojuyDMBWK5JCU ttY/UMmh80NSET7r4zrY7WRqUcJAG10LpGdiGX6Ju8msuL/qLOlZ4+denVeAbwnD0/vb xtx5ds/dPCNhqi+pJ9ldVzeC2UUw9fbRmFdeAsehc13JVyztZ4/0HZNP7ENmYG3jeQ5V W7Ww== X-Gm-Message-State: ANhLgQ1MtsTX/z46CqHNgbhfDUiu7rAaZX/CiOxMcm7iFsmjOYCyLyNk As314uyEX9MlSBjZoCIWE/6/9Q== X-Received: by 2002:a17:90a:b94a:: with SMTP id f10mr1564406pjw.1.1583468038770; Thu, 05 Mar 2020 20:13:58 -0800 (PST) Received: from drinkcat2.tpe.corp.google.com ([2401:fa00:1:b:d8b7:33af:adcb:b648]) by smtp.gmail.com with ESMTPSA id q97sm6295025pja.9.2020.03.05.20.13.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 Mar 2020 20:13:58 -0800 (PST) From: Nicolas Boichat To: Rob Herring Cc: Nick Fan , 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 v5 1/4] dt-bindings: gpu: mali-bifrost: Add Mediatek MT8183 Date: Fri, 6 Mar 2020 12:13:42 +0800 Message-Id: <20200306041345.259332-2-drinkcat@chromium.org> X-Mailer: git-send-email 2.25.1.481.gfbce0eb801-goog In-Reply-To: <20200306041345.259332-1-drinkcat@chromium.org> References: <20200306041345.259332-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 --- v5: - Rename "2d" power domain to "core2" 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 e8b99adcb1bd292..c5ceca513192f99 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: core2 + + required: + - sram-supply + - power-domains + - power-domains-names examples: - | -- 2.25.1.481.gfbce0eb801-goog