From patchwork Fri Mar 31 08:12:23 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Cristian Ciocaltea X-Patchwork-Id: 77618 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp406111vqo; Fri, 31 Mar 2023 01:30:30 -0700 (PDT) X-Google-Smtp-Source: AKy350Y78iG7hd5S54D18+ud8wtcq1QYgqlaRFgDGKhNog3YPUVa0ly9ympYG9lNZMhUr7KOZkxN X-Received: by 2002:a17:90a:7286:b0:23d:22d7:9ecf with SMTP id e6-20020a17090a728600b0023d22d79ecfmr10086318pjg.7.1680251430654; Fri, 31 Mar 2023 01:30:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680251430; cv=none; d=google.com; s=arc-20160816; b=hWoLshO7diWjMZZwdCggVOj6yXtbULmyOJrmOF+Y5AbUvHJStopZNd6lB5n45erN4V HSm5NIWRPoXevuPmXZboJ32LJc1elyuDhRIX3heCYG2z8ie2rnl+5zcbpwBZRgqz4RXa IVNLt3KnMIW0Ho5JV9mG4gLJvB8scj4/McQ6ep3CPI1ToZrv3wWgz2V8IAHqFabXf+y9 80VqLDceqO2JxhCCXD5Upe5S4jkVg4kmZJX4cyXJE6kKE8+Ub5hANFvFILjWetqWMpBX GnXBEIcL9LPR5WLtFDx/FbFNyMY8Rl/Z6wXdmFJrPBawn9EvB39jw+FuBj4A6QaXsS7E LWTg== 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=kTChUHZytN3QrOQo97jNqLgnEqh/0GBi7yhF2l39WeY=; b=x7WkQOkKrAdGx/MeLDbmrmaYzaLrw6GVg54wsqvzBaeXTsIfEBrt7RtSMciwR03zT+ IyKRxAtjVn0z6cSQrCHPCKBrI/umsXfmlGALX9aaDs1UUN2vkoLwjKGJJdzBpac/e/Df 7yKsbgajFfxabV4vJg0ax5AazqzOr9uJ7Z9amr2ffU74ufL5lit7ZLRLq25G5TlOUj+b 66sIom4BS2SftrRP/z1CtNGs/UgErQqOJ3vaTA6wwZDkwxAVcMEjWqFBCrZQ8tE3O92v Rp9GaIK/sfbqygw7s3lc31f8EdFbT9jAhyteeiPwxdXAoD/u+lfHz6ihtNhPWLP8jo/D jqNA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=KWf9g+Jg; 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=QUARANTINE sp=QUARANTINE 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 nn14-20020a17090b38ce00b0023f0955f301si6665837pjb.166.2023.03.31.01.30.18; Fri, 31 Mar 2023 01:30:30 -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=KWf9g+Jg; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231539AbjCaIMp (ORCPT + 99 others); Fri, 31 Mar 2023 04:12:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59694 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231504AbjCaIMm (ORCPT ); Fri, 31 Mar 2023 04:12:42 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DB8C626BD; Fri, 31 Mar 2023 01:12:34 -0700 (PDT) Received: from localhost (unknown [188.27.34.213]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: cristicc) by madras.collabora.co.uk (Postfix) with ESMTPSA id 9C9A36603191; Fri, 31 Mar 2023 09:12:33 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1680250353; bh=qfVvQcXAO2HebpYt7+zwdYr5k3ab1Li3DgzzFWiv4VM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=KWf9g+JgheC2xho72MM5Mm4Azpat1L+1T48KYtxwxHrfKU/PhZOz1lDvJIkMVZOuk w7jzDWvJhZyv4xIFv3IA4qmHhxS35+x0uY5fMo2FvcPJ2vjP8/6rcVOCIYVaaQ8xdV Kwc5KiCj76MhrY+29tBy8V3woRgT5TGVmzq0317nKLdY84XKlZVNOdkW9vexfwlgdV V+YrkPmIS1lOJ91h+d7Vsswo8mPl3bcYnM/Hf1kAyzEVJcs2W2hDGh/hxuvuCoXwxX tA3F0iuDmpkK0CbwkeuvWm/VE4u8r19QBNqDFUSdVbLSt9QO2lfKdyP6Pxy/62p3Qr 3rnP2+cuougLw== From: Cristian Ciocaltea To: Rob Herring , Krzysztof Kozlowski , Heiko Stuebner , Nicolas Frattaroli Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, kernel@collabora.com Subject: [PATCH v3 1/4] arm64: dts: rockchip: rk3588s: Move assigned-clocks/assigned-clock-rates out of scmi Date: Fri, 31 Mar 2023 11:12:23 +0300 Message-Id: <20230331081226.245881-2-cristian.ciocaltea@collabora.com> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230331081226.245881-1-cristian.ciocaltea@collabora.com> References: <20230331081226.245881-1-cristian.ciocaltea@collabora.com> MIME-Version: 1.0 X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1761871324197452162?= X-GMAIL-MSGID: =?utf-8?q?1761871324197452162?= Since commit df4fdd0db475 ("dt-bindings: firmware: arm,scmi: Restrict protocol child node properties") the following dtbs_check warning is shown: rk3588-rock-5b.dtb: scmi: protocol@14: Unevaluated properties are not allowed ('assigned-clock-rates', 'assigned-clocks' were unexpected) Since adding the missing properties to Documentation/devicetree/bindings/firmware/arm,scmi.yaml was not an acceptable solution, move them from scmi to cpu nodes. Signed-off-by: Cristian Ciocaltea --- arch/arm64/boot/dts/rockchip/rk3588s.dtsi | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm64/boot/dts/rockchip/rk3588s.dtsi b/arch/arm64/boot/dts/rockchip/rk3588s.dtsi index 7840767dfcd8..14615d1df03c 100644 --- a/arch/arm64/boot/dts/rockchip/rk3588s.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3588s.dtsi @@ -136,6 +136,8 @@ cpu_b0: cpu@400 { enable-method = "psci"; capacity-dmips-mhz = <1024>; clocks = <&scmi_clk SCMI_CLK_CPUB01>; + assigned-clocks = <&scmi_clk SCMI_CLK_CPUB01>; + assigned-clock-rates = <1200000000>; cpu-idle-states = <&CPU_SLEEP>; i-cache-size = <65536>; i-cache-line-size = <64>; @@ -174,6 +176,8 @@ cpu_b2: cpu@600 { enable-method = "psci"; capacity-dmips-mhz = <1024>; clocks = <&scmi_clk SCMI_CLK_CPUB23>; + assigned-clocks = <&scmi_clk SCMI_CLK_CPUB23>; + assigned-clock-rates = <1200000000>; cpu-idle-states = <&CPU_SLEEP>; i-cache-size = <65536>; i-cache-line-size = <64>; @@ -313,10 +317,6 @@ scmi: scmi { scmi_clk: protocol@14 { reg = <0x14>; - assigned-clocks = <&scmi_clk SCMI_CLK_CPUB01>, - <&scmi_clk SCMI_CLK_CPUB23>; - assigned-clock-rates = <1200000000>, - <1200000000>; #clock-cells = <1>; };