1. 19 Sep, 2019 7 commits
    • Stephen Boyd's avatar
      Merge branches 'clk-bulk-fix', 'clk-at91' and 'clk-sprd' into clk-next · ebd47c84
      Stephen Boyd authored
       - Make clk_bulk_get_all() return an 'id' corresponding to clock-names
      
      * clk-bulk-fix:
        clk: Make clk_bulk_get_all() return a valid "id"
      
      * clk-at91:
        clk: at91: allow 24 Mhz clock as input for PLL
        clk: at91: select parent if main oscillator or bypass is enabled
        clk: at91: fix update bit maps on CFG_MOR write
      
      * clk-sprd:
        clk: sprd: add missing kfree
      ebd47c84
    • Stephen Boyd's avatar
      Merge branches 'clk-cdce-regulator', 'clk-bcm', 'clk-evict-parent-cache' and... · b6c444de
      Stephen Boyd authored
      Merge branches 'clk-cdce-regulator', 'clk-bcm', 'clk-evict-parent-cache' and 'clk-actions' into clk-next
      
       - Add regulator support to the cdce925 clk driver
       - Add support for Raspberry Pi 4 bcm2711 SoCs
       - Evict parents from parent cache when they're unregistered
      
      * clk-cdce-regulator:
        clk: clk-cdce925: Add regulator support
        dt-bindings: clock: cdce925: Add regulator documentation
      
      * clk-bcm:
        clk: bcm2835: Mark PLLD_PER as CRITICAL
        clk: bcm2835: Add BCM2711_CLOCK_EMMC2 support
        clk: bcm2835: Introduce SoC specific clock registration
        dt-bindings: bcm2835-cprman: Add bcm2711 support
      
      * clk-evict-parent-cache:
        clk: Evict unregistered clks from parent caches
      
      * clk-actions:
        clk: actions: Fix factor clk struct member access
      b6c444de
    • Stephen Boyd's avatar
      Merge branches 'clk-renesas', 'clk-rockchip', 'clk-const' and 'clk-simplify' into clk-next · 91bcbc11
      Stephen Boyd authored
      * clk-renesas:
        clk: renesas: cpg-mssr: Set GENPD_FLAG_ALWAYS_ON for clock domain
        clk: renesas: r9a06g032: Set GENPD_FLAG_ALWAYS_ON for clock domain
        clk: renesas: mstp: Set GENPD_FLAG_ALWAYS_ON for clock domain
        dt-bindings: clk: emev2: Rename bindings documentation file
        clk: renesas: rcar-usb2-clock-sel: Use devm_platform_ioremap_resource() helper
      
      * clk-rockchip:
        clk: rockchip: Add clock controller for the rk3308
        clk: rockchip: Add dt-binding header for rk3308
        dt-bindings: Add bindings for rk3308 clock controller
        clk: rockchip: Fix -Wunused-const-variable in rv1108 clk driver
      
      * clk-const:
        clk: spear: Make structure i2s_sclk_masks constant
      
      * clk-simplify:
        clk/ti: Use kmemdup rather than duplicating its implementation
        clk: fix devm_platform_ioremap_resource.cocci warnings
      91bcbc11
    • Stephen Boyd's avatar
      Merge branches 'clk-init-destroy', 'clk-doc', 'clk-imx' and 'clk-allwinner' into clk-next · a1ff1ce3
      Stephen Boyd authored
       - Set clk_init_data pointer inside clk_hw to NULL after registration
      
      * clk-init-destroy:
        clk: Overwrite clk_hw::init with NULL during clk_register()
        clk: sunxi: Don't call clk_hw_get_name() on a hw that isn't registered
        clk: ti: Don't reference clk_init_data after registration
        clk: qcom: Remove error prints from DFS registration
        rtc: sun6i: Don't reference clk_init_data after registration
        clk: zx296718: Don't reference clk_init_data after registration
        clk: milbeaut: Don't reference clk_init_data after registration
        clk: socfpga: deindent code to proper indentation
        phy: ti: am654-serdes: Don't reference clk_init_data after registration
        clk: sprd: Don't reference clk_init_data after registration
        clk: socfpga: Don't reference clk_init_data after registration
        clk: sirf: Don't reference clk_init_data after registration
        clk: qcom: Don't reference clk_init_data after registration
        clk: meson: axg-audio: Don't reference clk_init_data after registration
        clk: lochnagar: Don't reference clk_init_data after registration
        clk: actions: Don't reference clk_init_data after registration
      
      * clk-doc:
        clk: remove extra ---help--- tags in Kconfig
        clk: add include guard to clk-conf.h
        clk: Document of_parse_clkspec() some more
        clk: Remove extraneous 'for' word in comments
      
      * clk-imx: (32 commits)
        clk: imx: imx8mn: fix pll mux bit
        clk: imx: imx8mm: fix pll mux bit
        clk: imx: clk-pll14xx: unbypass PLL by default
        clk: imx: pll14xx: avoid glitch when set rate
        clk: imx: imx8mn: fix audio pll setting
        clk: imx8mn: Add necessary frequency support for ARM PLL table
        clk: imx8mn: Add missing rate_count assignment for each PLL structure
        clk: imx8mn: fix int pll clk gate
        clk: imx8mn: Add GIC clock
        clk: imx8mn: Fix incorrect parents
        clk: imx8mm: Fix incorrect parents
        clk: imx8mq: Fix sys3 pll references
        clk: imx8mq: Unregister clks when of_clk_add_provider failed
        clk: imx8mm: Unregister clks when of_clk_add_provider failed
        clk: imx8mq: Mark AHB clock as critical
        clk: imx8mn: Keep uart clocks on for early console
        clk: imx: Remove unused function statement
        clk: imx7ulp: Make sure earlycon's clock is enabled
        clk: imx8mm: Switch to platform driver
        clk: imx: imx8mm: fix audio pll setting
        ...
      
      * clk-allwinner:
        clk: sunxi-ng: h6: Allow I2S to change parent rate
        clk: sunxi-ng: v3s: add Allwinner V3 support
        clk: sunxi-ng: v3s: add missing clock slices for MMC2 module clocks
        dt-bindings: clk: sunxi-ccu: add compatible string for V3 CCU
        clk: sunxi-ng: v3s: add the missing PLL_DDR1
      a1ff1ce3
    • Stephen Boyd's avatar
      Merge branches 'clk-qcom', 'clk-mtk', 'clk-armada', 'clk-ingenic' and 'clk-meson' into clk-next · f5c7305d
      Stephen Boyd authored
       - Support qcom SM8150 RPMh clks
       - Set floor ops for qcom sd clks
       - Support qcom QCS404 WCSS clks
       - Support for Mediatek MT6779 SoCs
       - Add CPU clock support for Armada 7K/8K (specifically AP806 and AP807)
      
      * clk-qcom:
        clk: qcom: rcg: Return failure for RCG update
        clk: qcom: fix QCS404 TuringCC regmap
        clk: qcom: clk-rpmh: Add support for SM8150
        dt-bindings: clock: Document SM8150 rpmh-clock compatible
        clk: qcom: clk-rpmh: Convert to parent data scheme
        dt-bindings: clock: Document the parent clocks
        clk: qcom: gcc: Use floor ops for SDCC clocks
        clk: qcom: gcc-qcs404: Use floor ops for sdcc clks
        clk: qcom: gcc-sdm845: Use floor ops for sdcc clks
        clk: qcom: define probe by index API as common API
        clk: qcom: Add WCSS gcc clock control for QCS404
        clk: qcom: msm8916: Don't build by default
        clk: qcom: gcc: Add global clock controller driver for SM8150
        dt-bindings: clock: Document gcc bindings for SM8150
        clk: qcom: clk-alpha-pll: Add support for Trion PLLs
        clk: qcom: clk-alpha-pll: Remove post_div_table checks
        clk: qcom: clk-alpha-pll: Remove unnecessary cast
      
      * clk-mtk:
        clk: mediatek: Runtime PM support for MT8183 mcucfg clock provider
        clk: mediatek: Register clock gate with device
        clk: mediatek: add pericfg clocks for MT8183
        dt-bindings: clock: mediatek: add pericfg for MT8183
        clk: mediatek: Add MT6779 clock support
        clk: mediatek: Add dt-bindings for MT6779 clocks
        dt-bindings: mediatek: bindings for MT6779 clk
        clk: reset: Modify reset-controller driver
      
      * clk-armada:
        clk: mvebu: ap80x: add AP807 clock support
        clk: mvebu: ap806: Prepare the introduction of AP807 clock support
        clk: mvebu: ap806: add AP-DCLK (hclk) to system controller driver
        clk: mvebu: ap806: be more explicit on what SaR is
        clk: mvebu: ap80x-cpu: add AP807 CPU clock support
        clk: mvebu: ap806-cpu: prepare mapping of AP807 CPU clock
        dt-bindings: ap806: Document AP807 clock compatible
        dt-bindings: ap80x: Document AP807 CPU clock compatible
        clk: mvebu: ap806: Fix clock name for the cluster
        clk: mvebu: add CPU clock driver for Armada 7K/8K
        clk: mvebu: add helper file for Armada AP and CP clocks
        dt-bindings: ap806: add the cluster clock node in the syscon file
      
      * clk-ingenic:
        clk: ingenic: Use CLK_OF_DECLARE_DRIVER macro
        clk: ingenic/jz4740: Fix "pll half" divider not read/written properly
      
      * clk-meson: (23 commits)
        clk: meson: g12a: add support for SM1 CPU 1, 2 & 3 clocks
        clk: meson: g12a: add support for SM1 DynamIQ Shared Unit clock
        clk: meson: g12a: add support for SM1 GP1 PLL
        dt-bindings: clk: meson: add sm1 periph clock controller bindings
        clk: meson: axg-audio: add g12a reset support
        dt-bindings: clock: meson: add resets to the audio clock controller
        clk: meson: g12a: expose CPUB clock ID for G12B
        clk: meson: g12a: add notifiers to handle cpu clock change
        clk: meson: add g12a cpu dynamic divider driver
        clk: core: introduce clk_hw_set_parent()
        clk: meson: remove clk input helper
        clk: meson: remove ee input bypass clocks
        clk: meson: clk-regmap: migrate to new parent description method
        clk: meson: meson8b: migrate to the new parent description method
        clk: meson: axg: migrate to the new parent description method
        clk: meson: gxbb: migrate to the new parent description method
        clk: meson: g12a: migrate to the new parent description method
        clk: meson: remove ao input bypass clocks
        clk: meson: axg-aoclk: migrate to the new parent description method
        clk: meson: gxbb-aoclk: migrate to the new parent description method
        ...
      f5c7305d
    • Stephen Boyd's avatar
      Merge branches 'clk-aspeed', 'clk-unused', 'clk-of-node-put',... · cee99529
      Stephen Boyd authored
      Merge branches 'clk-aspeed', 'clk-unused', 'clk-of-node-put', 'clk-const-bulk-data' and 'clk-debugfs' into clk-next
      
       - Add SDIO gate to aspeed driver
       - Support aspeed AST2600 SoC
       - Add missing of_node_put() calls in various clk drivers
       - Drop NULL checks in clk debugfs
       - Add min/max rates to clk debugfs
      
      * clk-aspeed:
        clk: Add support for AST2600 SoC
        clk: aspeed: Move structures to header
        clk: aspeed: Add SDIO gate
      
      * clk-unused:
        clk: st: clkgen-pll: remove unused variable 'st_pll3200c32_407_a0'
        clk: st: clkgen-fsyn: remove unused variable 'st_quadfs_fs660c32_ops'
        clk: composite: Drop unused clk.h include
        clk: Si5341/Si5340: remove redundant assignment to n_den
        clk: qoriq: Fix -Wunused-const-variable
      
      * clk-of-node-put:
        clk: ti: dm814x: Add of_node_put() to prevent memory leak
        clk: st: clk-flexgen: Add of_node_put() in st_of_flexgen_setup()
        clk: davinci: pll: Add of_node_put() in of_davinci_pll_init()
        clk: versatile: Add of_node_put() in cm_osc_setup()
      
      * clk-const-bulk-data:
        clk: Constify struct clk_bulk_data * where possible
      
      * clk-debugfs:
        clk: Drop !clk checks in debugfs dumping
        clk: Use seq_puts() in possible_parent_show()
        clk: Assert prepare_lock in clk_core_get_boundaries
        clk: Add clk_min/max_rate entries in debugfs
      cee99529
    • Stephen Boyd's avatar
      clk: Drop !clk checks in debugfs dumping · 7f480466
      Stephen Boyd authored
      These recursive functions have checks for !clk being passed in, but the
      callers are always looping through lists and therefore the pointers
      can't be NULL. Drop the checks to simplify the code.
      Signed-off-by: default avatarStephen Boyd <sboyd@kernel.org>
      Link: https://lkml.kernel.org/r/20190826234729.145593-1-sboyd@kernel.org
      7f480466
  2. 18 Sep, 2019 14 commits
  3. 17 Sep, 2019 14 commits
  4. 16 Sep, 2019 2 commits
  5. 09 Sep, 2019 3 commits