aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/clk/at91
AgeCommit message (Expand)AuthorFilesLines
2023-10-18clk: at91: remove unnecessary conditionsDan Carpenter1-7/+5
2023-06-26Merge branches 'clk-qcom' and 'clk-microchip' into clk-nextStephen Boyd22-523/+730
2023-06-21clk: at91: sama7g5: s/ep_chg_chg_id/ep_chg_idClaudiu Beznea1-1/+1
2023-06-21clk: at91: sama7g5: switch to parent_hw and parent_dataClaudiu Beznea1-342/+454
2023-06-21clk: at91: sckc: switch to parent_data/parent_hwClaudiu Beznea1-27/+48
2023-06-21clk: at91: clk-sam9x60-pll: add support for parent_hwClaudiu Beznea4-9/+17
2023-06-21clk: at91: clk-utmi: add support for parent_hwClaudiu Beznea10-17/+28
2023-06-21clk: at91: clk-system: add support for parent_hwClaudiu Beznea14-19/+24
2023-06-21clk: at91: clk-programmable: add support for parent_hwClaudiu Beznea14-17/+21
2023-06-21clk: at91: clk-peripheral: add support for parent_hwClaudiu Beznea14-23/+34
2023-06-21clk: at91: clk-master: add support for parent_hwClaudiu Beznea14-35/+47
2023-06-21clk: at91: clk-generated: add support for parent_hwClaudiu Beznea6-7/+15
2023-06-21clk: at91: clk-main: add support for parent_data/parent_hwClaudiu Beznea14-37/+52
2023-06-08clk: at91: smd: Switch to determine_rateMaxime Ripard1-12/+17
2023-06-08clk: at91: sckc: Add a determine_rate hookMaxime Ripard1-0/+1
2023-06-08clk: at91: main: Add a determine_rate hookMaxime Ripard1-0/+1
2023-03-06clk: at91: clk-sam9x60-pll: fix return value checkClaudiu Beznea1-1/+1
2023-01-09clk: at91: do not compile dt-compat.c for sama7g5 and sam9x60Claudiu Beznea1-8/+8
2023-01-09clk: at91: mark ddr clocks as criticalClaudiu Beznea15-43/+131
2022-11-17ARM: at91: rm9200: fix usb device clock idMichael Grzeschik1-1/+1
2022-10-14Merge branch 'clk-rate-range' into clk-nextStephen Boyd3-7/+11
2022-10-04Merge branches 'clk-rockchip', 'clk-renesas', 'clk-microchip', 'clk-allwinner...Stephen Boyd1-0/+10
2022-09-15clk: Stop forwarding clk_rate_requests to the parentMaxime Ripard3-7/+11
2022-09-15clk: at91: sama5d2: Add Generic Clocks for UART/USARTSergiu Moga1-0/+10
2022-08-19clk: at91: dt-compat: Hold reference returned by of_get_parent()Liang He1-24/+84
2022-05-17clk: at91: generated: consider range when calculating best rateCodrin Ciubotariu1-0/+4
2022-03-29Merge branches 'clk-starfive', 'clk-ti', 'clk-terminate' and 'clk-cleanup' in...Stephen Boyd1-1/+1
2022-03-11clk: cleanup commentsTom Rix1-1/+1
2022-03-08clk: at91: clk-master: remove dead codeClaudiu Beznea13-134/+18
2022-03-08clk: at91: sama7g5: fix parents of PDMCs' GCLKCodrin Ciubotariu1-4/+4
2022-01-24clk: at91: sama7g5: Allow MCK1 to be exported and referenced in DTTudor Ambarus1-1/+7
2022-01-24clk: at91: allow setting PMC_AUDIOPINCK clock parents via DTZixun LI1-1/+3
2021-10-26clk: at91: sama7g5: set low limit for mck0 at 32KHzClaudiu Beznea1-1/+1
2021-10-26clk: at91: sama7g5: remove prescaler part of master clockClaudiu Beznea1-10/+1
2021-10-26clk: at91: clk-master: add notifier for dividerClaudiu Beznea13-82/+186
2021-10-26clk: at91: clk-sam9x60-pll: add notifier for div part of PLLClaudiu Beznea4-29/+95
2021-10-26clk: at91: clk-master: fix prescaler logicClaudiu Beznea1-1/+1
2021-10-26clk: at91: clk-master: mask mckr against layout->maskClaudiu Beznea1-2/+5
2021-10-26clk: at91: clk-master: check if div or pres is zeroClaudiu Beznea1-2/+2
2021-10-26clk: at91: sam9x60-pll: use DIV_ROUND_CLOSEST_ULLClaudiu Beznea1-2/+2
2021-10-26clk: at91: pmc: add sama7g5 to the list of available pmcsClaudiu Beznea1-2/+3
2021-10-26clk: at91: clk-master: improve readability by using local variablesClaudiu Beznea1-3/+3
2021-10-26clk: at91: clk-master: add register definition for sama7g5's master clockClaudiu Beznea1-27/+23
2021-10-26clk: at91: sama7g5: add securam's peripheral clockClaudiu Beznea1-0/+1
2021-10-26clk: at91: pmc: execute suspend/resume only for backup modeClaudiu Beznea1-0/+39
2021-10-26clk: at91: re-factor clocks suspend/resumeClaudiu Beznea12-181/+558
2021-10-07clk: at91: check pmc node status before registering syscore opsClément Léger1-0/+5
2021-09-01Merge branches 'clk-kirkwood', 'clk-imx', 'clk-doc', 'clk-zynq' and 'clk-rali...Stephen Boyd1-7/+7
2021-08-28clk: at91: clk-generated: Limit the requested rate to our rangeCodrin Ciubotariu1-0/+6
2021-08-28clk: at91: sama7g5: remove all kernel-doc & kernel-doc warningsRandy Dunlap1-7/+7
2021-03-13clk: at91: Trivial typo fixes in the file sama7g5.cBhaskar Chowdhury1-3/+3
2021-02-09clk: at91: Fix the declaration of the clocksTudor Ambarus9-28/+28
2020-12-19clk: at91: sam9x60: remove atmel,osc-bypass supportAlexandre Belloni1-5/+1
2020-12-19clk: at91: sama7g5: register cpu clockClaudiu Beznea1-7/+6
2020-12-19clk: at91: clk-master: re-factor master clockClaudiu Beznea14-146/+542
2020-12-19clk: at91: sama7g5: do not allow cpu pll to go higher than 1GHzClaudiu Beznea1-14/+47
2020-12-19clk: at91: sama7g5: decrease lower limit for MCK0 rateClaudiu Beznea1-1/+1
2020-12-19clk: at91: sama7g5: remove mck0 from parent list of other clocksClaudiu Beznea1-29/+26
2020-12-19clk: at91: clk-sam9x60-pll: allow runtime changes for pllClaudiu Beznea4-41/+197
2020-12-19clk: at91: sama7g5: add 5th divisor for mck0 layout and characteristicsEugen Hristev1-2/+2
2020-12-19clk: at91: clk-master: add 5th divisor for mck masterEugen Hristev2-2/+2
2020-12-19clk: at91: sama7g5: allow SYS and CPU PLLs to be exported and referenced in DTEugen Hristev1-2/+4
2020-12-19dt-bindings: clock: at91: add sama7g5 pll definesEugen Hristev1-3/+3
2020-12-19clk: at91: sama7g5: fix compilation errorClaudiu Beznea1-2/+4
2020-10-20Merge branches 'clk-ingenic', 'clk-at91', 'clk-kconfig', 'clk-imx', 'clk-qcom...Stephen Boyd4-8/+12
2020-10-14clk: at91: sam9x60: support only two programmable clocksClaudiu Beznea1-1/+1
2020-10-13clk: at91: clk-sam9x60-pll: remove unused variableClaudiu Beznea1-2/+1
2020-10-13clk: at91: clk-main: update key before writing AT91_CKGR_MORClaudiu Beznea1-3/+8
2020-10-13clk: at91: remove the checking of parent_nameClaudiu Beznea1-2/+2
2020-09-22clk: at91: drop unused at91sam9g45_pcr_layoutKrzysztof Kozlowski1-7/+0
2020-07-24clk: at91: sama7g5: add clock support for sama7g5Claudiu Beznea2-0/+1060
2020-07-24clk: at91: clk-utmi: add utmi support for sama7g5Claudiu Beznea2-5/+102
2020-07-24clk: at91: clk-sam9x60-pll: re-factor to support plls with multiple outputsClaudiu Beznea3-186/+433
2020-07-24clk: at91: clk-programmable: add mux_table optionClaudiu Beznea13-17/+38
2020-07-24clk: at91: clk-peripheral: add support for changeable parent rateClaudiu Beznea9-16/+119
2020-07-24clk: at91: clk-master: add master clock support for SAMA7G5Claudiu Beznea2-5/+312
2020-07-24clk: at91: clk-generated: add mux_table optionClaudiu Beznea5-8/+16
2020-07-24clk: at91: clk-generated: pass the id of changeable parent at registrationClaudiu Beznea5-35/+37
2020-07-24clk: at91: replace conditional operator with double logical notClaudiu Beznea5-8/+8
2020-07-24clk: at91: sckc: register slow_rc with accuracy optionClaudiu Beznea1-2/+3
2020-07-24clk: at91: sam9x60: fix main rc oscillator frequencyClaudiu Beznea1-1/+1
2020-07-24clk: at91: sam9x60-pll: use frac when setting frequencyClaudiu Beznea1-4/+8
2020-07-24clk: at91: sam9x60-pll: check fcore against rangesClaudiu Beznea2-2/+12
2020-07-24clk: at91: sam9x60-pll: use logical or for range checkClaudiu Beznea1-1/+1
2020-07-24clk: at91: clk-sam9x60-pll: fix mul maskClaudiu Beznea1-1/+1
2020-07-24clk: at91: clk-generated: check best_rate against rangesClaudiu Beznea1-2/+2
2020-07-24clk: at91: clk-generated: continue if __clk_determine_rate() returns errorClaudiu Beznea1-1/+2
2020-07-24clk: at91: fix possible dead lock in new driversAhmad Fatoum4-4/+4
2020-05-26clk: at91: allow setting all PMC clock parents via DTMichał Mirosław10-10/+38
2020-05-26clk: at91: allow setting PCKx parent via DTMichał Mirosław12-13/+45
2020-05-26clk: at91: optimize pmc data allocationMichał Mirosław12-37/+20
2020-05-26clk: at91: pmc: decrement node's refcountClaudiu Beznea1-0/+1
2020-05-26clk: at91: pmc: do not continue if compatible not locatedClaudiu Beznea1-0/+2
2020-05-26clk: at91: Add peripheral clock for PTCCodrin Ciubotariu1-0/+1
2020-04-05Merge tag 'clk-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/cl...Linus Torvalds7-11/+913
2020-03-20clk: at91: add at91rm9200 pmc driverAlexandre Belloni2-0/+200
2020-02-18clk: at91: move sam9x60's PLL register offsets to PMC headerClaudiu Beznea1-54/+37
2020-02-12clk: at91: add at91sam9n12 pmc driverAlexandre Belloni2-0/+239
2020-02-12clk: at91: add sama5d3 pmc driverAlexandre Belloni2-0/+241
2020-02-12clk: at91: add at91sam9g45 pmc driverAlexandre Belloni2-0/+221
2020-02-12clk: at91: usb: introduce num_parents in driver's structureClaudiu Beznea1-1/+3
2020-02-12clk: at91: usb: use proper usbs_maskClaudiu Beznea1-1/+1
2020-02-12clk: at91: sam9x60: fix usb clock parentsClaudiu Beznea1-3/+2
2020-02-12clk: at91: usb: continue if clk_hw_round_rate() return zeroClaudiu Beznea1-0/+3
2020-02-12clk: at91: sam9x60: Don't use audio PLLCodrin Ciubotariu1-6/+3
2020-01-31Merge branches 'clk-uniphier', 'clk-warn-critical', 'clk-ux500', 'clk-kconfig...Stephen Boyd8-8/+13
2020-01-05clk: at91: sam9x60: fix programmable clock prescalerEugen Hristev1-0/+1
2020-01-05clk: at91: sam9x60-pll: adapt PMC_PLL_ACR default valueEugen Hristev1-2/+6
2019-12-16clk: at91: fix possible deadlockAlexandre Belloni6-6/+6
2019-12-01Merge tag 'clk-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/cl...Linus Torvalds1-2/+1
2019-11-08drivers/clk: convert VL struct to struct_sizeStephen Kitt1-2/+1
2019-10-28clk: at91: avoid sleeping earlyAlexandre Belloni2-5/+20
2019-10-03clk: at91: sam9x60: fix programmable clockEugen Hristev1-0/+1
2019-09-20Merge tag 'clk-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/cl...Linus Torvalds2-5/+9
2019-09-17clk: at91: allow 24 Mhz clock as input for PLLEugen Hristev1-1/+1
2019-09-16clk: at91: select parent if main oscillator or bypass is enabledEugen Hristev1-3/+7
2019-09-16clk: at91: fix update bit maps on CFG_MOR writeEugen Hristev1-1/+1
2019-07-22clk: at91: generated: Truncate divisor to GENERATED_MAX_DIV + 1Codrin Ciubotariu1-0/+2
2019-07-17Merge tag 'clk-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/cl...Linus Torvalds1-67/+214
2019-06-27clk: at91: sckc: use dedicated functions to unregister clockClaudiu Beznea1-2/+2
2019-06-27clk: at91: sckc: improve error path for sama5d4 sck registrationClaudiu Beznea1-15/+28
2019-06-27clk: at91: sckc: remove unnecessary lineClaudiu Beznea1-1/+0
2019-06-27clk: at91: sckc: improve error path for sam9x5 sck registerClaudiu Beznea1-18/+32
2019-06-27clk: at91: sckc: add support to free slow clock osclillatorClaudiu Beznea1-0/+8
2019-06-27clk: at91: sckc: add support to free slow rc oscillatorClaudiu Beznea1-0/+8
2019-06-27clk: at91: sckc: add support to free slow oscillatorClaudiu Beznea1-0/+8
2019-06-26clk: at91: sckc: add support for SAM9X60Claudiu Beznea1-0/+74
2019-06-26clk: at91: sckc: add support to specify registers bit offsetsClaudiu Beznea1-32/+61
2019-06-26clk: at91: sckc: sama5d4 has no bypass supportClaudiu Beznea1-6/+0
2019-05-30treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152Thomas Gleixner17-101/+17
2019-05-07Merge branches 'clk-stm32f4', 'clk-tegra', 'clk-at91', 'clk-sifive-fu540' and...Stephen Boyd15-154/+840
2019-04-25clk: at91: Mark struct clk_range as constStephen Boyd7-14/+14
2019-04-25clk: at91: add sam9x60 pmc driverAlexandre Belloni2-0/+308
2019-04-25clk: at91: add sam9x60 PLL driverAlexandre Belloni3-0/+337
2019-04-25clk: at91: master: Add sam9x60 supportAlexandre Belloni2-3/+6
2019-04-25clk: at91: usb: Add sam9x60 supportAlexandre Belloni2-6/+30
2019-04-25clk: at91: allow configuring generated PCR layoutAlexandre Belloni4-24/+29
2019-04-25clk: at91: allow configuring peripheral PCR layoutAlexandre Belloni6-22/+71
2019-04-25clk: at91: sckc: handle different RC startup timeAlexandre Belloni1-2/+15
2019-04-25clk: at91: modernize sckc bindingAlexandre Belloni1-89/+36
2019-03-18clk: at91: fix programmable clock for sama5d2Matthias Wieloch3-15/+54
2019-03-08Merge branch 'clk-at91' into clk-nextStephen Boyd3-5/+10
2019-02-25clk: at91: programmable: remove unneeded register readNicolas Ferre1-3/+0
2019-02-22clk: at91: optimize clk_round_rate() for AUDIO_PLLMichał Mirosław1-1/+8
2019-02-20clk: at91: fix masterck nameAlexandre Belloni3-4/+4
2019-02-20clk: at91: fix at91sam9x5 peripheral clock numberAlexandre Belloni1-2/+1
2019-01-09clk: at91: enable AUDIOPLL as source for PCKx on SAMA5D2Michał Mirosław1-1/+2
2018-10-18Merge branches 'clk-actions-reset', 'clk-imx7-init-critical', 'clk-mmp2-ids' ...Stephen Boyd24-990/+2870
2018-10-17clk: at91: move DT compatibility code to its own fileAlexandre Belloni17-944/+962
2018-10-17clk: at91: add at91sam9rl PMC driverAlexandre Belloni2-1/+172
2018-10-17clk: at91: add at91sam9x5 PMCs driverAlexandre Belloni2-1/+310
2018-10-17clk: at91: add at91sam9260 PMC driverAlexandre Belloni2-0/+495
2018-10-17clk: at91: add sama5d2 PMC driverAlexandre Belloni2-0/+337
2018-10-17clk: at91: add sama5d4 pmc driverAlexandre Belloni2-0/+265
2018-10-17clk: at91: add new DT lookup functionAlexandre Belloni1-0/+34
2018-10-17clk: at91: add pmc_data struct and helpersAlexandre Belloni2-0/+61
2018-10-17clk: at91: allow clock registration from C codeAlexandre Belloni14-59/+172
2018-10-17clk: at91: generated: set audio_pll_allowed in at91_clk_register_generated()Alexandre Belloni1-17/+10
2018-10-17clk: at91: audio-pll: separate registration from DT parsingAlexandre Belloni1-38/+111
2018-10-17clk: at91: h32mx: separate registration from DT parsingAlexandre Belloni1-13/+27
2018-10-17clk: at91: generated: SSCs don't have a gclkAlexandre Belloni1-4/+1
2018-10-17clk: at91: audio-pll: fix audio pmc typeAlexandre Belloni1-1/+1
2018-10-16clk: at91: Fix division by zero in PLL recalc_rate()Ronald Wahl1-0/+3
2018-07-06clk: at91: add I2S clock mux driverCodrin Ciubotariu2-0/+117
2018-05-15clk: at91: PLL recalc_rate() now using cached MUL and DIV valuesMarcin Ziemianowicz1-12/+1
2017-12-21clk: at91: pmc: Support backup for programmable clocksRomain Izard3-0/+39
2017-12-21clk: at91: pmc: Save SCSR during suspendRomain Izard1-2/+2
2017-12-21clk: at91: pmc: Wait for clocks when resumingRomain Izard1-8/+16
2017-11-17Merge tag 'clk-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/cl...Linus Torvalds1-14/+81
2017-11-02License cleanup: add SPDX GPL-2.0 license identifier to files with no licenseGreg Kroah-Hartman1-0/+1
2017-11-01clk: at91: utmi: set the mainck rateLudovic Desroches1-14/+81
2017-09-01clk: at91: clk-generated: make gclk determine audio_pll rateQuentin Schulz1-6/+57
2017-09-01clk: at91: clk-generated: create function to find best_diffQuentin Schulz1-14/+27
2017-09-01clk: at91: add audio pll clock driversQuentin Schulz2-0/+537
2017-09-01clk: at91: clk-generated: remove useless divisor loopQuentin Schulz1-13/+12
2017-06-29clk: at91: Add sama5d2 suspend/resumeAlexandre Belloni4-1/+140
2017-06-05clk: at91: fix clk-generated compilationAlexandre Belloni1-0/+1
2017-06-01clk: at91: fix clk-generated parentingAlexandre Belloni1-2/+1
2017-04-21clk: at91: Use kcalloc() in of_at91_clk_pll_get_characteristics()Markus Elfring1-3/+3
2016-10-20clk: at91: Fix a return value in case of errorChristophe JAILLET1-1/+1
2016-09-20clk: at91: sckc: optimize boot timeAlexandre Belloni1-1/+1
2016-09-20clk: at91: Add sama5d4 sckc supportAlexandre Belloni1-0/+100
2016-09-20clk: at91: move slow clock controller clocks to sckc.cAlexandre Belloni3-388/+363
2016-09-14clk: at91: Migrate to clk_hw based registration and OF APIsStephen Boyd13-199/+277
2016-07-21Merge branch 'clk-fixes' into clk-nextMichael Turquette1-1/+1
2016-07-18clk: at91: fix clk_programmable_set_parent()Boris Brezillon1-1/+1
2016-06-20clk: at91: make of_sama5d2_clk_generated_setup() staticBen Dooks1-1/+1
2016-04-15clk: at91: fix check of clk_register() returned valueVladimir Zapolskiy1-1/+1
2016-03-23Merge tag 'clk-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/cl...Linus Torvalds7-17/+17
2016-03-02clk: at91: Remove CLK_IS_ROOTStephen Boyd2-2/+2
2016-02-26clk: at91: Remove impossible checks for of_clk_get_parent_count()Stephen Boyd7-15/+15
2016-02-17clk: at91: remove useless includesAlexandre Belloni8-30/+0
2016-02-17clk: at91: pmc: remove useless capacities handlingAlexandre Belloni1-128/+0
2016-02-17clk: at91: pmc: drop at91_pmc_baseAlexandre Belloni1-7/+0
2016-02-17ARM: at91: pm: move idle functions to pm.cAlexandre Belloni1-15/+0
2016-02-17clk: at91: pmc: move pmc structures to C fileAlexandre Belloni2-9/+9
2016-02-17clk: at91: pmc: merge at91_pmc_init in atmel_pmc_probeAlexandre Belloni1-25/+9
2016-02-17clk: at91: remove IRQ handling and use pollingAlexandre Belloni7-446/+37
2016-02-17clk: at91: make use of syscon/regmap internallyBoris Brezillon15-694/+694
2016-02-17clk: at91: make use of syscon to share PMC registers in several driversBoris Brezillon2-7/+16