Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp2569636rwb; Fri, 16 Dec 2022 04:01:54 -0800 (PST) X-Google-Smtp-Source: AA0mqf70W7X6/KnZyC6cN65J/+CcIBm8uTgvbj5lmr2Vu7v1qXZxGHaiJzJ8+IU+SuBpjluj6CWd X-Received: by 2002:a17:906:f247:b0:7c1:7669:629 with SMTP id gy7-20020a170906f24700b007c176690629mr16574041ejb.49.1671192114589; Fri, 16 Dec 2022 04:01:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671192114; cv=none; d=google.com; s=arc-20160816; b=POiKypf/zDGef1pQZxT4aZyRTvPw5R0xh6QGMTJCx2aQGoBVPds4/v3j1rfMxPYqcX ihFPcgFafhySmpyGU6M52DAJWyuY1hK9u6pc5TUqfh6n/D4G291sn3VZwTBqG0N+prPf VAgTDtPzxS4PnWgqlis7stmWqstlxreRI0eYw22dqhFEwUjKeqPpvklDTP9IQH49ES2Y XpMyEbxUE3utNsvbfPromdFCggNBYqX7oBsNg27w5iji5+09DPram9+ezdEhlpQnomNC peEkXxcwQHRWP+B/6vu/joPOdQE1d2g8BGWjEbMJjLAoaXdn5g2dH5ZnXu6QR3HXkjg6 Vvaw== 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=ygFXuh/XT7kReqZaDd5fpLgDWX3W0sTsYYW23Ba0Cco=; b=hQP+CDH9/BnBWw9T++02Lx+mCfGmsFi2zjepdXSSh1SMPqSvavyofkjd41G4XUF9Ei ZaNicC2APz04Yk3UzeSdeTiCKVfHgNs0fehxsCWEJ9ShAs/6SzGFsVpy5q5oGWy9a7HG teQDNQbSqZXOVANdhIBXnRq6Aa2n4bync63ahQ5hgA/fO8XDa8wLAW6Vmfr/3BmToBRT oBIfdAPTV3ecyWfGGqzF5aHYn77V4vk5TJ/so8PztYGBytwfdTtL2Q1qK3Z8ICr2FuiQ dnjaIg1uGIXcpkVCEjg1MjpdFXLSANAXP8IYrDTuuKZsLmaDxj/cdq4oCzr67onyVr48 dFbw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="Q9/nnJTh"; 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=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ga11-20020a170906b84b00b007707b853e46si1682805ejb.882.2022.12.16.04.01.37; Fri, 16 Dec 2022 04:01:54 -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=@linaro.org header.s=google header.b="Q9/nnJTh"; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230384AbiLPK6T (ORCPT + 68 others); Fri, 16 Dec 2022 05:58:19 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45034 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230228AbiLPK6Q (ORCPT ); Fri, 16 Dec 2022 05:58:16 -0500 Received: from mail-lj1-x234.google.com (mail-lj1-x234.google.com [IPv6:2a00:1450:4864:20::234]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7ECC831342 for ; Fri, 16 Dec 2022 02:58:15 -0800 (PST) Received: by mail-lj1-x234.google.com with SMTP id y4so1733434ljc.9 for ; Fri, 16 Dec 2022 02:58:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=ygFXuh/XT7kReqZaDd5fpLgDWX3W0sTsYYW23Ba0Cco=; b=Q9/nnJTh5ZlCNrSi1xSAw8/IPnsDKRTheZD++k9Wj4N9M7ZGZeQauuT6+xvtw6k+DA hc8KW1GiTnMItg4pqjy2PjZUmtnytIlxyudgZAkT3770ZWVx8/fbi5DmY3kguXxw8lZ/ lk24S0ixs+tzgFHDwKE6WiiSK4jFUDw6XGFXkiXEzyhtdREou4zhYr2fCXWMNg0AsS9S BzySpLZfusUEu0uvB2gXebRGd8DenMoxzE0gyS11eGdDhM37ZswUn6d08i9P/wydy4Em qctoPpfi6FylQSUUSubiSndesj4tXEj1tVSHkIxJeWGxw3rGBcG/D7pXguuXitG5Md/t Tz/w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=ygFXuh/XT7kReqZaDd5fpLgDWX3W0sTsYYW23Ba0Cco=; b=QiAt0Uq76B4GmjdxVjiVra2iYXJZkLDgntxx54grW+MmxVetjAIsZ1J4TqMRFOqmQQ V0JExZ2UAeFH7KG4wOCKc/jpyQVEN4nb78ftyW4j0dk/LmY4JdPjw/Jkv68FRMl4Qvn6 sf3++ygpyj0dUKiBJBvmDjOIvG9Olk+ToN6k0dFDm87o3LHxBUOB5z5Fq23yP4gXxVoC vHo6x+cMf1gkV+Vxt1h/IknmxSyDzc2uze0DIuGGvJdo0CUQGCxOSfEHb4rSYe9S4ud4 VMwM+dxB227UZREmNWzVppyygTyU6AohlMwywcpiNjcWMzDIhYq8InBrJTbYiNZTHOi0 VIXA== X-Gm-Message-State: ANoB5pnomB4v69PtA3ulVR7VoxnjXczvwVK9v6iLQb0A5S0x/tjZ4JE1 kdOWhewVswDUs54qykYLEUi4Yw== X-Received: by 2002:a2e:9184:0:b0:27a:129f:770e with SMTP id f4-20020a2e9184000000b0027a129f770emr7627543ljg.5.1671188293806; Fri, 16 Dec 2022 02:58:13 -0800 (PST) Received: from [192.168.0.20] (088156142067.dynamic-2-waw-k-3-2-0.vectranet.pl. [88.156.142.67]) by smtp.gmail.com with ESMTPSA id n6-20020a195506000000b004b55cebdbd7sm187519lfe.120.2022.12.16.02.58.12 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 16 Dec 2022 02:58:13 -0800 (PST) Message-ID: <3bad1a29-6457-8958-64c2-a0002c7959a1@linaro.org> Date: Fri, 16 Dec 2022 11:58:12 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.5.1 Subject: Re: [PATCH 3/4] dt-bindings: arm: mediatek: Add missing power-domains property Content-Language: en-US To: Allen-KH Cheng , Rob Herring , Krzysztof Kozlowski , Matthias Brugger , Chun-Jie Chen , Stephen Boyd , Ikjoon Jang Cc: Project_Global_Chrome_Upstream_Group@mediatek.com, angelogioacchino.delregno@collabora.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: <20221215120016.26611-1-allen-kh.cheng@mediatek.com> <20221215120016.26611-4-allen-kh.cheng@mediatek.com> From: Krzysztof Kozlowski In-Reply-To: <20221215120016.26611-4-allen-kh.cheng@mediatek.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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 On 15/12/2022 13:00, Allen-KH Cheng wrote: > 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..cbedef114103 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 > > @@ -49,11 +52,25 @@ required: > > additionalProperties: false > > +allOf: allOf goes just before additionalProperties. > + - if: > + properties: > + compatible: > + contains: > + enum: > + - mediatek,mt8192-scp_adsp For the future: please don't use underscores in compatibles. > + then: > + required: > + - power-domains > + > examples: > - | > + #include > + > scp_adsp: clock-controller@10720000 { > compatible = "mediatek,mt8192-scp_adsp"; > reg = <0x10720000 0x1000>; > + power-domains = <&spm MT8192_POWER_DOMAIN_ADSP>; > #clock-cells = <1>; > }; > Best regards, Krzysztof