• Stephen Boyd's avatar
    Merge tag 'v4.9-rockchip-clk1' of... · 9bb87c02
    Stephen Boyd authored
    Merge tag 'v4.9-rockchip-clk1' of git://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip into clk-next
    
    Pull rockchip clk driver updates from Heiko Stuebner:
    
    The biggest addition is probably the special clock-type for ddr clock
    control. While reading that clock is done the normal way from the
    registers, setting it always requires some sort of special handling
    to let the system survive this addition.
    
    As the commit message explains, there are currently 3 handling-types
    known. General SRAM-based code on rk3288 and before (which is waiting
    essentially for the PIE support that is currently being worked on),
    SCPI-based clk setting on the rk3368 through a coprocessor, which we
    might support once the support for legacy scpi-variants has matured
    and now on the rk3399 (and probably later) using a dcf controller that
    is controlled from the arm-trusted-firmware and gets accessed through
    firmware calls from the kernel. This is the variant we currently
    support, but the clock type is made to support the other variants in
    the future as well.
    
    Apart from that slightly bigger chunk, we have a mix of PLL rates,
    clock-ids and flags mainly for the rk3399.
    
    And interestingly an iomap fix for the legacy gate driver, where I
    hopefully could deter the submitter from actually using that in any
    new works.
    
    * tag 'v4.9-rockchip-clk1' of git://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip:
      clk: rockchip: use the dclk_vop_frac clock ids on rk3399
      clk: rockchip: drop CLK_SET_RATE_PARENT from rk3399 fractional dividers
      clk: rockchip: add 2016M to big cpu clk rate table on rk3399
      clk: rockchip: add rk3399 ddr clock support
      clk: rockchip: add dclk_vop_frac ids for rk3399 vop
      clk: rockchip: add new clock-type for the ddrclk
      soc: rockchip: add header for ddr rate SIP interface
      clk: rockchip: add SCLK_DDRC id for rk3399 ddrc
      clk: rockchip: handle of_iomap failures in legacy clock driver
      clk: rockchip: mark rk3399 hdcp_noc and vio_noc as critical
      clk: rockchip: use general clock flag when registering pll
      clk: rockchip: delete the CLK_IGNORE_UNUSED from aclk_pcie on rk3399
      clk: rockchip: add 65MHz and 106.5MHz rates to rk3399 plls used for HDMI
    9bb87c02
clk-rk3399.c 68.9 KB