[d-kernel] [PATCH 1/6] config-aarch64: enable ARM SCMI PROTOCOL
antohami на basealt.ru
antohami на basealt.ru
Пн Фев 6 07:03:14 MSK 2023
From: Anton Midyukov <antohami на altlinux.org>
The System Control and Management Interface (SCMI) specification
describes a set of standard interfaces for power, performance and
system management. SCMI is extensible and provides interfaces to
access functions which are often implemented in firmware in the
System Control Processor (SCP).
Link: https://developer.arm.com/Architectures/System%20Control%20and%20Management%20Interface
Signed-off-by: Anton Midyukov <antohami на altlinux.org>
---
config-aarch64 | 19 ++++++++++++++++++-
1 file changed, 18 insertions(+), 1 deletion(-)
diff --git a/config-aarch64 b/config-aarch64
index 1875cd0920c24..00c4483ffcf77 100644
--- a/config-aarch64
+++ b/config-aarch64
@@ -145,7 +145,19 @@ CONFIG_ARM_RASPBERRYPI_CPUFREQ=m
CONFIG_ARM_TEGRA124_CPUFREQ=m
CONFIG_ARM_TEGRA186_CPUFREQ=m
# CONFIG_QORIQ_CPUFREQ is not set
-# CONFIG_ARM_SCMI_PROTOCOL is not set
+CONFIG_ARM_SCMI_PROTOCOL=y
+CONFIG_ARM_SCMI_HAVE_TRANSPORT=y
+CONFIG_ARM_SCMI_HAVE_SHMEM=y
+CONFIG_ARM_SCMI_HAVE_MSG=y
+CONFIG_ARM_SCMI_TRANSPORT_MAILBOX=y
+CONFIG_ARM_SCMI_TRANSPORT_SMC=y
+CONFIG_ARM_SCMI_TRANSPORT_SMC_ATOMIC_ENABLE=y
+CONFIG_ARM_SCMI_TRANSPORT_VIRTIO=y
+CONFIG_ARM_SCMI_TRANSPORT_VIRTIO_VERSION1_COMPLIANCE=y
+CONFIG_ARM_SCMI_TRANSPORT_VIRTIO_ATOMIC_ENABLE=y
+CONFIG_ARM_SCMI_POWER_DOMAIN=m
+CONFIG_ARM_SCMI_POWER_CONTROL=m
+CONFIG_ARM_SCMI_CPUFREQ=m
CONFIG_ARM_SCPI_PROTOCOL=y
CONFIG_ARM_SCPI_POWER_DOMAIN=y
# CONFIG_ARM_SDE_INTERFACE is not set
@@ -437,6 +449,7 @@ CONFIG_I2C_THUNDERX=m
CONFIG_I2C_XLP9XX=m
CONFIG_I2C_XGENE_SLIMPRO=m
CONFIG_I2C_SLAVE_EEPROM=m
+CONFIG_I2C_SCMI=m
CONFIG_SPI_ARMADA_3700=m
CONFIG_SPI_BCM2835=m
CONFIG_SPI_BCM2835AUX=m
@@ -585,6 +598,7 @@ CONFIG_BATTERY_BQ27XXX_HDQ=m
# CONFIG_CHARGER_DETECTOR_MAX14656 is not set
CONFIG_CHARGER_QCOM_SMBB=m
# CONFIG_CHARGER_UCS1002 is not set
+CONFIG_SENSORS_ARM_SCMI=m
CONFIG_SENSORS_ARM_SCPI=m
CONFIG_SENSORS_BT1_PVT=m
CONFIG_TP_BMC=y
@@ -666,6 +680,7 @@ CONFIG_REGULATOR_HI655X=m
# CONFIG_REGULATOR_MCP16502 is not set
CONFIG_REGULATOR_QCOM_SPMI=m
CONFIG_REGULATOR_RK808=y
+CONFIG_REGULATOR_ARM_SCMI=m
# CONFIG_REGULATOR_SY8106A is not set
# CONFIG_REGULATOR_SY8824X is not set
# CONFIG_REGULATOR_VCTRL is not set
@@ -1129,6 +1144,7 @@ CONFIG_CLK_VEXPRESS_OSC=y
CONFIG_COMMON_CLK_RK808=y
CONFIG_COMMON_CLK_HI655X=m
CONFIG_COMMON_CLK_SCPI=y
+CONFIG_COMMON_CLK_SCMI=y
# CONFIG_COMMON_CLK_SI514 is not set
# CONFIG_COMMON_CLK_SI570 is not set
# CONFIG_COMMON_CLK_CDCE925 is not set
@@ -1417,6 +1433,7 @@ CONFIG_RESET_RASPBERRYPI=y
# CONFIG_RESET_QCOM_PDC is not set
CONFIG_RESET_SIMPLE=y
CONFIG_RESET_SUNXI=y
+CONFIG_RESET_SCMI=y
CONFIG_COMMON_RESET_HI3660=y
CONFIG_COMMON_RESET_HI6220=y
CONFIG_RESET_TEGRA_BPMP=y
--
2.33.6
Подробная информация о списке рассылки devel-kernel