<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/thermal, branch v3.6</title>
<subtitle>Linux kernel source tree</subtitle>
<id>https://git.amat.us/linux/atom/drivers/thermal?h=v3.6</id>
<link rel='self' href='https://git.amat.us/linux/atom/drivers/thermal?h=v3.6'/>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/'/>
<updated>2012-08-01T01:08:25Z</updated>
<entry>
<title>Merge tag 'for-v3.6' of git://git.infradead.org/battery-2.6</title>
<updated>2012-08-01T01:08:25Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@linux-foundation.org</email>
</author>
<published>2012-08-01T01:08:25Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=4b24ff71108164e047cf2c95990b77651163e315'/>
<id>urn:sha1:4b24ff71108164e047cf2c95990b77651163e315</id>
<content type='text'>
Pull battery updates from Anton Vorontsov:
 "The tag contains just a few battery-related changes for v3.6.  It's is
  all pretty straightforward, except one thing.

  One of our patches added thermal support for power supply class, but
  thermal/ subsystem changed under our feet.  We (well, Stephen, that
  is) caught the issue and it was decided[1] that I'd just delay the
  battery pull request, and then will fix it up by merging upstream back
  into battery tree at the specific commit.

  That's not all though: another[2] small fixup for thermal subsystem
  was needed to get rid of a warning in power supply subsystem (the
  warning was not drivers/power's "fault", the thermal registration
  function just needed a proper const annotation, which is also done by
  a small commit on top of the merge.

  So, to sum this up:
   - The 'master' branch of the battery tree was in the -next tree for
     weeks, was never rebased, altered etc.  It should be all OK;
   - Although, for-v3.6 tag contains the 'master' branch + merge + the
     warning fix.

  [1] http://lkml.org/lkml/2012/6/19/23
  [2] http://lkml.org/lkml/2012/6/18/28"

* tag 'for-v3.6' of git://git.infradead.org/battery-2.6: (23 commits)
  thermal: Constify 'type' argument for the registration routine
  olpc-battery: update CHARGE_FULL_DESIGN property for BYD LiFe batteries
  olpc-battery: Add VOLTAGE_MAX_DESIGN property
  charger-manager: Fix build break related to EXTCON
  lp8727_charger: Move header file into platform_data directory
  power_supply: Add min/max alert properties for CAPACITY, TEMP, TEMP_AMBIENT
  bq27x00_battery: Add support for BQ27425 chip
  charger-manager: Set current limit of regulator for over current protection
  charger-manager: Use EXTCON Subsystem to detect charger cables for charging
  test_power: Add VOLTAGE_NOW and BATTERY_TEMP properties
  test_power: Add support for USB AC source
  gpio-charger: Use cansleep version of gpio_set_value
  bq27x00_battery: Add support for power average and health properties
  sbs-battery: Don't trigger false supply_changed event
  twl4030_charger: Allow charger to control the regulator that feeds it
  twl4030_charger: Add backup-battery charging
  twl4030_charger: Fix some typos
  max17042_battery: Support CHARGE_COUNTER power supply attribute
  smb347-charger: Add constant charge and current properties
  power_supply: Add constant charge_current and charge_voltage properties
  ...
</content>
</entry>
<entry>
<title>thermal: Constify 'type' argument for the registration routine</title>
<updated>2012-07-31T12:45:37Z</updated>
<author>
<name>Anton Vorontsov</name>
<email>anton.vorontsov@linaro.org</email>
</author>
<published>2012-07-31T11:39:30Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=4b1bf5871f7d59de6484cc887e205d6d2f1e6fbd'/>
<id>urn:sha1:4b1bf5871f7d59de6484cc887e205d6d2f1e6fbd</id>
<content type='text'>
thermal_zone_device_register() does not modify 'type' argument, so it is
safe to declare it as const. Otherwise, if we pass a const string, we are
getting the ugly warning:

CC drivers/power/power_supply_core.o
drivers/power/power_supply_core.c: In function 'psy_register_thermal':
drivers/power/power_supply_core.c:204:6: warning: passing argument 1 of 'thermal_zone_device_register' discards 'const' qualifier from pointer target type [enabled by default]
include/linux/thermal.h:140:29: note: expected 'char *' but argument is of type 'const char *'

Signed-off-by: Anton Vorontsov &lt;anton.vorontsov@linaro.org&gt;
Acked-by: Jean Delvare &lt;khali@linux-fr.org&gt;
</content>
</entry>
<entry>
<title>Merge branches 'acpi_pad', 'acpica', 'apei-bugzilla-43282', 'battery', 'cpuidle-coupled', 'cpuidle-tweaks', 'intel_idle-ivb', 'ost', 'red-hat-bz-772730', 'thermal', 'thermal-spear' and 'turbostat-v2' into release</title>
<updated>2012-07-26T04:03:58Z</updated>
<author>
<name>Len Brown</name>
<email>len.brown@intel.com</email>
</author>
<published>2012-07-26T04:03:58Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=ec033d0a02901551346b9f43f8ff9bad51378891'/>
<id>urn:sha1:ec033d0a02901551346b9f43f8ff9bad51378891</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Thermal: Add Hysteresis attributes</title>
<updated>2012-07-25T03:19:26Z</updated>
<author>
<name>Durgadoss R</name>
<email>dugardoss.r@intel.com</email>
</author>
<published>2012-07-25T02:10:59Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=27365a6c7d64a3bba22ee62109e4a071bbd7f933'/>
<id>urn:sha1:27365a6c7d64a3bba22ee62109e4a071bbd7f933</id>
<content type='text'>
The Linux Thermal Framework does not support hysteresis
attributes. Most thermal sensors, today, have a
hysteresis value associated with trip points.

This patch adds hysteresis attributes on a per-trip-point
basis, to the Thermal Framework. These attributes are
optionally writable.

Signed-off-by: Durgadoss R &lt;durgadoss.r@intel.com&gt;
Signed-off-by: Zhang Rui &lt;rui.zhang@intel.com&gt;
Signed-off-by: Len Brown &lt;len.brown@intel.com&gt;
</content>
</entry>
<entry>
<title>Thermal: Make Thermal trip points writeable</title>
<updated>2012-07-25T03:17:20Z</updated>
<author>
<name>Durgadoss R</name>
<email>dugardoss.r@intel.com</email>
</author>
<published>2012-07-25T02:10:58Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=c56f5c0342dfee11a1a13d2f5bb7618de5b17590'/>
<id>urn:sha1:c56f5c0342dfee11a1a13d2f5bb7618de5b17590</id>
<content type='text'>
Some of the thermal drivers using the Generic Thermal Framework
require (all/some) trip points to be writeable. This patch makes
the trip point temperatures writeable on a per-trip point basis,
and modifies the required function call in thermal.c. This patch
also updates the Documentation to reflect the new change.

Signed-off-by: Durgadoss R &lt;durgadoss.r@intel.com&gt;
Signed-off-by: Zhang Rui &lt;rui.zhang@intel.com&gt;
Signed-off-by: Len Brown &lt;len.brown@intel.com&gt;
</content>
</entry>
<entry>
<title>drivers/thermal/spear_thermal.c: add Device Tree probing capability</title>
<updated>2012-06-02T05:49:38Z</updated>
<author>
<name>Viresh Kumar</name>
<email>viresh.linux@gmail.com</email>
</author>
<published>2012-05-29T18:18:51Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=b9c7aff481f19dd655ae3ce6513817d625e2d47c'/>
<id>urn:sha1:b9c7aff481f19dd655ae3ce6513817d625e2d47c</id>
<content type='text'>
SPEAr platforms now support DT and so must convert all drivers to support
DT.  This patch adds DT probing support for SPEAr thermal sensor driver
and updates its documentation too.

Also, as SPEAr is the only user of this driver and is only available with
DT, make this an only DT driver.  So, platform_data is completely removed
and passed via DT now.

Signed-off-by: Viresh Kumar &lt;viresh.kumar@st.com&gt;
Cc: Dan Carpenter &lt;dan.carpenter@oracle.com&gt;
Reviewed-by: Vincenzo Frascino &lt;vincenzo.frascino@st.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Len Brown &lt;len.brown@intel.com&gt;
</content>
</entry>
<entry>
<title>thermal: Fix for setting the thermal zone mode to enable/disable</title>
<updated>2012-03-22T05:10:18Z</updated>
<author>
<name>Amit Daniel Kachhap</name>
<email>amit.kachhap@linaro.org</email>
</author>
<published>2012-03-21T11:10:01Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=f1f0e2ac596f531c15b7b09ebeb8cfd011fffbd2'/>
<id>urn:sha1:f1f0e2ac596f531c15b7b09ebeb8cfd011fffbd2</id>
<content type='text'>
Basically without this patch changing the mode of thermal zone
is not possible as wrong string size is passed to strncmp.

Signed-off-by: Amit Daniel Kachhap &lt;amit.kachhap@linaro.org&gt;
Acked-by: Jean Delvare &lt;khali@linux-fr.org&gt;
Signed-off-by: Len Brown &lt;len.brown@intel.com&gt;
</content>
</entry>
<entry>
<title>thermal: spear13xx: checking for NULL instead of IS_ERR()</title>
<updated>2012-03-22T05:07:22Z</updated>
<author>
<name>Dan Carpenter</name>
<email>dan.carpenter@oracle.com</email>
</author>
<published>2012-03-21T19:55:04Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=03ee62f0b9919535a1be02f72fe8153255a7fda0'/>
<id>urn:sha1:03ee62f0b9919535a1be02f72fe8153255a7fda0</id>
<content type='text'>
thermal_zone_device_register() never returns NULL, on error it returns and
ERR_PTR().

Signed-off-by: Dan Carpenter &lt;dan.carpenter@oracle.com&gt;
Reviewed-by: Viresh Kumar &lt;viresh.kumar@st.com&gt;
Reviewed-by: Vincenzo Frascino &lt;vincenzo.frascino@st.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Len Brown &lt;len.brown@intel.com&gt;
</content>
</entry>
<entry>
<title>thermal/spear_thermal: replace readl/writel with lighter _relaxed variants</title>
<updated>2012-03-22T05:06:43Z</updated>
<author>
<name>Viresh Kumar</name>
<email>viresh.kumar@st.com</email>
</author>
<published>2012-03-21T19:55:03Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=de716e32e61fae5d1f0d000008d3f641cec5c9dd'/>
<id>urn:sha1:de716e32e61fae5d1f0d000008d3f641cec5c9dd</id>
<content type='text'>
readl/writel versions for ARM contain memory barrier instruction for
synchronizing DMA buffers.  These are not required at least on this
module.  So use lighter _relaxed variants.

Signed-off-by: Viresh Kumar &lt;viresh.kumar@st.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Len Brown &lt;len.brown@intel.com&gt;
</content>
</entry>
<entry>
<title>thermal: add support for thermal sensor present on SPEAr13xx machines</title>
<updated>2012-03-22T05:05:32Z</updated>
<author>
<name>Vincenzo Frascino</name>
<email>vincenzo.frascino@st.com</email>
</author>
<published>2012-03-21T19:55:03Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=6a92c36688bd6d8e68e19ca9b5e41e8197921b59'/>
<id>urn:sha1:6a92c36688bd6d8e68e19ca9b5e41e8197921b59</id>
<content type='text'>
ST's SPEAr13xx machines are based on CortexA9 ARM processors.  These
machines contain a thermal sensor for junction temperature monitoring.

This patch adds support for this thermal sensor in existing thermal
framework.

[akpm@linux-foundation.org: little code cleanup]
[akpm@linux-foundation.org: print the pointer correctly]
[viresh.kumar@st.com: thermal/spear_thermal: add compilation dependency on PLAT_SPEAR]
Signed-off-by: Vincenzo Frascino &lt;vincenzo.frascino@st.com&gt;
Signed-off-by: Viresh Kumar &lt;viresh.kumar@st.com&gt;
Signed-off-by: Viresh Kumar &lt;viresh.kumar@st.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Len Brown &lt;len.brown@intel.com&gt;
</content>
</entry>
</feed>
