[RESEND PATCH v3] drivers/tty: Folding Android's keyreset driver in sysRQ

2012-09-24 Thread mathieu . poirier
: a...@android.com Cc: kernel-t...@android.com Cc: dmitry.torok...@gmail.com Cc: john.stu...@linaro.org Signed-off-by: Mathieu Poirier mathieu.poir...@linaro.org --- drivers/tty/sysrq.c | 308 + include/linux/sysrq.h |8 ++ 2 files changed, 316

[PATCH 01/57] power: ab8500_bm: Charger current step-up/down

2012-09-25 Thread mathieu . poirier
Signed-off-by: Mattias Wallin mattias.wal...@stericsson.com Signed-off-by: Mathieu Poirier mathieu.poir...@linaro.org Reviewed-by: Karl KOMIEROWSKI karl.komierow...@stericsson.com --- drivers/power/ab8500_charger.c | 172 +++- 1 files changed, 133 insertions(+), 39

[PATCH 04/57] power: ab8500: bm: movimg back to ab8500 platform data managment

2012-09-25 Thread mathieu . poirier
From: Philippe Langlais philippe.langl...@linaro.org Signed-off-by: Philippe Langlais philippe.langl...@linaro.org Signed-off-by: Mathieu Poirier mathieu.poir...@linaro.org --- drivers/power/ab8500_btemp.c |8 ++-- drivers/power/ab8500_charger.c|9 +++-- drivers/power

[PATCH 09/57] power: ab8500_fg: usleep_range instead of short msleep

2012-09-25 Thread mathieu . poirier
From: Jonas Aaberg jonas.ab...@stericsson.com Signed-off-by: Jonas ABERG jonas.ab...@stericsson.com Signed-off-by: Mathieu Poirier mathieu.poir...@linaro.org Reviewed-by: Johan BJORNSTEDT johan.bjornst...@stericsson.com --- drivers/power/ab8500_fg.c |2 +- 1 files changed, 1 insertions(+), 1

[PATCH 18/57] power: Add sysfs interfaces for capacity

2012-09-25 Thread mathieu . poirier
From: Daniel WILLERUD daniel.wille...@stericsson.com Switchable depending on whether capacity scaling is enabled Signed-off-by: Marcus Cooper marcus.xm.coo...@stericsson.com Signed-off-by: Daniel WILLERUD daniel.wille...@stericsson.com Signed-off-by: Mathieu Poirier mathieu.poir...@linaro.org

[PATCH 24/57] power: ab8500_fg: Adjust for RF bursts voltage drops.

2012-09-25 Thread mathieu . poirier
Signed-off-by: Martin Bergstrom martin.bergst...@stericsson.com Signed-off-by: Mathieu Poirier mathieu.poir...@linaro.org Reviewed-by: Jonas ABERG jonas.ab...@stericsson.com Reviewed-by: Marcus COOPER marcus.xm.coo...@stericsson.com --- drivers/power/ab8500_fg.c | 44

[PATCH 31/57] power: ab8500_fg: fix to use correct battery charge full design

2012-09-25 Thread mathieu . poirier
rajkumar.kasira...@stericsson.com Signed-off-by: Mathieu Poirier mathieu.poir...@linaro.org Reviewed-by: Jonas ABERG jonas.ab...@stericsson.com Reviewed-by: Vijaya Kumar K-1 vijay.kil...@stericsson.com Reviewed-by: Marcus COOPER marcus.xm.coo...@stericsson.com Reviewed-by: Olivier CLERGEAUD olivier.clerge

[PATCH 34/57] power: ab8500_fg: add power cut feature for ab8505

2012-09-25 Thread mathieu . poirier
From: Rikard Olsson rikard.p.ols...@stericsson.com Add support for a power cut feature which allows user to configure when ab8505 should shut down system due to low battery. Signed-off-by: Rikard Olsson rikard.p.ols...@stericsson.com Signed-off-by: Mathieu Poirier mathieu.poir...@linaro.org

[PATCH 51/57] power: ab8500: Re-alignment with internal developement.

2012-09-25 Thread mathieu . poirier
was lost but still relevant to the well being of the driver. Signed-off-by: Mathieu Poirier mathieu.poir...@linaro.org --- drivers/power/ab8500_charger.c |2 +- drivers/power/abx500_chargalg.c | 66 +++ 2 files changed, 47 insertions(+), 21 deletions(-) diff

[PATCH 54/57] power: ab8500_charger: Use USBLink1Status Register

2012-09-25 Thread mathieu . poirier
...@stericsson.com Signed-off-by: Mathieu Poirier mathieu.poir...@linaro.org Reviewed-by: Hakan BERG hakan.b...@stericsson.com Reviewed-by: Yang QU yang...@stericsson.com Reviewed-by: Jonas ABERG jonas.ab...@stericsson.com --- drivers/power/ab8500_charger.c | 22 -- 1 files changed, 16

[PATCH 57/57] power: ab8500_charger: Limit USB charger current

2012-09-25 Thread mathieu . poirier
From: Martin Bergstrom martin.bergst...@stericsson.com The USB charger current is limited according to information comming from the USB driver Signed-off-by: Martin Bergstrom martin.bergst...@stericsson.com Signed-off-by: Mathieu Poirier mathieu.poir...@linaro.org Reviewed-by: Jonas ABERG

[PATCH 56/57] power: abx500_chargalg: Fix quick re-attach charger issue.

2012-09-25 Thread mathieu . poirier
are not affected. Signed-off-by: Marcus Cooper marcus.xm.coo...@stericsson.com Signed-off-by: Mathieu Poirier mathieu.poir...@linaro.org Reviewed-by: Martin SJOBLOM martin.w.sjob...@stericsson.com Reviewed-by: Hakan BERG hakan.b...@stericsson.com Reviewed-by: Jonas ABERG jonas.ab...@stericsson.com

