Message ID | 1348776554-10019-1-git-send-email-mathieu.poirier@linaro.org |
---|---|
State | New |
Headers | show
Return-Path: <patch+caf_=linaro-patchwork=canonical.com@linaro.org> X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id EADE124140 for <patchwork@peony.canonical.com>; Thu, 27 Sep 2012 20:09:22 +0000 (UTC) Received: from mail-ie0-f180.google.com (mail-ie0-f180.google.com [209.85.223.180]) by fiordland.canonical.com (Postfix) with ESMTP id 6A874A18351 for <linaro-patchwork@canonical.com>; Thu, 27 Sep 2012 20:09:22 +0000 (UTC) Received: by ieje10 with SMTP id e10so5234801iej.11 for <linaro-patchwork@canonical.com>; Thu, 27 Sep 2012 13:09:21 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-forwarded-to:x-forwarded-for:delivered-to:received-spf:from:to :subject:date:message-id:x-mailer:mime-version:content-type :content-transfer-encoding:x-gm-message-state; bh=kwh27qOpkoAGBVmzloLwRb0xS/xHTiyDC0KEsFBsYKM=; b=HxS611TIX9o82aiP7l/qeyrmNYtlLRIS2SD1QAsGn7v0X106J+Mn7eyyiPeY3Mb+MF p+w4JQjMOgHRB+/pU49fmxagwZP75ESJnqYOruN4WHxpS5UQSQst4VTi/2wGUPvyCQt6 8+3CCyzr2mep90Ky/X/ssS9rpqFULmS13b3nhroD9WbIoD9w/JSLeoHP1VQfFBLjM+gv gladGhoafz5HhuAwN1ES2pi5ky7Rl8x6ysmHN43CVRGOEKRc3uaydmlruuKNqcnE9h1Q WrJziD60qURzlLxNViA8+i7bD4R7H0dkNNJS1GDDSBEjHPs+chHCKVvKkXgdLYq9JNgy FZfw== Received: by 10.50.217.227 with SMTP id pb3mr15357273igc.28.1348776561708; Thu, 27 Sep 2012 13:09:21 -0700 (PDT) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.50.184.232 with SMTP id ex8csp436258igc; Thu, 27 Sep 2012 13:09:21 -0700 (PDT) Received: by 10.68.193.194 with SMTP id hq2mr14669917pbc.93.1348776560846; Thu, 27 Sep 2012 13:09:20 -0700 (PDT) Received: from mail-pa0-f50.google.com (mail-pa0-f50.google.com [209.85.220.50]) by mx.google.com with ESMTPS id vn9si8390651pbc.17.2012.09.27.13.09.20 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 27 Sep 2012 13:09:20 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.220.50 is neither permitted nor denied by best guess record for domain of mathieu.poirier@linaro.org) client-ip=209.85.220.50; Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.220.50 is neither permitted nor denied by best guess record for domain of mathieu.poirier@linaro.org) smtp.mail=mathieu.poirier@linaro.org Received: by padhz11 with SMTP id hz11so1847989pad.37 for <patches@linaro.org>; Thu, 27 Sep 2012 13:09:20 -0700 (PDT) Received: by 10.68.218.101 with SMTP id pf5mr14562163pbc.60.1348776560302; Thu, 27 Sep 2012 13:09:20 -0700 (PDT) Received: from localhost.localdomain (S0106002369de4dac.cg.shawcable.net. [70.73.24.112]) by mx.google.com with ESMTPS id sa2sm1587890pbc.4.2012.09.27.13.09.18 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 27 Sep 2012 13:09:19 -0700 (PDT) From: mathieu.poirier@linaro.org To: patches@linaro.org Subject: [PATCH 00/57] power: Upgrade to ux500 battery management driver Date: Thu, 27 Sep 2012 14:08:17 -0600 Message-Id: <1348776554-10019-1-git-send-email-mathieu.poirier@linaro.org> X-Mailer: git-send-email 1.7.5.4 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Gm-Message-State: ALoCoQmlPxiwADqbJqlYt+V75VdwWEPzqGBy6N0PDk6upc2jH22CiYSTnWWszaCUHIen3V+zWqxl |
From: "Mathieu J. Poirier" <mathieu.poirier@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 git://git.kernel.org/pub/scm/linux/kernel/git/cmetcalf/linux-tile (2012-09-24 16:17:17 -0700) are available in the git repository at: git://git.linaro.org/people/mpoirier/linux.git ux500-battery-management Daniel WILLERUD (1): power: Add sysfs interfaces for capacity Hakan Berg (10): power: ab8500_bm: Ignore false btemp low interrupt power: Adds support for Car/Travel Adapters power: bm remove superfluous BTEMP thermal comp. power: ab8500_bm: Added support for BATT_OVV power: ab8500_fg: Adjust for RF bursts voltage drops. power: ab8500_btemp: Filter btemp readings power: charging: Allow capacity to raise from 1% power: charging: Add AB8505_USB_LINK_STATUS power: ab8500-chargalg: update battery health on safety timer exp power: abx500_chargalg: Use hrtimer Henrik Sölver (1): power: AB workaround for invalid charger Johan Bjornstedt (2): power: ab8500_bm: Charger current step-up/down power: ab8500_bm: Skip first CCEOC irq for instant current Jonas Aaberg (7): power: ab8500_btemp: Detect battery type in workqueue power: ab8500_bm: Detect removed charger power: ab8500_fg: flush sync on suspend power: ab8500_fg: usleep_range instead of short msleep power: ab8500_charger: Handle gpadc errors power: ab8500: Flush & sync all works power: ab8500_charger: Do not touch VBUSOVV bits Kalle Komierowski (2): power: ab8500_bm: Don't clear the CCMuxOffset bit power: ab8500_bm: Quick re-attach charging behaviour Loic Pallardy (3): power: Add plaform data charger configurables power: charge: update watchdog for pm2xxx support power: chargealg: Realign with upstream version Marcus Cooper (8): power: Recharge condition not optimal for battery power: remove unused defines. power: Adds support for legacy USB chargers power: ab8500: ADC for battery thermistor power: ab8500: remove unecesary define flag power: ab8500_charger: Use USBLink1Status Register power: ab8500_charger: Add UsbLineCtrl2 reference power: abx500_chargalg: Fix quick re-attach charger issue. Martin Bergstrom (2): power: ab8500_fg: Report unscaled capacity power: ab8500_charger: Limit USB charger current Martin Bergström (1): power: ab8500_fg: Goto INIT_RECOVERY when charger removed Martin Sjoblom (1): power: ab8500_charger: Prevent auto drop of VBUS Mathieu J. Poirier (4): power: Harmonising platform data declaration/handling power: Cancelling status charging notification. power: ab8500: Re-alignment with internal developement. power: ab8500_fg: Moving structure definitions to header file Michel JAOUEN (2): power: ab8500: adaptation to ab version power: sysfs interface update Nicolas Guion (1): power: ab8500 - Accessing Autopower register fails Paer-Olof Haakansson (3): power: ab8500_bm: Rename the power_loss function power: Overflow in current calculation power: u8500_charger: Delay for USB enumeration Philippe Langlais (1): power: ab8500: bm: movimg back to ab8500 platform data managment Rajkumar Kasirajan (1): power: ab8500_fg: fix to use correct battery charge full design Rickard Andersson (1): power: ab8500_fg: balance IRQ enable Rikard Olsson (1): power: ab8500_fg: add power cut feature for ab8505 Rupesh Kumar (3): power: l9540: Charge only mode fixes power: ab8500: defer btemp filtering while init power: ab8500 : quick re-attach for ext charger Yang QU (1): power: add backup battery charge voltages. pender01 (1): power: ab8500_fg: Round capacity output drivers/mfd/ab8500-core.c | 6 + drivers/power/Kconfig | 7 - drivers/power/ab8500_btemp.c | 165 +++-- drivers/power/ab8500_charger.c | 1410 +++++++++++++++++++++++------ drivers/power/ab8500_fg.c | 1085 +++++++++++++++++------ drivers/power/ab8500_fg.h | 201 ++++ drivers/power/abx500_chargalg.c | 333 ++++++-- include/linux/mfd/abx500.h | 30 +- include/linux/mfd/abx500/ab8500-bm.h | 47 +- include/linux/mfd/abx500/ab8500.h | 22 +- include/linux/mfd/abx500/ux500_chargalg.h | 8 + 11 files changed, 2607 insertions(+), 707 deletions(-) create mode 100644 drivers/power/ab8500_fg.h