1. 22 Dec, 2020 32 commits
  2. 21 Dec, 2020 8 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
    • Stephen Boyd's avatar
      Merge branches 'clk-amlogic', 'clk-rockchip', 'clk-of', 'clk-freescale' and... · d240d4c2
      Stephen Boyd authored
      Merge branches 'clk-amlogic', 'clk-rockchip', 'clk-of', 'clk-freescale' and 'clk-unused' into clk-next
      
       - Replace clk-provider.h with of_clk.h when possible
      
      * clk-amlogic:
        clk: meson: g12a: add MIPI DSI Host Pixel Clock
        dt-bindings: clk: g12a-clkc: add DSI Pixel clock bindings
        clk: meson: enable building as modules
        clk: meson: Kconfig: fix dependency for G12A
        clk: meson: axg: add MIPI DSI Host clock
        clk: meson: axg: add Video Clocks
        dt-bindings: clk: axg-clkc: add MIPI DSI Host clock binding
        dt-bindings: clk: axg-clkc: add Video Clocks
      
      * clk-rockchip:
        clk: rockchip: fix i2s gate bits on rk3066 and rk3188
        clk: rockchip: add CLK_SET_RATE_PARENT to sclk for rk3066a i2s and uart clocks
        clk: rockchip: Remove redundant null check before clk_prepare_enable
        clk: rockchip: Add appropriate arch dependencies
      
      * clk-of:
        xtensa: Replace <linux/clk-provider.h> by <linux/of_clk.h>
        sh: boards: Replace <linux/clk-provider.h> by <linux/of_clk.h>
      
      * clk-freescale:
        clk: fsl-flexspi: new driver
        dt-bindings: clock: document the fsl-flexspi-clk device
        clk: divider: add devm_clk_hw_register_divider_table()
        clk: qoriq: provide constants for the type
        clk: fsl-sai: use devm_clk_hw_register_composite_pdata()
        clk: composite: add devm_clk_hw_register_composite_pdata()
        clk: fsl-sai: fix memory leak
        clk: qoriq: Add platform dependencies
      
      * clk-unused:
        clk: scpi: mark scpi_clk_match as maybe unused
        clk: pwm: drop of_match_ptr from of_device_id table
      d240d4c2
    • Stephen Boyd's avatar
      Merge branches 'clk-doc', 'clk-qcom', 'clk-simplify', 'clk-hw', 'clk-renesas'... · 23cae54f
      Stephen Boyd authored
      Merge branches 'clk-doc', 'clk-qcom', 'clk-simplify', 'clk-hw', 'clk-renesas' and 'clk-samsung' into clk-next
      
       - 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
       - Add devm variant of clk_notifier_register()
       - Add clk_hw_get_clk() to generate a struct clk from a struct clk_hw
      
      * clk-doc:
        clk: fix a kernel-doc markup
      
      * clk-qcom: (27 commits)
        clk: qcom: rpmh: add support for SM8350 rpmh clocks
        dt-bindings: clock: Add RPMHCC bindings for SM8350
        clk: qcom: lpasscc: Introduce pm autosuspend for SC7180
        clk: qcom: gcc-sc7180: Add 50 MHz clock rate for SDC2
        clk: qcom: gcc-sc7180: Use floor ops for sdcc clks
        clk: qcom: Add GDSC support for SDX55 GCC
        dt-bindings: clock: Add GDSC in SDX55 GCC
        clk: qcom: Add support for SDX55 RPMh clocks
        dt-bindings: clock: Introduce RPMHCC bindings for SDX55
        clk: qcom: Add SDX55 GCC support
        dt-bindings: clock: Add SDX55 GCC clock bindings
        clk: qcom: Kconfig: Fix spelling mistake "dyanmic" -> "dynamic"
        clk: qcom: rpmh: Add CE clock on sdm845.
        dt-bindings: clock: Add entry for crypto engine RPMH clock resource
        clk: qcom: dispcc-sm8250: handle MMCX power domain
        clk: qcom: camcc-sc7180: Use runtime PM ops instead of clk ones
        clk: qcom: lpass-sc7180: Clean up on error in lpass_sc7180_init()
        clk: qcom: Add support to LPASS AON_CC Glitch Free Mux clocks
        clk: qcom: Add support to LPASS AUDIO_CC Glitch Free Mux clocks
        dt-bindings: clock: Add support for LPASS Always ON Controller
        ...
      
      * clk-simplify:
        clk: remove unneeded dead-store initialization
      
      * clk-hw:
        clk: meson: g12: use devm variant to register notifiers
        clk: add devm variant of clk_notifier_register
        clk: meson: g12: drop use of __clk_lookup()
        clk: add api to get clk consumer from clk_hw
        clk: avoid devm_clk_release name clash
      
      * clk-renesas:
        dt-bindings: clock: renesas: rcar-usb2-clock-sel: Convert bindings to json-schema
        clk: renesas: sh73a0: Stop using __raw_*() I/O accessors
        clk: renesas: r8a774c0: Add RPC clocks
        clk: renesas: r8a779a0: Fix R and OSC clocks
        clk: renesas: cpg-mssr: fix kerneldoc of cpg_mssr_priv
        clk: renesas: rcar-usb2-clock-sel: Replace devm_reset_control_array_get()
        clk: renesas: r8a774b1: Add RPC clocks
        clk: renesas: r8a774a1: Add RPC clocks
        clk: renesas: r8a779a0: Add VIN clocks
        clk: renesas: r8a779a0: Add CSI4[0-3] clocks
        MAINTAINERS: Update git repo for Renesas clock drivers
        clk: renesas: r8a779a0: Make rcar_r8a779a0_cpg_clk_register() static
        clk: renesas: rcar-gen3: Remove stp_ck handling for SDHI
      
      * clk-samsung:
        clk: samsung: Prevent potential endless loop in the PLL ops
        clk: samsung: Allow compile testing of Exynos, S3C64xx and S5Pv210
      23cae54f