1. 24 Aug, 2015 22 commits
  2. 12 Aug, 2015 11 commits
  3. 07 Aug, 2015 1 commit
  4. 05 Aug, 2015 2 commits
  5. 03 Aug, 2015 1 commit
  6. 29 Jul, 2015 1 commit
  7. 28 Jul, 2015 2 commits
    • Krzysztof Kozlowski's avatar
      clk: exynos4: Fix wrong clock for Exynos4x12 ADC · e323d56e
      Krzysztof Kozlowski authored
      The TSADC gate clock was used in Exynos4x12 DTSI for exynos-adc driver.
      However TSADC is present only on Exynos4210 so on Trats2 board (with
      Exynos4412 SoC) the exynos-adc driver could not be probed:
         ERROR: could not get clock /adc@126C0000:adc(0)
         exynos-adc 126c0000.adc: failed getting clock, err = -2
         exynos-adc: probe of 126c0000.adc failed with error -2
      
      Instead on Exynos4x12 SoCs the main clock used by Analog to Digital
      Converter is located in different register and it is named in datasheet
      as PCLK_ADC. Regardless of the name the purpose of this PCLK_ADC clock
      is the same as purpose of TSADC from Exynos4210.
      
      The patch adds gate clock for Exynos4x12 using the proper register so
      backward compatibility is preserved. This fixes the probe of exynos-adc
      driver on Exynos4x12 boards and allows accessing sensors connected to it
      on Trats2 board (ntc,ncp15wb473 AP and battery thermistors).
      Signed-off-by: default avatarKrzysztof Kozlowski <k.kozlowski@samsung.com>
      Cc: <stable@vger.kernel.org>
      Fixes: c63c5743 ("ARM: dts: Add ADC's dt data to read raw data for exynos4x12")
      Reviewed-by: default avatarJavier Martinez Canillas <javier.martinez@collabora.co.uk>
      Acked-by: default avatarTomasz Figa <tomasz.figa@gmail.com>
      Signed-off-by: default avatarStephen Boyd <sboyd@codeaurora.org>
      e323d56e
    • Rob Herring's avatar
      clk: kill off set_irq_flags usage · 00f3ec37
      Rob Herring authored
      set_irq_flags is ARM specific with custom flags which have genirq
      equivalents. Convert drivers to use the genirq interfaces directly, so we
      can kill off set_irq_flags. The translation of flags is as follows:
      
      IRQF_VALID -> !IRQ_NOREQUEST
      IRQF_PROBE -> !IRQ_NOPROBE
      IRQF_NOAUTOEN -> IRQ_NOAUTOEN
      
      For IRQs managed by an irqdomain, the irqdomain core code handles clearing
      and setting IRQ_NOREQUEST already, so there is no need to do this in
      .map() functions and we can simply remove the set_irq_flags calls. Some
      users also modify IRQ_NOPROBE and this has been maintained although it
      is not clear that is really needed. There appears to be a great deal of
      blind copy and paste of this code.
      Signed-off-by: default avatarRob Herring <robh@kernel.org>
      Acked-by: default avatarBoris Brezillon <boris.brezillon@free-electrons.com>
      Cc: Mike Turquette <mturquette@baylibre.com>
      Acked-by: default avatarStephen Boyd <sboyd@codeaurora.org>
      Cc: linux-clk@vger.kernel.org
      Signed-off-by: default avatarStephen Boyd <sboyd@codeaurora.org>
      00f3ec37