1. 18 Apr, 2018 1 commit
  2. 26 Dec, 2017 1 commit
  3. 06 Dec, 2017 1 commit
  4. 19 Aug, 2016 1 commit
  5. 17 Sep, 2015 2 commits
    • Punit Agrawal's avatar
      of: thermal: Mark cooling-*-level properties optional · 9fa04fbe
      Punit Agrawal authored
      The cooling-{min,max}-level properties are marked as optional in
      Documentation/devicetree/bindings/cpufreq/cpufreq-dt.txt and the usage
      in various device tree matches this, i.e., some cooling device in the
      device trees provide these properties while others do not.
      
      Make the bindings in
      Documentation/devicetree/bindings/thermal/thermal.txt consistent with
      the cpufreq-dt bindings by marking the cooling-*-level properties as
      optional.
      Signed-off-by: default avatarPunit Agrawal <punit.agrawal@arm.com>
      Cc: Eduardo Valentin <edubezval@gmail.com>
      Cc: Rob Herring <robh+dt@kernel.org>
      Cc: Mark Rutland <mark.rutland@arm.com>
      Cc: Ian Campbell <ijc+devicetree@hellion.org.uk>
      Cc: Kumar Gala <galak@codeaurora.org>
      Signed-off-by: Rob Herring's avatarRob Herring <robh@kernel.org>
      9fa04fbe
    • Punit Agrawal's avatar
      of: thermal: Fix inconsitency between cooling-*-state and cooling-*-level · eb168b70
      Punit Agrawal authored
      The device trees in the kernel as well as the binding description in
      Documentation/devicetree/bindings/cpufreq/cpufreq-dt.txt use the
      cooling-{min,max}-level property.
      
      Fix the inconsistency with the binding description in
      Documentation/devicetree/bindings/thermal/thermal.txt by changing
      cooling-*-state properties to cooling-*-level.
      Signed-off-by: default avatarPunit Agrawal <punit.agrawal@arm.com>
      Cc: Eduardo Valentin <edubezval@gmail.com>
      Cc: Rob Herring <robh+dt@kernel.org>
      Cc: Mark Rutland <mark.rutland@arm.com>
      Cc: Ian Campbell <ijc+devicetree@hellion.org.uk>
      Cc: Kumar Gala <galak@codeaurora.org>
      Signed-off-by: Rob Herring's avatarRob Herring <robh@kernel.org>
      eb168b70
  6. 05 May, 2015 1 commit
  7. 28 Jan, 2015 1 commit
  8. 04 Dec, 2013 1 commit
    • Eduardo Valentin's avatar
      thermal: introduce device tree parser · 4e5e4705
      Eduardo Valentin authored
      This patch introduces a device tree bindings for
      describing the hardware thermal behavior and limits.
      Also a parser to read and interpret the data and feed
      it in the thermal framework is presented.
      
      This patch introduces a thermal data parser for device
      tree. The parsed data is used to build thermal zones
      and thermal binding parameters. The output data
      can then be used to deploy thermal policies.
      
      This patch adds also documentation regarding this
      API and how to define tree nodes to use
      this infrastructure.
      
      Note that, in order to be able to have control
      on the sensor registration on the DT thermal zone,
      it was required to allow changing the thermal zone
      .get_temp callback. For this reason, this patch
      also removes the 'const' modifier from the .ops
      field of thermal zone devices.
      
      Cc: Zhang Rui <rui.zhang@intel.com>
      Cc: linux-pm@vger.kernel.org
      Cc: linux-kernel@vger.kernel.org
      Acked-by: default avatarMark Rutland <mark.rutland@arm.com>
      Signed-off-by: default avatarEduardo Valentin <eduardo.valentin@ti.com>
      4e5e4705