Received: by 2002:a05:6602:18e:0:0:0:0 with SMTP id m14csp43264ioo; Wed, 25 May 2022 20:04:42 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwMQoTDq6E5xZWiNDMt2yEVsFCpFJNvpdtMvXWtBfq6x/yFxrCFNwQS6c0aB2whx4VzPvVs X-Received: by 2002:a17:907:7faa:b0:6ff:18e6:a44 with SMTP id qk42-20020a1709077faa00b006ff18e60a44mr3643165ejc.380.1653534281834; Wed, 25 May 2022 20:04:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1653534281; cv=none; d=google.com; s=arc-20160816; b=ubxvqYuZGK1Ya/qpb0qejqH0qx3u4d1uS5scQOwo2yEpi/OV/DH0PZDsFflJZP47yN zzQpS/GuXYwFClq0geliRXZIISeP6ByoUMz02VzdwBv+6SyaGhLuYHftdD8FeDbXhV6q Xxa+4zXfR4YGX3CFTG/XyZnl8H1WcQVBfKYz7K05jLZo90B4IywCQaoLIWNOWbQ9UhxH Im62FErgXYdyJYlOlP3ECOsAiUIwheMpB/Lo7+mGFCh+mnaXcy58C0CSXUO1HPb77fDB VE1xMS/0i9XYw7pTzyWZzlzjgcZKSvD9a1u5GXes1F2BW5Pq3F/H0lcmZLaeCAfj2uDO +BHQ== 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=Xa1A6F6MmyNZ1AFnjF9+Pk1n58Cj7tV3Vrag8kkAhZg=; b=r+x2yDy6q/L2KVbItiS4JOzmi3xqb7A4e2H79ragMgXBGTkTeLNRUO/zexey3e1xHL 21NEoikVLM/FDu/PnEFmHOgX2ZzAm4peBfvDaCyoDkEGn1eBcNNY4J3JnipFu8h4q4Ir jaLg8TQsQukOogPzVK1KASc+1lfz/4CVV3Irhs+o5PkXhp650uBiUJOGMrNiJsysMUpB rWYjT4TNhBcKT5TZToRS8PI52l05QUXhU+TDLYVomPZaEd30rImQKT8Nj3vKzZFZl3O+ JLnudLcEWY3t1kQJb3hccIrlXlBqg4R00R5d6glvHF+Ou8U98euPJiaosZUvjwOQCUjd 1TSg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=TlKOHXS3; 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=NONE sp=NONE dis=NONE) header.from=collabora.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id v17-20020a50d591000000b004280d0066a4si268290edi.453.2022.05.25.20.04.15; Wed, 25 May 2022 20:04:41 -0700 (PDT) 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=TlKOHXS3; 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=NONE sp=NONE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244876AbiEYO6O (ORCPT + 99 others); Wed, 25 May 2022 10:58:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34772 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241939AbiEYO6J (ORCPT ); Wed, 25 May 2022 10:58:09 -0400 Received: from bhuna.collabora.co.uk (bhuna.collabora.co.uk [46.235.227.227]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C505E6C0FE; Wed, 25 May 2022 07:58:08 -0700 (PDT) Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: alyssa) with ESMTPSA id 6B8481F450F4 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1653490687; bh=+4m7P+pQtDoPRLeJ/o/TRoRtSsTCzrenQkb157P79lQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=TlKOHXS3aCs3rvje9nB1n31DpTc3NvRCrZn0OdKzxRi9cxs4OLRCPXZpVxuGqj0GX R5j8gxzle1zXngChlMkXIILoTvIpAvjWBNDuIvAM9yY3TXpkf354PccFwBpqSJwbk4 qsutJTt2eILUFYhM7/33ZP8HXp3a91pV3NsKqnR4JV4NhaEC++K+n1qcW5h+wpLNDU qcYbmr/ynYBC/IkbqNxvPinv6L1kcyEfKBHzdQrymVcKCQ7NRQ/TzDrQnp5dEWf1y5 ILHxR8jodll6ex09bsZZYvTz2ZmLPqXKFQDhoAvMbnZAw/jp2uF6g7j0GuW/xpAOdx J/8Z0nqT5Ving== From: Alyssa Rosenzweig To: dri-devel@lists.freedesktop.org Cc: Rob Herring , Tomeu Vizoso , Steven Price , Alyssa Rosenzweig , David Airlie , Daniel Vetter , =?UTF-8?q?N=C3=ADcolas=20F=20=2E=20R=20=2E=20A=20=2E=20Prado?= , AngeloGioacchino Del Regno , linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Subject: [PATCH v2 1/9] dt-bindings: Add compatible for Mali Valhall (JM) Date: Wed, 25 May 2022 10:57:46 -0400 Message-Id: <20220525145754.25866-2-alyssa.rosenzweig@collabora.com> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220525145754.25866-1-alyssa.rosenzweig@collabora.com> References: <20220525145754.25866-1-alyssa.rosenzweig@collabora.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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_PASS,SPF_PASS, T_SCC_BODY_TEXT_LINE,UNPARSEABLE_RELAY 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 From the kernel's perspective, (pre-CSF, "Job Manager") Valhall is more or less compatible with Bifrost, although they differ to userspace. Add a compatible for Valhall to the existing Bifrost bindings documentation. As the first SoC with a Valhall GPU receiving mainline support, add a specific compatible for the MediaTek MT8192, which instantiates a Mali-G57. v2: Change compatible to arm,mali-valhall-jm (Daniel Stone). Signed-off-by: Alyssa Rosenzweig CC: devicetree@vger.kernel.org --- .../bindings/gpu/arm,mali-bifrost.yaml | 25 +++++++++++-------- 1 file changed, 15 insertions(+), 10 deletions(-) diff --git a/Documentation/devicetree/bindings/gpu/arm,mali-bifrost.yaml b/Documentation/devicetree/bindings/gpu/arm,mali-bifrost.yaml index 85f8d4764740..78964c140b46 100644 --- a/Documentation/devicetree/bindings/gpu/arm,mali-bifrost.yaml +++ b/Documentation/devicetree/bindings/gpu/arm,mali-bifrost.yaml @@ -14,16 +14,21 @@ properties: pattern: '^gpu@[a-f0-9]+$' compatible: - items: - - enum: - - amlogic,meson-g12a-mali - - mediatek,mt8183-mali - - realtek,rtd1619-mali - - renesas,r9a07g044-mali - - renesas,r9a07g054-mali - - rockchip,px30-mali - - rockchip,rk3568-mali - - const: arm,mali-bifrost # Mali Bifrost GPU model/revision is fully discoverable + oneOf: + - items: + - enum: + - amlogic,meson-g12a-mali + - mediatek,mt8183-mali + - realtek,rtd1619-mali + - renesas,r9a07g044-mali + - renesas,r9a07g054-mali + - rockchip,px30-mali + - rockchip,rk3568-mali + - const: arm,mali-bifrost # Mali Bifrost GPU model/revision is fully discoverable + - items: + - enum: + - mediatek,mt8192-mali + - const: arm,mali-valhall-jm # Mali Valhall GPU model/revision is fully discoverable reg: maxItems: 1 -- 2.35.1