[PATCH 44/57] power: ab8500: remove unecesary define flag

2012-09-25 Thread mathieu . poirier
From: Marcus Cooper marcus.xm.coo...@stericsson.com Remove flag that serve no purpose from source code, Kconfig and Makefile. Signed-off-by: Marcus Cooper marcus.xm.coo...@stericsson.com Signed-off-by: Mathieu Poirier mathieu.poir...@linaro.org Reviewed-by: Hakan BERG hakan.b...@stericsson.com

[PATCH 46/57] power: chargealg: Realign with upstream version

2012-09-25 Thread mathieu . poirier
Goal is to ease next code reversion and realignment with mainline Signed-off-by: Loic Pallardy loic.palla...@stericsson.com Signed-off-by: Mathieu Poirier mathieu.poir...@linaro.org Reviewed-by: Philippe LANGLAIS philippe.langl...@stericsson.com --- drivers/power/ab8500_charger.c | 166

[PATCH 52/57] power: abx500_chargalg: Use hrtimer

2012-09-25 Thread mathieu . poirier
of 5 minutes to the hrtimers to allow CPU to be waked up in a more optimal power saving way. A 5 minute delay to time out timers on hours does not impact on safety. Signed-off-by: Hakan Berg hakan.b...@stericsson.com Signed-off-by: Mathieu Poirier mathieu.poir...@linaro.org Reviewed-by: Mian Yousaf

[PATCH 55/57] power: ab8500_charger: Add UsbLineCtrl2 reference

2012-09-25 Thread mathieu . poirier
Cooper marcus.xm.coo...@stericsson.com Signed-off-by: Mathieu Poirier mathieu.poir...@linaro.org Reviewed-by: Hakan BERG hakan.b...@stericsson.com Reviewed-by: Jonas ABERG jonas.ab...@stericsson.com Conflicts: drivers/power/ab8500_charger.c --- drivers/power/ab8500_charger.c | 11

[PATCH 53/57] power: ab8500_fg: Moving structure definitions to header file

2012-09-25 Thread mathieu . poirier
From: Mathieu J. Poirier mathieu.poir...@linaro.org Signed-off-by: Mathieu Poirier mathieu.poir...@linaro.org --- drivers/power/ab8500_fg.c | 196 +-- drivers/power/ab8500_fg.h | 201 + 2 files changed, 206

[PATCH 50/57] power: ab8500-chargalg: update battery health on safety timer exp

2012-09-25 Thread mathieu . poirier
in the battery of some kind. Hence report as POWER_SUPPLY_HEALTH_UNSPEC_FAILURE. Signed-off-by: Hakan Berg hakan.b...@stericsson.com Signed-off-by: Mathieu Poirier mathieu.poir...@linaro.org Reviewed-by: Arun MURTHY arun.mur...@stericsson.com Reviewed-by: Karl KOMIEROWSKI karl.komierow

[PATCH 49/57] power: Cancelling status charging notification.

2012-09-25 Thread mathieu . poirier
From: Mathieu J. Poirier mathieu.poir...@linaro.org Signed-off-by: Mathieu Poirier mathieu.poir...@linaro.org --- drivers/power/abx500_chargalg.c |2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/drivers/power/abx500_chargalg.c b/drivers/power/abx500_chargalg.c index

[PATCH 48/57] power: ab8500 : quick re-attach for ext charger

2012-09-25 Thread mathieu . poirier
From: Rupesh Kumar rupesh.ku...@stericsson.com Quick re-attach charging behaviour is not required for external ac charger. Internal AC/USB Charger removal detection problem is due to a bug in AB8500 ASICs. Signed-off-by: Rupesh Kumar rupesh.ku...@stericsson.com Signed-off-by: Mathieu Poirier

[PATCH 47/57] power: Harmonising platform data declaration/handling

2012-09-25 Thread mathieu . poirier
From: Mathieu J. Poirier mathieu.poir...@linaro.org Making platform data declaration and handling similar accross all ab8500_xyc.c battery management files. Also adding gards against NULL platform data. Signed-off-by: Philippe Langlais philippe.langl...@stericsson.com Signed-off-by: Mathieu

[PATCH 36/57] power: add backup battery charge voltages.

2012-09-25 Thread mathieu . poirier
From: Yang QU yang...@stericsson.com Add 2.7v, 2.9v, 3.0v, 3.2v and 3.3v charging voltage for backup battery. Before that only 2.5v, 2.6v, 2.8v, 3.1v are available. Signed-off-by: Yang QU yang...@stericsson.com Signed-off-by: Mathieu Poirier mathieu.poir...@linaro.org Reviewed-by: Maxime

[PATCH 45/57] power: ab8500: defer btemp filtering while init

2012-09-25 Thread mathieu . poirier
-off-by: Rupesh Kumar rupesh.ku...@stericsson.com Signed-off-by: Mathieu Poirier mathieu.poir...@linaro.org Reviewed-by: Marcus COOPER marcus.xm.coo...@stericsson.com Reviewed-by: Martin SJOBLOM martin.w.sjob...@stericsson.com Reviewed-by: Philippe LANGLAIS philippe.langl...@stericsson.com

[PATCH 27/57] power: sysfs interface update

2012-09-25 Thread mathieu . poirier
From: Michel JAOUEN michel.jao...@stericsson.com Add new sysfs interface to get current charge status Signed-off-by: Michel JAOUEN michel.jao...@stericsson.com Signed-off-by: Loic Pallardy loic.palla...@stericsson.com Signed-off-by: Mathieu Poirier mathieu.poir...@linaro.org Reviewed-by: Marcus

[PATCH 29/57] power: ab8500_fg: Goto INIT_RECOVERY when charger removed

2012-09-25 Thread mathieu . poirier
From: Martin Bergström martin.bergst...@stericsson.com When the charger is removed we need to go to INIT_RECOVERY state instead of directly to RECOVERY state. Signed-off-by: Martin Bergstrom martin.bergst...@stericsson.com Signed-off-by: Mathieu Poirier mathieu.poir...@linaro.org Reviewed

[PATCH 37/57] power: ab8500_bm: Quick re-attach charging behaviour

2012-09-25 Thread mathieu . poirier
on. Signed-off-by: Kalle Komierowski karl.komierow...@stericsson.com Signed-off-by: Mathieu Poirier mathieu.poir...@linaro.org Reviewed-by: Marcus COOPER marcus.xm.coo...@stericsson.com Reviewed-by: Jonas ABERG jonas.ab...@stericsson.com Reviewed-by: Philippe LANGLAIS philippe.langl...@stericsson.com

[PATCH 43/57] power: charging: Add AB8505_USB_LINK_STATUS

2012-09-25 Thread mathieu . poirier
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: Mathieu Poirier mathieu.poir...@linaro.org

[PATCH 42/57] power: charging: Allow capacity to raise from 1%

2012-09-25 Thread mathieu . poirier
with this patch. Signed-off-by: Hakan BERG hakan.b...@stericsson.com Signed-off-by: Mathieu Poirier mathieu.poir...@linaro.org Reviewed-by: Marcus COOPER marcus.xm.coo...@stericsson.com Reviewed-by: Srinidhi KASAGAR srinidhi.kasa...@stericsson.com --- drivers/power/ab8500_fg.c |6 ++ 1 files

[PATCH 41/57] power: ab8500_btemp: Filter btemp readings

2012-09-25 Thread mathieu . poirier
only allow 1 degree change from previous reported value in the direction of the new measurement. Signed-off-by: Hakan Berg hakan.b...@stericsson.com Signed-off-by: Mathieu Poirier mathieu.poir...@linaro.org Reviewed-by: Marcus COOPER marcus.xm.coo...@stericsson.com Reviewed-by: Martin SJOBLOM

[PATCH 40/57] power: ab8500: ADC for battery thermistor

2012-09-25 Thread mathieu . poirier
From: Marcus Cooper marcus.xm.coo...@stericsson.com When using ABx500_ADC_THERM_BATCTRL the battery ID resistor is combined with a NTC resistor to both identify the battery and to measure its temperature. Signed-off-by: Marcus Cooper marcus.xm.coo...@stericsson.com Signed-off-by: Mathieu Poirier

[PATCH 39/57] power: ab8500_charger: Prevent auto drop of VBUS

2012-09-25 Thread mathieu . poirier
martin.w.sjob...@stericsson.com Signed-off-by: Mathieu Poirier mathieu.poir...@linaro.org Reviewed-by: Per FORLIN per.for...@stericsson.com --- drivers/power/ab8500_charger.c | 166 1 files changed, 117 insertions(+), 49 deletions(-) diff --git a/drivers/power

[PATCH 38/57] power: l9540: Charge only mode fixes

2012-09-25 Thread mathieu . poirier
From: Rupesh Kumar rupesh.ku...@stericsson.com Fix for: charging not getting enabled in charge only mode by external charger. Signed-off-by: Rupesh Kumar rupesh.ku...@stericsson.com Signed-off-by: Mathieu Poirier mathieu.poir...@linaro.org Reviewed-by: Marcus COOPER marcus.xm.coo

[PATCH 35/57] power: ab8500_fg: Report unscaled capacity

2012-09-25 Thread mathieu . poirier
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: Mathieu Poirier mathieu.poir...@linaro.org Reviewed-by: Marcus COOPER marcus.xm.coo

[PATCH 33/57] power: u8500_charger: Delay for USB enumeration

2012-09-25 Thread mathieu . poirier
the charging and then ramps currents slowly to avoid VBUS errors. The delay allows the enumeration to have finished before charging is turned on. Signed-off-by: Martin Sjoblom martin.w.sjob...@stericsson.com Signed-off-by: Mathieu Poirier mathieu.poir...@linaro.org Reviewed-by: Jonas ABERG jonas.ab

[PATCH 32/57] power: ab8500_charger: Do not touch VBUSOVV bits

2012-09-25 Thread mathieu . poirier
From: Jonas Aaberg jonas.ab...@stericsson.com Do not touch the VBUSOVV in USBCHTRL2 when running on AB8505. Signed-off-by: Jonas Aaberg jonas.ab...@stericsson.com Signed-off-by: Mathieu Poirier mathieu.poir...@linaro.org Reviewed-by: Marcus COOPER marcus.xm.coo...@stericsson.com --- drivers

[PATCH 30/57] power: ab8500: Flush sync all works

2012-09-25 Thread mathieu . poirier
From: Jonas Aaberg jonas.ab...@stericsson.com Flush and sync all workqueues at suspend to avoid that we suspend in the middle of a work. Signed-off-by: Jonas Aaberg jonas.ab...@stericsson.com Signed-off-by: Mathieu Poirier mathieu.poir...@linaro.org Reviewed-by: Marcus COOPER marcus.xm.coo

[PATCH 28/57] power: ab8500 - Accessing Autopower register fails

2012-09-25 Thread mathieu . poirier
From: Nicolas Guion nicolas.gu...@stericsson.com The fallback software control register has moved in the ab8505 and ab9540. Signed-off-by: Marcus Cooper marcus.xm.coo...@stericsson.com Signed-off-by: Mathieu Poirier mathieu.poir...@linaro.org Reviewed-by: Mattias WALLIN mattias.wal

[PATCH 26/57] power: charge: update watchdog for pm2xxx support

