It's less error prone to have function symbols exported immediately
after the function rather than in metag_ksyms.c. Move each EXPORT_SYMBOL
in metag_ksyms.c for symbols defined in setup.c into setup.c
Signed-off-by: James Hogan james.ho...@imgtec.com
---
arch/metag/kernel/metag_ksyms.c |5
It's less error prone to have function symbols exported immediately
after the function rather than in metag_ksyms.c. Move each EXPORT_SYMBOL
in metag_ksyms.c for symbols defined in kick.c into kick.c
Signed-off-by: James Hogan james.ho...@imgtec.com
---
arch/metag/kernel/kick.c|3 +++
It's less error prone to have function symbols exported immediately
after the function rather than in metag_ksyms.c. Move each EXPORT_SYMBOL
in metag_ksyms.c for symbols defined in mm/init.c into mm/init.c.
Signed-off-by: James Hogan james.ho...@imgtec.com
---
arch/metag/kernel/metag_ksyms.c |
NET/PHY: Eliminate the forced speed reduction algorithm.
In case of the fixed speed set up for NIC
(e.g. ethtool -s eth0 autoneg off speed 100 duplex full)
with ethernet cable plugged off, mentioned algorithm
slows down NIC speed, so the further hooking up gives
tmem.c:76: ERROR: foo*bar should be foo *bar
zcache-main.c:2057: WARNING: quoted string split across lines
zcache-main.c:2059: WARNING: Prefer pr_warn(... to pr_warning(...
zcache-main.c:2068: WARNING: quoted string split across lines
zcache-main.c:2070: WARNING: Prefer pr_warn(... to
Commit-ID: e6c42c295e071dd74a66b5a9fcf4f44049888ed8
Gitweb: http://git.kernel.org/tip/e6c42c295e071dd74a66b5a9fcf4f44049888ed8
Author: Stanislaw Gruszka sgrus...@redhat.com
AuthorDate: Fri, 15 Feb 2013 11:08:11 +0100
Committer: Thomas Gleixner t...@linutronix.de
CommitDate: Fri, 15 Feb
Peter Huewe peterhu...@gmx.de wrote:
+static char old_keypad_profile[][4][9] = {
{S0, Left\n, Left\n, },
{S1, Down\n, Down\n, },
{S2, Up\n, Up\n, },
Things like this should likely be const also. There are several here.
-void panel_lcd_print(char *s)
+static void
On Fri, Feb 15, 2013 at 8:42 AM, Stephen Rothwell s...@canb.auug.org.au wrote:
Hi all,
News: Yesterday was the 5th anniversary of linux-next! I can't believe I
am still doing this :-)
So 5-times a happy Quentin Valentino day!
Changes since 20130214:
New tree: drm-intel
More black
On Thu 14-02-13 12:39:26, Andrew Morton wrote:
On Thu, 14 Feb 2013 12:03:49 +
Mel Gorman mgor...@suse.de wrote:
Rob van der Heij reported the following (paraphrased) on private mail.
The scenario is that I want to avoid backups to fill up the page
cache and purge stuff
On Thursday 14 February 2013, Stephen Warren wrote:
On 02/14/2013 03:47 PM, Arnd Bergmann wrote:
Patch c08e20d24 arm: Add v7_invalidate_l1 to cache-v7.S
moves the v7_invalidate_l1 symbol out of imx/headsmp.S,
which seems to cause a link error because it is now
too far away from
Alex Courbot acour...@nvidia.com writes:
Unfortunately it does not, and fails the same way. On the other hand,
I do not see the issue when doing the following:
diff --git a/drivers/usb/serial/usb_wwan.c b/drivers/usb/serial/usb_wwan.c
index e4fad5e..1490029 100644
---
This patch implements interrupt sharing and SDA hold time configuration in
the designware i2c driver. Both functions are enabled through platform data
or device tree. Tested with Linux-3.8rc4 (Synopsys ARC port, see
On Thu, Feb 14, 2013 at 11:47:50PM +0100, Arnd Bergmann wrote:
Patch c08e20d24 arm: Add v7_invalidate_l1 to cache-v7.S
moves the v7_invalidate_l1 symbol out of imx/headsmp.S,
which seems to cause a link error because it is now
too far away from v7_cpu_resume when building an
allyesconfig
On Fri, Feb 15, 2013 at 11:05:14AM +, Arnd Bergmann wrote:
$ size obj-tmp/vmlinux -A
obj-tmp/vmlinux :
section size addr
.head.text504 3221258240
.text32707336 3221258752
.text.head 8 3253966088
* Mandeep Singh Baines m...@chromium.org wrote:
--- a/kernel/lockdep.c
+++ b/kernel/lockdep.c
@@ -4091,10 +4091,10 @@ static void print_held_locks_bug(struct task_struct
*curr)
return;
printk(\n);
- printk(=\n);
-
Hi Greg,
On Thu, Jan 31, 2013 at 11:09 AM, Priyaranjan Das
priyaranjan456...@gmail.com wrote:
Hi Greg,
On Tue, Jan 29, 2013 at 7:03 PM, Greg KH gre...@linuxfoundation.org wrote:
On Mon, Jan 28, 2013 at 03:25:08PM +0530, Priyaranjan Das wrote:
Hi Greg,
On Tue, Jan 22, 2013 at 10:06 PM, Greg
* Linus Torvalds torva...@linux-foundation.org wrote:
On Wed, Feb 13, 2013 at 3:10 AM, Ingo Molnar mi...@kernel.org wrote:
Setting up Logical Volume Management: [ 13.14] BUG: spinlock lockup
suspected on CPU#1, lvm.static/139
[ 13.14] BUG: spinlock lockup suspected on
[ Greg: -stable was Cc:-ed for this potentially buggy commit. ]
* Yinghai Lu ying...@kernel.org wrote:
On Thu, Feb 14, 2013 at 7:08 AM, Ingo Molnar mi...@kernel.org wrote:
these three:
10d73e655cef mm: bootmem: fix free_all_bootmem_core() with odd bitmap
alignment
c060f943d092 mm:
On Fri, Feb 15, 2013 at 11:11:50AM +0100, Christian Ruppert wrote:
This patch implements interrupt sharing and SDA hold time configuration in
the designware i2c driver. Both functions are enabled through platform data
or device tree. Tested with Linux-3.8rc4 (Synopsys ARC port, see
Hi Kirill
On Fri, Feb 15, 2013 at 12:29 PM, Kirill A. Shutemov
kirill.shute...@linux.intel.com wrote:
Hi David and all,
There's claim in uhid.h that the interface is compatible even between
architectures. But it obviously is not true: struct uhid_create_req
contains pointer which breaks
On Wed, 2013-02-13 at 14:05 -0500, Steven Rostedt wrote:
That is, the CPU is about to go idle, thus a load balance is done, and
perhaps a task is pulled to the current queue. To do this, rq locks
and
such need to be grabbed across CPUs.
Right, grabbing the rq locks and all isn't my main
On Thu, Feb 14, 2013 at 02:49:26PM +0100, Arnd Bergmann wrote:
A recent cleanup to the mach-osiris.c file is causing build errors
because the i2c-s3c2410.h header file is included before we see
the definition for platform_device. The fix is to make the header file
more robust against inclusion
On Tue, Jan 08, 2013 at 03:08:08AM +0100, Frederic Weisbecker wrote:
This way the full nohz CPUs can safely run with the tick
stopped with a guarantee that somebody else is taking
care of the jiffies and gtod progression.
NOTE: this doesn't handle CPU hotplug. Also we could use something
Hi David,
On Fri, Feb 15, 2013, David Herrmann wrote:
On Fri, Feb 15, 2013 at 12:29 PM, Kirill A. Shutemov
kirill.shute...@linux.intel.com wrote:
Hi David and all,
There's claim in uhid.h that the interface is compatible even between
architectures. But it obviously is not true: struct
On Fri, 2013-02-15 at 08:26 +0100, Mike Galbraith wrote:
(the throttle is supposed to keep idle_balance() from doing severe
damage, that may want a peek/tweak)
Right, as it stands idle_balance() can do a lot of work and if the avg
idle time is less than the time we spend looking for a
On Friday 15 February 2013, Mike Turquette wrote:
Quoting Arnd Bergmann (2013-02-14 14:26:52)
Patch 85a18198 clk: sunxi: Use common of_clk_init() function
removed the clk-sunxi.c file but left the Makefile entry, which
causes a build error in multi_v7_defconfig:
make[4]: *** No rule to
Smatch warns about:
staging/comedi/drivers/cb_pcidas64.c:3304 prep_ao_dma() warn: if();
So the check currently does nothing and can be removed, as indicated by
Ian.
Signed-off-by: Peter Huewe peterhu...@gmx.de
---
v1 was staging/comedi: Fix if(); by adding proper code
which was unfortunately
On Fri, 2013-02-15 at 08:26 +0100, Mike Galbraith wrote:
(the throttle is supposed to keep idle_balance() from doing severe
damage, that may want a peek/tweak)
Right, as it stands idle_balance() can do a lot of work and if the avg
idle time is less than the time we spend looking for a
On Friday, February 15, 2013 09:53:24 AM Viresh Kumar wrote:
On Fri, Feb 15, 2013 at 12:08 AM, dirk.brande...@gmail.com wrote:
From: Dirk Brandewie dirk.brande...@gmail.com
When intel_pstate is configured into the kernel it will become the
perferred scaling driver for processors that is
On Fri, 2013-02-15 at 13:21 +0100, Peter Zijlstra wrote:
On Fri, 2013-02-15 at 08:26 +0100, Mike Galbraith wrote:
(the throttle is supposed to keep idle_balance() from doing severe
damage, that may want a peek/tweak)
Right, as it stands idle_balance() can do a lot of work and if the
The info parameter is not used at all, remove it.
Signed-off-by: Axel Lin axel@ingics.com
---
drivers/regulator/max8925-regulator.c |5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/drivers/regulator/max8925-regulator.c
b/drivers/regulator/max8925-regulator.c
index
On Wed, 2013-02-13 at 21:22 +0800, Alex Shi wrote:
No, the flags set on MC/CPU domain, but is checked in their parents
balancing, like in NUMA domain.
Without the flag, will cause NUMA domain imbalance. like on my 2
sockets
NHM EP: 3 of 4 tasks were assigned on socket 0(lcpu, 10, 12, 14)
Fenguang Wu has reported the following compile time issue
arch/ia64/kernel/topology.c:278:16: error: conflicting types for 'cache_show'
include/linux/slab.h:224:5: note: previous declaration of 'cache_show' was here
which has been introduced by 749c5415 (memcg: aggregate memcg cache
values in
This is the seventh version of the Tegra114 clockframework. It is based on the
for-next branch of
git://git.kernel.org/pub/scm/linux/kernel/git/swarren/linux-tegra.git and
http://www.spinics.net/lists/arm-kernel/msg220452.html.
It has been boottested on Pluto.
Changes from v6:
* Remove
On Thursday 14 February 2013, Tony Lindgren wrote:
* Arnd Bergmann a...@arndb.de [130214 14:51]:
The newly created omap_hwmod_reset.c is missing an
include of linux/errno.h in commit c02060d8 ARM:
OMAP4+: AESS: enable internal auto-gating during
initial setup. It still works in
tegra_boot_secondary() relies on some of the car ops. This means having an
uninitialized tegra_cpu_car_ops will lead to an early boot panic.
Providing a dummy struct avoids this and makes adding Tegra114 clock support
in a bisectable way a lot easier.
Signed-off-by: Peter De Schrijver
Refactor the PLL programming code to make it useable by the new PLL types
introduced by Tegra114.
The following changes were done:
* Split programming the PLL into updating m,n,p and updating cpcon
* Move locking from _update_pll_cpcon() to clk_pll_set_rate()
* Introduce _get_pll_mnp() helper
*
On Thursday 14 February 2013, Tony Lindgren wrote:
I left it out intentionally as these are private to mach-omap2,
and I'd like to simplify the indirect includes there further.
So I'd rather just remove the duplicate soc.h from drm.c.
If people really think this should be applied, I have no
Not all PLLs in Tegra114 have a bypass bit. Adapt the common code to only use
this bit when available.
Signed-off-by: Peter De Schrijver pdeschrij...@nvidia.com
---
drivers/clk/tegra/clk-pll.c | 12
drivers/clk/tegra/clk.h |2 ++
2 files changed, 10 insertions(+), 4
Some PLLs in Tegra114 don't use a power of 2 mapping for the post divider.
Introduce a table based approach and switch PLLU to it.
Signed-off-by: Peter De Schrijver pdeschrij...@nvidia.com
---
drivers/clk/tegra/clk-pll.c | 38 --
Tegra114 introduces new PLL types. This requires new clocktypes as well
as some new fields in the pll structure.
Signed-off-by: Peter De Schrijver pdeschrij...@nvidia.com
---
drivers/clk/tegra/clk-pll.c | 836 +++
drivers/clk/tegra/clk.h | 48 +++
2
sparse complains about the following functions:
panel.c:188:1: warning: symbol 'logical_inputs' was not declared. Should it be
static?
panel.c:569:6: warning: symbol 'old_keypad_profile' was not declared. Should it
be static?
panel.c:580:6: warning: symbol 'new_keypad_profile' was not declared.
We will need some tegra peripheral clocks with the CLK_IGNORE_UNUSED flag,
most notably mselect, which is a bridge between AXI and most peripherals.
Signed-off-by: Peter De Schrijver pdeschrij...@nvidia.com
---
drivers/clk/tegra/clk-periph.c | 11 ++-
drivers/clk/tegra/clk-tegra20.c |
On Thursday, February 14, 2013 05:28:02 PM Toshi Kani wrote:
On Fri, 2013-02-15 at 01:23 +0100, Rafael J. Wysocki wrote:
On Thursday, February 14, 2013 11:45:27 PM Moore, Robert wrote:
-Original Message-
From: Rafael J. Wysocki [mailto:r...@sisk.pl]
Sent: Thursday,
Workaround a hardware bug in MSENC during clock enable.
Signed-off-by: Peter De Schrijver pdeschrij...@nvidia.com
---
drivers/clk/tegra/clk-periph-gate.c |9 +
drivers/clk/tegra/clk.h |2 ++
2 files changed, 11 insertions(+), 0 deletions(-)
diff --git
The device tree binding models Tegra114 CAR (Clock And Reset) as a single
monolithic clock provider.
Signed-off-by: Peter De Schrijver pdeschrij...@nvidia.com
---
.../bindings/clock/nvidia,tegra114-car.txt | 316
1 files changed, 316 insertions(+), 0 deletions(-)
Now that the EDAC core is capable of just forward the errors via
the userspace API, add a report mechanism for the GHES errors.
Signed-off-by: Mauro Carvalho Chehab mche...@redhat.com
---
drivers/edac/ghes_edac.c | 36 +++-
include/linux/edac.h | 1 +
2 files
Any platform can be dynamically probed for model and version number
provided the AB8500 MFD parent device pointer is available. This
patch obtains that pointer and stores it in a locally controlled
struct for later use.
Signed-off-by: Lee Jones lee.jo...@linaro.org
---
Fix for charging not getting enabled in charge only mode by
external charger.
Signed-off-by: Lee Jones lee.jo...@linaro.org
---
drivers/power/ab8500_charger.c| 42 +
drivers/power/abx500_chargalg.c | 14 ++
AB8540 supports power path function in USB charging mode for fast
power up with dead and weak battery, and it could extend
the battery age.
When USB charging starts, if the Vbattrue is below than SW cut off
voltage, power path and pre-charge should be enabled. If Vbattrue
is higher than SW cut
Provide AB8540 platform specific information required to run the
Battery Management subsystem on AB8540 based devices. For this to
happen we see the introduction of separate platform specific data
structures and a means in which to process them.
Signed-off-by: Lee Jones lee.jo...@linaro.org
---
Signed-off-by: Peter De Schrijver pdeschrij...@nvidia.com
---
drivers/clk/tegra/clk.c |1 +
drivers/clk/tegra/clk.h |7 +++
2 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/drivers/clk/tegra/clk.c b/drivers/clk/tegra/clk.c
index f6c141f..bc5a1f8 100644
---
From: Rupesh Kumar rupesh.ku...@stericsson.com
Some of the headers and defines accrued over time are no longer
in use. Let's take the opportunity to remove a few of them.
Signed-off-by: Rupesh Kumar rupesh.ku...@stericsson.com
Signed-off-by: Lee Jones lee.jo...@linaro.org
Reviewed-by: Marcus
From: Rupesh Kumar rupesh.ku...@stericsson.com
The LED Indicator feature allows indicating through a led when the
PM2301 battery charging is active. SW shall not disable this LED.
Signed-off-by: Rupesh Kumar rupesh.ku...@stericsson.com
Signed-off-by: Lee Jones lee.jo...@linaro.org
Reviewed-by:
From: Rupesh Kumar rupesh.ku...@stericsson.com
Added missing pm_runtime_put_sync in read write.
Signed-off-by: Rupesh Kumar rupesh.ku...@stericsson.com
Signed-off-by: Lee Jones lee.jo...@linaro.org
Reviewed-by: Sandeep TRIPATHY sandeep.tripa...@stericsson.com
Reviewed-by: Philippe LANGLAIS
There's no need to test whether a (delayed) work item is pending
before queueing, flushing or cancelling it. Most uses are unnecessary
and quite a few of them are buggy.
Signed-off-by: Lee Jones lee.jo...@linaro.org
---
drivers/power/ab8500_charger.c | 19 ++-
1 file changed,
From: lme00437 benoit.gauthier-no...@stericsson.com
This patch updates the gas gauge constant for electric current
calculation according to hardware specification.
Signed-off-by: Benoit GAUTHIER benoit.gauthier-x...@stericsson.com
Signed-off-by: Lee Jones lee.jo...@linaro.org
Reviewed-by: Marcus
Add references to tegra_car clocks for the basic device nodes. Also remove
the clock-frequency property of the serial node as the UART driver can now
use the clock framework to obtain the frequency.
Signed-off-by: Peter De Schrijver pdeschrij...@nvidia.com
---
The UART driver enables the console uart clock, so we don't need to do that
anymore in this file.
Signed-off-by: Peter De Schrijver pdeschrij...@nvidia.com
---
drivers/clk/tegra/clk-tegra114.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git
To prevent overheating, provide differnt steps of charging current
interface to allow thermal mitigation. This will provide possibility
to reduce gradually the charging current.
Signed-off-by: Lee Jones lee.jo...@linaro.org
---
drivers/power/abx500_chargalg.c | 231
From: Rupesh Kumar rupesh.ku...@stericsson.com
When USB Dedicated or Standard host chargers are plugged into
the device, chargealg attempts to disable the PM2301 AC charger,
However, disabling PM2301 was failing because of it being in
runtime suepend mode LPN pin being low.
Signed-off-by:
Signed-off-by: Lee Jones lee.jo...@linaro.org
---
drivers/power/ab8500_charger.c |8
drivers/power/ab8500_fg.c |1 -
2 files changed, 9 deletions(-)
diff --git a/drivers/power/ab8500_charger.c b/drivers/power/ab8500_charger.c
index 8530028..81c9615 100644
---
From: lme00437 benoit.gauthier-no...@stericsson.com
This patch restricts use of LPN pin to C2C boards to avoid
conflict on HSI for GPIO 60 use.
Signed-off-by: Benoit GAUTHIER benoit.gauthier-x...@stericsson.com
Signed-off-by: Lee Jones lee.jo...@linaro.org
Reviewed-by: Mustapha BEN-ZOUBEIR
From: Marcus Cooper marcus.xm.coo...@stericsson.com
Some of the comments in the ab8500 drivers reflect the behaviour
of the original device. As this driver now supports newer devices
then these comments are now redundant. Also some IRQ comments are
incorrect.
Signed-off-by: Marcus Cooper
From: srinidhi kasagar srinidhi.kasa...@stericsson.com
deprecate some boilerplate code by using module_platform_driver
helper macro. No functional changes.
Signed-off-by: srinidhi kasagar srinidhi.kasa...@stericsson.com
Signed-off-by: Lee Jones lee.jo...@linaro.org
---
From: Marcus Cooper marcus.xm.coo...@stericsson.com
The newer AB's such as the AB8505, AB9540 etc include a
USBLink1 Status register which detects a larger range of
external devices. This should be used instead of the
USBLine Status register.
Signed-off-by: Marcus Cooper
From: M BenZoubeir mustapha.ben.zoubeir-x...@stericsson.com
Signed-off-by: M BenZoubeir mustapha.ben.zoubeir-x...@stericsson.com
Signed-off-by: Lee Jones lee.jo...@linaro.org
Reviewed-by: Philippe LANGLAIS philippe.langl...@stericsson.com
---
drivers/power/pm2301_charger.c | 45
From: Rabin Vincent rabin.vinc...@stericsson.com
Only AB8500 has this hardware bug, so these works only need to be run
there.
Signed-off-by: Rabin Vincent rabin.vinc...@stericsson.com
Signed-off-by: Lee Jones lee.jo...@linaro.org
Reviewed-by: Marcus COOPER marcus.xm.coo...@stericsson.com
From: M BenZoubeir mustapha.ben.zoubeir-x...@stericsson.com
To optimize the current consumption we use pm_runtime autosuspend
functions which execute the pm_runtime_suspend after a delay of
inactivity on the other hand we use pm_runtime_resume every time
we receive an interruption to wake up the
From: Marcus Cooper marcus.xm.coo...@stericsson.com
When the state of USB Charge detection is changed then the calls
use a define for another register in other bank. This change
creates a new define for the correct register and removes the
magic numbers that are present.
Signed-off-by: Marcus
From: Mustapha Ben Zoubeir mustapha.ben.zoubeir-no...@stericsson.com
Signed-off-by: Mustapha Ben Zoubeir mustapha.ben.zoubeir-no...@stericsson.com
Signed-off-by: Lee Jones lee.jo...@linaro.org
Reviewed-by: Marcus COOPER marcus.xm.coo...@stericsson.com
Reviewed-by: Philippe LANGLAIS
Do not set higher current in stepping functionality if VBUS is dropping.
After VBUS has dropped try to set current once again. If dropping again
then we have found the maximum capability of the charger.
Signed-off-by: Lee Jones lee.jo...@linaro.org
---
drivers/power/ab8500_charger.c | 169
Timers used for charging safety and maintenance must work even when
CPU power has collapsed. By using hrtimers with the realtime clock
the system is able to trigger an alarm that wakes-up the CPU and makes
it possible to handle events.
Allow a little slack time of 5 minutes for the hrtimers to
Charging watchdog kicker work-thread gets started twice causing
'failed to kick watchdog' message after removing charger and
when re-inserting charger. This patch removes the superfluous
start of watchdog kicker-thread.
Signed-off-by: Lee Jones lee.jo...@linaro.org
---
From: Rupesh Kumar rupesh.ku...@stericsson.com
Due to btemp filtering enabled during init, temp values reported
to charge algorithm driver started from 0. As a result,charge
algorithm was going into wrong state and charging was stopped.
Signed-off-by: Rupesh Kumar rupesh.ku...@stericsson.com
From: Rupesh Kumar rupesh.ku...@stericsson.com
This patch adds support for die temperature thermal protection
in pm2301 driver.
Signed-off-by: Rupesh Kumar rupesh.ku...@stericsson.com
Signed-off-by: Lee Jones lee.jo...@linaro.org
Reviewed-by: Hakan BERG hakan.b...@stericsson.com
Reviewed-by:
From: Per Forlin per.for...@stericsson.com
Force main charger detect in turn on status.
Signed-off-by: Rajkumar Kasirajan rajkumar.kasira...@stericsson.com
Signed-off-by: Per Forlin per.for...@stericsson.com
Signed-off-by: Lee Jones lee.jo...@linaro.org
Reviewed-by: Philippe LANGLAIS
From: Marcus Cooper marcus.xm.coo...@stericsson.com
The PM2301 Charger should always be available when using the AB8500
Battery Management system, we're ensuring this will be the case.
Signed-off-by: Marcus Cooper marcus.xm.coo...@stericsson.com
Signed-off-by: Lee Jones lee.jo...@linaro.org
From: Hakan Berg hakan.b...@stericsson.com
The AB8505 does not have the same address for USB link-status
as has ab8500. Add AB8505_USB_LINK_STATUS and code to switch
to correct constant.
Signed-off-by: Hakan Berg hakan.b...@stericsson.com
Signed-off-by: Lee Jones lee.jo...@linaro.org
From: Hakan Berg hakan.b...@stericsson.com
When battery capacity was going below 1% fg is not supposed
to report 0% unless we've got the LOW_BAT IRQ, no matter
what the FG-algorithm says. This made fg get stuck at 1% if
charger is connected when capacity is 1%.
Signed-off-by: Hakan BERG
Enforce the white space character after 'if'.
Signed-off-by: Lee Jones lee.jo...@linaro.org
---
drivers/power/ab8500_charger.c | 12 ++--
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/drivers/power/ab8500_charger.c b/drivers/power/ab8500_charger.c
index fd3fa2b..dcd3c6f
Due to a bug in some AB8500 ASICs charger removal cannot always
be detected if the removal and reinsertion is done to close in time.
This patch detects above described case and handles the situation
so that charging will be kept turned on.
Signed-off-by: Lee Jones lee.jo...@linaro.org
---
From: Hakan Berg hakan.b...@stericsson.com
Battery tempreature readings sometimes fail and results in
a value far from recent values. This patch adds a software
filter that disposes such readings, by allowing direct
updates on temperature only if two samples result in the
same temperature. Else
From: Rupesh Kumar rupesh.ku...@stericsson.com
When in suspend state, upon plug-in of external AC charger the
device needs to wake-up and charging operation started.
Signed-off-by: Rupesh Kumar rupesh.ku...@stericsson.com
Signed-off-by: Lee Jones lee.jo...@linaro.org
Reviewed-by: Philippe
From: Rupesh Kumar rupesh.ku...@stericsson.com
Added support for main charger over voltage protection.
Signed-off-by: Rupesh Kumar rupesh.ku...@stericsson.com
Signed-off-by: Lee Jones lee.jo...@linaro.org
Reviewed-by: Philippe LANGLAIS philippe.langl...@stericsson.com
Tested-by: Michel JAOUEN
In order for it to work with it builtin, the EDAC core should
be initialized earlier, otherwise the ghes_edac driver initializes
before edac_mc_sysfs_init() being called:
...
[4.998373] EDAC MC0: Giving out device to 'ghes_edac.c' 'ghes_edac': DEV
ghes
...
[4.998373] EDAC MC1: Giving out
From: Martin Bergstrom martin.bergst...@stericsson.com
Unscaled capacity should be reported for POWER_SUPPLY_PROP_CAPACITY.
Signed-off-by: Martin Bergstrom martin.bergst...@stericsson.com
Signed-off-by: Lee Jones lee.jo...@linaro.org
Reviewed-by: Marcus COOPER marcus.xm.coo...@stericsson.com
From: Yang QU yang...@stericsson.com
Add 2.7v, 2.9v, 3.0v, 3.2v and 3.3v charging voltages for backup
battery. Before that only 2.5v, 2.6v, 2.8v, 3.1v were available.
Signed-off-by: Yang QU yang...@stericsson.com
Signed-off-by: Lee Jones lee.jo...@linaro.org
Reviewed-by: Maxime COQUELIN
On Thursday 14 February 2013, Simon Horman wrote:
On Thu, Feb 14, 2013 at 11:26:54PM +0100, Arnd Bergmann wrote:
Patch eac036ef9e ARM: shmobile: streamline mackerel SD and MMC devices
made the use of the sh_mmcif_device variable for mackarel optional,
but the definition is always provided,
Add support for a power cut feature which allows user to
configure when ab8505 and ab8540 based platforms should shut
down system due to low battery.
Signed-off-by: Lee Jones lee.jo...@linaro.org
---
drivers/mfd/ab8500-core.c| 36 +++
drivers/power/ab8500_bmdata.c|5 +
Hi Sam,
This is the patch-set we've been speaking about. It's the entire
development history for the ABx500 related MFD changes from
ST-Ericsson's internal kernel. This brings us bang up-to-date.
Please don't apply patches directly from this submission, as
there are some interdependencies which
Here we're separating Battery Management devices into their own
structure, removing the common device structure redistribute them
amongst the individual platform structs and completing the population
of them.
Signed-off-by: Lee Jones lee.jo...@linaro.org
---
drivers/mfd/ab8500-core.c | 257
Here we add the functionality to check for:
- Earlier versions of the AB8505 than 2p0
- Earlier versions of the AB9540 than 2p0
Signed-off-by: Lee Jones lee.jo...@linaro.org
---
include/linux/mfd/abx500/ab8500.h | 10 ++
1 file changed, 10 insertions(+)
diff --git
From: Rajkumar Kasirajan rajkumar.kasira...@stericsson.com
In L9540, turn_on_status register is not updated correctly if
the device is rebooted with AC/USB charger connected. Due to
this, the device boots android instead of entering into charge
only mode. Read the AC/USB status register to detect
Add a new reset function which uses the AB WD with 0 timeout.
Signed-off-by: Lee Jones lee.jo...@linaro.org
---
drivers/mfd/ab8500-sysctrl.c | 63 +
include/linux/mfd/abx500/ab8500-sysctrl.h |6 +++
2 files changed, 69 insertions(+)
diff --git
From: Yang QU yang...@stericsson.com
Signed-off-by: Yang QU yang...@stericsson.com
Signed-off-by: Lee Jones lee.jo...@linaro.org
Reviewed-by: Alexandre BOURDIOL alexandre.bourd...@stericsson.com
Reviewed-by: Philippe LANGLAIS philippe.langl...@stericsson.com
Reviewed-by: Mattias WALLIN
From: Mattias Wallin mattias.wal...@stericsson.com
Several states can be detected when a device is initially turned on.
This patch displays these states in the log. If none of the states
are true, then we report that too.
Signed-off-by: Mattias Wallin mattias.wal...@stericsson.com
Signed-off-by:
From: Dariusz Szymczak dariusz.xd.szymc...@stericsson.com
Make use of the hierarchical interrupt rergister called
ITLatchHier1 - 3 also for the 8500 platform (currently the
hierarchical interrupt registers are used only for the 8540
and 9540 platforms). This will make the interrupt routing
go
From: srinidhi kasagar srinidhi.kasa...@stericsson.com
Use kstrtoul_from_user for getting an unsigned long from userspace
which is less error prone.
Signed-off-by: srinidhi kasagar srinidhi.kasa...@stericsson.com
Signed-off-by: Linus Walleij linus.wall...@stericsson.com
Signed-off-by: Lee Jones
From: Linus Walleij linus.wall...@stericsson.com
As I am working on SPARSE_IRQ a number of implicit resource
grabs in the kernel become evident. For example, some includes
like linux/irqs.h would implicitly include mach/irqs.h
and then from there mach/db8500-regs.h.
In many cases it is masking
701 - 800 of 1276 matches
Mail list logo