09 Jan, 2012
1 commit
-
This moves all the header files related to the abx500 family into
a common include directory below mfd. From now on we place any
subchip header in that directory. Headers previously in e.g.
get prefixed and are now e.g.
. The top-level abstract interface
remains in .Signed-off-by: Linus Walleij
Signed-off-by: Samuel Ortiz
21 Dec, 2011
1 commit
-
Fix below build warning if CONFIG_DEBUG_FS is disabled.
CC drivers/mfd/ab8500-core.o
drivers/mfd/ab8500-core.c:623: warning: 'ab8500_debug_resources' defined but not usedSigned-off-by: Axel Lin
Signed-off-by: Samuel Ortiz
24 Oct, 2011
4 commits
-
Expose TurnOnStatus (Power key, RTC alarm, Vbus detect, etc) in
sysfs. This magic value can be read by system users to determine
what caused the platform to turn on last (this) time.Signed-off-by: Andrew Lynn
Reviewed-by: Srinidhi Kasagar
Reviewed-by: Jonas Aaberg
Signed-off-by: Linus Walleij
Signed-off-by: Samuel Ortiz -
This patch removes the early drop version of ab8500 which have
the really bad version nr 0x0. This chip should not be found in
the wild and only exist as ST-Ericsson scrap equipment.Signed-off-by: Mattias Wallin
Reviewed-by: Jonas Aaberg
Signed-off-by: Linus Walleij
Signed-off-by: Samuel Ortiz -
This patch adds support for ab8500 cut 3, MetalFix 3 or v3.3.
Signed-off-by: Mattias Wallin
Reviewed-by: Jonas Aaberg
Signed-off-by: Linus Walleij
Signed-off-by: Samuel Ortiz -
Add the missing interrupt disable hook in the irq_chip
callbacks for ab8500.Signed-off-by: Virupax Sadashivpetimath
Reviewed-by: Srinidhi Kasagar
Signed-off-by: Philippe Langlais
Signed-off-by: Linus Walleij
Signed-off-by: Samuel Ortiz
01 Aug, 2011
2 commits
-
This synchronize the subdevice entries for the AB8500 MFD driver
with the latest development of subdrivers for things like battery
charging and temperature monitoring.Signed-off-by: Linus Walleij
Signed-off-by: Samuel Ortiz -
Internal MFD device structs are marked as __devinitdata since the kernel
will allocate memory for the same when calling mfd_add_devices.Signed-off-by: Robert Rosengren
Reviewed-by: Mattias Wallin
Reviewed-by: Johan Palsson
Signed-off-by: Linus Walleij
Signed-off-by: Samuel Ortiz
27 May, 2011
1 commit
-
Since functionality in MFD cells may need to be adjusted according to
chip revision, let's enumerate them and keep track of them.Signed-off-by: Linus Walleij
Signed-off-by: Samuel Ortiz
28 Mar, 2011
1 commit
-
To get rid of port expanders, the free GPIOs of ab8500
can be used. There are 42 GPIO pins. Out of which 16
are interrupt capable.This patch implements 16 virtual
IRQ mapped to 16 interrupt capable AB8500 GPIOs.Signed-off-by: Bibek Basu
Acked-by: Grant Likely
[Renamed header file as per MFD structure]
Signed-off-by: Linus Walleij
27 Mar, 2011
1 commit
-
Converted with coccinelle.
Signed-off-by: Thomas Gleixner
Acked-by: Mark Brown
Signed-off-by: Samuel Ortiz
23 Mar, 2011
2 commits
-
This patch adds a sysfs file with the ab8500 switch off status.
The switch off status contains information of what caused the ab8500
chip to power off. A print during boot is also added.Signed-off-by: Mattias Wallin
Acked-by: Linus Walleij
Signed-off-by: Samuel Ortiz -
This patch adds support for ab8500 chip revision cut 3.0.
Also rephrased from Changes to Author in the header.Signed-off-by: Mattias Wallin
Acked-by: Linus Walleij
Signed-off-by: Samuel Ortiz
14 Jan, 2011
6 commits
-
This patch adds support for chip version 2.0 or cut 2.0.
One new interrupt latch register - latch 12 - is introduced.Signed-off-by: Mattias Wallin
Acked-by: Linus Walleij
Signed-off-by: Samuel Ortiz -
The genirq core is being converted to supply struct irq_data to chips
rather than the interrupt number.Signed-off-by: Mark Brown
Acked-by: Mattias Wallin
Signed-off-by: Samuel Ortiz -
This patch adds the ioresources used by subdrivers to
retrieve their interrupt.Signed-off-by: Mattias Wallin
Signed-off-by: Samuel Ortiz -
This patch makes the system wake up from suspend when an
ab8500 interrupt occur. This can for example be USB cable
insert or an RTC alarm.Signed-off-by: Mattias Wallin
Signed-off-by: Samuel Ortiz -
This patch adds a file into sysfs for reading out chip id.
It has been requested for modem silent reboot.Signed-off-by: Mattias Wallin
Signed-off-by: Ludovic Barre
Signed-off-by: Samuel Ortiz -
We check for dev before dereferencing it.
Signed-off-by: Mattias Wallin
Signed-off-by: Samuel Ortiz
22 Dec, 2010
1 commit
-
We want to find the first set bit on value, not status.
Signed-off-by: Mattias Wallin
Signed-off-by: Samuel Ortiz
29 Oct, 2010
3 commits
-
This patch adds the possibility to read and write registers
via the debug_fs. It also adds ranges of registers sorted by bank
which makes it possible to read all defined registers in a bank.Signed-off-by: Mattias Wallin
Acked-by: Linus Walleij
Reviewed-by: Mark Brown
Signed-off-by: Samuel Ortiz -
This patch adds a Pulse Width Modulation driver for Analog Baseband
Chip AB8500.Signed-off-by: Arun Murthy
Acked-by: Linus Walleij
Acked-by: Mike Rapoport
Signed-off-by: Samuel Ortiz -
This patch makes the ab8500 mixed signal chip expose the same
interface for register access as the ab3100, ab3550 and ab5500 chip.
The ab8500_read() and ab8500_write() is removed and replaced with
abx500_get_register_interruptible() and
abx500_set_register_interruptible().Signed-off-by: Mattias Wallin
Acked-by: Linus Walleij
Acked-by: Mark Brown
Signed-off-by: Samuel Ortiz
06 Sep, 2010
1 commit
-
Add the PowerOn (PonKey) button support to detect power on/off events.
Acked-by: Linus Walleij
Signed-off-by: Sundar R Iyer
Signed-off-by: Dmitry Torokhov
11 Aug, 2010
1 commit
-
Acked-by: Linus Walleij
Acked-By: Mattias Wallin
Acked-By: Bengt JONSSON
Signed-off-by: Sundar R Iyer
Acked-by: Mark Brown
Acked-by: Samuel Ortiz
Signed-off-by: Liam Girdwood
28 May, 2010
1 commit
-
Add a new driver to support the AB8500 Power Management chip, replacing
the current AB4500. The new driver replaces the old one, instead of an
incremental modification, because this is a substantial overhaul
including:- Split of the driver into -core and -spi portions, to allow another
interface layer to be added- Addition of interrupt support
- Switch to MFD core API for handling subdevices
- Simplification of the APIs to remove a redundant block parameter
- Rename of the APIs and macros from ab4500_* to ab8500_*
- Rename of the files from ab4500* to ab8500*
- Change of the driver name from ab4500 to ab8500
Acked-by: Linus Walleij
Acked-by: Srinidhi Kasagar
Signed-off-by: Rabin Vincent
Signed-off-by: Samuel Ortiz