From: Alexandre Mergnat <amergnat@baylibre.com>
To: Catalin Marinas <catalin.marinas@arm.com>,
Will Deacon <will@kernel.org>,
Wim Van Sebroeck <wim@linux-watchdog.org>,
Guenter Roeck <linux@roeck-us.net>,
Rob Herring <robh+dt@kernel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
Matthias Brugger <matthias.bgg@gmail.com>,
AngeloGioacchino Del Regno
<angelogioacchino.delregno@collabora.com>,
Conor Dooley <conor+dt@kernel.org>
Cc: linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org, linux-watchdog@vger.kernel.org,
devicetree@vger.kernel.org, linux-mediatek@lists.infradead.org,
Alexandre Mergnat <amergnat@baylibre.com>,
Kevin Hilman <khilman@baylibre.com>
Subject: [PATCH v8 09/10] arm64: dts: mediatek: add cpufreq support for mt8365-evk
Date: Thu, 25 May 2023 10:33:18 +0200 [thread overview]
Message-ID: <20230203-evk-board-support-v8-9-7019f3fd0adf@baylibre.com> (raw)
In-Reply-To: <20230203-evk-board-support-v8-0-7019f3fd0adf@baylibre.com>
In order to have cpufreq support, this patch adds proc-supply and
sram-supply for each CPU.
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Tested-by: Kevin Hilman <khilman@baylibre.com>
Signed-off-by: Alexandre Mergnat <amergnat@baylibre.com>
---
arch/arm64/boot/dts/mediatek/mt8365-evk.dts | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
diff --git a/arch/arm64/boot/dts/mediatek/mt8365-evk.dts b/arch/arm64/boot/dts/mediatek/mt8365-evk.dts
index 86524cbf4354..50cbaefa1a99 100644
--- a/arch/arm64/boot/dts/mediatek/mt8365-evk.dts
+++ b/arch/arm64/boot/dts/mediatek/mt8365-evk.dts
@@ -88,6 +88,26 @@ optee_reserved: optee@43200000 {
};
};
+&cpu0 {
+ proc-supply = <&mt6357_vproc_reg>;
+ sram-supply = <&mt6357_vsram_proc_reg>;
+};
+
+&cpu1 {
+ proc-supply = <&mt6357_vproc_reg>;
+ sram-supply = <&mt6357_vsram_proc_reg>;
+};
+
+&cpu2 {
+ proc-supply = <&mt6357_vproc_reg>;
+ sram-supply = <&mt6357_vsram_proc_reg>;
+};
+
+&cpu3 {
+ proc-supply = <&mt6357_vproc_reg>;
+ sram-supply = <&mt6357_vsram_proc_reg>;
+};
+
ðernet {
pinctrl-0 = <ðernet_pins>;
pinctrl-names = "default";
--
2.25.1
next prev parent reply other threads:[~2023-05-25 8:35 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-05-25 8:33 [PATCH v8 00/10] Improve the MT8365 SoC and EVK board support Alexandre Mergnat
2023-05-25 8:33 ` [PATCH v8 01/10] arm64: defconfig: enable MT6357 regulator Alexandre Mergnat
2023-05-30 13:28 ` Krzysztof Kozlowski
2023-05-25 8:33 ` [PATCH v8 02/10] arm64: defconfig: enable Mediatek PMIC key Alexandre Mergnat
2023-05-25 8:33 ` [PATCH v8 03/10] arm64: dts: mediatek: add watchdog support for mt8365 SoC Alexandre Mergnat
2023-05-25 8:33 ` [PATCH v8 04/10] arm64: dts: mediatek: add mt6357 PMIC support for mt8365-evk Alexandre Mergnat
2023-05-25 8:33 ` [PATCH v8 05/10] arm64: dts: mediatek: add mmc " Alexandre Mergnat
2023-05-25 8:33 ` [PATCH v8 06/10] arm64: dts: mediatek: add usb controller " Alexandre Mergnat
2023-05-25 8:33 ` [PATCH v8 07/10] arm64: dts: mediatek: add ethernet " Alexandre Mergnat
2023-05-25 8:49 ` AngeloGioacchino Del Regno
2023-05-25 8:33 ` [PATCH v8 08/10] arm64: dts: mediatek: add OPP support for mt8365 SoC Alexandre Mergnat
2023-05-25 8:33 ` Alexandre Mergnat [this message]
2023-05-25 8:33 ` [PATCH v8 10/10] arm64: dts: mediatek: Add CPU Idle support amergnat
2023-05-29 13:22 ` [PATCH v8 00/10] Improve the MT8365 SoC and EVK board support Matthias Brugger
2023-05-29 14:00 ` Alexandre Mergnat
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230203-evk-board-support-v8-9-7019f3fd0adf@baylibre.com \
--to=amergnat@baylibre.com \
--cc=angelogioacchino.delregno@collabora.com \
--cc=catalin.marinas@arm.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=khilman@baylibre.com \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mediatek@lists.infradead.org \
--cc=linux-watchdog@vger.kernel.org \
--cc=linux@roeck-us.net \
--cc=matthias.bgg@gmail.com \
--cc=robh+dt@kernel.org \
--cc=will@kernel.org \
--cc=wim@linux-watchdog.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox