1. 10 2月, 2016 4 次提交
  2. 07 1月, 2016 8 次提交
  3. 29 12月, 2015 5 次提交
  4. 09 12月, 2015 1 次提交
  5. 24 11月, 2015 2 次提交
    • T
      imx: thermal: use CPU temperature grade info for thresholds · a2291bad
      Tim Harvey 提交于
      The IMX6Q/IMX6DL SoC's have a 2-bit temperature grade stored in OTP which
      is valid for all IMX6 SoC's (despite the fact that the IMXSDLRM and
      IMXSXRM do not document this - this has been proven via tests as well as
      verified by Freescale FAE).
      
      Instead of assuming a fixed 85C for passive cooling threshold and 105C for
      critical use the thermal grade for these configurations.
      
      We will set the critical to maxT - 5C and passive to maxT - 10C.
      
      Cc: Anson Huang <b20788@freescale.com>
      Cc: Fabio Estevam <fabio.estevam@freescale.com>
      Acked-by: NShawn Guo <shawn.guo@linaro.org>
      Acked-by: NJon Nettleton <jon@solid-run.com>
      Signed-off-by: NTim Harvey <tharvey@gateworks.com>
      ----
      v3:
       - rebase against linux-soc-thermal.git
       - added ack's from Shawn and Jon
      v2:
       - remove check for IMX6Q and update comments: The OTP values have been tested
         on IMX6SOLO, IMX6DUALLITE, and IMX6SX and Freescale FAE has shared data with
         me that the OTP settings are the same and that the reference manuals will
         reflect this in their next updates.
       - set critical to max - 5C
       - set passive to max - 10C
       - display max temp in info
       - do not allow passive to be set above critical
      Signed-off-by: NEduardo Valentin <edubezval@gmail.com>
      a2291bad
    • A
      Revert "thermal: qcom_spmi: allow compile test" · e4217468
      Arnd Bergmann 提交于
      This just caused build errors:
      
      warning: (QCOM_SPMI_TEMP_ALARM) selects REGMAP_SPMI which has unmet direct dependencies (SPMI)
      drivers/built-in.o: In function `regmap_spmi_ext_gather_write':
      :(.text+0x609b0): undefined reference to `spmi_ext_register_write'
      :(.text+0x609f0): undefined reference to `spmi_ext_register_writel'
      
      While it's generally a good idea to allow compile testing, in this
      case, it just doesn't work, so reverting the patch that
      introduced the compile-test variant seems the most appropriate
      solution.
      
      Note that SPMI also has a 'depends on ARCH_QCOM || COMPILE_TEST'
      statement, so we should be able to enable SPMI on all architectures
      for compile testing already.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Fixes: cb7fb4d3 ("thermal: qcom_spmi: allow compile test")
      Signed-off-by: NEduardo Valentin <edubezval@gmail.com>
      e4217468
  6. 17 11月, 2015 2 次提交
  7. 13 11月, 2015 7 次提交
  8. 12 11月, 2015 1 次提交
  9. 10 11月, 2015 1 次提交
    • A
      remove abs64() · 79211c8e
      Andrew Morton 提交于
      Switch everything to the new and more capable implementation of abs().
      Mainly to give the new abs() a bit of a workout.
      
      Cc: Michal Nazarewicz <mina86@mina86.com>
      Cc: John Stultz <john.stultz@linaro.org>
      Cc: Ingo Molnar <mingo@kernel.org>
      Cc: Steven Rostedt <rostedt@goodmis.org>
      Cc: Peter Zijlstra <peterz@infradead.org>
      Cc: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
      Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      79211c8e
  10. 05 11月, 2015 6 次提交
  11. 04 11月, 2015 1 次提交
  12. 03 11月, 2015 2 次提交