Skip to content

Commit 990247a

Browse files
committed
Merge tag 'cpufreq-arm-5.19-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/vireshk/pm
Pull ARM cpufreq updates for 5.19-rc1 from Viresh Kumar: - Tegra234 cpufreq support (Sumit Gupta). - Mediatek cleanups and enhancements (Wan Jiabing, Rex-BC Chen, and Jia-Wei Chang). * tag 'cpufreq-arm-5.19-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/vireshk/pm: (21 commits) cpufreq: mediatek: Add support for MT8186 cpufreq: mediatek: Link CCI device to CPU dt-bindings: cpufreq: mediatek: Add MediaTek CCI property cpufreq: mediatek: Fix potential deadlock problem in mtk_cpufreq_set_target cpufreq: mediatek: Add opp notification support cpufreq: mediatek: Refine mtk_cpufreq_voltage_tracking() cpufreq: mediatek: Move voltage limits to platform data cpufreq: mediatek: Unregister platform device on exit cpufreq: mediatek: Fix NULL pointer dereference in mediatek-cpufreq cpufreq: mediatek: Make sram regulator optional cpufreq: mediatek: Record previous target vproc value cpufreq: mediatek: Replace old_* with pre_* cpufreq: mediatek: Use device print to show logs cpufreq: mediatek: Enable clocks and regulators cpufreq: mediatek: Remove unused headers cpufreq: mediatek: Cleanup variables and error handling in mtk_cpu_dvfs_info_init() cpufreq: mediatek: Use module_init and add module_exit arm64: tegra: add node for tegra234 cpufreq cpufreq: tegra194: Add support for Tegra234 cpufreq: tegra194: add soc data to support multiple soc ...
2 parents 09583df + 39b3601 commit 990247a

File tree

5 files changed

+689
-259
lines changed

5 files changed

+689
-259
lines changed
Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2+
%YAML 1.2
3+
---
4+
$id: "http://devicetree.org/schemas/arm/tegra/nvidia,tegra-ccplex-cluster.yaml#"
5+
$schema: "http://devicetree.org/meta-schemas/core.yaml#"
6+
7+
title: NVIDIA Tegra CPU COMPLEX CLUSTER area device tree bindings
8+
9+
maintainers:
10+
- Sumit Gupta <[email protected]>
11+
- Mikko Perttunen <[email protected]>
12+
- Jon Hunter <[email protected]>
13+
- Thierry Reding <[email protected]>
14+
15+
description: |+
16+
The Tegra CPU COMPLEX CLUSTER area contains memory-mapped
17+
registers that initiate CPU frequency/voltage transitions.
18+
19+
properties:
20+
$nodename:
21+
pattern: "ccplex@([0-9a-f]+)$"
22+
23+
compatible:
24+
enum:
25+
- nvidia,tegra186-ccplex-cluster
26+
- nvidia,tegra234-ccplex-cluster
27+
28+
reg:
29+
maxItems: 1
30+
31+
nvidia,bpmp:
32+
$ref: '/schemas/types.yaml#/definitions/phandle'
33+
description: |
34+
Specifies the BPMP node that needs to be queried to get
35+
operating point data for all CPUs.
36+
37+
additionalProperties: false
38+
39+
required:
40+
- compatible
41+
- reg
42+
- nvidia,bpmp
43+
- status
44+
45+
examples:
46+
- |
47+
ccplex@e000000 {
48+
compatible = "nvidia,tegra234-ccplex-cluster";
49+
reg = <0x0e000000 0x5ffff>;
50+
nvidia,bpmp = <&bpmp>;
51+
status = "okay";
52+
};

Documentation/devicetree/bindings/cpufreq/cpufreq-mediatek.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,13 @@ Optional properties:
2020
Vsram to fit SoC specific needs. When absent, the voltage scaling
2121
flow is handled by hardware, hence no software "voltage tracking" is
2222
needed.
23+
- mediatek,cci:
24+
Used to confirm the link status between cpufreq and mediatek cci. Because
25+
cpufreq and mediatek cci could share the same regulator in some MediaTek SoCs.
26+
To prevent the issue of high frequency and low voltage, we need to use this
27+
property to make sure mediatek cci is ready.
28+
For details of mediatek cci, please refer to
29+
Documentation/devicetree/bindings/interconnect/mediatek,cci.yaml
2330
- #cooling-cells:
2431
For details, please refer to
2532
Documentation/devicetree/bindings/thermal/thermal-cooling-devices.yaml

arch/arm64/boot/dts/nvidia/tegra234.dtsi

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1258,6 +1258,13 @@
12581258
};
12591259
};
12601260

1261+
ccplex@e000000 {
1262+
compatible = "nvidia,tegra234-ccplex-cluster";
1263+
reg = <0x0 0x0e000000 0x0 0x5ffff>;
1264+
nvidia,bpmp = <&bpmp>;
1265+
status = "okay";
1266+
};
1267+
12611268
sram@40000000 {
12621269
compatible = "nvidia,tegra234-sysram", "mmio-sram";
12631270
reg = <0x0 0x40000000 0x0 0x80000>;

0 commit comments

Comments
 (0)