<feed xmlns='http://www.w3.org/2005/Atom'>
<title>user/sven/linux.git/drivers/power, branch v3.8.4</title>
<subtitle>Linux Kernel
</subtitle>
<id>https://git.stealer.net/cgit.cgi/user/sven/linux.git/atom?h=v3.8.4</id>
<link rel='self' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/atom?h=v3.8.4'/>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/'/>
<updated>2013-03-03T22:03:38Z</updated>
<entry>
<title>ab8500_btemp: Demote initcall sequence</title>
<updated>2013-03-03T22:03:38Z</updated>
<author>
<name>Rajanikanth H.V</name>
<email>rajanikanth.hv@stericsson.com</email>
</author>
<published>2013-01-23T04:26:45Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=1564220437d4e77154d3e9fbdccf039d60c60a68'/>
<id>urn:sha1:1564220437d4e77154d3e9fbdccf039d60c60a68</id>
<content type='text'>
commit eeb0751c99522a4d1bbcc7b6bc1460cd07d07488 upstream.

Power supply subsystem creates thermal zone device for the property
'POWER_SUPPLY_PROP_TEMP' which requires thermal subsystem to be ready
before 'ab8500 battery temperature monitor' driver is initialized. ab8500
btemp driver is initialized with subsys_initcall whereas thermal subsystem
is initialized with fs_initcall which causes
thermal_zone_device_register(...) to crash since the required structure
'thermal_class' is not initialized yet:

