1. 09 8月, 2016 1 次提交
  2. 03 12月, 2015 1 次提交
  3. 22 10月, 2015 2 次提交
    • M
      clk: sunxi: pll2: Add A13 support · eb662f85
      Maxime Ripard 提交于
      The A13, unlike the A10 and A20, doesn't use a pass-through exception for
      the 0 value in the pre and post dividers, but increments all the values
      written in the register by one.
      
      Add an exception for both these cases to handle them nicely.
      Signed-off-by: NMaxime Ripard <maxime.ripard@free-electrons.com>
      Reviewed-by: NChen-Yu Tsai <wens@csie.org>
      eb662f85
    • M
      clk: sunxi: Add a driver for the PLL2 · 460d0d44
      Maxime Ripard 提交于
      The PLL2 on the A10 and later SoCs is the clock used for all the audio
      related operations.
      
      This clock has a somewhat complex output tree, with three outputs (2X, 4X
      and 8X) with a fixed divider from the base clock, and an output (1X) with a
      post divider.
      
      However, we can simplify things since the 1X divider can be fixed, and we
      end up by having a base clock not exposed to any device (or at least
      directly, since the 4X output doesn't have any divider), and 4 fixed
      divider clocks that will be exposed.
      
      This clock seems to have been introduced, at least in this form, in the
      revision B of the A10, but we don't have any information on the clock used
      on the revision A.
      Signed-off-by: NMaxime Ripard <maxime.ripard@free-electrons.com>
      Reviewed-by: NChen-Yu Tsai <wens@csie.org>
      460d0d44