[PATCH v5 0/3] Add support for clock controllers and CPU scaling for QCS615

Taniya Das posted 3 patches 3 months, 1 week ago
There is a newer version of this series
.../bindings/cpufreq/cpufreq-qcom-hw.yaml          |  2 +
arch/arm64/boot/dts/qcom/qcs615.dtsi               | 80 ++++++++++++++++++++++
2 files changed, 82 insertions(+)
[PATCH v5 0/3] Add support for clock controllers and CPU scaling for QCS615
Posted by Taniya Das 3 months, 1 week ago
Add the video, camera, display and gpu clock controller nodes and the
cpufreq-hw node to support cpu scaling.

Clock Dependency:
https://lore.kernel.org/all/20250702-qcs615-mm-v10-clock-controllers-v11-0-9c216e1615ab@quicinc.com

Changes in v5:
- Update the documentation for CPUFREQ-HW for QCS615.
- Update the device tree node for cpufreq-hw to point to the new compatible.
- Link to v4: https://lore.kernel.org/r/20250625-qcs615-mm-cpu-dt-v4-v4-0-9ca880c53560@quicinc.com

Changes in v4:
- Fix the typo(removal of "") from cpufreq-hw node
- Link to v3: https://lore.kernel.org/r/20250612-qcs615-mm-cpu-dt-v3-v3-0-721d5db70342@quicinc.com

Changes in v3:
- Move the cpufreq-hw node under /soc {}
- Add the RB-tag on (v2) from [Konrad]

Changes in v2:
- pad address field to 8 digits [Dmitry]
- Replace cpu/CPU in commit [Dmitry]
- Update the binding to use SC7180 compatible, as QCS615 uses the same
  hardware version.
- Link to v1: https://lore.kernel.org/r/20241108-qcs615-mm-dt-nodes-v1-0-b2669cac0624@quicinc.com

Signed-off-by: Taniya Das <quic_tdas@quicinc.com>

Signed-off-by: Taniya Das <quic_tdas@quicinc.com>
---
Taniya Das (3):
      dt-bindings: cpufreq: cpufreq-qcom-hw: Add QCS615 compatible
      arm64: dts: qcom: qcs615: Add clock nodes for multimedia clock
      arm64: dts: qcom: qcs615: Add CPU scaling clock node

 .../bindings/cpufreq/cpufreq-qcom-hw.yaml          |  2 +
 arch/arm64/boot/dts/qcom/qcs615.dtsi               | 80 ++++++++++++++++++++++
 2 files changed, 82 insertions(+)
---
base-commit: 2ae2aaafb21454f4781c30734959cf223ab486ef
change-id: 20250625-qcs615-mm-cpu-dt-v4-b6b9bc7d3e56
prerequisite-message-id: <20250702-qcs615-mm-v10-clock-controllers-v11-0-9c216e1615ab@quicinc.com>
prerequisite-patch-id: 9879d98848e0c7b1a5d898d657c8318738c44ac2
prerequisite-patch-id: 6414e91724ba90fe820c3d2bb5caa720c99cf3be
prerequisite-patch-id: e4e24f3dc507891b70936c9587ee1416f1a53e6f
prerequisite-patch-id: 23062409b23977940c958bf22a215ae5dc45e93a
prerequisite-patch-id: c35335d37fdf9a7f665f1c6d79d34b091d45e291
prerequisite-patch-id: 9a0caaaa8d25634dd0db5edffbc939eb7e734c6c
prerequisite-patch-id: 0b08c5ea612ac291dd829f5e7e63c499cd2812f7
prerequisite-patch-id: 2327271def3656283d53dadb2ce9f8cd561249d1
prerequisite-patch-id: c97840c551e081b0b9bf6c0e77b551935454f62d
prerequisite-patch-id: 71f0eb0fb98c3177dcbe6736c120cba4efef0c33

Best regards,
-- 
Taniya Das <quic_tdas@quicinc.com>
Re: [PATCH v5 0/3] Add support for clock controllers and CPU scaling for QCS615
Posted by Krzysztof Kozlowski 3 months ago
On Wed, Jul 02, 2025 at 02:43:08PM +0530, Taniya Das wrote:
> Add the video, camera, display and gpu clock controller nodes and the
> cpufreq-hw node to support cpu scaling.
> 
> Clock Dependency:
> https://lore.kernel.org/all/20250702-qcs615-mm-v10-clock-controllers-v11-0-9c216e1615ab@quicinc.com
> 
> Changes in v5:
> - Update the documentation for CPUFREQ-HW for QCS615.

What did you update? This has to be specific, not vague.

Best regards,
Krzysztof
Re: [PATCH v5 0/3] Add support for clock controllers and CPU scaling for QCS615
Posted by Taniya Das 3 months ago

