linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] ARM/ARM64: Enable SCMI in default configurations
@ 2020-11-09  4:42 Florian Fainelli
  2020-11-09  4:42 ` [PATCH 1/2] ARM: multi_v7_defconfig: Enable ARM SCMI protocol and drivers Florian Fainelli
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Florian Fainelli @ 2020-11-09  4:42 UTC (permalink / raw)
  To: linux-arm-kernel
  Cc: Florian Fainelli, Russell King, Catalin Marinas, Will Deacon,
	Shawn Guo, Olof Johansson, Geert Uytterhoeven,
	Krzysztof Kozlowski, Lad Prabhakar, Dong Aisheng, Joel Stanley,
	Christian Gmeiner, Enric Balletbo i Serra, Bjorn Andersson,
	Li Yang, Vinod Koul, Anson Huang, Michael Walle, open list,
	Sudeep Holla

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(+)

-- 
2.25.1


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [PATCH 1/2] ARM: multi_v7_defconfig: Enable ARM SCMI protocol and drivers
  2020-11-09  4:42 [PATCH 0/2] ARM/ARM64: Enable SCMI in default configurations Florian Fainelli
@ 2020-11-09  4:42 ` Florian Fainelli
  2020-11-09  4:42 ` [PATCH 2/2] arm64: defconfig: " Florian Fainelli
  2020-11-09  9:57 ` [PATCH 0/2] ARM/ARM64: Enable SCMI in default configurations Sudeep Holla
  2 siblings, 0 replies; 6+ messages in thread
From: Florian Fainelli @ 2020-11-09  4:42 UTC (permalink / raw)
  To: linux-arm-kernel
  Cc: Florian Fainelli, Russell King, Catalin Marinas, Will Deacon,
	Shawn Guo, Olof Johansson, Geert Uytterhoeven,
	Krzysztof Kozlowski, Lad Prabhakar, Dong Aisheng, Joel Stanley,
	Christian Gmeiner, Enric Balletbo i Serra, Bjorn Andersson,
	Li Yang, Vinod Koul, Anson Huang, Michael Walle, open list,
	Sudeep Holla

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.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
---
 arch/arm/configs/multi_v7_defconfig | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/arch/arm/configs/multi_v7_defconfig b/arch/arm/configs/multi_v7_defconfig
index a611b0c1e540..10facef5558c 100644
--- a/arch/arm/configs/multi_v7_defconfig
+++ b/arch/arm/configs/multi_v7_defconfig
@@ -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
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [PATCH 2/2] arm64: defconfig: Enable ARM SCMI protocol and drivers
  2020-11-09  4:42 [PATCH 0/2] ARM/ARM64: Enable SCMI in default configurations Florian Fainelli
  2020-11-09  4:42 ` [PATCH 1/2] ARM: multi_v7_defconfig: Enable ARM SCMI protocol and drivers Florian Fainelli
@ 2020-11-09  4:42 ` Florian Fainelli
  2020-11-09  9:57 ` [PATCH 0/2] ARM/ARM64: Enable SCMI in default configurations Sudeep Holla
  2 siblings, 0 replies; 6+ messages in thread
From: Florian Fainelli @ 2020-11-09  4:42 UTC (permalink / raw)
  To: linux-arm-kernel
  Cc: Florian Fainelli, Russell King, Catalin Marinas, Will Deacon,
	Shawn Guo, Olof Johansson, Geert Uytterhoeven,
	Krzysztof Kozlowski, Lad Prabhakar, Dong Aisheng, Joel Stanley,
	Christian Gmeiner, Enric Balletbo i Serra, Bjorn Andersson,
	Li Yang, Vinod Koul, Anson Huang, Michael Walle, open list,
	Sudeep Holla

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.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
---
 arch/arm64/configs/defconfig | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
index 5cfe3cf6f2ac..5fcd09e505b4 100644
--- a/arch/arm64/configs/defconfig
+++ b/arch/arm64/configs/defconfig
@@ -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
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [PATCH 0/2] ARM/ARM64: Enable SCMI in default configurations
  2020-11-09  4:42 [PATCH 0/2] ARM/ARM64: Enable SCMI in default configurations Florian Fainelli
  2020-11-09  4:42 ` [PATCH 1/2] ARM: multi_v7_defconfig: Enable ARM SCMI protocol and drivers Florian Fainelli
  2020-11-09  4:42 ` [PATCH 2/2] arm64: defconfig: " Florian Fainelli
@ 2020-11-09  9:57 ` Sudeep Holla
  2020-11-12 23:08   ` Florian Fainelli
  2020-11-28  4:52   ` Florian Fainelli
  2 siblings, 2 replies; 6+ messages in thread
