devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH V7 0/2] qcom: x1e80100: Enable CPUFreq
@ 2024-10-30 13:08 Sibi Sankar
  2024-10-30 13:08 ` [PATCH V7 1/2] arm64: dts: qcom: x1e80100: Add cpucp mailbox and sram nodes Sibi Sankar
                   ` (4 more replies)
  0 siblings, 5 replies; 18+ messages in thread
From: Sibi Sankar @ 2024-10-30 13:08 UTC (permalink / raw)
  To: sudeep.holla, cristian.marussi, andersson, konrad.dybcio, robh+dt,
	krzysztof.kozlowski+dt, dmitry.baryshkov
  Cc: linux-kernel, linux-arm-msm, devicetree, quic_rgottimu,
	quic_kshivnan, quic_sibis, conor+dt, quic_nkela, quic_psodagud,
	abel.vesa

This series enables CPUFreq support on the X1E SoC using the SCMI perf
protocol. This was originally part of the RFC: firmware: arm_scmi:
Qualcomm Vendor Protocol [1]. I've split it up so that this part can
land earlier. Warnings Introduced by the series are fixed by [2]

V6:
* Drop patches that are already picked up.
* Rebase to the latest next-20241029.

V5:
* Fix build error reported by kernel test robot by adding 64BIT requirement
  to COMPILE_TEST
* Pick Rbs

V4:
* Move val, flag and chan to local loop variables. [Jassi]
* Add cpucp mailbox to the MAINTAINERS file. [Jassi]
* Move to core_initcall. [Konrad]
* Skip explicitly setting txdone_irq/txdone_poll to zero. [Konrad]

V3:
* Fix Maintainer info in cpucp mbox bindings. [Bjorn]
* Fix copyright info in cpucp driver. [Bjorn]
* Drop unused APSS_CPUCP_TX_MBOX_IDR, value init and drv_data. [Bjorn/Dmitry]
* Convert to lower case hex. [Bjorn]
* Convert irq and dev to local variables. [Bjorn]
* Replace for and if with for_each_set_bit. [Bjorn]
* Document the need for spinlock. [Bjorn]
* Add space after " for aesthetics. [Bjorn]
* Fix err in calc and add fixes tag. [Bjorn]
* Include io.h and re-order platform_device.h
* Use GENMASK_ULL to generate APSS_CPUCP_RX_MBOX_CMD_MASK.

V2:
* Fix series version number [Rob]
* Pickup Rbs from Dimitry and Rob.
* Use power-domain instead of clocks. [Sudeep/Ulf]
* Rename sram sub-nodes according to schema. [Dmitry]
* Use BIT() instead of manual shift. [Dmitry]
* Define RX_MBOX_CMD to account for chan calculation. [Dmitry]
* Clear the bit instead of the entire status within the spinlock. [Dmitry]
* Use dev_err_probe instead. [Dmitry]
* Drop superfluous error message while handling errors from get_irq. [Dmitry]
* Use devm_mbox_controller_register and drop remove path. [Dmitry]
* Define TX_MBOX_CMD to account for chan calculation.
* Use cpucp->dev in probe path for conformity.

RFC V1:
* Use x1e80100 as the fallback for future SoCs using the cpucp-mbox
  controller. [Krzysztoff/Konrad/Rob]
* Use chan->lock and chan->cl to detect if the channel is no longer
  Available. [Dmitry]
* Use BIT() instead of using manual shifts. [Dmitry]
* Don't use integer as a pointer value. [Dmitry]
* Allow it to default to of_mbox_index_xlate. [Dmitry]
* Use devm_of_iomap. [Dmitry]
* Use module_platform_driver instead of module init/exit. [Dmitry]
* Get channel number using mailbox core (like other drivers) and
  further simplify the driver by dropping setup_mbox func.

[1]: https://lore.kernel.org/lkml/20240117173458.2312669-1-quic_sibis@quicinc.com/#r
[2]: https://lore.kernel.org/lkml/20241030125512.2884761-1-quic_sibis@quicinc.com/

Other relevant Links:
https://lore.kernel.org/lkml/be2e475a-349f-4e98-b238-262dd7117a4e@linaro.org/

base: next-20241029

Sibi Sankar (2):
  arm64: dts: qcom: x1e80100: Add cpucp mailbox and sram nodes
  arm64: dts: qcom: x1e80100: Enable cpufreq

 arch/arm64/boot/dts/qcom/x1e80100.dtsi | 89 +++++++++++++++++++-------
 1 file changed, 65 insertions(+), 24 deletions(-)

-- 
2.34.1


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

end of thread, other threads:[~2025-05-17  5:57 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-30 13:08 [PATCH V7 0/2] qcom: x1e80100: Enable CPUFreq Sibi Sankar
2024-10-30 13:08 ` [PATCH V7 1/2] arm64: dts: qcom: x1e80100: Add cpucp mailbox and sram nodes Sibi Sankar
2024-10-30 13:08 ` [PATCH V7 2/2] arm64: dts: qcom: x1e80100: Enable cpufreq Sibi Sankar
2024-11-01 13:00 ` [PATCH V7 0/2] qcom: x1e80100: Enable CPUFreq Johan Hovold
2024-11-01 14:08   ` Marc Zyngier
2024-11-01 14:19     ` Johan Hovold
2024-11-01 14:43       ` Marc Zyngier
2024-11-05 16:57         ` Johan Hovold
2024-11-05 18:12           ` Marc Zyngier
2024-12-05 11:23             ` Sibi Sankar
2024-12-05 13:44               ` Marc Zyngier
2024-12-05 15:46               ` Johan Hovold
2025-01-06 12:22                 ` Sibi Sankar
2025-01-06 14:57                   ` Marc Zyngier
2025-01-10  9:52                   ` Johan Hovold
2025-01-17  6:36                     ` Sibi Sankar
2025-05-08 12:20 ` Johan Hovold
2025-05-17  5:57 ` (subset) " Bjorn Andersson

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).