aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/opp
AgeCommit message (Expand)AuthorFilesLines
2024-03-11OPP: debugfs: Fix warning around icc_get_name()Viresh Kumar1-2/+4
2024-03-11OPP: debugfs: Fix warning with W=1 buildsViresh Kumar1-4/+4
2024-03-11OPP: Extend dev_pm_opp_data with turbo supportSibi Sankar1-0/+1
2024-01-05OPP: Rename 'rate_clk_single'Viresh Kumar2-4/+4
2024-01-05OPP: Pass rounded rate to _set_opp()Viresh Kumar1-3/+3
2024-01-05OPP: Relocate dev_pm_opp_sync_regulators()Viresh Kumar1-41/+41
2024-01-03OPP: Move dev_pm_opp_icc_bw to internal opp.hViresh Kumar1-0/+12
2023-12-28OPP: Fix _set_required_opps when opp is NULLBryan O'Donoghue1-1/+4
2023-12-27OPP: The level field is always of unsigned int typeViresh Kumar1-2/+7
2023-11-28OPP: Check for invalid OPP in dev_pm_opp_find_level_ceil()Viresh Kumar1-0/+2
2023-11-28OPP: Don't set OPP recursively for a parent genpdViresh Kumar2-3/+20
2023-11-28OPP: Call dev_pm_opp_set_opp() for required OPPsViresh Kumar3-98/+95
2023-11-28OPP: Use _set_opp_level() for single genpd caseViresh Kumar2-5/+32
2023-11-28OPP: Level zero is validViresh Kumar2-5/+27
2023-11-23opp: ti: Use device_get_match_data()Rob Herring1-10/+3
2023-10-17OPP: No need to defer probe from _opp_attach_genpd()Viresh Kumar1-8/+0
2023-10-17OPP: Remove genpd_virt_dev_lockViresh Kumar2-35/+6
2023-10-17OPP: Reorder code in _opp_set_required_opps_genpd()Viresh Kumar1-14/+18
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: debugfs: Fix warning with W=1 buildsViresh Kumar1-1/+1
2023-10-06OPP: Remove doc style comments for internal routinesViresh Kumar1-72/+7
2023-10-06OPP: Add dev_pm_opp_find_level_floor()Krishna chaitanya chundru1-0/+25
2023-10-06OPP: Extend support for the opp-level beyond required-oppsUlf Hansson1-0/+35
2023-10-06OPP: Switch to use dev_pm_domain_set_performance_state()Ulf Hansson1-1/+1
2023-10-06OPP: Extend dev_pm_opp_data with a levelUlf Hansson1-0/+1
2023-10-06OPP: Add dev_pm_opp_add_dynamic() to allow more flexibilityUlf Hansson3-17/+17
2023-08-18OPP: Fix argument name in doc commentViresh Kumar1-2/+2
2023-07-24OPP: Fix passing 0 to PTR_ERR in _opp_attach_genpd()Manivannan Sadhasivam1-1/+1
2023-07-24OPP: Fix potential null ptr dereference in dev_pm_opp_get_required_pstate()Manivannan Sadhasivam1-5/+3
2023-07-24OPP: Reuse dev_pm_opp_get_freq_indexed()Viresh Kumar1-21/+0
2023-07-24OPP: Update _read_freq() to return the correct frequencyViresh Kumar1-1/+1
2023-07-24OPP: Add dev_pm_opp_find_freq_exact_indexed()Viresh Kumar1-0/+28
2023-07-24OPP: Introduce dev_pm_opp_get_freq_indexed() APIManivannan Sadhasivam1-0/+20
2023-07-21OPP: Introduce dev_pm_opp_find_freq_{ceil/floor}_indexed() APIsManivannan Sadhasivam1-0/+56
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 Kumar4-13/+5
2023-06-19OPP: pstate is only valid for genpd OPP tablesViresh Kumar3-3/+25
2023-06-14OPP: don't drop performance constraint on OPP table removalViresh Kumar3-19/+1
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 Kumar3-4/+4
2023-05-31opp: Fix use-after-free in lazy_opp_tables after probe deferralStephan Gerhold1-0/+3
2023-05-22OPP: rate-limit debug messages when no change in OPP is requiredAdrián Larumbe1-1/+1
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 Kumar3-27/+49
2023-04-03OPP: Handle all genpd cases together in _set_required_opps()Viresh Kumar1-7/+2
2023-03-13opp: Use of_property_present() for testing DT property presenceRob Herring1-2/+2
2023-02-08OPP: fix error checking in opp_migrate_dentry()Qi Zheng1-1/+1
2023-01-05drivers/opp: Remove "select SRCU"Paul E. McKenney1-1/+0
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-16OPP: Fix an un-initialized variable usageChristophe JAILLET1-1/+1
2022-08-03Merge tag 'opp-updates-5.20-rc1' of git://git.kernel.org/pub/scm/linux/kernel...Rafael J. Wysocki6-922/+971
2022-07-19OPP: Don't drop opp->np reference while it is still in useLiang He3-8/+12
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 config_clks helper for single clk caseViresh Kumar1-4/+4
2022-07-12OPP: Provide a simple implementation to configure multiple clocksViresh Kumar1-0/+34
2022-07-12OPP: Assert clk_count == 1 for single clk helpersViresh Kumar1-6/+39
2022-07-12OPP: Add key specific assert() method to key finding helpersViresh Kumar1-19/+33
2022-07-12OPP: Compare bandwidths for all paths in _opp_compare_key()Viresh Kumar1-3/+17
2022-07-12OPP: Allow multiple clocks for a deviceViresh Kumar4-82/+240
2022-07-08OPP: Make dev_pm_opp_set_opp() independent of frequencyViresh Kumar2-16/+40
2022-07-08OPP: Reuse _opp_compare_key() in _opp_add_static_v2()Viresh Kumar2-2/+8
2022-07-08OPP: Remove rate_not_available parameter to _opp_add()Viresh Kumar3-9/+7
2022-07-08OPP: Use consistent names for OPP table instancesViresh Kumar3-15/+16
2022-07-08OPP: Use generic key finding helpers for bandwidth keyViresh Kumar1-68/+15
2022-07-08OPP: Use generic key finding helpers for level keyViresh Kumar1-53/+10
2022-07-08OPP: Add generic key finding helpers and use them for freq APIsViresh Kumar1-99/+130
2022-07-08OPP: Remove dev_pm_opp_find_freq_ceil_by_volt()Viresh Kumar1-54/+0
2022-07-08OPP: Remove custom OPP helper supportViresh Kumar2-137/+2
2022-07-08OPP: ti: Migrate to dev_pm_opp_set_config_regulators()Viresh Kumar1-41/+34
2022-07-08OPP: Add dev_pm_opp_get_supplies()Viresh Kumar1-0/+25
2022-07-08OPP: Make _generic_set_opp_regulator() a config_regulators() interfaceViresh Kumar1-39/+12
2022-07-08OPP: Add support for config_regulators() helperViresh Kumar2-1/+69
2022-07-08OPP: Migrate set-prop-name helper API to use set-config helpersViresh Kumar1-37/+18
2022-07-08OPP: Migrate attach-genpd API to use set-config helpersViresh Kumar1-67/+18
2022-07-08OPP: Migrate set-opp-helper API to use set-config helpersViresh Kumar2-72/+23
2022-07-08OPP: Migrate set-clk-name API to use set-config helpersViresh Kumar1-99/+43
2022-07-08OPP: Migrate set-supported-hw API to use set-config helpersViresh Kumar1-67/+20
2022-07-08OPP: Migrate set-regulators API to use set-config helpersViresh Kumar1-72/+19
2022-07-08OPP: Add dev_pm_opp_set_config() and friendsViresh Kumar2-1/+249
2022-07-08OPP: Make dev_pm_opp_set_regulators() accept NULL terminated listViresh Kumar1-6/+12
2022-06-09OPP: Track if clock name is configured by platformViresh Kumar2-0/+9
2022-06-09OPP: Fix typo in commentViresh Kumar1-1/+1
2022-06-06opp: Fix some kernel-doc commentsYang Li1-2/+2
2022-06-06opp: Fix error check in dev_pm_opp_attach_genpd()Tang Bin1-2/+2
2022-05-25Merge tag 'opp-updates-5.19-rc1' of git://git.kernel.org/pub/scm/linux/kernel...Rafael J. Wysocki3-116/+235
2022-05-04opp: Reorder definition of ceil/floor helpersViresh Kumar1-97/+97
2022-05-04opp: Add apis to retrieve opps with interconnect bandwidthKrzysztof Kozlowski1-0/+120
2022-04-13PM: EM: Change the order of arguments in the .active_power() callbackLukasz Luba1-3/+3
2022-04-11opp: use list iterator only inside the loopXiaomeng Tong1-3/+7
2022-04-11opp: replace usage of found with dedicated list iterator variableJakob Koschel1-6/+5
2022-04-11PM: opp: simplify with dev_err_probe()Krzysztof Kozlowski1-9/+5
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 Luba3-2/+73
2022-02-11opp: Expose of-node's name in debugfsViresh Kumar2-0/+6
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: Change type of dev_pm_opp_attach_genpd(names) argumentDmitry Osipenko1-3/+3
2021-10-04opp: Fix required-opps phandle array count checkPavankumar Kondeti1-1/+1
2021-08-30Merge branches 'pm-pci', 'pm-sleep', 'pm-domains' and 'powercap'Rafael J. Wysocki1-10/+2
2021-08-30Merge back new PM domains material for v5.15.Rafael J. Wysocki1-10/+2
2021-08-23opp: core: Check for pending links before reading required_opp pointersMarijn Suijten1-4/+4
2021-08-16opp: Don't print an error if required-opps is missingRajendra Nayak1-10/+2
2021-08-16opp: Drop empty-table checks from _put functionsDmitry Osipenko1-15/+0
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 Wang2-22/+12
2021-05-20opp: use list_del_init instead of list_del/INIT_LIST_HEADYang Yingliang1-2/+1
2021-03-16opp: Change return type of devm_pm_opp_attach_genpd()Dmitry Osipenko1-12/+6
2021-03-16opp: Change return type of devm_pm_opp_register_set_opp_helper()Dmitry Osipenko1-12/+6
2021-03-15opp: Add devres wrapper for dev_pm_opp_of_add_tableYangtao Li1-0/+36
2021-03-15opp: Add devres wrapper for dev_pm_opp_set_supported_hwYangtao Li1-0/+29
2021-03-15opp: Add devres wrapper for dev_pm_opp_set_regulatorsYangtao Li1-0/+30
2021-03-15opp: Add devres wrapper for dev_pm_opp_set_clknameYangtao Li1-0/+27
2021-03-12opp: Don't drop extra references to OPPs accidentallyBeata Michalska2-23/+27
2021-02-18opp: Don't skip freq update for different frequencyJonathan Marek2-3/+7
2021-02-04OPP: Add function to look up required OPP's for a given OPPSaravana Kannan1-0/+55
2021-02-02opp: Don't ignore clk_get() errors other than -ENOENTViresh Kumar1-7/+11
2021-02-02opp: Update bandwidth requirements based on scaling up/downViresh Kumar1-13/+27
2021-02-02opp: Allow lazy-linking of required-oppsViresh Kumar3-16/+161
2021-02-02opp: Remove dev_pm_opp_set_bw()Viresh Kumar1-36/+5
2021-02-02opp: Implement dev_pm_opp_set_opp()Viresh Kumar1-0/+28
2021-02-02opp: Update parameters of _set_opp_custom()Viresh Kumar1-13/+9
2021-02-02opp: Allow _generic_set_opp_clk_only() to work for non-freq devicesViresh Kumar1-0/+4
2021-02-02opp: Allow _generic_set_opp_regulator() to work for non-freq devicesViresh Kumar1-13/+12
2021-02-02opp: Allow _set_opp() to work for non-freq devicesViresh Kumar1-5/+11
2021-02-02opp: Split _set_opp() out of dev_pm_opp_set_rate()Viresh Kumar1-55/+71
2021-02-02opp: Keep track of currently programmed OPPViresh Kumar2-31/+55
2021-02-02opp: No need to check clk for errorsViresh Kumar1-13/+4
2021-02-02opp: Rename _opp_set_rate_zero()Viresh Kumar1-2/+2
2021-02-02opp: Make _set_opp_custom() work without regulatorsDmitry Osipenko1-11/+18
2021-02-02opp: Prepare for ->set_opp() helper to work without regulatorsViresh Kumar2-38/+48
2021-02-02opp: Print OPP level in debug message of _opp_add_static_v2()Dmitry Osipenko1-2/+3
2021-02-02opp: Handle missing OPP table in dev_pm_opp_xlate_performance_state()Dmitry Osipenko1-1/+1
2021-02-02opp: Add devm_pm_opp_attach_genpdDmitry Osipenko1-0/+36
2021-02-02opp: Add devm_pm_opp_register_set_opp_helperDmitry Osipenko1-0/+34
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 Kumar3-33/+50
2021-02-02opp: Create _of_add_table_indexed() to reduce code duplicationViresh Kumar1-48/+33
2021-02-02opp: Add dev_pm_opp_sync_regulators()Dmitry Osipenko1-0/+41
2021-02-02opp: Add dev_pm_opp_get_required_pstate()Dmitry Osipenko1-0/+22
2021-02-02opp: Add dev_pm_opp_find_level_ceil()Dmitry Osipenko1-0/+49
2021-02-02opp: Staticize _add_opp_table()Viresh Kumar2-2/+1
2021-02-02opp: Correct debug message in _opp_add_static_v2()Dmitry Osipenko1-2/+2
2021-02-02opp: Filter out OPPs based on availability of a required-OPPDmitry Osipenko1-0/+11
2021-02-02opp: Fix adding OPP entries in a wrong order if rate is unavailableDmitry Osipenko1-6/+4
2020-12-28opp: Call the missing clk_put() on errorViresh Kumar1-1/+4
2020-12-28opp: fix memory leak in _allocate_opp_tableQuanyang Wang1-2/+4
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: Allow dev_pm_opp_put_*() APIs to accept NULL opp_tableViresh Kumar1-0/+18
2020-12-09opp: Don't create an OPP table from dev_pm_opp_get_opp_table()Viresh Kumar3-16/+16
2020-12-09opp: Reduce the size of critical section in _opp_kref_release()Viresh Kumar1-47/+47
2020-11-10PM: EM: Add a flag indicating units of power values in Energy ModelLukasz Luba1-1/+1
2020-11-06opp: Don't return opp_dev from _find_opp_dev()Viresh Kumar1-12/+10
2020-11-06opp: Allocate the OPP table outside of opp_table_lockViresh Kumar2-7/+45
2020-11-02opp: Always add entries in dev_list with opp_table->lock heldViresh Kumar1-15/+5
2020-10-27opp: Reduce the size of critical section in _opp_table_kref_release()Viresh Kumar1-3/+4
2020-10-27opp: Fix early exit from dev_pm_opp_register_set_opp_helper()Viresh Kumar1-1/+1
2020-10-27opp: Don't always remove static OPPs in _of_add_opp_table_v1()Viresh Kumar1-0/+2
2020-10-05Merge branch 'opp/linux-next' of git://git.kernel.org/pub/scm/linux/kernel/gi...Rafael J. Wysocki4-157/+193
2020-09-16opp: Allow opp-level to be set to 0Viresh Kumar2-16/+7
2020-09-16opp: Prevent memory leak in dev_pm_opp_attach_genpd()Viresh Kumar1-0/+6
2020-09-16opp: Allow opp-supported-hw to contain multiple versionsViresh Kumar1-14/+33
2020-09-16opp: Set required OPPs in reverse order when scaling downStephan Gerhold1-8/+19
2020-09-16opp: Reduce code duplication in _set_required_opps()Stephan Gerhold1-21/+22
2020-09-16opp: Drop unnecessary check from dev_pm_opp_attach_genpd()Viresh Kumar1-6/+0
2020-09-16Merge branch 'opp/defer-probe' into HEADViresh Kumar2-37/+59
2020-09-16opp: Handle multiple calls for same OPP table in _of_add_opp_table_v1()Viresh Kumar1-11/+24
2020-09-01Merge branch 'opp/fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Rafael J. Wysocki2-7/+17
2020-08-31opp: Don't drop reference for an OPP table that was never parsedViresh Kumar2-7/+17
2020-08-25opp: Allow dev_pm_opp_get_opp_table() to return -EPROBE_DEFERStephan Gerhold2-26/+35
2020-08-24opp: Remove _dev_pm_opp_find_and_remove_table() wrapperViresh Kumar4-16/+10
2020-08-24opp: Split out _opp_set_rate_zero()Viresh Kumar1-23/+29
2020-08-24opp: Reuse the enabled flag in !target_freq pathViresh Kumar1-18/+11
2020-08-24opp: Rename regulator_enabled and use it as status of all resourcesViresh Kumar2-12/+11
2020-08-20opp: Enable resources again if they were disabled earlierRajendra Nayak1-4/+7
2020-08-17opp: Put opp table in dev_pm_opp_set_rate() if _set_opp_bw() failsStephen Boyd1-1/+1
2020-08-17opp: Put opp table in dev_pm_opp_set_rate() for empty tablesStephen Boyd1-2/+4
2020-08-04Merge branch 'cpufreq/arm/linux-next' of git://git.kernel.org/pub/scm/linux/k...Rafael J. Wysocki1-0/+31
2020-08-03Merge branches 'pm-em' and 'pm-core'Rafael J. Wysocki1-31/+45
2020-07-30OPP: Add and export helper to set bandwidthSibi Sankar1-0/+31
2020-07-24opp: Allow disabled OPPs in dev_pm_opp_get_freq()Andrew-sh.Cheng1-1/+1
2020-07-24opp: ti-opp-supply: Replace HTTP links with HTTPS onesAlexander A. Klimov1-1/+1
2020-07-24opp: core: Add missing export for dev_pm_opp_adjust_voltageValdis Klētnieks1-0/+1
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-14treewide: replace '---help---' in Kconfig files with 'help'Masahiro Yamada1-1/+1
2020-06-01opp: Don't parse icc paths unnecessarilySibi Sankar1-1/+44
2020-05-29opp: Remove bandwidth votes when target_freq is zeroViresh Kumar1-12/+37
2020-05-29opp: core: add regulators enable and disableKamil Konieczny2-2/+28