Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge tag 'pm-6.13-rc1-3' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm

Pull morepower management updates from Rafael Wysocki:
"These update the OPP (Operating Performance Points) DT bindings for
ti-cpu (Dhruva Gole) and remove unused declarations from the OPP
header file (Zhang Zekun)"

* tag 'pm-6.13-rc1-3' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm:
dt-bindings: opp: operating-points-v2-ti-cpu: Describe opp-supported-hw
OPP: Remove unused declarations in header file

+19 -3
+19 -1
Documentation/devicetree/bindings/opp/operating-points-v2-ti-cpu.yaml
··· 45 45 clock-latency-ns: true 46 46 opp-hz: true 47 47 opp-microvolt: true 48 - opp-supported-hw: true 48 + opp-supported-hw: 49 + items: 50 + items: 51 + - description: 52 + The revision of the SoC the OPP is supported by. 53 + This can be easily obtained from the datasheet of the 54 + part being ordered/used. For example, it will be 0x01 for SR1.0 55 + 56 + - description: 57 + The eFuse bits that indicate the particular OPP is available. 58 + The device datasheet has a table talking about Device Speed Grades. 59 + This table is to be sorted with only the unique elements of the 60 + MAXIMUM OPERATING FREQUENCY starting from the first row which 61 + tells the lowest OPP, to the highest. The corresponding bits 62 + need to be set based on N elements of speed grade the device supports. 63 + So, if there are 3 possible unique MAXIMUM OPERATING FREQUENCY 64 + in the table, then BIT(0) | (1) | (2) will be set, which means 65 + the value shall be 0x7. 66 + 49 67 opp-suspend: true 50 68 turbo-mode: true 51 69
-2
drivers/opp/opp.h
··· 263 263 int _opp_add_v1(struct opp_table *opp_table, struct device *dev, struct dev_pm_opp_data *data, bool dynamic); 264 264 void _dev_pm_opp_cpumask_remove_table(const struct cpumask *cpumask, int last_cpu); 265 265 struct opp_table *_add_opp_table_indexed(struct device *dev, int index, bool getclk); 266 - void _put_opp_list_kref(struct opp_table *opp_table); 267 266 void _required_opps_available(struct dev_pm_opp *opp, int count); 268 - void _update_set_required_opps(struct opp_table *opp_table); 269 267 270 268 static inline bool lazy_linking_pending(struct opp_table *opp_table) 271 269 {