aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/opp/of.c
AgeCommit message (Expand)AuthorFilesLines
2025-10-23OPP: Initialize scope-based pointers inlineViresh Kumar1-55/+70
2025-05-02OPP: Use mutex locking guardsViresh Kumar1-40/+25
2025-05-02OPP: Define and use scope-based cleanup helpersViresh Kumar1-17/+7
2025-04-24OPP: Use scope-based OF cleanup helpersViresh Kumar1-71/+40
2025-04-24OPP: Return opp_table from dev_pm_opp_get_opp_table_ref()Viresh Kumar1-6/+3
2025-04-24OPP: Remove _get_opp_table_kref()Viresh Kumar1-3/+3
2025-01-07OPP: OF: Fix an OF node leak in _opp_add_static_v2()Joe Hattori1-1/+3
2024-10-10OPP: Drop redundant code in _link_required_opps()Ulf Hansson1-36/+3
2024-06-26OPP: Introduce an OF helper function to inform if required-opps is usedUlf Hansson1-0/+32
2024-04-08OPP: OF: Export dev_opp_pm_calc_power() for usage from EMLukasz Luba1-5/+12
2023-11-28OPP: Don't set OPP recursively for a parent genpdViresh Kumar1-2/+5
2023-11-28OPP: Call dev_pm_opp_set_opp() for required OPPsViresh Kumar1-7/+10
2023-11-28OPP: Use _set_opp_level() for single genpd caseViresh Kumar1-3/+28
2023-11-28OPP: Level zero is validViresh Kumar1-1/+7
2023-10-16OPP: Add _link_required_opps() to avoid code duplicationViresh Kumar1-33/+29
2023-10-16OPP: Fix formatting of if/else blockViresh Kumar1-2/+2
2023-10-06OPP: Fix -Wunsequenced in _of_add_opp_table_v1()Nathan Chancellor1-2/+4
2023-10-06OPP: Add dev_pm_opp_add_dynamic() to allow more flexibilityUlf Hansson1-4/+6
2023-06-27OPP: Properly propagate error along when failing to get icc_pathAndrew Halaney1-1/+1
2023-06-26OPP: Use dev_err_probe() when failing to get icc_pathAndrew Halaney1-5/+1
2023-06-19OPP: Simplify the over-designed pstate <-> level danceViresh Kumar1-4/+1
2023-06-19OPP: pstate is only valid for genpd OPP tablesViresh Kumar1-0/+6
2023-06-14OPP: don't drop performance constraint on OPP table removalViresh Kumar1-8/+0
2023-06-14OPP: Protect `lazy_opp_tables` list with `opp_table_lock`Viresh Kumar1-2/+12
2023-06-08OPP: Staticize `lazy_opp_tables` in of.cViresh Kumar1-0/+3
2023-04-27Merge tag 'devicetree-for-6.4-2' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-1/+1
2023-04-13OPP: Adjust includes to remove of_device.hRob Herring1-1/+1
2023-04-03OPP: Move required opps configuration to specialized callbackViresh Kumar1-0/+3
2023-03-13opp: Use of_property_present() for testing DT property presenceRob Herring1-2/+2
2022-11-04OPP: decouple dt properties in opp_parse_supplies()James Calligeros1-11/+25
2022-11-04OPP: Simplify opp_parse_supplies() by restructuring itViresh Kumar1-135/+81
2022-11-04OPP: Parse named opp-microwatt property tooViresh Kumar1-3/+13
2022-08-03Merge tag 'opp-updates-5.20-rc1' of git://git.kernel.org/pub/scm/linux/kernel...Rafael J. Wysocki1-70/+80
2022-07-19OPP: Don't drop opp->np reference while it is still in useLiang He1-3/+9
2022-07-19OPP: Don't drop opp_table->np reference while it is still in useLiang He1-1/+1
2022-07-15PM: EM: convert power field to micro-Watts precision and align driversLukasz Luba1-7/+8
2022-07-12OPP: Remove dev{m}_pm_opp_of_add_table_noclk()Viresh Kumar1-40/+8
2022-07-12OPP: Allow multiple clocks for a deviceViresh Kumar1-14/+52
2022-07-08OPP: Reuse _opp_compare_key() in _opp_add_static_v2()Viresh Kumar1-2/+2
2022-07-08OPP: Remove rate_not_available parameter to _opp_add()Viresh Kumar1-6/+4
2022-07-08OPP: Use consistent names for OPP table instancesViresh Kumar1-6/+6
2022-05-25Merge tag 'opp-updates-5.19-rc1' of git://git.kernel.org/pub/scm/linux/kernel...Rafael J. Wysocki1-1/+1
2022-04-13PM: EM: Change the order of arguments in the .active_power() callbackLukasz Luba1-3/+3
2022-04-11OPP: call of_node_put() on error path in _bandwidth_supported()Dan Carpenter1-1/+1
2022-03-03OPP: Add support of "opp-microwatt" for EM registrationLukasz Luba1-1/+60
2022-03-03OPP: Add "opp-microwatt" supporting codeLukasz Luba1-2/+45
2021-10-08opp: Fix return in _opp_add_static_v2()YueHaibing1-1/+1
2021-10-04opp: Add more resource-managed variants of dev_pm_opp_of_add_table()Dmitry Osipenko1-7/+39
2021-10-04opp: Fix required-opps phandle array count checkPavankumar Kondeti1-1/+1
2021-08-30Merge back new PM domains material for v5.15.Rafael J. Wysocki1-10/+2
2021-08-16opp: Don't print an error if required-opps is missingRajendra Nayak1-10/+2
2021-08-04opp: remove WARN when no valid OPPs remainMichał Mirosław1-2/+3
2021-06-18opp: Allow required-opps to be used for non genpd use casesHsin-Yi Wang1-22/+2
2021-05-20opp: use list_del_init instead of list_del/INIT_LIST_HEADYang Yingliang1-2/+1
2021-03-15opp: Add devres wrapper for dev_pm_opp_of_add_tableYangtao Li1-0/+36
2021-02-02opp: Allow lazy-linking of required-oppsViresh Kumar1-5/+117
2021-02-02opp: Print OPP level in debug message of _opp_add_static_v2()Dmitry Osipenko1-2/+3
2021-02-02opp: Add dev_pm_opp_of_add_table_noclk()Viresh Kumar1-0/+18
2021-02-02opp: Defer acquiring the clk until OPPs are addedViresh Kumar1-4/+4
2021-02-02opp: Create _of_add_table_indexed() to reduce code duplicationViresh Kumar1-48/+33
2021-02-02opp: Correct debug message in _opp_add_static_v2()Dmitry Osipenko1-2/+2
2020-12-15Merge branch 'pm-cpufreq'Rafael J. Wysocki1-1/+1
2020-12-09Merge branch 'opp/empty' into opp/linux-nextViresh Kumar1-2/+5
2020-12-09opp: of: Allow empty opp-table with opp-sharedNicola Mazzucato1-2/+5
2020-12-09opp: Don't create an OPP table from dev_pm_opp_get_opp_table()Viresh Kumar1-2/+2
2020-11-10PM: EM: Add a flag indicating units of power values in Energy ModelLukasz Luba1-1/+1
2020-11-06opp: Allocate the OPP table outside of opp_table_lockViresh Kumar1-2/+3
2020-10-27opp: Don't always remove static OPPs in _of_add_opp_table_v1()Viresh Kumar1-0/+2
2020-09-16opp: Allow opp-level to be set to 0Viresh Kumar1-13/+7
2020-09-16opp: Allow opp-supported-hw to contain multiple versionsViresh Kumar1-14/+33
2020-09-16Merge branch 'opp/defer-probe' into HEADViresh Kumar1-15/+28
2020-09-16opp: Handle multiple calls for same OPP table in _of_add_opp_table_v1()Viresh Kumar1-11/+24
2020-08-25opp: Allow dev_pm_opp_get_opp_table() to return -EPROBE_DEFERStephan Gerhold1-4/+4
2020-08-24opp: Remove _dev_pm_opp_find_and_remove_table() wrapperViresh Kumar1-1/+1
2020-08-03Merge branches 'pm-em' and 'pm-core'Rafael J. Wysocki1-31/+45
2020-07-16opp: Increase parsed_static_opps in _of_add_opp_table_v1()Walter Lozano1-0/+4
2020-06-24OPP: refactor dev_pm_opp_of_register_em() and update related driversLukasz Luba1-26/+45
2020-06-24PM / EM: update callback structure and add device pointerLukasz Luba1-7/+2
2020-06-01opp: Don't parse icc paths unnecessarilySibi Sankar1-1/+44
2020-05-29opp: Add sanity checks in _read_opp_key()Georgi Djakov1-7/+13
2020-05-29opp: Add support for parsing interconnect bandwidthGeorgi Djakov1-1/+113
2020-05-13OPP: Add helpers for reading the binding propertiesSaravana Kannan1-18/+26
2019-12-10opp: Replace list_kref with a local counterViresh Kumar1-15/+11
2019-12-10opp: Free static OPPs on errors while adding themViresh Kumar1-4/+13
2019-10-23opp: Reinitialize the list_kref before adding the static OPPs againViresh Kumar1-0/+7
2019-10-10opp: of: drop incorrect lockdep_assert_held()Viresh Kumar1-2/+0
2019-07-26opp: of: Support multiple suspend OPPs defined in DTAnson Huang1-3/+6
2019-07-26opp: Don't decrement uninitialized list_krefViresh Kumar1-17/+4
2019-06-26Merge branch 'opp/linux-next' of git://git.kernel.org/pub/scm/linux/kernel/gi...Rafael J. Wysocki1-28/+2
2019-06-19treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500Thomas Gleixner1-4/+1
2019-05-20opp: Allocate genpd_virt_devs from dev_pm_opp_attach_genpd()Viresh Kumar1-28/+2
2019-03-11OPP: Fix handling of multiple power domainsRajendra Nayak1-2/+14
2019-03-06Merge tag 'pm-5.1-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rafae...Linus Torvalds1-0/+99
2019-02-07PM / OPP: Introduce a power estimation helperQuentin Perret1-0/+99
2019-01-22OPP: Add support for parsing the 'opp-level' propertyRajendra Nayak1-0/+2
2018-12-14Merge branch 'opp/genpd/propagation' into opp/linux-nextViresh Kumar1-41/+278
2018-12-14OPP: Don't return 0 on error from of_get_required_opp_performance_state()Viresh Kumar1-5/+5
2018-12-14OPP: Improve _find_table_of_opp_np()Viresh Kumar1-4/+10
2018-12-11OPP: Fix missing debugfs supply directory for OPPsViresh Kumar1-4/+16
2018-11-23OPP: Fix parsing of multiple phandles in "operating-points-v2" propertyViresh Kumar1-4/+2
2018-11-05OPP: Remove of_dev_pm_opp_find_required_opp()Viresh Kumar1-54/+0
2018-11-05OPP: Rename and relocate of_genpd_opp_to_performance_state()Viresh Kumar1-0/+44
2018-11-05OPP: Configure all required OPPsViresh Kumar1-2/+3
2018-11-05OPP: Add dev_pm_opp_{set|put}_genpd_virt_dev() helperViresh Kumar1-1/+15
2018-11-05OPP: Populate OPPs from "required-opps" propertyViresh Kumar1-2/+79
2018-11-05OPP: Populate required opp tables from "required-opps" propertyViresh Kumar1-0/+147
2018-11-05OPP: Identify and mark genpd OPP tablesViresh Kumar1-2/+4
2018-10-04PM / OPP: _of_add_opp_table_v2(): increment count only if OPP is addedDave Gerlach1-13/+20
2018-10-04OPP: Improve error handling in dev_pm_opp_of_cpumask_add_table()Viresh Kumar1-6/+12
2018-10-01OPP: Pass OPP table to _of_add_opp_table_v{1|2}()Viresh Kumar1-40/+28
2018-10-01OPP: Prevent creating multiple OPP tables for devices sharing OPP nodesViresh Kumar1-22/+13
2018-09-19OPP: Use a single mechanism to free the OPP tableViresh Kumar1-14/+18
2018-09-19OPP: Don't remove dynamic OPPs from _dev_pm_opp_remove_table()Viresh Kumar1-6/+6
2018-09-19OPP: Create separate kref for static OPPs listViresh Kumar1-0/+7
2018-09-19OPP: Parse OPP table's DT properties from _of_init_opp_table()Viresh Kumar1-31/+48
2018-09-19OPP: Pass index to _of_init_opp_table()Viresh Kumar1-5/+7
2018-09-19OPP: Don't try to remove all OPP tables on failureViresh Kumar1-2/+2
2018-09-19OPP: Free OPP table properly on performance state irregularitiesViresh Kumar1-0/+1
2018-05-30OPP: Allow same OPP table to be used for multiple genpdViresh Kumar1-2/+15
2018-05-16PM / OPP: silence an uninitialized variable warningDan Carpenter1-1/+1
2018-05-09PM / OPP: Get performance state using genpd helperViresh Kumar1-1/+19
2018-05-09PM / OPP: Implement dev_pm_opp_get_of_node()Viresh Kumar1-0/+19
2018-05-09PM / OPP: Implement of_dev_pm_opp_find_required_opp()Viresh Kumar1-0/+54
2018-05-09PM / OPP: Implement dev_pm_opp_of_add_table_indexed()Viresh Kumar1-9/+41
2018-05-09PM / OPP: "opp-hz" is optional for power domainsViresh Kumar1-9/+17
2017-10-14PM / OPP: add missing of_node_put() for of_get_cpu_node()Sudeep Holla1-2/+3
2017-10-11PM / OPP: Add missing of_node_put(np)Tobias Jordan1-0/+1
2017-10-03PM / OPP: Move the OPP directory out of power/Viresh Kumar1-0/+633