1. 19 Apr, 2016 1 commit
  2. 20 Jul, 2015 1 commit
  3. 14 May, 2015 2 commits
    • Stephen Boyd's avatar
      clk: ti: Silence sparse warnings · 412d6b47
      Stephen Boyd authored
      drivers/clk/ti/clk.c:125:31: warning: incorrect type in return expression (different address spaces)
      drivers/clk/ti/clk.c:125:31:    expected void [noderef] <asn:2>*
      drivers/clk/ti/clk.c:125:31:    got void *
      drivers/clk/ti/clk.c:132:31: warning: incorrect type in return expression (different address spaces)
      drivers/clk/ti/clk.c:132:31:    expected void [noderef] <asn:2>*
      drivers/clk/ti/clk.c:132:31:    got void *
      drivers/clk/ti/dpll.c:180:14: warning: symbol '_get_reg' was not declared. Should it be static?
      drivers/clk/ti/fapll.c:624:32: warning: Using plain integer as NULL pointer
      drivers/clk/ti/fapll.c:625:31: warning: Using plain integer as NULL pointer
      drivers/clk/ti/fapll.c:630:40: warning: Using plain integer as NULL pointer
      drivers/clk/ti/clk-dra7-atl.c:158:22: warning: symbol 'atl_clk_ops' was not declared. Should it be static?
      drivers/clk/ti/clk-dra7-atl.c:170:39: warning: Using plain integer as NULL pointer
      Acked-by: default avatarPeter Ujfalusi <peter.ujfalusi@ti.com>
      Acked-by: default avatarTero Kristo <t-kristo@ti.com>
      Signed-off-by: default avatarStephen Boyd <sboyd@codeaurora.org>
      412d6b47
    • Krzysztof Kozlowski's avatar
      clk: ti: dra7-atl-clock: Fix possible ERR_PTR dereference · e0cdcda5
      Krzysztof Kozlowski authored
      of_clk_get_from_provider() returns ERR_PTR on failure. The
      dra7-atl-clock driver was not checking its return value and
      immediately used it in __clk_get_hw().  __clk_get_hw()
      dereferences supplied clock, if it is not NULL, so in that case
      it would dereference an ERR_PTR.
      
      Fixes: 9ac33b0c ("CLK: TI: Driver for DRA7 ATL (Audio Tracking Logic)")
      Signed-off-by: default avatarKrzysztof Kozlowski <k.kozlowski@samsung.com>
      Signed-off-by: default avatarStephen Boyd <sboyd@codeaurora.org>
      e0cdcda5
  4. 01 Apr, 2015 1 commit
  5. 29 Sep, 2014 2 commits
  6. 25 Sep, 2014 1 commit
  7. 21 Aug, 2014 1 commit
  8. 28 May, 2014 1 commit
    • Peter Ujfalusi's avatar
      CLK: TI: Driver for DRA7 ATL (Audio Tracking Logic) · 9ac33b0c
      Peter Ujfalusi authored
      Audio Tracking Logic is designed to be used by HD Radio applications to
      synchronize the audio output clocks to the baseband clock. ATL can be also
      used to track errors between two reference clocks (BWS, AWS) and generate a modulated
      clock output which averages to some desired frequency.
      In essence ATL is generating a clock to be used by an audio codec and also
      to be used by the SoC as MCLK.
      
      To be able to integrate the ATL provided clocks to the clock tree we need
      two types of DT binding:
      - DT clock nodes to represent the ATL clocks towards the CCF
      - binding for the ATL IP itself which is going to handle the hw
        configuration
      
      The reason for this type of setup is that ATL itself is a separate device
      in the SoC, it has it's own address space and clock domain. Other IPs can
      use the ATL generated clock as their functional clock (McASPs for example)
      and external components like audio codecs can also use the very same clock
      as their MCLK.
      
      The ATL IP in DRA7 contains 4 ATL instences.
      Signed-off-by: default avatarPeter Ujfalusi <peter.ujfalusi@ti.com>
      Signed-off-by: default avatarTero Kristo <t-kristo@ti.com>
      9ac33b0c