2012-09-25 Thread mathieu . poirier
-by: Rajkumar Kasirajan rajkumar.kasira...@stericsson.com Signed-off-by: Loic Pallardy loic.palla...@stericsson.com Signed-off-by: Mathieu Poirier mathieu.poir...@linaro.org Reviewed-by: Michel JAOUEN michel.jao...@stericsson.com Reviewed-by: Marcus COOPER marcus.xm.coo...@stericsson.com Reviewed

[PATCH 08/57] power: ab8500_fg: flush sync on suspend

2012-09-25 Thread mathieu . poirier
From: Jonas Aaberg jonas.ab...@stericsson.com Do flush sync on the fg workqueue at suspend instead of just flushing it. Signed-off-by: Jonas Aaberg jonas.ab...@stericsson.com Signed-off-by: Mathieu Poirier mathieu.poir...@linaro.org Reviewed-by: Johan BJORNSTEDT johan.bjornst...@stericsson.com

[PATCH 07/57] power: ab8500_bm: Detect removed charger

2012-09-25 Thread mathieu . poirier
From: Jonas Aaberg jonas.ab...@stericsson.com Signed-off-by: Jonas Aaberg jonas.ab...@stericsson.com Signed-off-by: Mathieu Poirier mathieu.poir...@linaro.org --- drivers/power/ab8500_charger.c | 122 +++- 1 files changed, 121 insertions(+), 1 deletions

[PATCH 14/57] power: Adds support for Car/Travel Adapters

2012-09-25 Thread mathieu . poirier
From: Hakan Berg hakan.b...@stericsson.com The Travel and Carkit adapter should be handled directly by the charger driver. Signed-off-by: Marcus Cooper marcus.xm.coo...@stericsson.com Signed-off-by: Mathieu Poirier mathieu.poir...@linaro.org Reviewed-by: Jonas ABERG jonas.ab...@stericsson.com

[PATCH 16/57] power: bm remove superfluous BTEMP thermal comp.

2012-09-25 Thread mathieu . poirier
From: Hakan Berg hakan.b...@stericsson.com BTEMP thermal compensation factor times 10 is applied in two places, probe and get_property. Removed from probe. Signed-off-by: Hakan Berg hakan.b...@stericsson.com Signed-off-by: Mathieu Poirier mathieu.poir...@linaro.org Reviewed-by: Karl KOMIEROWSKI

[PATCH 21/57] power: Overflow in current calculation

2012-09-25 Thread mathieu . poirier
From: Paer-Olof Haakansson par-olof.hakans...@stericsson.com When calculating the average current the nominator will overflow when the charging current is high. Signed-off-by: Henrik Sölver henrik.sol...@stericsson.com Signed-off-by: Mathieu Poirier mathieu.poir...@linaro.org Reviewed-by: Par

[PATCH 25/57] power: ab8500: adaptation to ab version

2012-09-25 Thread mathieu . poirier
From: Michel JAOUEN michel.jao...@stericsson.com Add AB9540 and AB8505 support to ab8500_temp driver. Signed-off-by: Rajkumar Kasirajan rajkumar.kasira...@stericsson.com Signed-off-by: Mathieu Poirier mathieu.poir...@linaro.org Reviewed-by: Michel JAOUEN michel.jao...@stericsson.com Reviewed

[PATCH 23/57] power: Add plaform data charger configurables

2012-09-25 Thread mathieu . poirier
From: Loic Pallardy loic.palla...@stericsson.com Allow to indicate wheter AC and USB charge capabilities are supported from platform data. Signed-off-by: Loic Pallardy loic.palla...@stericsson.com Signed-off-by: Mathieu Poirier mathieu.poir...@linaro.org Reviewed-on: http

[PATCH 22/57] power: AB workaround for invalid charger

2012-09-25 Thread mathieu . poirier
From: Henrik Sölver henrik.sol...@stericsson.com AB8500 refuses to start charging when some types of non standard chargers are connected. This change force the AB to start charging. Signed-off-by: Henrik Sölver henrik.sol...@stericsson.com Signed-off-by: Mathieu Poirier mathieu.poir

[PATCH 20/57] power: Adds support for legacy USB chargers

2012-09-25 Thread mathieu . poirier
From: Marcus Cooper marcus.xm.coo...@stericsson.com A Legacy USB charger should be handled directly by the charger driver. Signed-off-by: Marcus Cooper marcus.xm.coo...@stericsson.com Signed-off-by: Mathieu Poirier mathieu.poir...@linaro.org Reviewed-by: Karl KOMIEROWSKI karl.komierow

[PATCH 19/57] power: remove unused defines.

2012-09-25 Thread mathieu . poirier
From: Marcus Cooper marcus.xm.coo...@stericsson.com Cleanup of the ab8500_charger driver. Signed-off-by: Marcus Cooper marcus.xm.coo...@stericsson.com Signed-off-by: Mathieu Poirier mathieu.poir...@linaro.org Reviewed-by: Karl KOMIEROWSKI karl.komierow...@stericsson.com --- drivers/power

[PATCH 17/57] power: ab8500_bm: Added support for BATT_OVV

2012-09-25 Thread mathieu . poirier
From: Hakan Berg hakan.b...@stericsson.com Add support for the battery over-voltage situation Signed-off-by: Hakan Berg hakan.b...@stericsson.com Signed-off-by: Mathieu Poirier mathieu.poir...@linaro.org Reviewed-by: Karl KOMIEROWSKI karl.komierow...@stericsson.com --- drivers/power/ab8500_fg.c

[PATCH 15/57] power: ab8500_fg: Round capacity output

