1. 05 1月, 2017 1 次提交
  2. 02 1月, 2017 1 次提交
  3. 16 11月, 2016 1 次提交
  4. 01 9月, 2016 1 次提交
    • L
      clk: rockchip: add new clock-type for the ddrclk · a4f182bf
      Lin Huang 提交于
      Changing the rate of the DDR clock needs special care, as the DDR
      is of course in use and will react badly if the rate changes under it.
      
      Over time different approaches to handle that were used.
      
      Past SoCs like the rk3288 and before would store some code in SRAM
      while the rk3368 used a SCPI variant and let a coprocessor handle that.
      
      New rockchip platforms like the rk3399 have a dcf controller to do ddr
      frequency scaling, and support for this controller will be implemented
      in the arm-trusted-firmware.
      
      This new clock-type should over time handle all these methods for
      handling DDR rate changes, but right now it will concentrate on the
      SIP interface used to talk to ARM trusted firmware.
      
      The SIP interface counterpart was merged from pull-request #684 [0]
      into the upstream arm-trusted-firmware codebase.
      
      [0] https://github.com/ARM-software/arm-trusted-firmware/pull/684Signed-off-by: NLin Huang <hl@rock-chips.com>
      Signed-off-by: NHeiko Stuebner <heiko@sntech.de>
      a4f182bf
  5. 28 3月, 2016 1 次提交
  6. 13 12月, 2015 1 次提交
  7. 24 11月, 2015 1 次提交
  8. 07 7月, 2015 2 次提交
  9. 28 11月, 2014 1 次提交
    • A
      clk: rockchip: Add support for the mmc clock phases using the framework · 89bf26cb
      Alexandru M Stan 提交于
      This patch adds the 2 physical clocks for the mmc (drive and sample). They're
      mostly there for the phase properties, but they also show the true clock
      (by dividing by RK3288_MMC_CLKGEN_DIV).
      
      The drive and sample phases are generated by dividing an upstream parent clock
      by 2, this allows us to adjust the phase by 90 deg.
      
      There's also an option to have up to 255 delay elements (40-80 picoseconds long).
      This driver uses those elements (under the assumption that they're 60 ps long)
      to generate approximate 22.5 degrees options. 67.5 (22.5*3) might be as high as
      90 deg if the delay elements are as big as 80 ps, so a finer division (smaller
      than 22.5) was not picked because the phase might not be monotonic anymore.
      Suggested-by: NHeiko Stuebner <heiko@sntech.de>
      Signed-off-by: NAlexandru M Stan <amstan@chromium.org>
      Signed-off-by: NHeiko Stuebner <heiko@sntech.de>
      89bf26cb
  10. 27 9月, 2014 1 次提交
  11. 14 7月, 2014 5 次提交
  12. 21 6月, 2013 1 次提交
    • H
      clk: add support for Rockchip gate clocks · 646572c7
      Heiko Stübner 提交于
      This adds basic support for gate-clocks on Rockchip SoCs.
      There are 16 gates in each register and use the HIWORD_MASK
      mechanism for changing gate settings.
      
      The gate registers form a continuos block which makes the dt node
      structure a matter of taste, as either all 160 gates can be put into
      one gate clock spanning all registers or they can be divided into
      the 10 individual gates containing 16 clocks each.
      The code supports both approaches.
      Signed-off-by: NHeiko Stuebner <heiko@sntech.de>
      Signed-off-by: NMike Turquette <mturquette@linaro.org>
      646572c7