aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/regulator/core.c
AgeCommit message (Expand)AuthorFilesLines
6 daysMerge tag 'regulator-v6.10' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-2/+2
11 daysregulator: core: fix debugfs creation regressionJohan Hovold1-11/+16
13 daysregulator: Mention regulator id in error message about dummy suppliesUwe Kleine-König1-2/+2
2024-03-12regulator: core: Propagate the regulator state in case of exclusive getKory Maincent1-0/+11
2024-03-05regulator: core: make regulator_class constantRicardo B. Marliere1-1/+1
2024-02-19regulator: core: Remove redundant assignment to variable possible_uVColin Ian King1-1/+0
2023-12-06regulator: event: Add regulator netlink event supportNaresh Solanki1-1/+18
2023-11-13regulator: add under-voltage support (part 2)Mark Brown1-0/+38
2023-11-13regulator: core: Only increment use_count when enable_count changesRui Zhang1-26/+30
2023-11-13regulator: core: Add option to prevent disabling unused regulatorsJavier Martinez Canillas1-0/+17
2023-11-13regulator: Implement uv_survival_time for handling under-voltage eventsOleksij Rempel1-1/+1
2023-11-13regulator: Introduce handling for system-critical under-voltage eventsOleksij Rempel1-0/+38
2023-09-26regulator/core: Revert "fix kobject release warning and memory leak in regula...Michał Mirosław1-5/+1
2023-09-26regulator/core: regulator_register: set device->class earlierMichał Mirosław1-2/+2
2023-05-25regulator: core: Streamline debugfs operationsGeert Uytterhoeven1-17/+13
2023-05-25regulator: core: Fix more error checking for debugfs_create_dir()Geert Uytterhoeven1-1/+1
2023-05-16regulator: Fix error checking for debugfs_create_dirOsama Muhammad1-2/+2
2023-04-18regulator: core: Make regulator_lock_two() logic easier to followDouglas Anderson1-19/+12
2023-04-06regulator: core: Avoid lockdep reports when resolving suppliesDouglas Anderson1-8/+83
2023-04-06regulator: core: Consistently set mutex_owner when using ww_mutex_lock_slow()Douglas Anderson1-0/+2
2023-03-14regulator: core: Shorten off-on-delay-us for always-on/boot-on by time since ...Douglas Anderson1-4/+3
2023-02-23regulator: core: Use ktime_get_boottime() to determine how long a regulator w...Matthias Kaehlcke1-3/+3
2022-12-23Merge tag 'regulator-fix-v6.2-rc1' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds1-2/+2
2022-12-15regulator: core: fix deadlock on regulator enableJohan Hovold1-1/+1
2022-12-14regulator: core: Fix resolve supply lookup issueChiYuan Huang1-1/+1
2022-12-13Merge tag 'regulator-v6.2' of git://git.kernel.org/pub/scm/linux/kernel/git/b...Linus Torvalds1-24/+39
2022-12-08regulator: core: Use different devices for resource allocation and DT lookupChiYuan Huang1-4/+4
2022-12-02regulator: core: fix resource leak in regulator_register()Yang Yingliang1-0/+1
2022-12-01regulator: core: fix module refcount leak in set_supply()Yang Yingliang1-0/+1
2022-12-01regulator: core: fix use_count leakage when handling boot-onRui Zhang1-1/+7
2022-11-25Merge tag 'regulator-fix-v6.1-rc6' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds1-2/+6
2022-11-23regulator: core: use kfree_const() to free space conditionallyWang ShaoBo1-1/+1
2022-11-16regulator: core: fix UAF in destroy_regulator()Yang Yingliang1-1/+1
2022-11-16regulator: core: fix kobject release warning and memory leak in regulator_reg...Zeng Heng1-1/+5
2022-11-15regulator: core: fix unbalanced of node refcount in regulator_dev_lookup()Yang Yingliang1-0/+1
2022-11-03regulator: devres: Add devm_regulator_bulk_get_exclusive()Zev Weiss1-18/+24
2022-10-04Merge tag 'regulator-v6.1' of git://git.kernel.org/pub/scm/linux/kernel/git/b...Linus Torvalds1-35/+63
2022-09-09regulator: core: Prevent integer underflowPatrick Rudolph1-1/+1
2022-09-08Merge tag 'regulator-fix-v6.0-rc4' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds1-2/+7
2022-08-29regulator: core: Fix regulator supply registration with sysfsChristian Kohlschütter1-23/+21
2022-08-25regulator: core: Don't err if allow-set-load but no allowed-modesDouglas Anderson1-0/+12
2022-08-25regulator: core: Require regulator drivers to check uV for get_optimum_mode()Douglas Anderson1-8/+14
2022-08-22regulator: core: Remove "ramp_delay not set" debug messageChristian Kohlschütter1-3/+1
2022-08-22regulator: core: Clean up on enable failureAndrew Halaney1-2/+7
2022-08-18regulator: core: Resolve supply name earlier to prevent double-initChristian Kohlschütter1-19/+33
2022-08-10regulator: core: Fix missing error return from regulator_bulk_get()Douglas Anderson1-1/+1
2022-07-28regulator: Consumer load management improvementsMark Brown1-8/+12
2022-07-27regulator: core: Allow specifying an initial load w/ the bulk APIDouglas Anderson1-8/+12
2022-07-19regulator: core: Fix off-on-delay-us for always-on/boot-on regulatorsChristian Kohlschütter1-2/+3
2022-05-17Merge remote-tracking branch 'regulator/for-5.19' into regulator-nextMark Brown1-14/+72
2022-05-05regulator: core: Fix enable_count imbalance with EXCLUSIVE_GETZev Weiss1-2/+5
2022-05-04regulator: core: Add error flags to sysfs attributesZev Weiss1-0/+45
2022-04-21regulator: core: Sleep (not delay) in set_voltage()Brian Norris1-6/+1
2022-04-21regulator: core: Rename _regulator_enable_delay()Brian Norris1-8/+8
2022-04-04regulator: Flag uncontrollable regulators as always_onMark Brown1-0/+18
2022-02-08regulator: core: fix false positive in regulator_late_cleanup()Oliver Barta1-10/+3
2021-11-01Merge tag 'regulator-v5.16' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-4/+8
2021-10-23regulator: Don't error out fixed regulator in regulator_sync_voltage()Dmitry Osipenko1-0/+3
2021-09-30regulator: Lower priority of logging when setting supplyMark Brown1-1/+1
2021-09-17kernel/locking: Add context to ww_mutex_trylock()Maarten Lankhorst1-1/+1
2021-09-13regulator: core: resolve supply voltage deferral silentlyBrian Norris1-3/+4
2021-06-23Merge remote-tracking branch 'regulator/for-5.14' into regulator-nextMark Brown1-89/+227
2021-06-21Merge series "Extend regulator notification support" from Matti Vaittinen <ma...Mark Brown1-19/+144
2021-06-21regulator: add property parsing and callbacks to set protection limitsMatti Vaittinen1-1/+121
2021-06-21regulator: IRQ based event/error notification helpersMatti Vaittinen1-7/+22
2021-06-21regulator: move rdev_print helpers to internal.hMatti Vaittinen1-11/+1
2021-06-14Merge tag 'for-5.14-regulator' of git://git.kernel.org/pub/scm/linux/kernel/g...Mark Brown1-0/+23
2021-06-02regulator: core: Use DEVICE_ATTR_RO macroYueHaibing1-70/+60
2021-06-01regulator: core: Add regulator_sync_voltage_rdev()Dmitry Osipenko1-0/+23
2021-05-20regulator: core: resolve supply for boot-on/always-on regulatorsDmitry Baryshkov1-0/+6
2021-04-23regulator: core: Fix off_on_delay handlingVincent Whitchurch1-25/+8
2021-04-23Merge branch 'for-5.12' of https://git.kernel.org/pub/scm/linux/kernel/git/br...Mark Brown1-0/+2
2021-04-22regulator: core: Respect off_on_delay at startupVincent Whitchurch1-0/+2
2021-04-21regulator: core.c: Improve a commentSebastian Fricke1-1/+4
2021-04-21regulator: core.c: Fix indentation of commentShubhankar Kuranagatti1-7/+14
2021-02-12Merge remote-tracking branch 'regulator/for-5.12' into regulator-nextMark Brown1-7/+11
2021-01-25regulator: core: Avoid debugfs: Directory ... already present! errorHans de Goede1-3/+3
2021-01-22regulator: Make regulator_sync_voltage() usable by coupled regulatorsDmitry Osipenko1-1/+5
2021-01-22regulator: Fix lockdep warning resolving suppliesMark Brown1-12/+17
2021-01-08regulator: core: avoid regulator_resolve_supply() race conditionDavid Collins1-11/+28
2021-01-04regulator: core.c: Replace references to non-existent functionDaniel Scally1-3/+3
2020-12-11Merge remote-tracking branch 'regulator/for-5.11' into regulator-nextMark Brown1-1/+13
2020-11-26regulator: core: return zero for selectors lower than linear_min_selClaudiu Beznea1-4/+6
2020-11-13regulator: core: do not continue if selector matchClaudiu Beznea1-0/+3
2020-11-13Merge series "regulator: mcp16502: add support for ramp delay" from Claudiu B...Mark Brown1-2/+7
2020-11-13regulator: core: validate selector against linear_min_selClaudiu Beznea1-2/+7
2020-11-13regulator: debug early supply resolvingMichał Mirosław1-0/+2
2020-11-13regulator: workaround self-referent regulatorsMichał Mirosław1-1/+4
2020-11-13regulator: avoid resolve_supply() infinite recursionMichał Mirosław1-0/+6
2020-11-13regulator: fix memory leak with repeated set_machine_constraints()Michał Mirosław1-16/+13
2020-11-11Merge branch 'for-5.10' of https://git.kernel.org/pub/scm/linux/kernel/git/br...Mark Brown1-2/+5
2020-11-10regulator: core: don't disable regulator if is_enabled return error.Pi-Hsun Shih1-2/+3
2020-11-03regulator: defer probe when trying to get voltage from unresolved supplyMichał Mirosław1-0/+2
2020-10-28regulator: fix a kernel-doc markupMauro Carvalho Chehab1-1/+1
2020-10-05Merge remote-tracking branch 'regulator/for-5.10' into regulator-nextMark Brown1-96/+143
2020-10-05regulator: Make constraint debug processing conditional on DEBUGGeert Uytterhoeven1-1/+12
2020-10-01regulator: core: Enlarge max OF property name length to 64 charsAngeloGioacchino Del Regno1-2/+2
2020-09-28regulator: resolve supply after creating regulatorMichał Mirosław1-8/+13
2020-09-28regulator: print symbolic errors in kernel messagesMichał Mirosław1-45/+49
2020-09-28regulator: print state at bootMichał Mirosław1-2/+7
2020-09-22regulator: fix indentation issueColin Ian King1-1/+1
2020-09-21regulator: unexport regulator_lock/unlock()Michał Mirosław1-4/+2
2020-09-17Merge series "Support ROHM BD9576MUF and BD9573MUF PMICs" from Matti Vaittine...Mark Brown1-1/+1
2020-09-11Merge tag 'regulator-fix-v5.9-rc4' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds1-83/+96
2020-09-07regulator: don't require mutex for regulator_notifier_call_chain()Michał Mirosław1-4/+1
2020-09-01regulator: core: Fix slab-out-of-bounds in regulator_unlock_recursive()Dmitry Osipenko1-6/+9
2020-08-23treewide: Use fallthrough pseudo-keywordGustavo A. R. Silva1-1/+1
2020-08-18Merge series "regulator: fix deadlock vs memory reclaim" from Michał Mirosł...Mark Brown1-73/+87
2020-08-18regulator: Remove pointer table overallocationMichał Mirosław1-5/+5
2020-08-18regulator: Avoid grabbing regulator lock during suspend/resumeStephen Boyd1-24/+51
2020-08-17regulator: remove superfluous lock in regulator_resolve_coupling()Michał Mirosław1-4/+0
2020-08-17regulator: cleanup regulator_ena_gpio_free()Michał Mirosław1-12/+12
2020-08-17regulator: plug of_node leak in regulator_register()'s error pathMichał Mirosław1-9/+4
2020-08-17regulator: push allocation in set_consumer_device_supply() out of lockMichał Mirosław1-20/+26
2020-08-17regulator: push allocations in create_regulator() outside of lockMichał Mirosław1-25/+28
2020-08-17regulator: push allocation in regulator_ena_gpio_request() out of lockMichał Mirosław1-5/+14
2020-08-17regulator: push allocation in regulator_init_coupling() outside of lockMichał Mirosław1-2/+3
2020-07-24regulator: fix memory leak on error path of regulator_register()Vladimir Zapolskiy1-11/+7
2020-07-20regulator: core: Add destroy_regulator()Saravana Kannan1-13/+21
2020-07-15regulator: Allow regulators to verify enabled during enable()Sumit Semwal1-1/+62
2020-05-29regulator: core: Add regulator bypass trace pointsCharles Keepax1-0/+9
2020-05-29Merge series "Fix regulators coupling for Exynos5800" from Marek Szyprowski <...Mark Brown1-20/+29
2020-05-29regulator: extract voltage balancing code to the separate functionMarek Szyprowski1-20/+29
2020-05-20Merge series "MAINTAINER entries for few ROHM power devices" from Matti Vaitt...Mark Brown1-14/+11
2020-04-29regulator: Revert "Use driver_deferred_probe_timeout for regulator_init_compl...John Stultz1-14/+11
2020-04-14regulator: use consumer->supply_name in debugfs/regulator_summaryMichał Mirosław1-0/+1
2020-03-30Merge tag 'regulator-spi-v5.7' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-4/+1
2020-03-13regulator: core: Avoid device name duplication in NORMAL_GETAndy Shevchenko1-4/+1
2020-03-04regulator: Use driver_deferred_probe_timeout for regulator_init_complete_workJohn Stultz1-11/+14
2020-01-23Merge branch 'regulator-5.5' into regulator-linusMark Brown1-0/+2
2020-01-20regulator: core: Fix exported symbols to the exported GPL versionEnric Balletbo i Serra1-2/+2
2020-01-17regulator: vctrl-regulator: Avoid deadlock getting and setting the voltageEnric Balletbo i Serra1-0/+2
2019-12-17Merge tag 'regulator-fix-v5.5-rc2' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds1-4/+12
2019-12-09regulator: core: avoid unneeded .list_voltage callsCristian Marussi1-0/+4
2019-12-03regulator: core: fix regulator_register() error paths to properly release rdevWen Yang1-2/+6
2019-11-27regulator: fix use after free issueWen Yang1-2/+2
2019-11-22Merge branch 'regulator-5.5' into regulator-nextMark Brown1-1/+9
2019-11-15regulator: core: Let boot-on regulators be powered offPascal Paillet1-1/+3
2019-11-15regulator: core: Don't try to remove device links if add failedSaravana Kannan1-2/+6
2019-10-28regulator: core: Allow generic coupling only for always-on regulatorsDmitry Osipenko1-0/+6
2019-10-28regulator: core: Release coupled_rdevs on regulator_init_coupling() errorDmitry Osipenko1-0/+1
2019-09-17regulator: core: make regulator_register() EPROBE_DEFER awareMarco Felsch1-0/+13
2019-09-11regulator: core: Fix error return for /sys accessH. Nikolaus Schaller1-3/+5
2019-09-04regulator: Defer init completion for a while after late_initcallMark Brown1-11/+31
2019-08-15regulator: core: Add label to collate of_node_put() statementsNishka Dasgupta1-6/+7
2019-08-05regulator: core: Add of_node_put() before returnNishka Dasgupta1-1/+4
2019-07-09Merge tag 'docs-5.3' of git://git.lwn.net/linuxLinus Torvalds1-1/+1
2019-07-04Merge remote-tracking branch 'regulator/topic/coupled' into regulator-nextMark Brown1-51/+143
2019-07-04regulator: implement selector steppingBartosz Golaszewski1-0/+63
2019-06-25regulator: core: Expose some of core functions needed by couplersDmitry Osipenko1-31/+27
2019-06-25regulator: core: Introduce API for regulators coupling customizationDmitry Osipenko1-20/+116
2019-06-18regulator: core: Make entire header comment C++ styleMark Brown1-8/+7
2019-06-18Merge tag 'v5.2-rc4' into regulator-5.3Mark Brown1-6/+1
2019-06-14docs: timers: convert docs to ReST and rename to *.rstMauro Carvalho Chehab1-1/+1
2019-05-30treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152Thomas Gleixner1-6/+1
2019-05-08regulator: core: Slightly improve readability of _regulator_get_enable_timeAxel Lin1-3/+3
2019-05-06Merge branch 'regulator-5.2' into regulator-nextMark Brown1-6/+9
2019-05-03regulator: core: simplify return value on suported_voltageJorge Ramirez-Ortiz1-2/+2
2019-04-26regulator: core: do not report EPROBE_DEFER as error but as debugJorge Ramirez-Ortiz1-2/+7
2019-04-25regulator: core: Actually put the gpiod after useLinus Walleij1-0/+1
2019-04-05regulator: core: Avoid potential deadlock on regulator_unregisterCharles Keepax1-1/+2
2019-03-19regulator: core: fix error path for regulator_set_voltage_unlockedSteve Twiss1-7/+4
2019-03-18regulator: core: Fix application of "drop lockdep annotation in drms_uA_updat...Mark Brown1-2/+0
2019-02-21regulator: core: Log forbidden DRMS operationMarc Gonzalez1-1/+3
2019-02-19Merge branch 'regulator-5.0' into regulator-5.1 stpmic1 const/rangeMark Brown1-9/+3
2019-02-19regulator: core: Drop lockdep annotation in drms_uA_update()Niklas Cassel1-2/+0
2019-02-18regulator: core: remove unused rdev_get_supply()Masahiro Yamada1-8/+0
2019-02-15regulator: core: Take lock before applying system loadNiklas Cassel1-0/+2
2019-02-08regulator: fix device unlinkingGuennadi Liakhovetski1-9/+1
2019-02-06regulator: core: Only support passing enable GPIO descriptorsLinus Walleij1-26/+6
2019-02-06regulator: fixed/gpio: Pull inversion/OD into gpiolibLinus Walleij1-6/+2
2019-01-09regulator: provide rdev_get_regmap()Bartosz Golaszewski1-0/+6
2019-01-08regulator: Fix trivial language typosKrzysztof Kozlowski1-8/+8
2018-12-21Merge remote-tracking branch 'regulator/topic/coupled' into regulator-nextMark Brown1-10/+2
2018-12-20regulator: convert to DEFINE_SHOW_ATTRIBUTEYangtao Li1-32/+5
2018-12-11regulator: core: Clean enabling always-on regulators + their suppliesDouglas Anderson1-3/+16
2018-12-11Merge branch 'for-linus' of https://git.kernel.org/pub/scm/linux/kernel/git/b...Mark Brown1-11/+11
2018-12-11regulator: core: Track dangling GPIO descriptorsLinus Walleij1-10/+45
2018-11-26regulator: core: Apply system load even if no consumer loadsDouglas Anderson1-0/+6
2018-11-26regulator: core: enable power when setting up constraintsOlliver Schinagl1-11/+11
2018-11-22regulator: core: Avoid propagating to supplies when possibleDouglas Anderson1-7/+7
2018-11-22regulator: core: Only count load for enabled consumersDouglas Anderson1-51/+142
2018-11-20regulator: core: Don't double-disable supplies in regulator_disable_deferred()Douglas Anderson1-10/+0
2018-11-20regulator: core: Properly expose requested_microamps in sysfsDouglas Anderson1-4/+0
2018-11-20regulator: core: Export regulator_lock and regulator_unlockDmitry Osipenko1-0/+2
2018-11-19Merge branch 'topic/coupled' of https://git.kernel.org/pub/scm/linux/kernel/g...Mark Brown1-125/+707
2018-11-19regulator: core: Keep regulators-list locked while traversing the listDmitry Osipenko1-1/+8
2018-11-19regulator: core: Properly handle case where supply is the coupleDmitry Osipenko1-2/+17
2018-11-19regulator: core: Use ww_mutex for regulators lockingDmitry Osipenko1-97/+306
2018-11-15regulator/of_get_regulator: add child path to find the regulator supplierzoro1-0/+35
2018-11-08regulator: core: Decouple regulators on regulator_unregister()Dmitry Osipenko1-0/+38
2018-11-08regulator: core: Add new max_uV_step constraintDmitry Osipenko1-0/+41
2018-11-08regulator: core: Don't allow to get regulator until all couples resolvedDmitry Osipenko1-0/+10
2018-11-08regulator: core: Mutually resolve regulators couplingDmitry Osipenko1-37/+17
2018-11-08regulator: core: Change voltage setting pathMaciej Purski1-46/+99
2018-11-08regulator: core: Add voltage balancing mechanismMaciej Purski1-0/+229
2018-09-28Merge tag 'bd71847-support' into regulator-4.20Mark Brown1-2/+7
2018-09-28regulator: Support regulators where voltage ranges are selectableMatti Vaittinen1-0/+5
2018-09-20regulator: fix crash caused by null driver dataYu Zhao1-1/+1
2018-09-04regulator: fix kernel-doc for regulator_suspend()Randy Dunlap1-1/+1