2012-09-25 Thread mathieu . poirier
From: pender01 peter.enderb...@stericsson.com Round the capacity values for better enduser experience. Signed-off-by: pender01 peter.enderb...@stericsson.com Signed-off-by: Mathieu Poirier mathieu.poir...@linaro.org Reviewed-by: Jonas ABERG jonas.ab...@stericsson.com --- drivers/power

[PATCH 13/57] power: ab8500_bm: Ignore false btemp low interrupt

2012-09-25 Thread mathieu . poirier
From: Hakan Berg hakan.b...@stericsson.com Ignore the low btemp interrupts for ab8500 3.0 and 3.3 Signed-off-by: Hakan Berg hakan.b...@stericsson.com Signed-off-by: Mathieu Poirier mathieu.poir...@linaro.org Reviewed-by: Jonas ABERG jonas.ab...@stericsson.com --- drivers/power/ab8500_btemp.c

[PATCH 12/57] power: ab8500_fg: balance IRQ enable

2012-09-25 Thread mathieu . poirier
From: Rickard Andersson rickard.anders...@stericsson.com In case of time out error IRQ needs to be disabled otherwise we will get unbalanced enable/disable pairs. Signed-off-by: Rickard Andersson rickard.anders...@stericsson.com Signed-off-by: Mathieu Poirier mathieu.poir...@linaro.org Reviewed

[PATCH 11/57] power: Recharge condition not optimal for battery

2012-09-25 Thread mathieu . poirier
. The fuelgauge driver is responsible to monitor the actual battery capacity and is able to estimate the remaining capacity. It is better to use the remaining capacity as a limit to determine when battery should be recharged. Signed-off-by: Marcus Cooper marcus.xm.coo...@stericsson.com Signed-off-by: Mathieu

[PATCH 10/57] power: ab8500_charger: Handle gpadc errors

2012-09-25 Thread mathieu . poirier
From: Jonas Aaberg jonas.ab...@stericsson.com Gracefully handle gpadc conversion errors. Signed-off-by: Jonas Aaberg jonas.ab...@stericsson.com Signed-off-by: Mathieu Poirier mathieu.poir...@linaro.org Reviewed-by: Johan BJORNSTEDT johan.bjornst...@stericsson.com --- drivers/power

[PATCH 06/57] power: ab8500_bm: Skip first CCEOC irq for instant current

2012-09-25 Thread mathieu . poirier
Solver henrik.sol...@stericsson.com Signed-off-by: Mathieu Poirier mathieu.poir...@linaro.org Reviewed-by: Karl KOMIEROWSKI karl.komierow...@stericsson.com --- drivers/power/ab8500_btemp.c | 11 ++ drivers/power/ab8500_fg.c| 63 + include

[PATCH 00/57] power: Upgrade to ux500 battery management driver

2012-09-25 Thread mathieu . poirier
From: Mathieu J. Poirier mathieu.poir...@linaro.org This patch set upgrades the current ux500 battery management driver to the latest HW and functionality. Pull request for convenience: The following changes since commit 56d27adcb536b7430d5f8a6240df8ad261eb00bd: Merge

[PATCH 05/57] power: ab8500_bm: Rename the power_loss function

2012-09-25 Thread mathieu . poirier
...@stericsson.com Signed-off-by: Mathieu Poirier mathieu.poir...@linaro.org Reviewed-by: Par-Olof HAKANSSON par-olof.hakans...@stericsson.com Reviewed-by: Karl KOMIEROWSKI karl.komierow...@stericsson.com --- drivers/power/ab8500_charger.c | 23 +++ 1 files changed, 11 insertions(+), 12

[PATCH 03/57] power: ab8500_btemp: Detect battery type in workqueue

2012-09-25 Thread mathieu . poirier
From: Jonas Aaberg jonas.ab...@stericsson.com Detect battery type in work queue instead of probe. This reduces the system boot time with 1.5s Signed-off-by: Jonas Aaberg jonas.ab...@stericsson.com Signed-off-by: Mathieu Poirier mathieu.poir...@linaro.org Reviewed-by: Karl KOMIEROWSKI

[PATCH 02/57] power: ab8500_bm: Don't clear the CCMuxOffset bit

2012-09-25 Thread mathieu . poirier
...@stericsson.com Signed-off-by: Marcus Cooper marcus.xm.coo...@stericsson.com Signed-off-by: Mathieu Poirier mathieu.poir...@linaro.org Reviewed-by: Jonas ABERG jonas.ab...@stericsson.com --- drivers/power/ab8500_fg.c |8 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/power

Re: [PATCH 00/57] power: Upgrade to ux500 battery management driver

2012-09-27 Thread Mathieu Poirier
On 12-09-26 09:38 PM, Anton Vorontsov wrote: On Tue, Sep 25, 2012 at 10:11:57AM -0600, mathieu.poir...@linaro.org wrote: From: Mathieu J. Poirier mathieu.poir...@linaro.org This patch set upgrades the current ux500 battery management driver to the latest HW and functionality. Pull request

[PATCH] drivers/tty: Folding Android's keyreset driver in sysRQ

2012-10-05 Thread mathieu . poirier
: a...@lxorguk.ukuu.org.uk Signed-off-by: Mathieu Poirier mathieu.poir...@linaro.org --- drivers/tty/sysrq.c | 308 + include/linux/sysrq.h |8 ++ 2 files changed, 316 insertions(+), 0 deletions(-) diff --git a/drivers/tty/sysrq.c b/drivers/tty/sysrq.c

Re: [PATCH] drivers/tty: Folding Android's keyreset driver in sysRQ

2012-10-05 Thread Mathieu Poirier
On 12-10-05 12:16 PM, Dmitry Torokhov wrote: On Fri, Oct 05, 2012 at 11:59:29AM -0600, mathieu.poir...@linaro.org wrote: From: Mathieu J. Poirier mathieu.poir...@linaro.org Andrew, After requesting a number of changes that, to my understanding have been implemented, I have not been able to

