History log of /drivers/mfd/tps6586x.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
26bc4e0cc5426e86398d6780d160f02c0a347087 31-Oct-2011 Axel Lin <axel.lin@gmail.com> mfd: Set tps6586x bits if new value is different from the old one

It does not make sense to write new value only when all the bit_mask
bits are zero.
We need to write new value if the bit mask fields of new value is
not equal to old value.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
/drivers/mfd/tps6586x.c
e6f1945b9e71cbc8498e5fbf8d5352331ac5da14 12-Apr-2011 Vincent Palatin <vpalatin@chromium.org> mfd: Fix tps6586x GPIO value setting

In the current code, every time we set a TPS6586x GPIO pin,
the tps6586x_gpio_set function is resetting all other GPIO pins.
We need to update the right GPIOxOUT bit of the GPIOSET2 register instead
of overriding the full value.

Tested by setting sequentially GPIO2 and GPIO3 and verifying the
pins voltage.

Change-Id: I560edde146c5425cce37432c4ee91569eea5adcf
Signed-off-by: Vincent Palatin <vpalatin@chromium.org>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
/drivers/mfd/tps6586x.c
d5bb122165981aed327845c32a9916d1b8ae0e4b 25-Mar-2011 Thomas Gleixner <tglx@linutronix.de> mfd: Cleanup irq namespace

Converted with coccinelle.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
/drivers/mfd/tps6586x.c
6f9f13bf9b9fabf2da2028cb7c1e732ef2efa26d 31-Jan-2011 Vincent Palatin <vpalatin@chromium.org> mfd: Invert tps6586x GPIO and subdevices initialization

When using a fixed voltage regulator triggered by a TPS6586x GPIO,
this allows to declare and initialize it conveniently from the "subdev" list.

Signed-off-by: Vincent Palatin <vpalatin@chromium.org>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
/drivers/mfd/tps6586x.c
4b57018dcd6418e18c08088c89f123da8a7bfc45 24-Feb-2011 vwadekar@nvidia.com <vwadekar@nvidia.com> mfd: Avoid tps6586x burst writes

tps6586 does not support burst writes. i2c writes have to be
1 byte at a time.

Cc: stable@kernel.org
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
/drivers/mfd/tps6586x.c
96e824bdf3349a7e581004286274be6c0df6c710 12-Dec-2010 Mark Brown <broonie@opensource.wolfsonmicro.com> mfd: Convert tps6586x driver to new irq_ API

The genirq core is being updated to supply struct irq_data to irq_chip
operations rather than an irq number. Update the tps6586x driver to the
new APIs.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Mike Rapoport <mike@compulab.co.il>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
/drivers/mfd/tps6586x.c
4d1cdbf696501c0a942c5b71f3fab9434a4465c4 09-Dec-2010 Stephen Warren <swarren@nvidia.com> mfd: Remove tps6586x device ID check

... and convert it to a dev_info print at probe time.

There are many variants of this chip with different values of VERSIONCRC.
The set of values is large, and not useful to enumerate. All are SW
compatible. The difference lies in default settings of the various power
rails, and other similar differences. The driver, or clients of the
driver, shouldn't be affected by this, since all rails should be
programmed into the desired state in all cases for correct operation.

Derived-from-code-by: Andrew Chew <achew@nvidia.com>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
/drivers/mfd/tps6586x.c
d1f92f05754116fc65cb1165d4942d25df6f200e 19-Oct-2010 Andrew Chew <achew@nvidia.com> mfd: Add TPS658621C device ID

The interface for this device should be identical to that of the
TPS658521A.

Signed-off-by: Andrew Chew <achew@nvidia.com>
Acked-by: Mike Rapoport <mike@compulab.co.il>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
/drivers/mfd/tps6586x.c
c26448c48448266480e1b6c371f897167060ceaf 20-Sep-2010 Gary King <gking@nvidia.com> mfd: Add basic tps6586x interrupt support

Add support for enabling and disabling tps6586x subdevice interrupts

Signed-off-by: Gary King <gking@nvidia.com>
Acked-by: Mike Rapoport <mike@compulab.co.il>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
/drivers/mfd/tps6586x.c
929980ab1b90b5a5c93db9b9b7d58cc6e93049c8 24-Aug-2010 Axel Lin <axel.lin@gmail.com> mfd: Fix tps6586x_add_subdevs error path

1. return -ENOMEM if platform_device_alloc() fail.
2. call platform_device_put() if platform_device_add() fail.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Acked-by: Mike Rapoport <mike@compulab.co.il>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
/drivers/mfd/tps6586x.c
4b751cf5de975a91246110f3da1299f9e466646d 24-Aug-2010 Axel Lin <axel.lin@gmail.com> mfd: Free tps6586x allocated resources when unload the module

For the resources allocated in tps6586x_i2c_probe(),
we need to free it in tps6586x_i2c_remove().

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
/drivers/mfd/tps6586x.c
c6c193326384aecfd668c8f271799a44dbc74c1a 11-Aug-2010 Mike Rapoport <mike@compulab.co.il> mfd: Add TPS6586x driver

Add mfd core driver for TPS6586x PMICs family.
The driver provides I/O access for the sub-device drivers and performs
regstration of the sub-devices based on the platform requirements.
In addition it implements GPIOlib interface for the chip GPIOs.

TODO:
- add interrupt support
- add platform data for PWM, backlight leds and charger

Signed-off-by: Mike Rapoport <mike@compulab.co.il>
Signed-off-by: Mike Rapoport <mike.rapoport@gmail.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
/drivers/mfd/tps6586x.c