Message ID | 20230223133440.80941-2-angelogioacchino.delregno@collabora.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp315098wrd; Thu, 23 Feb 2023 05:36:30 -0800 (PST) X-Google-Smtp-Source: AK7set91IU4bqgVofBibfNkj20EsU6g5FnIyUUPnX4jqlcgppL3SKmaQ5gvTHU//7CkOS4+1rhh8 X-Received: by 2002:a17:906:73da:b0:8d3:be84:1cc6 with SMTP id n26-20020a17090673da00b008d3be841cc6mr9631075ejl.3.1677159389840; Thu, 23 Feb 2023 05:36:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1677159389; cv=none; d=google.com; s=arc-20160816; b=kINOQQXlsU6Y9Vvdt0GY4cN03YKZLR7/KEPjdNAjqckUX0PuulrfnPKKTlnrF82tL9 uyJ8TX7ctBnmvpBcCXn/7O4kZ5pEkSRqjQIR2vxKHPqTxhvBo0zsQEN/mcKQHRWsI3Pb YsgngCkaeVnetog8Wls/iWdsXxUfY4jBVistyhpcdX21ibREtEEsdWY9CgPKU34bEOAR G+cwEFraD87gjD1641ljMCLwNMNsiPdQZ6jFZryj8GGN6W5DOqOj0+EloXLGpCJyFviz 9ZabsqiqiDocJcBb6Edxv6wQnxOs+TQFE6u+Pbboy4hk6OLGhdV10Y8GhrvAUKfJQiGQ mZ2w== 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=U1/arpsFTNupPbknD64llFhKUm/wlNgsw1KbnSZuMME=; b=e12UeNscTLV+HGP4M038ZTipSMkpYpD3y62nYK51T1WnjFTHWqTVhFs36XUv3x8rh7 eoqVXkxlxxrAx1PYOFWCO8NpbUSJq/m1UvLxMogwWgzkbgRYKN3B6cjAYsI1644t6+qu EvwjERIjXVQC9F9n+6yNV2NqZ3y8ekIWqZ+Giu3t9Nd8LkQJSg9ycT1cE/cGYFZdVNkL yCOVvdEy610KQXaKsj0oyewEM+OgckS2KVkXCVzgmlhaPzgGXVXrGwbNDTc26O4snk2q Jn8FVklC5Yz3l0jClv/egiVLVOcha1afS0krjo3yVVHunu3KjCKGFDhEqPugftPSrIve i8Cw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=NYu03vv1; 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 d26-20020aa7d69a000000b004af6e956bd7si1787250edr.421.2023.02.23.05.35.57; Thu, 23 Feb 2023 05:36:29 -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=NYu03vv1; 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 S234069AbjBWNfB (ORCPT <rfc822;cambridge8321@gmail.com> + 99 others); Thu, 23 Feb 2023 08:35:01 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37094 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234236AbjBWNe6 (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Thu, 23 Feb 2023 08:34:58 -0500 Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A5CF531E37; Thu, 23 Feb 2023 05:34:55 -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 98B0E6602207; Thu, 23 Feb 2023 13:34:53 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1677159294; bh=DZyb8vw6qbtsYIBlP4pzm++AodTcvCv6AvAETopyIuw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=NYu03vv1qJuOYlmylMrIAyYrmCCeql0wrQvbiOajOzEtWMk9fe2QClrSXl5UKBq7F gnBv7pcmHASD9KHn9aA8CYcQjSaz5T5fcM+kbDOExSgearlpCRBas/XTGpT5+o/vDI CvVsacZ/DGPBhH6QBAudtY1bmf5NjNlMbNCuF3n8etvKB2aBijiQSCOYMWIYYDpXcM YQbUXF9UpbvdB0vTfPN00MjxPShFufEUoPr9vo+FYil4d5wyB5m69+RwLNIFFLEevV g0Rh0xjEusaGljfQTj3+SHcAr3LYy+s+85UxTjYgeyaUjp2Il2Zg3U7SMHK3y2HlEQ rSJuihO2Whkwg== From: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> 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 <angelogioacchino.delregno@collabora.com> Subject: [PATCH v3 01/11] dt-bindings: gpu: mali-bifrost: Add power-domain-names to base schema Date: Thu, 23 Feb 2023 14:34:30 +0100 Message-Id: <20230223133440.80941-2-angelogioacchino.delregno@collabora.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230223133440.80941-1-angelogioacchino.delregno@collabora.com> References: <20230223133440.80941-1-angelogioacchino.delregno@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_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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1758629084373801326?= X-GMAIL-MSGID: =?utf-8?q?1758629084373801326?= |
Series |
Panfrost: Improve and add MediaTek SoCs support
|
|
Commit Message
AngeloGioacchino Del Regno
Feb. 23, 2023, 1:34 p.m. UTC
From: Chen-Yu Tsai <wenst@chromium.org> In commit a7a596cd3115 ("dt-bindings: gpu: mali-bifrost: Add Mediatek MT8183"), "power-domain-names" was added to the mt8183-mali sub-schema, but was not added to the base mali-bifrost schema. Because validation happens for the base schema and any sub-schemas separately, this causes errors to be emitted when validating the MT8183 device trees. Add power-domain-names to the base schema to silence the error. Fixes: a7a596cd3115 ("dt-bindings: gpu: mali-bifrost: Add Mediatek MT8183") Signed-off-by: Chen-Yu Tsai <wenst@chromium.org> Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> --- Documentation/devicetree/bindings/gpu/arm,mali-bifrost.yaml | 3 +++ 1 file changed, 3 insertions(+)
Comments
On 23/02/2023 14:34, AngeloGioacchino Del Regno wrote: > From: Chen-Yu Tsai <wenst@chromium.org> > > In commit a7a596cd3115 ("dt-bindings: gpu: mali-bifrost: Add Mediatek > MT8183"), "power-domain-names" was added to the mt8183-mali sub-schema, > but was not added to the base mali-bifrost schema. Because validation > happens for the base schema and any sub-schemas separately, this causes > errors to be emitted when validating the MT8183 device trees. > > Add power-domain-names to the base schema to silence the error. > > Fixes: a7a596cd3115 ("dt-bindings: gpu: mali-bifrost: Add Mediatek MT8183") > Signed-off-by: Chen-Yu Tsai <wenst@chromium.org> > Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> > --- > Documentation/devicetree/bindings/gpu/arm,mali-bifrost.yaml | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/Documentation/devicetree/bindings/gpu/arm,mali-bifrost.yaml b/Documentation/devicetree/bindings/gpu/arm,mali-bifrost.yaml > index 78964c140b46..02699d389be1 100644 > --- a/Documentation/devicetree/bindings/gpu/arm,mali-bifrost.yaml > +++ b/Documentation/devicetree/bindings/gpu/arm,mali-bifrost.yaml > @@ -65,6 +65,8 @@ properties: > minItems: 1 > maxItems: 3 > > + power-domain-names: true Symmetric to power-domains, so min/maxItems. Best regards, Krzysztof
diff --git a/Documentation/devicetree/bindings/gpu/arm,mali-bifrost.yaml b/Documentation/devicetree/bindings/gpu/arm,mali-bifrost.yaml index 78964c140b46..02699d389be1 100644 --- a/Documentation/devicetree/bindings/gpu/arm,mali-bifrost.yaml +++ b/Documentation/devicetree/bindings/gpu/arm,mali-bifrost.yaml @@ -65,6 +65,8 @@ properties: minItems: 1 maxItems: 3 + power-domain-names: true + resets: minItems: 1 maxItems: 3 @@ -166,6 +168,7 @@ allOf: properties: power-domains: maxItems: 1 + power-domain-names: false sram-supply: false - if: properties: