1. 22 Dec, 2020 34 commits
  2. 21 Dec, 2020 6 commits
    • Linus Torvalds's avatar
      Merge tag 'clk-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/clk/linux · 8653b778
      Linus Torvalds authored
      Pull clk updates from Stephen Boyd:
       "The core framework got some nice improvements this time around. We
        gained the ability to get struct clk pointers from a struct clk_hw so
        that clk providers can consume the clks they provide, if they need to
        do something like that. This has been a long missing part of the clk
        provider API that will help us move away from exposing a struct clk
        pointer in the struct clk_hw. Tracepoints are added for the
        clk_set_rate() "range" functions, similar to the tracepoints we
        already have for clk_set_rate() and we added a column to debugfs to
        help developers understand the hardware enable state of clks in case
        firmware or bootloader state is different than what is expected.
        Overall the core changes are mostly improving the clk driver writing
        experience.
      
        At the driver level, we have the usual collection of driver updates
        and new drivers for new SoCs. This time around the Qualcomm folks
        introduced a good handful of clk drivers for various parts of three or
        four SoCs. The SiFive folks added a new clk driver for their FU740
        SoCs, coming in second on the diffstat and then Atmel AT91 and Amlogic
        SoCs had lots of work done after that for various new features. One
        last thing to note in the driver area is that the i.MX driver has
        gained a new binding to support SCU clks after being on the list for
        many months. It uses a two cell binding which is sort of rare in clk
        DT bindings. Beyond that we have the usual set of driver fixes and
        tweaks that come from more testing and finding out that some
        configuration was wrong or that a driver could support being built as
        a module.
      
        Summary:
      
        Core:
         - Add some trace points for clk_set_rate() "range" functions
         - Add hardware enable information to clk_summary debugfs
         - Replace clk-provider.h with of_clk.h when possible
         - Add devm variant of clk_notifier_register()
         - Add clk_hw_get_clk() to generate a struct clk from a struct clk_hw
      
        New Drivers:
         - Bindings for Canaan K210 SoC clks
         - Support for SiFive FU740 PRCI
         - Camera clks on Qualcomm SC7180 SoCs
         - GCC and RPMh clks on Qualcomm SDX55 SoCs
         - RPMh clks on Qualcomm SM8350 SoCs
         - LPASS clks on Qualcomm SM8250 SoCs
      
        Updates:
         - DVFS support for AT91 clk driver
         - Update git repo branch for Renesas clock drivers
         - Add camera (CSI) and video-in (VIN) clocks on Renesas R-Car V3U
         - Add RPC (QSPI/HyperFLASH) clocks on Renesas RZ/G2M, RZ/G2N, and RZ/G2E
         - Stop using __raw_*() I/O accessors in Renesas clk drivers
         - One more conversion of DT bindings to json-schema
         - Make i.MX clk-gate2 driver more flexible
         - New two cell binding for i.MX SCU clks
         - Drop of_match_ptr() in i.MX8 clk drivers
         - Add arch dependencies for Rockchip clk drivers
         - Fix i2s on Rockchip rk3066
         - Add MIPI DSI clks on Amlogic axg and g12 SoCs
         - Support modular builds of Amlogic clk drivers
         - Fix an Amlogic Video PLL clock dependency
         - Samsung Kconfig dependencies updates for better compile test coverage
         - Refactoring of the Samsung PLL clocks driver
         - Small Tegra driver cleanups
         - Minor fixes to Ingenic and VC5 clk drivers
         - Cleanup patches to remove unused variables and plug memory leaks"
      
      * tag 'clk-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/clk/linux: (134 commits)
        dt-binding: clock: Document canaan,k210-clk bindings
        dt-bindings: Add Canaan vendor prefix
        clk: vc5: Use "idt,voltage-microvolt" instead of "idt,voltage-microvolts"
        clk: ingenic: Fix divider calculation with div tables
        clk: sunxi-ng: Make sure divider tables have sentinel
        clk: s2mps11: Fix a resource leak in error handling paths in the probe function
        clk: mvebu: a3700: fix the XTAL MODE pin to MPP1_9
        clk: si5351: Wait for bit clear after PLL reset
        clk: at91: sam9x60: remove atmel,osc-bypass support
        clk: at91: sama7g5: register cpu clock
        clk: at91: clk-master: re-factor master clock
        clk: at91: sama7g5: do not allow cpu pll to go higher than 1GHz
        clk: at91: sama7g5: decrease lower limit for MCK0 rate
        clk: at91: sama7g5: remove mck0 from parent list of other clocks
        clk: at91: clk-sam9x60-pll: allow runtime changes for pll
        clk: at91: sama7g5: add 5th divisor for mck0 layout and characteristics
        clk: at91: clk-master: add 5th divisor for mck master
        clk: at91: sama7g5: allow SYS and CPU PLLs to be exported and referenced in DT
        dt-bindings: clock: at91: add sama7g5 pll defines
        clk: at91: sama7g5: fix compilation error
        ...
      8653b778
    • Linus Torvalds's avatar
      Merge tag 'm68knommu-for-v5.11' of git://git.kernel.org/pub/scm/linux/kernel/git/gerg/m68knommu · 8552d28e
      Linus Torvalds authored
      Pull m68knommu updates from Greg Ungerer:
      
       - cleanup of 68328 code
      
       - align BSS section to 32bit
      
      * tag 'm68knommu-for-v5.11' of git://git.kernel.org/pub/scm/linux/kernel/git/gerg/m68knommu:
        m68k: m68328: remove duplicate code
        m68k: m68328: move platform code to separate files
        m68knommu: align BSS section to 4-byte boundaries
      8552d28e
    • Linus Torvalds's avatar
      Merge tag '9p-for-5.11-rc1' of git://github.com/martinetd/linux · 70990afa
      Linus Torvalds authored
      Pull 9p update from Dominique Martinet:
      
       - fix long-standing limitation on open-unlink-fop pattern
      
       - add refcount to p9_fid (fixes the above and will allow for more
         cleanups and simplifications in the future)
      
      * tag '9p-for-5.11-rc1' of git://github.com/martinetd/linux:
        9p: Remove unnecessary IS_ERR() check
        9p: Uninitialized variable in v9fs_writeback_fid()
        9p: Fix writeback fid incorrectly being attached to dentry
        9p: apply review requests for fid refcounting
        9p: add refcount to p9_fid struct
        fs/9p: search open fids first
        fs/9p: track open fids
        fs/9p: fix create-unlink-getattr idiom
      70990afa
    • Stephen Boyd's avatar
      Merge branches 'clk-ingenic', 'clk-vc5', 'clk-cleanup', 'clk-canaan' and... · abe7e32f
      Stephen Boyd authored
      Merge branches 'clk-ingenic', 'clk-vc5', 'clk-cleanup', 'clk-canaan' and 'clk-marvell' into clk-next
      
       - Bindings for Canaan K210 SoC clks
      
      * clk-ingenic:
        clk: ingenic: Fix divider calculation with div tables
      
      * clk-vc5:
        clk: vc5: Use "idt,voltage-microvolt" instead of "idt,voltage-microvolts"
      
      * clk-cleanup:
        clk: sunxi-ng: Make sure divider tables have sentinel
        clk: s2mps11: Fix a resource leak in error handling paths in the probe function
        clk: bcm: dvp: Add MODULE_DEVICE_TABLE()
        clk: bcm: dvp: drop a variable that is assigned to only
      
      * clk-canaan:
        dt-binding: clock: Document canaan,k210-clk bindings
        dt-bindings: Add Canaan vendor prefix
      
      * clk-marvell:
        clk: mvebu: a3700: fix the XTAL MODE pin to MPP1_9
      abe7e32f
    • Stephen Boyd's avatar
      Merge branches 'clk-ti', 'clk-analog', 'clk-trace', 'clk-at91' and 'clk-silabs' into clk-next · b53a1603
      Stephen Boyd authored
       - Add some trace points for clk_set_rate() "range" functions
       - DVFS support for AT91 clk driver
      
      * clk-ti:
        clk: ti: omap5: Fix reboot DPLL lock failure when using ABE TIMERs
        clk: ti: Fix memleak in ti_fapll_synth_setup
      
      * clk-analog:
        clk: axi-clkgen: move the OF table at the bottom of the file
        clk: axi-clkgen: wrap limits in a struct and keep copy on the state object
        dt-bindings: clock: adi,axi-clkgen: convert old binding to yaml format
      
      * clk-trace:
        clk: Trace clk_set_rate() "range" functions
      
      * clk-at91:
        clk: at91: sam9x60: remove atmel,osc-bypass support
        clk: at91: sama7g5: register cpu clock
        clk: at91: clk-master: re-factor master clock
        clk: at91: sama7g5: do not allow cpu pll to go higher than 1GHz
        clk: at91: sama7g5: decrease lower limit for MCK0 rate
        clk: at91: sama7g5: remove mck0 from parent list of other clocks
        clk: at91: clk-sam9x60-pll: allow runtime changes for pll
        clk: at91: sama7g5: add 5th divisor for mck0 layout and characteristics
        clk: at91: clk-master: add 5th divisor for mck master
        clk: at91: sama7g5: allow SYS and CPU PLLs to be exported and referenced in DT
        dt-bindings: clock: at91: add sama7g5 pll defines
        clk: at91: sama7g5: fix compilation error
      
      * clk-silabs:
        clk: si5351: Wait for bit clear after PLL reset
      b53a1603
    • Stephen Boyd's avatar
      Merge branches 'clk-tegra', 'clk-imx', 'clk-sifive', 'clk-mediatek' and 'clk-summary' into clk-next · 699eda28
      Stephen Boyd authored
       - Support for SiFive FU740 PRCI
       - Add hardware enable information to clk_summary debugfs
      
      * clk-tegra:
        clk: tegra: Fix duplicated SE clock entry
        clk: tegra: bpmp: Clamp clock rates on requests
        clk: tegra: Do not return 0 on failure
      
      * clk-imx: (24 commits)
        clk: imx: scu: remove the calling of device_is_bound
        clk: imx: scu: Make pd_np with static keyword
        clk: imx8mq: drop of_match_ptr from of_device_id table
        clk: imx8mp: drop of_match_ptr from of_device_id table
        clk: imx8mn: drop of_match_ptr from of_device_id table
        clk: imx8mm: drop of_match_ptr from of_device_id table
        clk: imx: gate2: Remove unused variable ret
        clk: imx: gate2: Add locking in is_enabled op
        clk: imx: gate2: Add cgr_mask for more flexible number of control bits
        clk: imx: gate2: Check if clock is enabled against cgr_val
        clk: imx: gate2: Keep the register writing in on place
        clk: imx: gate2: Remove the IMX_CLK_GATE2_SINGLE_BIT special case
        clk: imx: scu: fix build break when compiled as modules
        clk: imx: remove redundant assignment to pointer np
        clk: imx: remove unneeded semicolon
        clk: imx: lpcg: add suspend/resume support
        clk: imx: clk-imx8qxp-lpcg: add runtime pm support
        clk: imx: lpcg: allow lpcg clk to take device pointer
        clk: imx: imx8qxp-lpcg: add parsing clocks from device tree
        clk: imx: scu: add suspend/resume support
        ...
      
      * clk-sifive:
        clk: sifive: Add clock enable and disable ops
        clk: sifive: Fix the wrong bit field shift
        clk: sifive: Add a driver for the SiFive FU740 PRCI IP block
        clk: sifive: Use common name for prci configuration
        clk: sifive: Extract prci core to common base
        dt-bindings: fu740: prci: add YAML documentation for the FU740 PRCI
      
      * clk-mediatek:
        clk: mediatek: Make mtk_clk_register_mux() a static function
      
      * clk-summary:
        clk: Add hardware-enable column to clk summary
      699eda28