Re: [PATCH] drivers/tty: Folding Android's keyreset driver in sysRQ

2012-10-20 Thread Mathieu Poirier
On 12-10-16 09:35 PM, Arve Hjønnevåg wrote: On Fri, Oct 5, 2012 at 12:48 PM, Mathieu Poirier mathieu.poir...@linaro.org wrote: On 12-10-05 12:16 PM, Dmitry Torokhov wrote: On Fri, Oct 05, 2012 at 11:59:29AM -0600, mathieu.poir...@linaro.org wrote: From: Mathieu J. Poirier mathieu.poir

[PATCH v4] drivers/tty: Folding Android's keyreset driver in sysRQ

2012-11-11 Thread mathieu . poirier
/module/sysrq interface. This functionality comes from the keyreset driver submitted by Arve Hjønnevåg in the Android kernel. Cc: a...@android.com Cc: kernel-t...@android.com Cc: dmitry.torok...@gmail.com Cc: john.stu...@linaro.org Cc: a...@lxorguk.ukuu.org.uk Signed-off-by: Mathieu Poirier

Re: Out-of-bound access in sysrq

2013-03-28 Thread Mathieu Poirier
On 13-03-28 04:34 AM, Jiri Slaby wrote: Guys, how is this supposed to work? #define SYSRQ_KEY_RESET_MAX 20 /* Should be plenty */ static unsigned short sysrq_reset_seq[SYSRQ_KEY_RESET_MAX]; ... unsigned short platform_sysrq_reset_seq[] __weak = { KEY_RESERVED }; ... static inline

Re: [PATCH v4] drivers/tty: Folding Android's keyreset driver in sysRQ

2013-02-27 Thread Mathieu Poirier
-by: Mathieu Poirier mathieu.poir...@linaro.org -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

[PATCH v3] drivers/tty: Folding Android's keyreset driver in sysRQ

2012-09-16 Thread mathieu . poirier
via the /sys/module/sysrq interface. This functionality comes from the keyreset driver submitted by Arve Hjønnevåg in the Android kernel. Cc: a...@android.com Cc: kernel-t...@android.com Cc: dmitry.torok...@gmail.com Cc: john.stu...@linaro.org Signed-off-by: Mathieu Poirier mathieu.poir

[PATCH v2] drivers/tty: Folding Android's keyreset driver in sysRQ

2012-08-30 Thread mathieu . poirier
driver submitted by Arve Hjønnevåg in the Android kernel. Cc: a...@android.com Cc: kernel-t...@android.com Cc: dmitry.torok...@gmail.com Cc: john.stu...@linaro.org Signed-off-by: Mathieu Poirier mathieu.poir...@linaro.org --- drivers/tty/sysrq.c | 161

Re: [PATCH v2] drivers/tty: Folding Android's keyreset driver in sysRQ

2012-08-31 Thread Mathieu Poirier
On 12-08-30 05:01 PM, Dmitry Torokhov wrote: Hi Matthieu, On Thu, Aug 30, 2012 at 04:30:54PM -0600, mathieu.poir...@linaro.org wrote: From: Mathieu J. Poirier mathieu.poir...@linaro.org This patch adds keyreset functionality to the sysrq driver. It allows certain button/key combinations to

Re: [PATCH v2] drivers/tty: Folding Android's keyreset driver in sysRQ

2012-08-31 Thread Mathieu Poirier
On 12-08-31 04:02 PM, Alan Cox wrote: Why do we need to involve a platform device and not use, for example, a module parameter, that could be set up from userspace? The platform device comes from the original design and was included to minimise the amount of changes in code that make use of

Re: [PATCH v2] drivers/tty: Folding Android's keyreset driver in sysRQ

2012-08-31 Thread Mathieu Poirier
On 12-08-31 04:41 PM, Dmitry Torokhov wrote: On Fri, Aug 31, 2012 at 11:02:27PM +0100, Alan Cox wrote: Why do we need to involve a platform device and not use, for example, a module parameter, that could be set up from userspace? The platform device comes from the original design and was

Re: [PATCH v2] drivers/tty: Folding Android's keyreset driver in sysRQ

2012-09-04 Thread Mathieu Poirier
On 12-08-31 05:22 PM, Dmitry Torokhov wrote: On Fri, Aug 31, 2012 at 04:57:04PM -0600, Mathieu Poirier wrote: On 12-08-31 04:41 PM, Dmitry Torokhov wrote: On Fri, Aug 31, 2012 at 11:02:27PM +0100, Alan Cox wrote: Why do we need to involve a platform device and not use, for example, a module

[PATCH] [RFC]: drivers/tty: Folding Android's keyreset driver in sysRQ

2012-08-16 Thread mathieu . poirier
be using. The keyreset platform data and driver name were kept intact to minimize disruption on products that already instantiate the keyreset driver. Cc: a...@android.com Cc: kernel-t...@android.com Cc: dmitry.torok...@gmail.com Cc: john.stu...@linaro.org Signed-off-by: Mathieu Poirier mathieu.poir

[PATCH] drivers/tty: Folding Android's keyreset driver in sysRQ

2012-08-27 Thread mathieu . poirier
driver submitted by Arve Hjønnevåg in the Android kernel. Cc: a...@android.com Cc: kernel-t...@android.com Cc: dmitry.torok...@gmail.com Cc: john.stu...@linaro.org Signed-off-by: Mathieu Poirier mathieu.poir...@linaro.org --- drivers/tty/sysrq.c | 159

Re: [PATCH 33/57] power: u8500_charger: Delay for USB enumeration

