From patchwork Tue Feb 28 10:26:57 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: AngeloGioacchino Del Regno X-Patchwork-Id: 62397 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp2933337wrd; Tue, 28 Feb 2023 02:29:59 -0800 (PST) X-Google-Smtp-Source: AK7set9O1A+C+UFnJq0uj1iI93eje5BdsdJiM/3vV0UiyBgXu2g0A4Akvdy7vzfcl9eQe55Qwscd X-Received: by 2002:aa7:d6c7:0:b0:4ad:828b:970 with SMTP id x7-20020aa7d6c7000000b004ad828b0970mr2385866edr.33.1677580199489; Tue, 28 Feb 2023 02:29:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1677580199; cv=none; d=google.com; s=arc-20160816; b=tT3fERe5+B8At+v+FDcNdfX6Oc1YbJnHB2ZSed6dutkxeyQD5T8MeaNlD6pgGiJ2e1 E7ty/AUEi0fhC0T1Iluk6W+zc55QVx94ekP09ePGyxCuH7cGdPo6XirfSqbCqNZLaMFH obJYb2AjiNVl+YasFiSLOStIksewWqRIrdwhzAoTcU9c1oZfFqoAkGES6/o0rMbopuBr WDNAbYVAoEJrC+wKVgehwQFPDO9FxQLm8aOWF9qcuHGPTlN7yL8WpFhijQxlWM56omnW m64hZQCeY+mAp4UMDEl3Mfd88N4vRustokyYrfBVsGy+doN1ibEEEYnzPA5OG40X88Cw ArCA== 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=d4EhRTlJNKqTvjOXCp6RtAo5OeQaDjXq9yFB/mooVfY=; b=ba+ot/cgk9uaynLNP2yBa9GLInq05Kb8u3HktfoUsl7raisKrmUZseowijjLyUfhI7 fYg9OC6N2i9WlwlDyy9Tk7GzjnOifEPAuw5tvftIMf6+KFqOddys3jxf9SrLrSeVmTcf RZQYIZidM2XOAuLtn1fgIQfqbBdUjh1KF2hNscj4+ipwXZPpMCdyMNsb3HeI6gTT8CmN AML2guwI1rNcJ2GtB7gEKzoVl+ctK8HGnR297CwrgMmYuezPc97rx4PXTS7wxU2SPRTx 6yLMvNmNSq6+lA9qPoxpXkCguPkw0GvHdfv4PwoxzEfZi/tiTLyH50F/A2ISbbMywvdy QZVA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=TciQedvW; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=collabora.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ba26-20020a0564021ada00b004aee5c4837fsi11381789edb.250.2023.02.28.02.29.36; Tue, 28 Feb 2023 02:29:59 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=TciQedvW; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231150AbjB1K13 (ORCPT + 99 others); Tue, 28 Feb 2023 05:27:29 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39732 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231192AbjB1K1P (ORCPT ); Tue, 28 Feb 2023 05:27:15 -0500 Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9FC872CFD8; Tue, 28 Feb 2023 02:27:14 -0800 (PST) Received: from IcarusMOD.eternityproject.eu (2-237-20-237.ip236.fastwebnet.it [2.237.20.237]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: kholk11) by madras.collabora.co.uk (Postfix) with ESMTPSA id C18B06602FDB; Tue, 28 Feb 2023 10:27:12 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1677580033; bh=DycugKaR5mUM4/B5jFI1O5Chf+Iz4ZY0tMtXPBou2pk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=TciQedvWltIU9GlfNDq1yjwAWt4XET1fgMhl0b6ZCnY+lY0vdzRTnVQPCOaA5LNBA tG33T24975UVz71zgw8/NZVKYtYc3CGnkr095mNYN67WrLecErMKuGYEmjI6rXHu2i Z+Qqc+KjsW9mHmrJj65YRImlICLoEANfaAXB37L0ubbEbB9swHQ1IpndwbmF4RurdK kGoXOFGBQMg9FRRmhhAxJ3BpQVIjbBKoP3ujR+RsO6Ws4O7H0VgNYq7HK4aYp3Pt1M eUWnuoCv7eGQsEnLZnkQsXkEqP9OCrfKNobQSrVg8QLYSY7nNSlsnh1pmMnOg01cwi FsELsq2vFknFw== From: AngeloGioacchino Del Regno To: airlied@gmail.com Cc: daniel@ffwll.ch, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, steven.price@arm.com, alyssa.rosenzweig@collabora.com, matthias.bgg@gmail.com, robh@kernel.org, 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, wenst@chromium.org, AngeloGioacchino Del Regno Subject: [PATCH v4 05/12] dt-bindings: gpu: mali-bifrost: Add new MT8183 compatible Date: Tue, 28 Feb 2023 11:26:57 +0100 Message-Id: <20230228102704.708150-5-angelogioacchino.delregno@collabora.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230228102704.708150-1-angelogioacchino.delregno@collabora.com> References: <20230228102704.708150-1-angelogioacchino.delregno@collabora.com> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1759070335329282334?= X-GMAIL-MSGID: =?utf-8?q?1759070335329282334?= Since new platform data was required in Panfrost for getting GPU DVFS finally working on MediaTek SoCs, add a new "mediatek,mt8183b-mali" compatible. Signed-off-by: AngeloGioacchino Del Regno Reviewed-by: Rob Herring Reviewed-by: Chen-Yu Tsai Tested-by: Chen-Yu Tsai --- Since the changes are small, I kept the Reviewed-by tags that were released on the previous version of this patch. If that was wrong, please advertise so. .../bindings/gpu/arm,mali-bifrost.yaml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/Documentation/devicetree/bindings/gpu/arm,mali-bifrost.yaml b/Documentation/devicetree/bindings/gpu/arm,mali-bifrost.yaml index c5bef872114d..cf24aaba70f2 100644 --- a/Documentation/devicetree/bindings/gpu/arm,mali-bifrost.yaml +++ b/Documentation/devicetree/bindings/gpu/arm,mali-bifrost.yaml @@ -19,6 +19,7 @@ properties: - enum: - amlogic,meson-g12a-mali - mediatek,mt8183-mali + - mediatek,mt8183b-mali - realtek,rtd1619-mali - renesas,r9a07g044-mali - renesas,r9a07g054-mali @@ -177,6 +178,24 @@ allOf: else: properties: sram-supply: false + - if: + properties: + compatible: + contains: + const: mediatek,mt8183b-mali + then: + properties: + power-domains: + minItems: 3 + maxItems: 3 + power-domain-names: + items: + - const: core0 + - const: core1 + - const: core2 + required: + - power-domains + - power-domain-names - if: properties: compatible: