1. 24 Aug, 2015 36 commits
  2. 12 Aug, 2015 4 commits
    • Sjoerd Simons's avatar
      clk: rockchip: Fix SPIF special clock definition · bea047e0
      Sjoerd Simons authored
      Neither spdif_src nor spdif_pll exists, judging by the vendor kernel in
      both cases spdif_pre was meant. This brings the naming in line and
      hierachy in line with that of sclk_i2s0.
      
      Also allow sclk_spdif and spdif_frac to change their parents rate as
      that the upstream dividers are purely there to feed sclk_spdif
      Signed-off-by: default avatarSjoerd Simons <sjoerd.simons@collabora.co.uk>
      Reviewed-by: default avatarHeiko Stuebner <heiko@sntech.de>
      Signed-off-by: default avatarMichael Turquette <mturquette@baylibre.com>
      bea047e0
    • Eric Anholt's avatar
      clk: bcm2835: Drop the fixed sys_pclk. · d24d2ec6
      Eric Anholt authored
      Nothing uses it, and I can't find any evidence that anything ever has.
      Its role is now filled by the core clock in the firmware driver.
      Signed-off-by: default avatarEric Anholt <eric@anholt.net>
      Acked-by: default avatarStephen Warren <swarren@wwwdotorg.org>
      Signed-off-by: default avatarMichael Turquette <mturquette@baylibre.com>
      d24d2ec6
    • Heiko Stuebner's avatar
      clk: track the orphan status of clocks and their children · e6500344
      Heiko Stuebner authored
      While children of orphan clocks are not carried in the orphan-list itself,
      they're nevertheless orphans in their own right as they also don't have an
      input-rate available. To ease tracking if a clock is an orphan or has an
      orphan in its parent path introduce an orphan field into struct clk and
      update it and the fields in child-clocks when a clock gets added or removed
      from the orphan-list.
      Suggested-by: default avatarStephen Boyd <sboyd@codeaurora.org>
      Signed-off-by: default avatarHeiko Stuebner <heiko@sntech.de>
      Cc: Boris Brezillon <boris.brezillon@free-electrons.com>
      Cc: Alex Elder <elder@linaro.org>
      Cc: Alexandre Belloni <alexandre.belloni@free-electrons.com>
      Cc: Stephen Warren <swarren@wwwdotorg.org>
      Cc: Max Filippov <jcmvbkbc@gmail.com>
      Cc: kernel@pengutronix.de
      Cc: Zhangfei Gao <zhangfei.gao@linaro.org>
      Cc: Santosh Shilimkar <ssantosh@kernel.org>
      Cc: Chao Xie <chao.xie@marvell.com>
      Cc: Jason Cooper <jason@lakedaemon.net>
      Cc: Stefan Wahren <stefan.wahren@i2se.com>
      Cc: Andrew Bresticker <abrestic@chromium.org>
      Cc: Robert Jarzmik <robert.jarzmik@free.fr>
      Cc: Georgi Djakov <georgi.djakov@linaro.org>
      Cc: Sylwester Nawrocki <s.nawrocki@samsung.com>
      Cc: Geert Uytterhoeven <geert+renesas@glider.be>
      Cc: Barry Song <baohua@kernel.org>
      Cc: Dinh Nguyen <dinguyen@opensource.altera.com>
      Cc: Viresh Kumar <viresh.linux@gmail.com>
      Cc: Gabriel FERNANDEZ <gabriel.fernandez@st.com>
      Cc: emilio@elopez.com.ar
      Cc: Peter De Schrijver <pdeschrijver@nvidia.com>
      Cc: Tero Kristo <t-kristo@ti.com>
      Cc: Ulf Hansson <ulf.hansson@linaro.org>
      Cc: Pawel Moll <pawel.moll@arm.com>
      Cc: Michal Simek <michal.simek@xilinx.com>
      [sboyd@codeaurora.org: s/clk/core/ in new function]
      Signed-off-by: default avatarStephen Boyd <sboyd@codeaurora.org>
      e6500344
    • Maxime Ripard's avatar
      clk: sunxi: Add a simple gates driver · ee38b269
      Maxime Ripard authored
      The gates were handled with a common piece of framework that was
      registering all gates array, that was not using the CLK_OF_DECLARE logic,
      and was not using clock-indices but some private masks that were pretty
      much equivalent.
      
      Move this code in a new driver that handles all the gates array and solves
      both these issues.
      Signed-off-by: default avatarMaxime Ripard <maxime.ripard@free-electrons.com>
      Signed-off-by: default avatarMichael Turquette <mturquette@baylibre.com>
      [sboyd@codeaurora.org: Include clk.h for consumer API usage]
      Signed-off-by: default avatarStephen Boyd <sboyd@codeaurora.org>
      ee38b269