aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/clk-provider.h
AgeCommit message (Expand)AuthorFilesLines
2024-02-21clk: fixed-factor: add fwname-based constructor functionsThéo Lebrun1-0/+14
2024-02-21clk: fixed-factor: add optional accuracy supportThéo Lebrun1-1/+11
2023-12-19clk: fixed-rate: fix clk_hw_register_fixed_rate_with_accuracy_parent_hwThéo Lebrun1-2/+2
2023-10-13clk: linux/clk-provider.h: fix kernel-doc warnings and typosRandy Dunlap1-7/+8
2023-08-22clk: Annotate struct clk_hw_onecell_data with __counted_byKees Cook1-1/+1
2023-06-26Merge branches 'clk-imx', 'clk-microchip', 'clk-cleanup', 'clk-bindings', 'cl...Stephen Boyd1-1/+1
2023-06-20clk: fix typo in clk_hw_register_fixed_rate_parent_data() macroClaudiu Beznea1-1/+1
2023-06-08clk: Introduce clk_hw_determine_rate_no_reparent()Stephen Boyd1-0/+2
2023-04-29Merge tag 'clk-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/cl...Linus Torvalds1-2/+19
2023-04-25Merge branch 'clk-imx' into clk-nextStephen Boyd1-1/+1
2023-04-25Merge branches 'clk-starfive', 'clk-fractional' and 'clk-devmof' into clk-nextStephen Boyd1-2/+0
2023-04-05clk: Remove mmask and nmask fields in struct clk_fractional_dividerChristophe JAILLET1-2/+0
2023-03-31clk: Introduce devm_clk_hw_register_gate_parent_data()Marek Vasut1-0/+19
2023-03-20clk: Add Sunplus SP7021 clock driverQin Jian1-0/+19
2023-03-09clk: Avoid invalid function names in CLK_OF_DECLARE()Nathan Chancellor1-2/+2
2023-03-06clk: Mark a fwnode as initialized when using CLK_OF_DECLARE() macroSaravana Kannan1-1/+7
2022-12-07clk: Store clk_core for clk_rate_requestMaxime Ripard1-0/+2
2022-10-14Merge branch 'clk-rate-range' into clk-nextStephen Boyd1-2/+16
2022-10-04Merge branches 'clk-fixed-rate', 'clk-spreadtrum', 'clk-pxa' and 'clk-ti' int...Stephen Boyd1-7/+41
2022-10-04Merge branches 'clk-samsung', 'clk-mtk', 'clk-rm', 'clk-ast' and 'clk-qcom' i...Stephen Boyd1-0/+14
2022-10-03clk: introduce (devm_)hw_register_mux_parent_data_table APIChristian Marangi1-0/+14
2022-09-30clk: Remove never used devm_of_clk_del_provider()Andy Shevchenko1-2/+2
2022-09-29clk: fixed-rate: add devm_clk_hw_register_fixed_rateDmitry Baryshkov1-8/+21
2022-09-29clk: asm9260: use parent index to link the reference clockDmitry Baryshkov1-0/+21
2022-09-15clk: Introduce the clk_hw_get_rate_range functionMaxime Ripard1-0/+2
2022-09-15clk: Stop forwarding clk_rate_requests to the parentMaxime Ripard1-0/+5
2022-09-15clk: Introduce clk_hw_init_rate_request()Maxime Ripard1-0/+6
2022-09-15clk: Mention that .recalc_rate can return 0 on errorMaxime Ripard1-2/+3
2022-08-02Merge branches 'clk-basic', 'clk-mtk', 'clk-devm-enable' and 'clk-ti-dt' into...Stephen Boyd1-2/+34
2022-07-29clk: fixed-factor: Introduce *clk_hw_register_fixed_factor_parent_hw()Marijn Suijten1-0/+8
2022-07-29clk: mux: Introduce devm_clk_hw_register_mux_parent_hws()Marijn Suijten1-0/+7
2022-07-29clk: divider: Introduce devm_clk_hw_register_divider_parent_hw()Marijn Suijten1-0/+19
2022-06-22clk: Remove never used devm_clk_*unregister()Andy Shevchenko1-2/+0
2022-03-29Merge branches 'clk-mvebu', 'clk-const', 'clk-imx' and 'clk-rockchip' into cl...Stephen Boyd1-6/+6
2022-03-18clk: fixed-factor: Introduce devm_clk_hw_register_fixed_factor_index()Marek Vasut1-0/+3
2022-02-25clk: mux: Declare u32 *table parameter as constJonathan Neuschäfer1-6/+6
2021-12-08clk: gate: Add devm_clk_hw_register_gate()Horatiu Vultur1-0/+23
2021-09-01Merge branch 'clk-frac-divider' into clk-nextStephen Boyd1-3/+9
2021-08-12clk: fractional-divider: Introduce POWER_OF_TWO_PS flagAndy Shevchenko1-0/+7
2021-08-12clk: fractional-divider: Hide clk_fractional_divider_ops from wide audienceAndy Shevchenko1-1/+0
2021-08-05clk: Align provider-specific CLK_* bit definitionsGeert Uytterhoeven1-5/+5
2021-06-30clk: divider: Add re-usable determine_rate implementationsMartin Blumenstingl1-0/+6
2021-04-07clk: divider: add devm_clk_hw_register_dividerDmitry Baryshkov1-0/+17
2021-04-07clk: mux: provide devm_clk_hw_register_mux()Dmitry Baryshkov1-0/+13
2021-02-14clk: fixed: add devm helper for clk_hw_register_fixed_factor()Daniel Palmer1-1/+3
2020-12-20Merge branches 'clk-amlogic', 'clk-rockchip', 'clk-of', 'clk-freescale' and '...Stephen Boyd1-0/+34
2020-12-07clk: divider: add devm_clk_hw_register_divider_table()Michael Walle1-0/+27
2020-12-07clk: composite: add devm_clk_hw_register_composite_pdata()Michael Walle1-0/+7
2020-11-14clk: add api to get clk consumer from clk_hwJerome Brunet1-0/+5
2020-08-03Merge branches 'clk-microchip', 'clk-mmp', 'clk-unused' and 'clk-at91' into c...Stephen Boyd1-1/+0
2020-08-03clk: drop unused function __clk_get_flagsJulia Lawall1-1/+0
2020-07-20clk: <linux/clk-provider.h>: drop a duplicated wordRandy Dunlap1-1/+1
2020-03-25clk: Pass correct arguments to __clk_hw_register_gate()Stephen Boyd1-5/+5
2020-01-31Merge branches 'clk-imx', 'clk-ti', 'clk-xilinx', 'clk-nvidia', 'clk-qcom', '...Stephen Boyd1-0/+13
2020-01-31Merge branches 'clk-debugfs-danger', 'clk-basic-hw', 'clk-renesas', 'clk-amlo...Stephen Boyd1-82/+336
2020-01-28clk: composite: add _register_composite_pdata() variantsMichael Walle1-0/+13
2020-01-07clk: divider: Add support for specifying parents via DT/pointersStephen Boyd1-13/+142
2020-01-06clk: gate: Add support for specifying parents via DT/pointersStephen Boyd1-3/+56
2020-01-06clk: mux: Add support for specifying parents via DT/pointersStephen Boyd1-18/+38
2020-01-06clk: fixed-rate: Document that accuracy isn't a rateStephen Boyd1-1/+1
2020-01-06clk: fixed-rate: Add clk flags for parent accuracyStephen Boyd1-0/+6
2020-01-05clk: fixed-rate: Add support for specifying parents via DT/pointersStephen Boyd1-6/+94
2020-01-05clk: fixed-rate: Document accuracy memberStephen Boyd1-0/+1
2020-01-05clk: fixed-rate: Move to_clk_fixed_rate() to C fileStephen Boyd1-2/+0
2020-01-05clk: fixed-rate: Remove clk_register_fixed_rate_with_accuracy()Stephen Boyd1-3/+0
2020-01-05clk: gpio: Use DT way of specifying parentsStephen Boyd1-38/+0
2019-12-23clk: add terminate callback to clk_opsJerome Brunet1-0/+3
2019-12-23clk: let init callback return an error codeJerome Brunet1-3/+7
2019-11-11clk: Add API to get index of the clock parentSowjanya Komatineni1-0/+1
2019-09-19Merge branches 'clk-init-destroy', 'clk-doc', 'clk-imx' and 'clk-allwinner' i...Stephen Boyd1-1/+2
2019-08-16clk: Overwrite clk_hw::init with NULL during clk_register()Stephen Boyd1-1/+2
2019-08-09clk: core: introduce clk_hw_set_parent()Neil Armstrong1-0/+1
2019-07-12Merge branches 'clk-rpi-cpufreq', 'clk-tegra', 'clk-simplify-provider.h', 'cl...Stephen Boyd1-7/+7
2019-07-12clk: consoldiate the __clk_get_hw() declarationsStephen Rothwell1-0/+7
2019-06-18clk: fixed-factor: Add CLK_FIXED_FACTOR_FW_NAME for DT clock-names parentChen-Yu Tsai1-0/+11
2019-06-18clk: fixed-factor: Add CLK_FIXED_FACTOR_HWS which takes list of struct clk_hw *Chen-Yu Tsai1-0/+15
2019-06-18clk: fixed-factor: Add CLK_FIXED_FACTOR_HW which takes clk_hw pointer as parentChen-Yu Tsai1-0/+11
2019-06-18clk: Add CLK_HW_INIT_PARENT_DATA macro using .parent_dataChen-Yu Tsai1-0/+9
2019-06-18clk: Add CLK_HW_INIT_FW_NAME macro using .fw_name in .parent_dataChen-Yu Tsai1-0/+11
2019-06-18clk: Add CLK_HW_INIT_* macros using .parent_hwsChen-Yu Tsai1-0/+32
2019-05-23clk: Unexport __clk_of_tableStephen Boyd1-4/+0
2019-05-23clk: Remove ifdef for COMMON_CLK in clk-provider.hStephen Boyd1-3/+0
2019-05-15clk: Remove io.h from clk-provider.hStephen Boyd1-1/+0
2019-05-07Merge branch 'clk-parent-rewrite-1' into clk-nextStephen Boyd1-0/+22
2019-05-07Merge branch 'clk-ti' into clk-nextStephen Boyd1-1/+1
2019-05-07Merge branches 'clk-doc', 'clk-more-critical', 'clk-meson' and 'clk-basic-be'...Stephen Boyd1-59/+31
2019-04-26clk: Remove CLK_IS_BASIC clk flagStephen Boyd1-1/+1
2019-04-23clk: core: replace clk_{readl,writel} with {readl,writel}Jonas Gorski1-15/+0
2019-04-23clk: core: remove powerpc special handlingJonas Gorski1-16/+0
2019-04-23clk: mux: add explicit big endian supportJonas Gorski1-0/+4
2019-04-23clk: multiplier: add explicit big endian supportJonas Gorski1-0/+4
2019-04-23clk: gate: add explicit big endian supportJonas Gorski1-0/+4
2019-04-23clk: fractional-divider: add explicit big endian supportJonas Gorski1-0/+4
2019-04-23clk: divider: add explicit big endian supportJonas Gorski1-0/+4
2019-04-19clk: Allow parents to be specified via clkspec indexStephen Boyd1-0/+2
2019-04-19clk: Allow parents to be specified without string namesStephen Boyd1-0/+19
2019-04-19clk: Add of_clk_hw_register() API for early clk driversStephen Boyd1-0/+1
2019-04-02clk: Drop duplicate clk_register() documentationStephen Boyd1-11/+0
2019-02-22clk: fractional-divider: check parent rate only if flag is setKatsuhiro Suzuki1-0/+3
2019-01-24clk: Remove 'flags' member of struct clk_fixed_rateStephen Boyd1-1/+0
2019-01-24clk: Document CLK_MUX_READ_ONLY mux flagStephen Boyd1-0/+2
2019-01-24clk: Document deprecated thingsStephen Boyd1-1/+1
2019-01-24clk: Collapse gpio clk kerneldocStephen Boyd1-15/+8
2018-12-14Merge branches 'clk-imx7ulp', 'clk-imx6-fixes', 'clk-imx-fixes', 'clk-imx8qxp...Stephen Boyd1-0/+8
2018-12-11clk: Tag clk core files with SPDXStephen Boyd1-6/+1
2018-12-03clk: fractional-divider: add CLK_FRAC_DIVIDER_ZERO_BASED flag supportA.s. Dong1-0/+8
2018-10-03clk: clk: Add clk_gate_restore_context functionKeerthy1-0/+2
2018-10-03clk: Add functions to save/restore clock context en-masseRuss Dill1-0/+7
2018-06-19clk: add duty cycle supportJerome Brunet1-0/+26
2018-06-09Merge tag 'clk-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/cl...Linus Torvalds1-21/+2
2018-06-04Merge branches 'clk-imx7d', 'clk-hisi-stub', 'clk-mvebu', 'clk-imx6-epit' and...Stephen Boyd1-6/+1
2018-06-04Merge branches 'clk-qcom-rpmh', 'clk-npcm7xx', 'clk-of-parent-count' and 'clk...Stephen Boyd1-13/+1
2018-06-01clk: Return void from debug_init opStephen Boyd1-1/+1
2018-06-01clk: remove clk_debugfs_add_file()Greg Kroah-Hartman1-5/+0
2018-05-02clk: Extract OF clock helpers in <linux/of_clk.h>Geert Uytterhoeven1-13/+1
2018-04-19clk: Remove clk_init_cb typedefGeert Uytterhoeven1-2/+0
2018-04-16clk: honor CLK_MUX_ROUND_CLOSEST in generic clk muxJerome Brunet1-0/+3
2018-03-12clk: divider: read-only divider can propagate rate changeJerome Brunet1-0/+15
2018-03-12clk: fix mux clock documentationJerome Brunet1-1/+2
2018-03-12clk: mux: add helper function for index/value translationJerome Brunet1-0/+4
2018-03-12clk: divider: export clk_div_mask() helperJerome Brunet1-0/+1
2018-01-26Merge branches 'clk-remove-asm-clkdev', 'clk-debugfs-fixes', 'clk-renesas' an...Stephen Boyd1-0/+2
2018-01-26Merge branch 'clk-divider-container' into clk-nextStephen Boyd1-1/+1
2018-01-26Merge branches 'clk-spreadtrum', 'clk-mvebu-dvfs', 'clk-qoriq', 'clk-imx' and...Stephen Boyd1-0/+38
2018-01-10clk: Show symbolic clock flags in debugfsGeert Uytterhoeven1-0/+2
2017-12-28clk: divider: fix incorrect usage of container_ofJerome Brunet1-1/+1
2017-12-21clk: move clock common macros out from vendor directoriesChunyan Zhang1-0/+38
2017-12-19clk: add clock protection mechanism to clk coreJerome Brunet1-0/+1
2017-11-14Merge branch 'clk-gpio' into clk-nextStephen Boyd1-6/+6
2017-11-02clk: clk-gpio: Make GPIO clock provider use descriptors onlyLinus Walleij1-6/+6
2017-11-01clk: Add devm_of_clk_add_hw_provider()/del_provider() APIsStephen Boyd1-0/+13
2017-08-31clk: gate: expose clk_gate_ops::is_enabledGabriel Fernandez1-0/+1
2017-08-08clk: fractional-divider: allow overriding of approximationElaine Zhang1-0/+3
2017-06-07clk: divider: Make divider_round_rate take the parent clockMaxime Ripard1-3/+13
2016-10-17clk: core: add __init decoration for CLK_OF_DECLARE_DRIVER functionShawn Guo1-1/+1
2016-09-23clk: change the type of clk_hw_onecell_data.num to unsigned intMasahiro Yamada1-1/+1
2016-08-26clk: return unsigned int in dummy non-OF of_clk_get_parent_count()Rafał Miłecki1-1/+1
2016-08-12clk: core: New macro CLK_OF_DECLARE_DRIVERRicardo Ribalda Delgado1-0/+12
2016-07-01clk: core: support clocks which requires parents enable (part 1)Dong Aisheng1-0/+2
2016-06-30Merge branch 'clk-hw-unregister-fixed-rate' into clk-nextStephen Boyd1-0/+1
2016-06-30clk: fixed-rate: add clk_hw_unregister_fixed_rate()Masahiro Yamada1-0/+1
2016-06-01clk: Remove CLK_IS_ROOT flagStephen Boyd1-1/+1
2016-04-21Merge branch 'clk-hw-register' (early part) into clk-nextStephen Boyd1-0/+93
2016-04-21Merge branch 'clk-composite-unregister' into clk-nextStephen Boyd1-0/+1
2016-04-21clk: composite: Add unregister functionMaxime Ripard1-0/+1
2016-04-19clk: fixed-rate: Add hw based registration APIsStephen Boyd1-0/+7
2016-04-19clk: gpio: Add hw based registration APIsStephen Boyd1-0/+8
2016-04-19clk: composite: Add hw based registration APIsStephen Boyd1-0/+7
2016-04-19clk: fractional-divider: Add hw based registration APIsStephen Boyd1-0/+5
2016-04-19clk: fixed-factor: Add hw based registration APIsStephen Boyd1-0/+4
2016-04-19clk: mux: Add hw based registration APIsStephen Boyd1-0/+11
2016-04-19clk: gate: Add hw based registration APIsStephen Boyd1-0/+5
2016-04-19clk: divider: Add hw based registration APIsStephen Boyd1-0/+10
2016-04-19clk: Add clk_hw OF clk providersStephen Boyd1-0/+30
2016-04-19clk: Add {devm_}clk_hw_{register,unregister}() APIsStephen Boyd1-0/+6
2016-04-09clk: Provide OF helper to mark clocks as CRITICALLee Jones1-1/+7
2016-04-09clk: Allow clocks to be marked as CRITICALLee Jones1-0/+1
2016-02-26clk: Make of_clk_get_parent_count() return unsigned intsStephen Boyd1-1/+1
2016-02-06clk: provider: Remove of_gpio_{gate,mux}_clk_setup() prototypesStephen Boyd1-4/+0
2016-02-06clk: Deprecate CLK_IS_ROOTStephen Boyd1-1/+1
2016-01-29clk: add clk_unregister_fixed_rate()Masahiro Yamada1-1/+1
2016-01-29clk: add clk_unregister_fixed_factor()Masahiro Yamada1-0/+1
2016-01-29clk: move the common clock's to_clk_*(_hw) macros to clk-provider.hGeliang Tang1-0/+18
2016-01-29clk-divider: make sure read-only dividers do not write to their registerHeiko Stuebner1-0/+1
2015-12-23Merge branch 'clk-rockchip' into clk-nextMichael Turquette1-0/+1
2015-12-23clk: add flag for clocks that need to be enabled on rate changesHeiko Stuebner1-0/+1
2015-11-20clk: Use static inline functions instead of macros for dummiesGeert Uytterhoeven1-4/+2
2015-11-20clk: fix a typo in comment block of struct clk_rate_requestMasahiro Yamada1-1/+1
2015-10-26clk: Add clk_hw_is_enabled() for use by clk providersJoachim Eastwood1-0/+1
2015-10-26clk: Add stubs for of_clk_*() APIs when CONFIG_OF=nStephen Boyd1-0/+9
2015-10-23clk: Remove clk_{register,unregister}_multiplier()Stephen Boyd1-7/+0
2015-10-21Merge tag 'sunxi-clocks-for-4.4' of https://git.kernel.org/pub/scm/linux/kern...Stephen Boyd1-0/+42
2015-10-21clk: Add a basic multiplier clockMaxime Ripard1-0/+42
2015-10-16clk: Make clk input parameter of __clk_get_name() constGeert Uytterhoeven1-1/+1
2015-10-02clk: fractional-divider: keep mwidth and nwidth internallyAndy Shevchenko1-1/+2
2015-08-24clk: Constify clk_hw argument to provider APIsStephen Boyd1-7/+7
2015-08-24clk: Remove unused provider APIsStephen Boyd1-6/+0
2015-08-24clk: Add clk_hw_*() APIs for use by clk providersStephen Boyd1-0/+9
2015-07-28clk: gpio: Mark parent_names array constStephen Boyd1-1/+1
2015-07-28clk: allow a clk divider with max divisor when zeroJim Quinlan1-0/+4
2015-07-28Merge branch 'cleanup-clk-h-includes' into clk-nextStephen Boyd1-1/+1
2015-07-28clk: Allow providers to configure min/max ratesStephen Boyd1-0/+2
2015-07-28Merge branch 'clk-determine-rate-struct' into clk-nextStephen Boyd1-20/+29
2015-07-27clk: change clk_ops' ->determine_rate() prototypeBoris Brezillon1-20/+29
2015-07-20clk: Remove clk.h from clk-provider.hStephen Boyd1-1/+1
2015-07-06clk: add gpio controlled clock multiplexerSergej Sawazki1-0/+17
2015-06-20Merge tag 'tegra-for-4.2-clk' of git://git.kernel.org/pub/scm/linux/kernel/gi...Michael Turquette1-0/+1
2015-06-20Merge branch 'clk-exynos-cpu-clk' into clk-nextMichael Turquette1-0/+1
2015-06-20clk: add CLK_RECALC_NEW_RATES clock flag for Exynos cpu clock supportBartlomiej Zolnierkiewicz1-0/+1
2015-06-10clk: fixed: Add comment to clk_fixed_set_rateDaniel Thompson1-1/+1
2015-06-05clk: of: helper for filling parent clock array and return num of parentsDinh Nguyen1-0/+2
2015-05-13clk: Expose clk_hw_reparent() to providersTomeu Vizoso1-0/+1
2015-05-05clk: make strings in parent name arrays constSascha Hauer1-4/+6
2015-04-10clk: clk-gpio-gate: Fix active lowMartin Fuzzey1-1/+1
2015-02-18clk: Add __clk_hw_set_clk helper functionJavier Martinez Canillas1-0/+6
2015-02-02clk: Add rate constraints to clocksTomeu Vizoso1-3/+14
2015-02-02clk: Make clk API return per-user struct clk instancesTomeu Vizoso1-5/+7
2015-01-27clk: divider: Make generic for usage elsewhereStephen Boyd1-0/+11
2015-01-27clk: Add __clk_mux_determine_rate_closestStephen Boyd1-1/+7
2015-01-17clk: Add clk_unregister_{divider, gate, mux} to close memory leakKrzysztof Kozlowski1-0/+4