From: Sudeep Holla @ 2020-11-09  9:57 UTC (permalink / raw)
  To: Florian Fainelli
  Cc: linux-arm-kernel, Russell King, Catalin Marinas, Will Deacon,
	Shawn Guo, Olof Johansson, Geert Uytterhoeven,
	Krzysztof Kozlowski, Lad Prabhakar, Dong Aisheng, Joel Stanley,
	Christian Gmeiner, Enric Balletbo i Serra, Bjorn Andersson,
	Li Yang, Vinod Koul, Anson Huang, Michael Walle, open list,
	Sudeep Holla

On Sun, Nov 08, 2020 at 08:42:26PM -0800, Florian Fainelli wrote:
> 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.

Acked-by: Sudeep Holla <sudeep.holla@arm.com>

-- 
Regards,
Sudeep

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH 0/2] ARM/ARM64: Enable SCMI in default configurations
  2020-11-09  9:57 ` [PATCH 0/2] ARM/ARM64: Enable SCMI in default configurations Sudeep Holla
@ 2020-11-12 23:08   ` Florian Fainelli
  2020-11-28  4:52   ` Florian Fainelli
  1 sibling, 0 replies; 6+ messages in thread
From: Florian Fainelli @ 2020-11-12 23:08 UTC (permalink / raw)
  To: Sudeep Holla
  Cc: linux-arm-kernel, Russell King, Catalin Marinas, Will Deacon,
	Shawn Guo, Olof Johansson, Geert Uytterhoeven,
	Krzysztof Kozlowski, Lad Prabhakar, Dong Aisheng, Joel Stanley,
	Christian Gmeiner, Enric Balletbo i Serra, Bjorn Andersson,
	Li Yang, Vinod Koul, Anson Huang, Michael Walle, open list

On 11/9/20 1:57 AM, Sudeep Holla wrote:
> On Sun, Nov 08, 2020 at 08:42:26PM -0800, Florian Fainelli wrote:
>> 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.
> 
> Acked-by: Sudeep Holla <sudeep.holla@arm.com>
> 

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?
-- 
Florian

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH 0/2] ARM/ARM64: Enable SCMI in default configurations
  2020-11-09  9:57 ` [PATCH 0/2] ARM/ARM64: Enable SCMI in default configurations Sudeep Holla
  2020-11-12 23:08   ` Florian Fainelli
@ 2020-11-28  4:52   ` Florian Fainelli
  1 sibling, 0 replies; 6+ messages in thread
From: Florian Fainelli @ 2020-11-28  4:52 UTC (permalink / raw)
  To: Sudeep Holla
  Cc: linux-arm-kernel, Russell King, Catalin Marinas, Will Deacon,
	Shawn Guo, Olof Johansson, Geert Uytterhoeven,
	Krzysztof Kozlowski, Lad Prabhakar, Dong Aisheng, Joel Stanley,
	Christian Gmeiner, Enric Balletbo i Serra, Bjorn Andersson,
	Li Yang, Vinod Koul, Anson Huang, Michael Walle, open list



On 11/9/2020 1:57 AM, Sudeep Holla wrote:
> On Sun, Nov 08, 2020 at 08:42:26PM -0800, Florian Fainelli wrote:
>> 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.
> 
> Acked-by: Sudeep Holla <sudeep.holla@arm.com>

Series applied, thanks!
-- 
Florian

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2020-11-28 18:02 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-09  4:42 [PATCH 0/2] ARM/ARM64: Enable SCMI in default configurations Florian Fainelli
2020-11-09  4:42 ` [PATCH 1/2] ARM: multi_v7_defconfig: Enable ARM SCMI protocol and drivers Florian Fainelli
2020-11-09  4:42 ` [PATCH 2/2] arm64: defconfig: " Florian Fainelli
2020-11-09  9:57 ` [PATCH 0/2] ARM/ARM64: Enable SCMI in default configurations Sudeep Holla
2020-11-12 23:08   ` Florian Fainelli
2020-11-28  4:52   ` Florian Fainelli

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).