2012-09-28 Thread Mathieu Poirier
Sjoblom martin.w.sjob...@stericsson.com Signed-off-by: Mathieu Poirier mathieu.poir...@linaro.org Reviewed-by: Jonas ABERG jonas.ab...@stericsson.com --- [...] @@ -264,17 +275,19 @@ struct ab8500_charger { struct ab8500_charger_info usb; struct regulator *regu; struct

Re: [PATCH 17/57] power: ab8500_bm: Added support for BATT_OVV

2012-09-28 Thread Mathieu Poirier
On 12-09-26 09:36 PM, Anton Vorontsov wrote: On Tue, Sep 25, 2012 at 10:12:14AM -0600, mathieu.poir...@linaro.org wrote: From: Hakan Berg hakan.b...@stericsson.com Add support for the battery over-voltage situation Signed-off-by: Hakan Berg hakan.b...@stericsson.com Signed-off-by: Mathieu

Re: [PATCH 18/57] power: Add sysfs interfaces for capacity

2012-09-28 Thread Mathieu Poirier
...@stericsson.com Signed-off-by: Daniel WILLERUD daniel.wille...@stericsson.com Signed-off-by: Mathieu Poirier mathieu.poir...@linaro.org Reviewed-by: Jonas ABERG jonas.ab...@stericsson.com --- drivers/power/ab8500_fg.c | 57 - 1 files changed, 56 insertions

Re: [PATCH 27/57] power: sysfs interface update

2012-09-28 Thread Mathieu Poirier
-by: Loic Pallardy loic.palla...@stericsson.com Signed-off-by: Mathieu Poirier mathieu.poir...@linaro.org Reviewed-by: Marcus COOPER marcus.xm.coo...@stericsson.com Reviewed-by: Olivier CLERGEAUD olivier.clerge...@stericsson.com Reviewed-by: Jonas ABERG jonas.ab...@stericsson.com --- drivers

Re: [PATCH 30/57] power: ab8500: Flush sync all works

2012-09-28 Thread Mathieu Poirier
jonas.ab...@stericsson.com Signed-off-by: Mathieu Poirier mathieu.poir...@linaro.org Reviewed-by: Marcus COOPER marcus.xm.coo...@stericsson.com --- drivers/power/ab8500_charger.c | 11 +++ drivers/power/ab8500_fg.c |5 + 2 files changed, 16 insertions(+), 0 deletions

Re: [PATCH 38/57] power: l9540: Charge only mode fixes

2012-09-28 Thread Mathieu Poirier
is this? Signed-off-by: Rupesh Kumar rupesh.ku...@stericsson.com Signed-off-by: Mathieu Poirier mathieu.poir...@linaro.org Reviewed-by: Marcus COOPER marcus.xm.coo...@stericsson.com Reviewed-by: Michel JAOUEN michel.jao...@stericsson.com Reviewed-by: Philippe LANGLAIS philippe.langl...@stericsson.com

Re: [PATCH 52/57] power: abx500_chargalg: Use hrtimer

2012-09-28 Thread Mathieu Poirier
. Signed-off-by: Hakan Berg hakan.b...@stericsson.com Signed-off-by: Mathieu Poirier mathieu.poir...@linaro.org Reviewed-by: Mian Yousaf KAUKAB mian.yousaf.kau...@stericsson.com --- drivers/power/abx500_chargalg.c | 94 ++- 1 files changed, 53 insertions(+), 41

[RFC PATCH 08/11] coresight: adding support for beagle board

2014-05-30 Thread mathieu . poirier
From: Panchaxari Prasannamurthy panchaxari.prasannamur...@linaro.org Added support for coresight device in dts for Beagle Board, by adding blocks of coresight, ETM, ETB blocks. Signed-off-by: Panchaxari Prasannamurthy panchaxari.prasannamur...@linaro.org --- arch/arm/boot/dts/omap3-beagle.dts |

[RFC PATCH 06/11] coresight: add CoreSight Replicator driver

2014-05-30 Thread mathieu . poirier
. Signed-off-by: Pratik Patel prat...@codeaurora.org Signed-off-by: Panchaxari Prasannamurthy panchaxari.prasannamur...@linaro.org Signed-off-by: Mathieu Poirier mathieu.poir...@linaro.org --- drivers/coresight/Makefile | 2 +- drivers/coresight/coresight-replicator.c | 130

[RFC PATCH 00/11] CoreSight framework and drivers

2014-05-30 Thread mathieu . poirier
From: Mathieu Poirier mathieu.poir...@linaro.org This RFC is rescucitating the work submitted by Pratik Patel in 2012 [1]. This set is addressing comments gathered from the initial RFC and enhance the framework in a few areas. More specifically: . Sysfs entries have been moved to debugfs

[RFC PATCH 10/11] coresight: adding support for beagleXM

2014-05-30 Thread mathieu . poirier
From: Mathieu Poirier mathieu.poir...@linaro.org Currently supporting ETM and ETB. Support for TPIU and SDTI are yet to be added. Signed-off-by: Mathieu Poirier mathieu.poir...@linaro.org --- arch/arm/boot/dts/omap3-beagle-xm.dts | 30 ++ 1 file changed, 30

[RFC PATCH 11/11] ARM: moving support for etb/etm to the drivers directory

2014-05-30 Thread mathieu . poirier
From: Mathieu Poirier mathieu.poir...@linaro.org Removing minimal support for etb/etm to favour an implentation that is more flexible, extensible and capable of handling more platforms. Also removing the only client of the old driver. That code can easily be replaced by entries for etb/etm

[RFC PATCH 04/11] coresight: add CoreSight ETB driver

2014-05-30 Thread mathieu . poirier
...@linaro.org Signed-off-by: Mathieu Poirier mathieu.poir...@linaro.org --- drivers/coresight/Makefile| 3 +- drivers/coresight/coresight-etb.c | 586 ++ 2 files changed, 588 insertions(+), 1 deletion(-) create mode 100644 drivers/coresight/coresight-etb.c diff

[RFC PATCH 09/11] coresight: adding basic support for Vexpress TC2

2014-05-30 Thread mathieu . poirier
From: Mathieu Poirier mathieu.poir...@linaro.org Support for the 2 PTMs, 3 ETMs, funnel, TPIU and replicator connected to the ETB are included. Proper handling of the ITM and the replicator linked to it along with the CTIs and SWO are not included. Signed-off-by: Mathieu Poirier mathieu.poir

[RFC PATCH 03/11] coresight: add CoreSight TPIU driver

2014-05-30 Thread mathieu . poirier
Prasannamurthy panchaxari.prasannamur...@linaro.org Signed-off-by: Mathieu Poirier mathieu.poir...@linaro.org --- drivers/coresight/Makefile | 2 +- drivers/coresight/coresight-tpiu.c | 229 + 2 files changed, 230 insertions(+), 1 deletion(-) create mode 100644

[RFC PATCH 01/11] coresight: add CoreSight core layer framework

2014-05-30 Thread mathieu . poirier
available sinks and also provides status information to user space applications through sysfs interface. Signed-off-by: Pratik Patel prat...@codeaurora.org Signed-off-by: Panchaxari Prasannamurthy panchaxari.prasannamur...@linaro.org Signed-off-by: Mathieu Poirier mathieu.poir...@linaro.org

[RFC PATCH 05/11] coresight: add CoreSight Funnel driver

2014-05-30 Thread mathieu . poirier
of the Funnel. Signed-off-by: Pratik Patel prat...@codeaurora.org Signed-off-by: Panchaxari Prasannamurthy panchaxari.prasannamur...@linaro.org Signed-off-by: Mathieu Poirier mathieu.poir...@linaro.org --- drivers/coresight/Makefile | 2 +- drivers/coresight/coresight-funnel.c | 310

[RFC PATCH 02/11] coresight: add CoreSight TMC driver

2014-05-30 Thread mathieu . poirier
Signed-off-by: Mathieu Poirier mathieu.poir...@linaro.org --- drivers/coresight/Kconfig | 11 + drivers/coresight/Makefile| 1 + drivers/coresight/coresight-tmc.c | 796 ++ 3 files changed, 808 insertions(+) create mode 100644 drivers

Re: [RFC PATCH 04/11] coresight: add CoreSight ETB driver

2014-05-30 Thread Mathieu Poirier
On 30 May 2014 07:53, Russell King - ARM Linux li...@arm.linux.org.uk wrote: NAK for all the reasons I mentioned in the previous submission in 2012. You partially did the right thing - you read through the previous submission, and you said in your cover message that you had addressed some of

Re: [RFC PATCH 01/11] coresight: add CoreSight core layer framework

2014-05-30 Thread Mathieu Poirier
Signed-off-by: Panchaxari Prasannamurthy panchaxari.prasannamur...@linaro.org Signed-off-by: Mathieu Poirier mathieu.poir...@linaro.org --- .../devicetree/bindings/arm/coresight.txt | 138 drivers/Kconfig| 2 + drivers/Makefile

Re: [RFC PATCH 02/11] coresight: add CoreSight TMC driver

2014-06-16 Thread Mathieu Poirier
Thanks for the review - please see comments in-lined. Mathieu On 3 June 2014 03:09, Linus Walleij linus.wall...@linaro.org wrote: On Fri, May 30, 2014 at 3:43 PM, mathieu.poir...@linaro.org wrote: +#define tmc_writel(drvdata, val, off) __raw_writel((val), drvdata-base + off) +#define

[PATCH 9/9 v2] ARM: removing support for etb/etm in arch/arm/kernel/

2014-06-27 Thread mathieu . poirier
From: Mathieu Poirier mathieu.poir...@linaro.org Removing minimal support for etb/etm to favour an implentation that is more flexible, extensible and capable of handling more platforms. Also removing the only client of the old driver. That code can easily be replaced by entries for etb/etm

[PATCH 7/9 v2] coresight: adding support for beagle and beagleXM

2014-06-27 Thread mathieu . poirier
From: Mathieu Poirier mathieu.poir...@linaro.org Currently supporting ETM and ETB. Support for TPIU and SDTI are yet to be added. Signed-off-by: Mathieu Poirier mathieu.poir...@linaro.org --- arch/arm/boot/dts/omap3-beagle-xm.dts | 28 arch/arm/boot/dts/omap3

[PATCH 2/9 v2] coresight-tmc: add CoreSight TMC driver

2014-06-27 Thread mathieu . poirier
Signed-off-by: Mathieu Poirier mathieu.poir...@linaro.org --- drivers/coresight/Kconfig | 10 + drivers/coresight/Makefile| 1 + drivers/coresight/coresight-tmc.c | 791 ++ 3 files changed, 802 insertions(+) create mode 100644 drivers

[PATCH 0/9 v2] Coresight framework and drivers

2014-06-27 Thread mathieu . poirier
From: Mathieu Poirier mathieu.poir...@linaro.org This set is addressing comments received after the May 30th submission[1]. More specifically: .All drivers have been converted to use the AMBA bus interface. .Debugfs entries are now created with a macro. .A header file was created for the ETM

[PATCH 8/9 v2] coresight: adding basic support for Vexpress TC2

2014-06-27 Thread mathieu . poirier
From: Mathieu Poirier mathieu.poir...@linaro.org Support for the 2 PTMs, 3 ETMs, funnel, TPIU and replicator connected to the ETB are included. Proper handling of the ITM and the replicator linked to it along with the CTIs and SWO are not included. Signed-off-by: Mathieu Poirier mathieu.poir

  1   2   3   4   5   6   7   8   9   10   >