Skip to contentSkip to conversation

amd: versal2: Switch to SCMI

PATCH Applied Michal Simek 1 participant 4 messages Oct 20 – Nov 3

lore
Share & tools
lore
#0 lore raw

cover amd: versal2: Switch to SCMI

Hi,

Versal Gen 2 is starting to use reset, clock and power domain via SCMI that's why enable missing SCMI config and disable firmware based interface.

Thanks,
Michal

Prasad Kummari (1):
amd: versal2: Disable EEMI clk reset power and switch to SCMI

Senthil Nathan Thangaraj (1):
amd: versal2: Enable SCMI power domain support

 configs/amd_versal2_virt_defconfig | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

---

Signature · 1 line
2.43.0
#1 lore raw

PATCH 1/2 amd: versal2: Enable SCMI power domain support

From: Senthil Nathan Thangaraj <[email protected]>

Enable CONFIG_SCMI_POWER_DOMAIN for AMD Versal Gen 2 platform to support power domain management through
SCMI (System Control and Management Interface) protocol.

---

 configs/amd_versal2_virt_defconfig | 1 +
 1 file changed, 1 insertion(+)
configs/amd_versal2_virt_defconfig +1 -0
index ea02b0c011bb..0d92313d6b00 100644
@@ -144,6 +144,7 @@ CONFIG_PHY_FIXED=y
 CONFIG_NVME_PCI=y
 CONFIG_PCIE_DW_AMD=y
 CONFIG_POWER_DOMAIN=y
+CONFIG_SCMI_POWER_DOMAIN=y
 CONFIG_ZYNQMP_POWER_DOMAIN=y
 CONFIG_RESET_SCMI=y
 CONFIG_RESET_ZYNQMP=y
Signature · 1 line
2.43.0
#2 lore raw

PATCH 2/2 amd: versal2: Disable EEMI clk reset power and switch to SCMI

In reply to Michal Simek

From: Prasad Kummari <[email protected]>

Use SCMI as the only firmware interface for clock, reset, and power management. Disable the legacy EEMI-based firmware drivers to ensure that all firmware accesses are routed through SCMI.

---

 configs/amd_versal2_virt_defconfig | 3 ---
 1 file changed, 3 deletions(-)
configs/amd_versal2_virt_defconfig +0 -3
index 0d92313d6b00..f6f87df632a2 100644
@@ -86,7 +86,6 @@ CONFIG_NET_RANDOM_ETHADDR=y
 CONFIG_SIMPLE_PM_BUS=y
 CONFIG_CLK_CCF=y
 CONFIG_CLK_SCMI=y
-CONFIG_CLK_VERSAL=y
 CONFIG_DFU_TIMEOUT=y
 CONFIG_DFU_MMC=y
 CONFIG_DFU_MTD=y
@@ -145,9 +144,7 @@ CONFIG_NVME_PCI=y
 CONFIG_PCIE_DW_AMD=y
 CONFIG_POWER_DOMAIN=y
 CONFIG_SCMI_POWER_DOMAIN=y
-CONFIG_ZYNQMP_POWER_DOMAIN=y
 CONFIG_RESET_SCMI=y
-CONFIG_RESET_ZYNQMP=y
 CONFIG_DM_RTC=y
 CONFIG_RTC_EMULATION=y
 CONFIG_SCSI=y
Signature · 1 line
2.43.0
author Applied
#3 lore raw
In reply to Michal Simek
Quoted 12 lines · Michal Simek

Hi,

Versal Gen 2 is starting to use reset, clock and power domain via SCMI that's why enable missing SCMI config and disable firmware based interface.

Thanks,
Michal

Prasad Kummari (1):
amd: versal2: Disable EEMI clk reset power and switch to SCMI

Quoted 8 lines

Senthil Nathan Thangaraj (1):
amd: versal2: Enable SCMI power domain support

  configs/amd_versal2_virt_defconfig | 4 +---
  1 file changed, 1 insertion(+), 3 deletions(-)

---

Applied.
M