On 7/3/2025 12:51 PM, Krzysztof Kozlowski wrote:
> On Wed, Jul 02, 2025 at 02:43:08PM +0530, Taniya Das wrote:
>> Add the video, camera, display and gpu clock controller nodes and the
>> cpufreq-hw node to support cpu scaling.
>>
>> Clock Dependency:
>> https://lore.kernel.org/all/20250702-qcs615-mm-v10-clock-controllers-v11-0-9c216e1615ab@quicinc.com
>>
>> Changes in v5:
>> - Update the documentation for CPUFREQ-HW for QCS615.
> 
> What did you update? This has to be specific, not vague.

Sorry, this is the update: "compatible for cpufreq hardware on Qualcomm
QCS615 platform."

-- Taniya
Re: [PATCH v5 0/3] Add support for clock controllers and CPU scaling for QCS615
Posted by Krzysztof Kozlowski 3 months ago
On 03/07/2025 10:28, Taniya Das wrote:
> 
> 
> On 7/3/2025 12:51 PM, Krzysztof Kozlowski wrote:
>> On Wed, Jul 02, 2025 at 02:43:08PM +0530, Taniya Das wrote:
>>> Add the video, camera, display and gpu clock controller nodes and the
>>> cpufreq-hw node to support cpu scaling.
>>>
>>> Clock Dependency:
>>> https://lore.kernel.org/all/20250702-qcs615-mm-v10-clock-controllers-v11-0-9c216e1615ab@quicinc.com
>>>
>>> Changes in v5:
>>> - Update the documentation for CPUFREQ-HW for QCS615.
>>
>> What did you update? This has to be specific, not vague.
> 
> Sorry, this is the update: "compatible for cpufreq hardware on Qualcomm
> QCS615 platform."
> 
Do you mean you added a new patch?

Best regards,
Krzysztof
Re: [PATCH v5 0/3] Add support for clock controllers and CPU scaling for QCS615
Posted by Taniya Das 3 months ago

On 7/3/2025 2:06 PM, Krzysztof Kozlowski wrote:
> On 03/07/2025 10:28, Taniya Das wrote:
>>
>>
>> On 7/3/2025 12:51 PM, Krzysztof Kozlowski wrote:
>>> On Wed, Jul 02, 2025 at 02:43:08PM +0530, Taniya Das wrote:
>>>> Add the video, camera, display and gpu clock controller nodes and the
>>>> cpufreq-hw node to support cpu scaling.
>>>>
>>>> Clock Dependency:
>>>> https://lore.kernel.org/all/20250702-qcs615-mm-v10-clock-controllers-v11-0-9c216e1615ab@quicinc.com
>>>>
>>>> Changes in v5:
>>>> - Update the documentation for CPUFREQ-HW for QCS615.
>>>
>>> What did you update? This has to be specific, not vague.
>>
>> Sorry, this is the update: "compatible for cpufreq hardware on Qualcomm
>> QCS615 platform."
>>
> Do you mean you added a new patch?
> 

Yes, Krzysztof, I’ve added a new patch. Initially, I was reusing the
compatible string of the SC7180 SoC for QCS615, since both SoCs share
the same hardware design. However, Dmitry and Konrad raised a valid
point — if we ever need to handle quirks specific to a particular SoC,
using distinct compatible entries would make that easier. Based on that,
I’ve updated the patch accordingly.

-- Taniya.
Re: (subset) [PATCH v5 0/3] Add support for clock controllers and CPU scaling for QCS615
Posted by Bjorn Andersson 1 month, 2 weeks ago
On Wed, 02 Jul 2025 14:43:08 +0530, Taniya Das wrote:
> Add the video, camera, display and gpu clock controller nodes and the
> cpufreq-hw node to support cpu scaling.
> 
> Clock Dependency:
> https://lore.kernel.org/all/20250702-qcs615-mm-v10-clock-controllers-v11-0-9c216e1615ab@quicinc.com
> 
> Changes in v5:
> - Update the documentation for CPUFREQ-HW for QCS615.
> - Update the device tree node for cpufreq-hw to point to the new compatible.
> - Link to v4: https://lore.kernel.org/r/20250625-qcs615-mm-cpu-dt-v4-v4-0-9ca880c53560@quicinc.com
> 
> [...]

Applied, thanks!

[2/3] arm64: dts: qcom: qcs615: Add clock nodes for multimedia clock
      commit: f9c36698db91780eed4ee3a90794bda2a4252166
[3/3] arm64: dts: qcom: qcs615: Add CPU scaling clock node
      commit: fecc6e0b0260279cd1508903db62f370ef4530d4

Best regards,
-- 
Bjorn Andersson <andersson@kernel.org>