From patchwork Thu Apr 10 15:47:21 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Rob Herring (Arm)" X-Patchwork-Id: 14046760 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 77AFE1EB9ED; Thu, 10 Apr 2025 15:47:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1744300066; cv=none; b=AyYB8Wpl8smJpdPx4JTgeOz3xnu944LmxoQZXLzvLS35P0DgDxlaXVClkFL5PD9dmql/avLWzASmYpLBUAi8fAJ9y598gL8QbT5m14tzOZelzzqpYY0rHkBK/5+jtIj4sSFzhkY7bmS06VWAGLEwk+nJ/a/VRem6+l8xhk2/lf0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1744300066; c=relaxed/simple; bh=2mdsfkUrMw7toePmD1v5/yrWX5YIRl5Nl5Vw/xMU/bw=; h=From:Subject:Date:Message-Id:MIME-Version:Content-Type:To:Cc; b=ubemRr48INTGGAE4F2FvH8UfAtI/JtBrd4t8L3BvyjnmwrmLLQcE3G4o6tdnkRMnxByamuiyMJt+XiVMvvzVkgjvI2GFxUnvp/UUg9hXtF2UMwh51Jt6cag9vvoia4pZoiAi8ZKi3ADssqPyRc92p4X9JenYvfOrDlvQ5fSzy+k= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=L5+nLP7p; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="L5+nLP7p" Received: by smtp.kernel.org (Postfix) with ESMTPSA id AB0FEC4CEDD; Thu, 10 Apr 2025 15:47:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1744300065; bh=2mdsfkUrMw7toePmD1v5/yrWX5YIRl5Nl5Vw/xMU/bw=; h=From:Subject:Date:To:Cc:From; b=L5+nLP7pd0oYgpafFrGoh0LoKCQ7lZ4hWRGZn8JABxcQWp3JDeYtvBix05xdM46Zh XpnLYthUadlqId0gsGWKaxqhLe/29kANzcoWa+rQrClokZLIPB3QGnmMNjmDMO2iql ltjul4+3LYS+YE+T6+FAIEe6+CmxqlNXD/zCQ1ZarWRoln8g/OplEPGkzty5mR23AK u/l1eF6ElFcEFQf1jOnx73ArjmRIf/wmr/xqbAtIF/9m7RfrBF+Y4Z6RPxU9Ml3e4Q B2frUcAk9HQfXVGsc1xqTnTMcK3l7Re3GEafraAraVMynKyonxEgKoKm0+R+VwL4jE f5+7zRNE93dhg== From: "Rob Herring (Arm)" Subject: [PATCH v2 00/17] Arm cpu schema clean-ups Date: Thu, 10 Apr 2025 10:47:21 -0500 Message-Id: <20250410-dt-cpu-schema-v2-0-63d7dc9ddd0a@kernel.org> Precedence: bulk X-Mailing-List: linux-mips@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-B4-Tracking: v=1; b=H4sIAAro92cC/3XMQQ7CIBCF4as0s3YMYAu1K+9hukA6LUSFBmqja bi72L3L/yXv2yBRdJSgqzaItLrkgi8hDhUYq/1E6IbSIJhoWM1OOCxo5hcmY+mpsW5JSqNGqc8 MymeONLr37l370talJcTPzq/8t/6TVo4MmZI3Ulxx3TaXO0VPj2OIE/Q55y8lONpOqwAAAA== X-Change-ID: 20250403-dt-cpu-schema-48e66c7f6a90 To: Krzysztof Kozlowski , Conor Dooley , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland , Conor Dooley , Nicolas Ferre , Claudiu Beznea , Steen Hegelund , Daniel Machon , UNGLinuxDriver@microchip.com, Bjorn Andersson , Konrad Dybcio , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Heiko Stuebner , Neil Armstrong , Kevin Hilman , Jerome Brunet , Martin Blumenstingl , Geert Uytterhoeven , Magnus Damm , Lorenzo Pieralisi , Andy Gross , Thomas Bogendoerfer , Viresh Kumar , Nishanth Menon , Stephen Boyd , zhouyanjie@wanyeetech.com, Matthias Brugger , AngeloGioacchino Del Regno , "Rafael J. Wysocki" , Dmitry Baryshkov , Stephan Gerhold Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, imx@lists.linux.dev, linux-rockchip@lists.infradead.org, linux-amlogic@lists.infradead.org, linux-renesas-soc@vger.kernel.org, linux-mips@vger.kernel.org, linux-pm@vger.kernel.org, linux-mediatek@lists.infradead.org, Andre Przywara , =?utf-8?q?Philippe_Mathieu-Daud?= =?utf-8?q?=C3=A9?= , Konrad Dybcio , Sudeep Holla , Viresh Kumar , Ulf Hansson X-Mailer: b4 0.15-dev The Arm cpu.yaml schema fails to restrict allowed properties in 'cpu' nodes. The result, not surprisely, is a number of additional properties and errors in .dts files. This series resolves those issues. There's still more properties in arm32 DTS files which I have not documented. Mostly yet more supply names and "fsl,soc-operating-points". What's a few more warnings on the 10000s of warnings... The .dts files can be taken by the respective SoC maintainers. I will take the binding changes. --- v2: - Drop applied "arm64: dts: morello: Fix-up cache nodes" - Rework enable-method schema - Drop "arm: dts: qcom: msm8916: Move "qcom,acc" and "qcom,saw" to 32-bit .dtsi" - Keep qcom,saw and qcom,acc properties on msm8939 - Fix qcom,saw2.yaml example - Fix power-domain-names to be "perf" on qcom sdx55/65 Link to v1: https://lore.kernel.org/all/20250403-dt-cpu-schema-v1-0-076be7171a85@kernel.org/ Signed-off-by: "Rob Herring (Arm)" To: Krzysztof Kozlowski To: Conor Dooley To: Chen-Yu Tsai To: Jernej Skrabec To: Samuel Holland To: Conor Dooley To: Nicolas Ferre To: Claudiu Beznea To: Steen Hegelund To: Daniel Machon To: UNGLinuxDriver@microchip.com To: Bjorn Andersson To: Konrad Dybcio To: Shawn Guo To: Sascha Hauer To: Pengutronix Kernel Team To: Fabio Estevam To: Heiko Stuebner To: Neil Armstrong To: Kevin Hilman To: Jerome Brunet To: Martin Blumenstingl To: Geert Uytterhoeven To: Magnus Damm To: Lorenzo Pieralisi To: Andy Gross To: Thomas Bogendoerfer To: Viresh Kumar To: Nishanth Menon To: Stephen Boyd To: zhouyanjie@wanyeetech.com To: Matthias Brugger To: AngeloGioacchino Del Regno To: "Rafael J. Wysocki" To: Dmitry Baryshkov To: Stephan Gerhold Cc: devicetree@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org Cc: linux-sunxi@lists.linux.dev Cc: linux-kernel@vger.kernel.org Cc: linux-arm-msm@vger.kernel.org Cc: imx@lists.linux.dev Cc: linux-rockchip@lists.infradead.org Cc: linux-amlogic@lists.infradead.org Cc: linux-renesas-soc@vger.kernel.org Cc: linux-mips@vger.kernel.org Cc: linux-pm@vger.kernel.org Cc: linux-mediatek@lists.infradead.org --- Rob Herring (Arm) (17): arm64: dts: allwinner: h5/h6: Drop spurious 'clock-latency-ns' properties arm64: dts: broadcom: bcm2712: Use "l2-cache" for L2 cache node names arm64: dts: microchip: sparx5: Fix CPU node "enable-method" property dependencies arm64: dts: qcom: qdu1000: Fix qcom,freq-domain arm64: dts: qcom: msm8939: Fix CPU node "enable-method" property dependencies arm64: dts: qcom: msm8992-lg-h815: Fix CPU node "enable-method" property dependencies arm: dts: qcom: sdx55/sdx65: Fix CPU power-domain-names arm/arm64: dts: imx: Drop redundant CPU "clock-latency" arm: dts: qcom: ipq4019: Drop redundant CPU "clock-latency" arm: dts: rockchip: Drop redundant CPU "clock-latency" arm64: dts: amlogic: Drop redundant CPU "clock-latency" dt-bindings: arm/cpus: Add schemas for "enable-method" dependencies dt-bindings: arm/cpus: Re-wrap 'description' entries dt-bindings: Reference opp-v1 schema in CPU schemas dt-bindings: arm/cpus: Add missing properties dt-bindings: arm/cpus: Add power-domains constraints dt-bindings: cpufreq: Drop redundant Mediatek binding Documentation/devicetree/bindings/arm/cpus.yaml | 229 +++++++++++-------- .../bindings/cpufreq/cpufreq-mediatek.txt | 250 --------------------- Documentation/devicetree/bindings/mips/cpus.yaml | 3 +- Documentation/devicetree/bindings/opp/opp-v1.yaml | 18 +- .../devicetree/bindings/soc/qcom/qcom,saw2.yaml | 3 +- arch/arm/boot/dts/nxp/imx/imx7s.dtsi | 1 - arch/arm/boot/dts/qcom/qcom-ipq4019.dtsi | 4 - arch/arm/boot/dts/qcom/qcom-sdx55.dtsi | 2 +- arch/arm/boot/dts/qcom/qcom-sdx65.dtsi | 2 +- arch/arm/boot/dts/rockchip/rk3128.dtsi | 8 +- arch/arm/boot/dts/rockchip/rk3188.dtsi | 1 - arch/arm/boot/dts/rockchip/rk322x.dtsi | 1 - arch/arm/boot/dts/rockchip/rk3288.dtsi | 5 +- arch/arm/boot/dts/rockchip/rv1108.dtsi | 1 - arch/arm64/boot/dts/allwinner/sun50i-h5.dtsi | 4 - arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi | 4 - arch/arm64/boot/dts/amlogic/meson-g12a-fbx8am.dts | 4 - .../boot/dts/amlogic/meson-g12a-radxa-zero.dts | 4 - arch/arm64/boot/dts/amlogic/meson-g12a-sei510.dts | 4 - arch/arm64/boot/dts/amlogic/meson-g12a-u200.dts | 4 - arch/arm64/boot/dts/amlogic/meson-g12a-x96-max.dts | 4 - arch/arm64/boot/dts/amlogic/meson-g12a.dtsi | 1 + .../dts/amlogic/meson-g12b-a311d-libretech-cc.dts | 6 - arch/arm64/boot/dts/amlogic/meson-g12b-a311d.dtsi | 2 + .../boot/dts/amlogic/meson-g12b-bananapi-cm4.dtsi | 6 - .../boot/dts/amlogic/meson-g12b-bananapi.dtsi | 6 - .../boot/dts/amlogic/meson-g12b-khadas-vim3.dtsi | 6 - .../dts/amlogic/meson-g12b-odroid-go-ultra.dts | 6 - arch/arm64/boot/dts/amlogic/meson-g12b-odroid.dtsi | 6 - .../boot/dts/amlogic/meson-g12b-radxa-zero2.dts | 6 - arch/arm64/boot/dts/amlogic/meson-g12b-s922x.dtsi | 2 + arch/arm64/boot/dts/amlogic/meson-g12b-w400.dtsi | 6 - arch/arm64/boot/dts/amlogic/meson-sm1-ac2xx.dtsi | 4 - .../arm64/boot/dts/amlogic/meson-sm1-bananapi.dtsi | 4 - .../boot/dts/amlogic/meson-sm1-khadas-vim3l.dts | 4 - arch/arm64/boot/dts/amlogic/meson-sm1-odroid.dtsi | 4 - .../dts/amlogic/meson-sm1-s905d3-libretech-cc.dts | 4 - arch/arm64/boot/dts/amlogic/meson-sm1-sei610.dts | 4 - arch/arm64/boot/dts/amlogic/meson-sm1.dtsi | 1 + arch/arm64/boot/dts/broadcom/bcm2712.dtsi | 8 +- arch/arm64/boot/dts/freescale/imx8mm.dtsi | 4 - arch/arm64/boot/dts/freescale/imx8mn.dtsi | 4 - arch/arm64/boot/dts/freescale/imx8mp.dtsi | 4 - arch/arm64/boot/dts/freescale/imx8mq.dtsi | 4 - .../boot/dts/microchip/sparx5_pcb_common.dtsi | 2 + arch/arm64/boot/dts/qcom/msm8939.dtsi | 8 + arch/arm64/boot/dts/qcom/msm8992-lg-h815.dts | 6 + arch/arm64/boot/dts/qcom/qdu1000.dtsi | 8 +- 48 files changed, 202 insertions(+), 480 deletions(-) --- base-commit: 0af2f6be1b4281385b618cb86ad946eded089ac8 change-id: 20250403-dt-cpu-schema-48e66c7f6a90 Best regards,