Received: by 2002:a05:6358:f14:b0:e5:3b68:ec04 with SMTP id b20csp5437508rwj; Wed, 21 Dec 2022 02:39:24 -0800 (PST) X-Google-Smtp-Source: AMrXdXuggLW4GzMZ+bcWhulgUqko+eaymGwL+6kmLJ4mbv2xqPbox2jcBmnhA+emOxKgNJxwdR/a X-Received: by 2002:a05:6402:3784:b0:46d:cead:4eab with SMTP id et4-20020a056402378400b0046dcead4eabmr1069634edb.6.1671619163859; Wed, 21 Dec 2022 02:39:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671619163; cv=none; d=google.com; s=arc-20160816; b=ARjH2OLshhXLHq/llP92+6P0pZEBRGRF7auzXTqU/DCViuWvgV+wKhAc5kTo8WRDxZ KnKLA+Evq7nXHuRKD7fq7+VgBGNOo0rQURHx8tMFNeYzz6q0d7RXVTVd36Nygw0SKvN0 hdw5LDuLnhZfaRwEFEPr0BH2enKiJ1TBEInPuXrgQgU2gSaU/HXKODZBXa/GAdUCXADN gbiFsgklWGb9wsy9wUqdI6n/guo4DRTsMUTk7BBVg0Cv4BpcH2msdIDud9DzSPJitYJJ n31WSUp3z82O4vV1zHlXgJ0WPb50boKBIaf+xYUP/85yHJiPHNvgxu555PkO/9dUBOjb Nw9w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=fM1cXvWA1i0knwqswfw70xmFV65eQs9q9yVBIQSrHSQ=; b=W96k8zD4jy/ClfHrdxjwWgw9xFbHG73R+bQnibGFajwwe9pBP4m5llSzq4zlRjyEAu x0nB3hzB6CdpGjojOKhLZ0/NmOYODlwmZAU98uxnAjamAAPpsP+nH7CHJzsUX70pjsCg jwNJz64vI/mMi2dO/Xfhvq2yn2uQHi+jyD4gqtBRECeoYFwEupwSwtVqUcGUbjZU+8It Q4Gxt0/2vAOuR/qYb6cdiWR1W29hX6EpTiB3QpOwTkvyoyGwF2zbrf1A2HKNiGngyV4a lbeWiRV0SKXYgskdXUpOFG9BpMWdTVZiMRA366QOg/1BQfvpENjeo6lT2FeQ8ZQhmYCC 20UA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=NJWuTs4k; 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 sc34-20020a1709078a2200b0081160837b7csi9285556ejc.286.2022.12.21.02.39.06; Wed, 21 Dec 2022 02:39:23 -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=NJWuTs4k; 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 S233998AbiLUKfX (ORCPT + 69 others); Wed, 21 Dec 2022 05:35:23 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50774 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234589AbiLUKep (ORCPT ); Wed, 21 Dec 2022 05:34:45 -0500 Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BAAB01571C; Wed, 21 Dec 2022 02:34:09 -0800 (PST) Received: from [192.168.1.100] (2-237-20-237.ip236.fastwebnet.it [2.237.20.237]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: kholk11) by madras.collabora.co.uk (Postfix) with ESMTPSA id C142D6602CBE; Wed, 21 Dec 2022 10:34:07 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1671618848; bh=dYnHLUJwsMgAqRqXR0SLLIpg7sZb52juTMDSydtg2x4=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=NJWuTs4kLFIVz6qdw1/352wJnSGg8W+CUVh5jJ4Fh0eCzdhJcGGEbC0udVFsDxFVg RhrTq8CShiU7b1sr1rsIXkCnufUZ77mMTIgsYMxBaEWp5gamaAqX5RtVXMadVMZ+tU wyYSJjGk8Wgs5PRaOWa+bpvVZkjvraBBNBTlepzIsoSByhjYhBl0pLWJbYJ1+cS4RF 4YRefd0VGzzz9In7DgfUZBsm8TMJBzuV6uPAQ2RWKW55KeeKtfSl2YM25JvYFXG6qa aaZPhdVWbmLfRhlLpJRjBtC/m2IIGaSblzKqeYz7sL1YVpyWPtcWR337m4AryTNZtH 9/VPFLvpFqUvQ== Message-ID: <9ea3d941-e68a-ce48-5f34-264f925c4358@collabora.com> Date: Wed, 21 Dec 2022 11:34:05 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.6.0 Subject: Re: [PATCH v2 5/6] dt-bindings: arm: mediatek: Add missing power-domains property Content-Language: en-US To: Krzysztof Kozlowski , Allen-KH Cheng , Rob Herring , Krzysztof Kozlowski , Matthias Brugger , Chun-Jie Chen , Stephen Boyd , Ikjoon Jang Cc: Project_Global_Chrome_Upstream_Group@mediatek.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org, Chen-Yu Tsai References: <20221221034407.19605-1-allen-kh.cheng@mediatek.com> <20221221034407.19605-6-allen-kh.cheng@mediatek.com> <403b0310-070f-1ecc-2188-95c22859bae1@linaro.org> From: AngeloGioacchino Del Regno In-Reply-To: <403b0310-070f-1ecc-2188-95c22859bae1@linaro.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,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 Il 21/12/22 11:33, Krzysztof Kozlowski ha scritto: > On 21/12/2022 11:22, AngeloGioacchino Del Regno wrote: >> Il 21/12/22 04:44, Allen-KH Cheng ha scritto: >>> The "mediatek,mt8192-scp_adsp" binding requires a power domain to be >>> specified. >>> >>> Fixes: 4a803990aeb1 ("dt-bindings: ARM: Mediatek: Add new document bindings of MT8192 clock") >>> Signed-off-by: Allen-KH Cheng >>> --- >>> .../arm/mediatek/mediatek,mt8192-clock.yaml | 17 +++++++++++++++++ >>> 1 file changed, 17 insertions(+) >>> >>> diff --git a/Documentation/devicetree/bindings/arm/mediatek/mediatek,mt8192-clock.yaml b/Documentation/devicetree/bindings/arm/mediatek/mediatek,mt8192-clock.yaml >>> index b57cc2e69efb..ce8dd2bfb533 100644 >>> --- a/Documentation/devicetree/bindings/arm/mediatek/mediatek,mt8192-clock.yaml >>> +++ b/Documentation/devicetree/bindings/arm/mediatek/mediatek,mt8192-clock.yaml >>> @@ -40,6 +40,9 @@ properties: >>> reg: >>> maxItems: 1 >>> >>> + power-domains: >>> + maxItems: 1 >>> + >>> '#clock-cells': >>> const: 1 >>> >>> @@ -47,13 +50,27 @@ required: >>> - compatible >>> - reg >>> >>> +allOf: >> >> allOf is unnecessary here. > > If you mean that "if:" can be without it, then it is better to have > allOf. It grows often, so you avoid useless indentation change later. > > Yes, that's what I mean. I've suggested so because I don't expect this list to grow in the future. Regards, Angelo