Skip to contentSkip to conversation

ARM/ARM64: Enable SCMI in default configurations

PATCH In review Florian Fainelli 2 participants 6 messages Nov 9, 2020 – Nov 28, 2020 Arm (32-bit)

lore
Share & tools
lore
#0 lore raw

cover ARM/ARM64: Enable SCMI in default configurations

This patch series enables support for the ARM SCMI and the various drivers provided (cpufreq, clock, sensors, reset) since these are utilized by Broadcom STB platforms.

Please let me know if you would like me to carry those patches through the ARM SoC pull requests for v5.11 or if you would like to see those applied differently.

Thanks!

Florian Fainelli (2):
ARM: multi_v7_defconfig: Enable ARM SCMI protocol and drivers
arm64: defconfig: Enable ARM SCMI protocol and drivers

 arch/arm/configs/multi_v7_defconfig | 4 ++++
 arch/arm64/configs/defconfig        | 4 ++++
 2 files changed, 8 insertions(+)
Signature · 1 line
2.25.1
#1 lore raw

PATCH 1/2 ARM: multi_v7_defconfig: Enable ARM SCMI protocol and drivers

Enable the ARM SCMI protocol and the common clock, cpufreq and sensors drivers. Broadcom STB platforms (ARCH_BRCMSTB) implement SCMI to provide support for CPU frequency scaling, clock configuration and temperature and current sensors.

---
 arch/arm/configs/multi_v7_defconfig | 4 ++++
 1 file changed, 4 insertions(+)
arch/arm/configs/multi_v7_defconfig +4 -0
index a611b0c1e540..10facef5558c 100644
@@ -109,6 +109,7 @@ CONFIG_CPU_FREQ_GOV_CONSERVATIVE=m
 CONFIG_CPU_FREQ_GOV_SCHEDUTIL=y
 CONFIG_CPUFREQ_DT=y
 CONFIG_ARM_IMX6Q_CPUFREQ=y
+CONFIG_ARM_SCMI_CPUFREQ=y
 CONFIG_ARM_RASPBERRYPI_CPUFREQ=y
 CONFIG_QORIQ_CPUFREQ=y
 CONFIG_CPU_IDLE=y
@@ -117,6 +118,7 @@ CONFIG_ARM_ZYNQ_CPUIDLE=y
 CONFIG_ARM_EXYNOS_CPUIDLE=y
 CONFIG_ARM_TEGRA_CPUIDLE=y
 CONFIG_KERNEL_MODE_NEON=y
+CONFIG_ARM_SCMI_PROTOCOL=y
 CONFIG_RASPBERRYPI_FIRMWARE=y
 CONFIG_TRUSTED_FOUNDATIONS=y
 CONFIG_BCM47XX_NVRAM=y
@@ -488,6 +490,7 @@ CONFIG_CHARGER_MAX77693=m
 CONFIG_CHARGER_MAX8997=m
 CONFIG_CHARGER_MAX8998=m
 CONFIG_CHARGER_TPS65090=y
+CONFIG_SENSORS_ARM_SCMI=y
 CONFIG_SENSORS_ASPEED=m
 CONFIG_SENSORS_IIO_HWMON=y
 CONFIG_SENSORS_LM90=y
@@ -959,6 +962,7 @@ CONFIG_CROS_EC_I2C=m
 CONFIG_CROS_EC_SPI=m
 CONFIG_COMMON_CLK_MAX77686=y
 CONFIG_COMMON_CLK_RK808=m
+CONFIG_COMMON_CLK_SCMI=y
 CONFIG_COMMON_CLK_S2MPS11=m
 CONFIG_CLK_RASPBERRYPI=y
 CONFIG_COMMON_CLK_QCOM=y
Signature · 1 line
2.25.1
#2 lore raw

PATCH 2/2 arm64: defconfig: Enable ARM SCMI protocol and drivers

In reply to Florian Fainelli