Unable to handle kernel NULL pointer dereference at virtual address 000000a4
pgd = c0004000
[000000a4] *pgd=00000000
Internal error: Oops: 5 [#1] PREEMPT SMP ARM
Modules linked in:
CPU: 0    Tainted: G        W     (3.8.0-rc4-00001-g632fda8-dirty #1)
PC is at _raw_spin_lock+0x18/0x54
LR is at get_device_parent+0x50/0x1b8
pc : [&lt;c02f1dd0&gt;]    lr : [&lt;c01cb248&gt;]    psr: 60000013
sp : ef04bdc8  ip : 00000000  fp : c0446180
r10: ef216e38  r9 : c03af5d0  r8 : ef275c18
r7 : 00000000  r6 : c0476c14  r5 : ef275c18  r4 : ef095840
r3 : ef04a000  r2 : 00000001  r1 : 00000000  r0 : 000000a4
Flags: nZCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment kernel
Control: 10c5787d  Table: 0000404a  DAC: 00000015
Process swapper/0 (pid: 1, stack limit = 0xef04a238)
Stack: (0xef04bdc8 to 0xef04c000)
[...]
[&lt;c02f1dd0&gt;] (_raw_spin_lock+0x18/0x54) from [&lt;c01cb248&gt;] (get_device_parent+0x50/0x1b8)
[&lt;c01cb248&gt;] (get_device_parent+0x50/0x1b8) from [&lt;c01cb8d8&gt;] (device_add+0xa4/0x574)
[&lt;c01cb8d8&gt;] (device_add+0xa4/0x574) from [&lt;c020b91c&gt;] (thermal_zone_device_register+0x118/0x938)
[&lt;c020b91c&gt;] (thermal_zone_device_register+0x118/0x938) from [&lt;c0202030&gt;] (power_supply_register+0x170/0x1f8)
[&lt;c0202030&gt;] (power_supply_register+0x170/0x1f8) from [&lt;c02055ec&gt;] (ab8500_btemp_probe+0x208/0x47c)
[&lt;c02055ec&gt;] (ab8500_btemp_probe+0x208/0x47c) from [&lt;c01cf0dc&gt;] (platform_drv_probe+0x14/0x18)
[&lt;c01cf0dc&gt;] (platform_drv_probe+0x14/0x18) from [&lt;c01cde70&gt;] (driver_probe_device+0x74/0x20c)
[&lt;c01cde70&gt;] (driver_probe_device+0x74/0x20c) from [&lt;c01ce094&gt;] (__driver_attach+0x8c/0x90)
[&lt;c01ce094&gt;] (__driver_attach+0x8c/0x90) from [&lt;c01cc640&gt;] (bus_for_each_dev+0x4c/0x80)
[&lt;c01cc640&gt;] (bus_for_each_dev+0x4c/0x80) from [&lt;c01cd6b4&gt;] (bus_add_driver+0x16c/0x23c)
[&lt;c01cd6b4&gt;] (bus_add_driver+0x16c/0x23c) from [&lt;c01ce54c&gt;] (driver_register+0x78/0x14c)
[&lt;c01ce54c&gt;] (driver_register+0x78/0x14c) from [&lt;c00086ac&gt;] (do_one_initcall+0xfc/0x164)
[&lt;c00086ac&gt;] (do_one_initcall+0xfc/0x164) from [&lt;c02e89c8&gt;] (kernel_init+0x120/0x2b8)
[&lt;c02e89c8&gt;] (kernel_init+0x120/0x2b8) from [&lt;c000e358&gt;] (ret_from_fork+0x14/0x3c)
Code: e3c3303f e5932004 e2822001 e5832004 (e1903f9f)
---[ end trace ed9df72941b5bada ]---

Signed-off-by: Rajanikanth H.V &lt;rajanikanth.hv@stericsson.com&gt;
Signed-off-by: Anton Vorontsov &lt;anton@enomsg.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>ab8500-chargalg: Only root should have write permission on sysfs file</title>
<updated>2013-03-03T22:03:38Z</updated>
<author>
<name>Lee Jones</name>
<email>lee.jones@linaro.org</email>
</author>
<published>2013-01-17T14:21:53Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=71b9101a2b66f46703573c0a4aeca91b92038dbc'/>
<id>urn:sha1:71b9101a2b66f46703573c0a4aeca91b92038dbc</id>
<content type='text'>
commit e3455002d04276c256a531f7175dce0f7d1cb78a upstream.

Only root should have write permission on sysfs file ab8500_chargalg/chargalg.

Signed-off-by: Lee Jones &lt;lee.jones@linaro.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>bq27x00_battery: Fix bugs introduced with BQ27425 support</title>
<updated>2013-03-03T22:03:38Z</updated>
<author>
<name>NeilBrown</name>
<email>neilb@suse.de</email>
</author>
<published>2012-12-02T09:34:21Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=eddf61b2363eb515138aa7fd1627c1747f269131'/>
<id>urn:sha1:eddf61b2363eb515138aa7fd1627c1747f269131</id>
<content type='text'>
commit bde83b9a6b44c1e0fd872e57ecc869cfcf88538f upstream.

commit a66f59ba2e994bf70274ef0513e24e0e7ae20c63

    bq27x00_battery: Add support for BQ27425 chip

introduced 2 bugs.

1/ 'chip' was set to BQ27425 unconditionally - breaking support for
   other devices;

2/ BQ27425 does not support cycle count, how the code still tries to
   get the cycle count for BQ27425, and now does it twice for other chips.

Signed-off-by: NeilBrown &lt;neilb@suse.de&gt;
Cc: Saranya Gopal &lt;saranya.gopal@intel.com&gt;
Signed-off-by: Anton Vorontsov &lt;anton@enomsg.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>Merge tag 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc</title>
<updated>2013-01-09T02:53:56Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@linux-foundation.org</email>
</author>
<published>2013-01-09T02:53:56Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=974b33586b4bbbdab33c666417f9ba9ef50b62c3'/>
<id>urn:sha1:974b33586b4bbbdab33c666417f9ba9ef50b62c3</id>
<content type='text'>
Pull ARM SoC fixes from Olof Johansson:
 "People are back from the holiday breaks, and it shows.  Here are a
  bunch of fixes for a number of platforms:
   - A couple of small fixes for Nomadik
   - A larger set of changes for kirkwood/mvebu
     - uart driver selection, dt clocks, gpio-poweroff fixups, a few
       __init annotation fixes and some error handling improvement in
       their xor dma driver.
   - i.MX had a couple of minor fixes (and a critical one for flexcan2
     clock setup)
   - MXS has a small board fix and a framebuffer bugfix
   - A set of fixes for Samsung Exynos, fixing default bootargs and some
     Exynos5440 clock issues
   - A set of OMAP changes including PM fixes and a few sparse warning
     fixups

  All in all a bit more positive code delta than we'd ideally want to
  see here, mostly from the OMAP PM changes, but nothing overly crazy."

* tag 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (44 commits)
  ARM: clps711x: Fix bad merge of clockevents setup
  ARM: highbank: save and restore L2 cache and GIC on suspend
  ARM: highbank: add a power request clear
  ARM: highbank: fix secondary boot and hotplug
  ARM: highbank: fix typos with hignbank in power request functions
  ARM: dts: fix highbank cpu mpidr values
  ARM: dts: add device_type prop to cpu nodes on Calxeda platforms
  ARM: mx5: Fix MX53 flexcan2 clock
  ARM: OMAP2+: am33xx-hwmod: Fix wrongly terminated am33xx_usbss_mpu_irqs array
  pinctrl: mvebu: make pdma clock on dove mandatory
  ARM: Dove: Add pinctrl clock to DT
  dma: mv_xor: fix error handling for clocks
  dma: mv_xor: fix error handling of mv_xor_channel_add()
  arm: mvebu: Add missing ; for cpu node.
  arm: mvebu: Armada XP MV78230 has only three Ethernet interfaces
  arm: mvebu: Armada XP MV78230 has two cores, not one
  clk: mvebu: Remove inappropriate __init tagging
  ARM: Kirkwood: Use fixed-regulator instead of board gpio call
  ARM: Kirkwood: Fix missing sdio clock
  ARM: Kirkwood: Switch TWSI1 of 88f6282 to DT clock providers
  ...
</content>
</entry>
<entry>
<title>Power: gpio-poweroff: Fix documentation and gpio_is_valid</title>
<updated>2013-01-06T17:53:00Z</updated>
<author>
<name>Andrew Lunn</name>
<email>andrew@lunn.ch</email>
</author>
<published>2013-01-06T10:10:35Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=5343527bbfab3f71f64d8ba5d51ce12dec8d82d0'/>
<id>urn:sha1:5343527bbfab3f71f64d8ba5d51ce12dec8d82d0</id>
<content type='text'>
Improve the documentation to clarify level vs edge triggered power off.
Improve the comments for level vs edge triggered power off.
Make use of gpio_is_valid().

Reported-by: Stephen Warren &lt;swarren@wwwdotorg.org&gt;
Signed-off-by: Andrew Lunn &lt;andrew@lunn.ch&gt;
Signed-off-by: Jason Cooper &lt;jason@lakedaemon.net&gt;
</content>
</entry>
<entry>
<title>Drivers: power: remove __dev* attributes.</title>
<updated>2013-01-03T23:57:14Z</updated>
<author>
<name>Greg Kroah-Hartman</name>
<email>gregkh@linuxfoundation.org</email>
</author>
<published>2012-12-21T23:04:54Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=6d2cea4fcaff539f803b06d5c3146966f78d47c4'/>
<id>urn:sha1:6d2cea4fcaff539f803b06d5c3146966f78d47c4</id>
<content type='text'>
CONFIG_HOTPLUG is going away as an option.  As a result, the __dev*
markings need to be removed.

This change removes the use of __devinit, __devexit_p, __devinitconst,
and __devexit from these drivers.

Based on patches originally written by Bill Pemberton, but redone by me
in order to handle some of the coding style issues better, by hand.

Cc: Bill Pemberton &lt;wfp5p@virginia.edu&gt;
Cc: Anton Vorontsov &lt;cbou@mail.ru&gt;
Cc: David Woodhouse &lt;dwmw2@infradead.org&gt;
Cc: Andrew Lunn &lt;andrew@lunn.ch&gt;
Cc: Jamie Lentin &lt;jm@lentin.co.uk&gt;
Cc: Jason Cooper &lt;jason@lakedaemon.net&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>Merge tag 'omap-late-cleanups' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc</title>
<updated>2012-12-30T17:59:21Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@linux-foundation.org</email>
</author>
<published>2012-12-30T17:59:21Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=8d91a42e54eebc43f4d8f6064751ccba73528275'/>
<id>urn:sha1:8d91a42e54eebc43f4d8f6064751ccba73528275</id>
<content type='text'>
Pull late ARM cleanups for omap from Olof Johansson:
 "From Tony Lindgren:

  Here are few more patches to finish the omap changes for multiplatform
  conversion that are not strictly fixes, but were too complex to do
  with the dependencies during the merge window.  Those are to move of
  serial-omap.h to platform_data, and the removal of remaining
  cpu_is_omap macro usage outside mach-omap2.

  Then there are several trivial fixes for typos and few minimal
  omap2plus_defconfig updates."

* tag 'omap-late-cleanups' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc:
  arch/arm/mach-omap2/dpll3xxx.c: drop if around WARN_ON
  OMAP2: Fix a typo - replace regist with register.
  ARM/omap: use module_platform_driver macro
  ARM: OMAP2+: PMU: Remove unused header
  ARM: OMAP4: remove duplicated include from omap_hwmod_44xx_data.c
  ARM: OMAP2+: omap2plus_defconfig: enable twl4030 SoC audio
  ARM: OMAP2+: omap2plus_defconfig: Add tps65217 support
  ARM: OMAP2+: enable devtmpfs and devtmpfs automount
  ARM: OMAP2+: omap_twl: Change TWL4030_MODULE_PM_RECEIVER to TWL_MODULE_PM_RECEIVER
  ARM: OMAP2+: Drop plat/cpu.h for omap2plus
  ARM: OMAP: Split fb.c to remove last remaining cpu_is_omap usage
  MAINTAINERS: Add an entry for omap related .dts files
</content>
</entry>
<entry>
<title>Merge tag 'for-v3.8-part2' of git://git.infradead.org/battery-2.6</title>
<updated>2012-12-19T16:14:08Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@linux-foundation.org</email>
</author>
<published>2012-12-19T16:14:08Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=5031a2a7c12b837a0913c4139ebeb6bbff5e1aa5'/>
<id>urn:sha1:5031a2a7c12b837a0913c4139ebeb6bbff5e1aa5</id>
<content type='text'>
Pull battery update, part 2, from Anton Vorontsov:
 "These are left overs that I didn't have time to review/apply before
  the merge window opened.  I didn't want to "spoil" the first pull
  request with these late patches, so they were not included:

   - A small patch for the RX51 OMAP board (Nokia N900 phone), the patch
     creates a battery monitor device instance, so that it can be
     probed.  It was acked by the OMAP maintainer;

   - A couple of late bug fixes for the charger-manager: corrects corner
     cases for the battery full handling."

* tag 'for-v3.8-part2' of git://git.infradead.org/battery-2.6:
  charger-manager: Fix bug when check dropped voltage after fullbatt event
  charger-manager: Fix bug related to checking fully charged state of battery
  ARM: OMAP: rx51: Register platform device for rx51_battery
</content>
</entry>
<entry>
<title>ARM: OMAP2+: Drop plat/cpu.h for omap2plus</title>
<updated>2012-12-17T18:50:41Z</updated>
<author>
<name>Tony Lindgren</name>
<email>tony@atomide.com</email>
</author>
<published>2012-12-16T19:29:58Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=e8d3d47a98cd7184a86d58febc00b4ac47485332'/>
<id>urn:sha1:e8d3d47a98cd7184a86d58febc00b4ac47485332</id>
<content type='text'>
The cpu_is_omap macros are now local to arch/arm/mach-omap2
in soc.h and plat/cpu.h can finally be dropped for omap2+.
Thanks everybody for help with fixing the drivers.

Note that we can now also remove the unused plat/cpu.h from
smartreflex.c and isp.c as they will cause compile errors
with ARCH_MULTIPLATFORM enabled.

Cc: Kevin Hilman &lt;khilman@deeprootsystems.com&gt;
Acked-by: Jean Pihet &lt;jean.pihet@newoldbits.com&gt;
Acked-by: Laurent Pinchart &lt;laurent.pinchart@ideasonboard.com&gt;
Acked-by: Mauro Carvalho Chehab &lt;mchehab@redhat.com&gt;
Signed-off-by: Tony Lindgren &lt;tony@atomide.com&gt;
</content>
</entry>
<entry>
<title>charger-manager: Fix bug when check dropped voltage after fullbatt event</title>
<updated>2012-12-17T06:45:58Z</updated>
<author>
<name>Chanwoo Choi</name>
<email>cw00.choi@samsung.com</email>
</author>
<published>2012-11-22T07:53:51Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=f36b9ddbab408f5f5ed9105d857189b84337af48'/>
<id>urn:sha1:f36b9ddbab408f5f5ed9105d857189b84337af48</id>
<content type='text'>
This patch check difference value between current voltage of battery and
desc-&gt;fullbatt_uV whether positve or negative number. If difference value
is negative number when current voltage of battery is larger than
desc-&gt;fullbatt_uV, charger-manager return immediately because battery is
fully charged.

Signed-off-by: Chanwoo Choi &lt;cw00.choi@samsung.com&gt;
Signed-off-by: Myungjoo Ham &lt;myungjoo.ham@samsung.com&gt;
Signed-off-by: Kyungmin Park &lt;kyungmin.park@samsung.com&gt;
Signed-off-by: Anton Vorontsov &lt;anton.vorontsov@linaro.org&gt;
</content>
</entry>
</feed>