Enable the ARM SCMI protocol and the common clock, cpufreq, reset and sensors drivers. Broadcom STB platforms (ARCH_BRCMSTB) implement SCMI to provide support for CPU frequency scaling, clock configuration and temperature and current sensors.

---
 arch/arm64/configs/defconfig | 4 ++++
 1 file changed, 4 insertions(+)
arch/arm64/configs/defconfig +4 -0
index 5cfe3cf6f2ac..5fcd09e505b4 100644
@@ -93,8 +93,10 @@ CONFIG_ARM_IMX_CPUFREQ_DT=m
 CONFIG_ARM_QCOM_CPUFREQ_NVMEM=y
 CONFIG_ARM_QCOM_CPUFREQ_HW=y
 CONFIG_ARM_RASPBERRYPI_CPUFREQ=m
+CONFIG_ARM_SCMI_CPUFREQ=y
 CONFIG_ARM_TEGRA186_CPUFREQ=y
 CONFIG_QORIQ_CPUFREQ=y
+CONFIG_ARM_SCMI_PROTOCOL=y
 CONFIG_ARM_SCPI_PROTOCOL=y
 CONFIG_RASPBERRYPI_FIRMWARE=y
 CONFIG_INTEL_STRATIX10_SERVICE=y
@@ -522,6 +524,7 @@ CONFIG_POWER_RESET_SYSCON=y
 CONFIG_SYSCON_REBOOT_MODE=y
 CONFIG_BATTERY_SBS=m
 CONFIG_BATTERY_BQ27XXX=y
+CONFIG_SENSORS_ARM_SCMI=y
 CONFIG_SENSORS_ARM_SCPI=y
 CONFIG_SENSORS_LM90=m
 CONFIG_SENSORS_PWM_FAN=m
@@ -865,6 +868,7 @@ CONFIG_CROS_EC=y
 CONFIG_CROS_EC_I2C=y
 CONFIG_CROS_EC_SPI=y
 CONFIG_CROS_EC_CHARDEV=m
+CONFIG_COMMON_CLK_SCMI=y
 CONFIG_COMMON_CLK_RK808=y
 CONFIG_COMMON_CLK_SCPI=y
 CONFIG_COMMON_CLK_CS2000_CP=y
Signature · 1 line
2.25.1
Acked-by on the v1 series
#3 lore raw
In reply to Florian Fainelli
Quoted 7 lines · Florian Fainelli

This patch series enables support for the ARM SCMI and the various drivers provided (cpufreq, clock, sensors, reset) since these are utilized by Broadcom STB platforms.

Please let me know if you would like me to carry those patches through the ARM SoC pull requests for v5.11 or if you would like to see those applied differently.

Both looks fine to me.

Signature · 2 lines
Regards,
Sudeep
#4 lore raw
Quoted 5 lines · Sudeep Holla
Quoted 4 lines · Florian Fainelli

This patch series enables support for the ARM SCMI and the various drivers provided (cpufreq, clock, sensors, reset) since these are utilized by Broadcom STB platforms.

Quoted 8 lines
Quoted 3 lines

Please let me know if you would like me to carry those patches through the ARM SoC pull requests for v5.11 or if you would like to see those applied differently.

Both looks fine to me.

Thank you Sudeep, other ARM SoC maintainers, do you mind me picking up those changes through the Broadcom ARM SoC pull request for 5.11?

Signature · 1 line
Florian
#5 lore raw
In reply to Sudeep Holla
Quoted 5 lines · Sudeep Holla
Quoted 4 lines · Florian Fainelli

This patch series enables support for the ARM SCMI and the various drivers provided (cpufreq, clock, sensors, reset) since these are utilized by Broadcom STB platforms.

Quoted 7 lines
Quoted 3 lines

Please let me know if you would like me to carry those patches through the ARM SoC pull requests for v5.11 or if you would like to see those applied differently.

Both looks fine to me.

Series applied, thanks!

Signature · 6 lines
Florian

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel