- 31 Jul, 2011 1 commit
-
-
Mark Brown authored
In preparation for some additional work on the wm831x AUXADC code move the support into a separate file. This is a simple code motion patch, there should be no functional changes. Signed-off-by:
Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by:
Samuel Ortiz <sameo@linux.intel.com>
-
- 05 Jul, 2011 1 commit
-
-
Axel Lin authored
Base on Mark's comment [1], I make the Kconfig entry invisible to users. [1] https://lkml.org/lkml/2011/5/14/136 Signed-off-by:
Axel Lin <axel.lin@gmail.com> Signed-off-by:
Samuel Ortiz <sameo@linux.intel.com>
-
- 04 Jul, 2011 2 commits
-
-
Misael Lopez Cruz authored
TWL6040 IC provides analog high-end audio codec functions for handset applications. It contains several audio analog inputs and outputs as well as vibrator support. It's connected to the host processor via PDM interface for audio data communication. The audio modules are controlled by internal registers that can be accessed by I2C and PDM interface. TWL6040 MFD will be registered as a child of TWL-CORE, and will have two children of its own: twl6040-codec and twl6040-vibra. This driver is based on TWL4030 and WM8350 MFD drivers. Signed-off-by:
Misael Lopez Cruz <misael.lopez@ti.com> Signed-off-by:
Peter Ujfalusi <peter.ujfalusi@ti.com> Acked-by:
Samuel Ortiz <sameo@linux.intel.com>
-
Peter Ujfalusi authored
Rename the driver, and header file from twl4030-codec to twl4030-audio. To avoid breakage change depending drivers at the same time. Signed-off-by:
Peter Ujfalusi <peter.ujfalusi@ti.com> CC: Misael Lopez Cruz <misael.lopez@ti.com> Acked-by:
Samuel Ortiz <sameo@linux.intel.com>
-
- 27 May, 2011 4 commits
-
-
Jorge Eduardo Candelaria authored
The GPIO driver should reside in drivers/gpio/ for better organization. Signed-off-by:
Jorge Eduardo Candelaria <jedu@slimlogic.co.uk> Acked-by:
Grant Likely <grant.likely@secretlab.ca> Signed-off-by:
Liam Girdwood <lrg@slimlogic.co.uk>
-
Graeme Gregory authored
This module controls the interrupt handling for the tps chip. The interrupt sources are the following: - GPIO falling/rising edge detection - Battery voltage below/above threshold - PWRON signal - PWRHOLD signal - Temperature detection - RTC alarm and periodic event Signed-off-by:
Graeme Gregory <gg@slimlogic.co.uk> Signed-off-by:
Jorge Eduardo Candelaria <jedu@slimlogic.co.uk> Reviewed-by:
Mark Brown <broonie@opensource.wolfsonmicro.com> Acked-by:
Samuel Ortiz <sameo@linux.intel.com> Signed-off-by:
Liam Girdwood <lrg@slimlogic.co.uk>
-
Graeme Gregory authored
TPS65910 has one configurable GPIO that can be used for several purposes. Subsequent versions of the TPS chip support more than one GPIO. Signed-off-by:
Graeme Gregory <gg@slimlogic.co.uk> Signed-off-by:
Jorge Eduardo Candelaria <jedu@slimlogic.co.uk> Acked-by:
Grant Likely <grant.likely@secretlab.ca> Signed-off-by:
Liam Girdwood <lrg@slimlogic.co.uk>
-
Graeme Gregory authored
The TPS65910 chip is a power management IC for multimedia and handheld devices. It contains the following components: - Regulators - GPIO controller - RTC The tps65910 core driver is registered as a platform driver and provides communication through I2C with the host device for the different components. Signed-off-by:
Graeme Gregory <gg@slimlogic.co.uk> Signed-off-by:
Jorge Eduardo Candelaria <jedu@slimlogic.co.uk> Acked-by:
Samuel Ortiz <sameo@linux.intel.com> Signed-off-by:
Liam Girdwood <lrg@slimlogic.co.uk>
-
- 26 May, 2011 2 commits
-
-
Abhijeet Dharmapurikar authored
Add support for the irq controller in Qualcomm 8xxx pmic. The 8xxx interrupt controller provides control for gpio and mpp configured as interrupts in addition to other subdevice interrupts. The interrupt controller also provides a way to read the real time status of an interrupt. This real time status is the only way one can get the input values of gpio and mpp lines. Signed-off-by:
Abhijeet Dharmapurikar <adharmap@codeaurora.org> Signed-off-by:
Samuel Ortiz <sameo@linux.intel.com>
-
Abhijeet Dharmapurikar authored
Add support for the Qualcomm PM8921 PMIC chip. The core driver will communicate with the PMIC chip via the MSM SSBI bus. Signed-off-by:
Abhijeet Dharmapurikar <adharmap@codeaurora.org> Signed-off-by:
Samuel Ortiz <sameo@linux.intel.com>
-
- 24 May, 2011 2 commits
-
-
Linus Walleij authored
This adds the DB5500 PRCMU driver. Right now this one is pretty restricted in functionality, exposing a simple interface to send I2C messages. Acked-by:
Samuel Ortiz <sameo@linux.intel.com> Signed-off-by:
Linus Walleij <linus.walleij@linaro.org>
-
Linus Walleij authored
We have decided that this function arbiter fits better in the MFD subsystem. Since we need to concatenate the split header files we move it basically like this: mv mach-ux500/prcmu-db8500.c drivers/mfd/db8500-prcmu.c mv mach-ux500/include/mach/prcmu-defs.h include/linux/mfd/db8500-prcmu.h mv mach-ux500/include/mach/prcmu-regs.h drivers/mfd/db8500-prcmu-regs.h mach-ux500/include/mach/prcmu.h >> include/linux/mfd/db8500-prcmu.h rm arch/arm/mach-ux500/include/mach/prcmu.h Then we update different #include statements and Makefile orders etc to make the PRCMU driver compile, link and boot in the new place without really changing any code. Acked-by:
Samuel Ortiz <sameo@linux.intel.com> Signed-off-by:
Linus Walleij <linus.walleij@linaro.org>
-
- 26 Mar, 2011 1 commit
-
-
MyungJoo Ham authored
This patch enables IRQ handling for MAX8997/8966 chips. Please note that Fuel-Gauge-related IRQs are not implemented in this initial release. The fuel gauge module in MAX8997 is identical to MAX17042, which is already in Linux kernel. In order to use the already-existing MAX17042 driver for fuel gauge module in MAX8997, the main interrupt handler of MAX8997 should relay related interrupts to MAX17042 driver. However, in order to do this, we need to modify MAX17042 driver as well because MAX17042 driver does not have any interrupt handlers for now. We are not going to implement this in this initial release as it is not crucial in basic operations of MAX8997. Signed-off-by:
MyungJoo Ham <myungjoo.ham@samsung.com> Signed-off-by:
Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by:
Samuel Ortiz <sameo@linux.intel.com>
-
- 25 Mar, 2011 1 commit
-
-
Guennadi Liakhovetski authored
On sh-mobile platforms the SDHI driver was using the tmio_mmc SD/SDIO MFD cell driver. Now that the tmio_mmc driver has been split into a core and a separate MFD glue, we can support SDHI natively without the need to emulate an MFD controller. This also allows to support systems with an on-SoC SDHI controller and a separate MFD with a TMIO core. Signed-off-by:
Guennadi Liakhovetski <g.liakhovetski@gmx.de> Acked-by:
Paul Mundt <lethal@linux-sh.org> Signed-off-by:
Chris Ball <cjb@laptop.org>
-
- 23 Mar, 2011 5 commits
-
-
Linus Walleij authored
The TPS61050/TPS61052 are boost converters, LED drivers, LED flash drivers and a simple GPIO pin chips. Cc: Liam Girdwood <lrg@slimlogic.co.uk> Cc: Mark Brown <broonie@opensource.wolfsonmicro.com> Cc: Jonas Aberg <jonas.aberg@stericsson.com> Cc: Ola Lilja <ola.o.lilja@stericsson.com> Signed-off-by:
Linus Walleij <linus.walleij@linaro.org> Signed-off-by:
Samuel Ortiz <sameo@linux.intel.com>
-
MyungJoo Ham authored
MAX8997/MAX8966 chip is a multi-function device with I2C bussses. The chip includes PMIC, RTC, Fuel Gauge, MUIC, Haptic, Flash control, and Battery (charging) control. This patch is an initial release of a MAX8997/8966 driver that supports to enable the chip with its primary I2C bus that connects every device mentioned above except for Fuel Gauge, which uses another I2C bus. The fuel gauge is not supported by this mfd driver and is supported by a seperated driver of MAX17042 Fuel Gauge (yes, the fuel gauge part is compatible with MAX17042). Signed-off-by:
MyungJoo Ham <myungjoo.ham@samsung.com> Signed-off-by:
Kyungmin Park <kyungmin.park@samsung.com> Reviewed-by:
Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by:
Samuel Ortiz <sameo@linux.intel.com>
-
Keerthy authored
Introducing a driver for MADC on TWL4030 powerIC. MADC stands for monitoring ADC. This driver monitors the real time conversion of analog signals like battery temperature, battery cuurent etc. Signed-off-by:
Keerthy <j-keerthy@ti.com> Signed-off-by:
Samuel Ortiz <sameo@linux.intel.com>
-
Arun Murthy authored
AB8500 GPADC driver used to convert Acc and battery/ac/usb voltage Signed-off-by:
Arun Murthy <arun.murthy@stericsson.com> Acked-by:
Linus Walleij <linus.walleij@stericsson.com> Acked-by:
Mattias Wallin <mattias.wallin@stericsson.com> Signed-off-by:
Samuel Ortiz <sameo@linux.intel.com>
-
Mattias Nilsson authored
This adds a pretty straight-forward system control driver for the AB8500. This driver will be used from the core platform, e.g the clock tree implementation in the machine code, and is by nature singleton. There are a few simple functions to read, write, set and clear registers so that the machine code can control its own foundation. Cc: Mattias Wallin <mattias.wallin@stericsson.com> Signed-off-by:
Mattias Nilsson <mattias.i.nilsson@stericsson.com> Signed-off-by:
Linus Walleij <linus.walleij@linaro.org> Signed-off-by:
Samuel Ortiz <sameo@linux.intel.com>
-
- 15 Mar, 2011 1 commit
-
-
Cyril Chemparathy authored
TI's sequencer serial port (TI-SSP) is a jack-of-all-trades type of serial port device. It has a built-in programmable execution engine that can be programmed to operate as almost any serial bus (I2C, SPI, EasyScale, and others). This patch adds a driver for this controller device. The driver does not expose a user-land interface. Protocol drivers built on top of this layer are expected to remain in-kernel. Signed-off-by:
Cyril Chemparathy <cyril@ti.com> Acked-by:
Samuel Ortiz <sameo@linux.intel.com> Signed-off-by:
Sekhar Nori <nsekhar@ti.com> Signed-off-by:
Kevin Hilman <khilman@ti.com>
-
- 01 Mar, 2011 1 commit
-
-
Keshava Munegowda authored
enabling and disabling the common clocks for ehci and ohci is implemented. usbhs is a common parent platform driver for EHCI and OHCI driver. This driver receives the clock enable and disable requests from ehci and ohci drivers.The UHH and TLL initialization is also performed. Signed-off-by:
Keshava Munegowda <keshava_mgowda@ti.com> Signed-off-by:
Felipe Balbi <balbi@ti.com>
-
- 14 Jan, 2011 2 commits
-
-
Sundar Iyer authored
Since the Ab8500 v1.0, the SPI support is deprecated on the HW. Signed-off-by:
Sundar Iyer <sundar.iyer@stericsson.com> Signed-off-by:
Samuel Ortiz <sameo@linux.intel.com>
-
Andres Salomon authored
Add an MFD driver to handle the ISA device on CS5535 and CS5536 southbridges. This ISA bridge is actually multiple devices: GPIOs, MFGPTs, etc. Signed-off-by:
Andres Salomon <dilinger@queued.net> Signed-off-by:
Samuel Ortiz <sameo@linux.intel.com>
-
- 29 Dec, 2010 1 commit
-
-
Matti Aaltonen authored
This is the core of the WL1273 FM radio driver, it connects the two child modules. The two child drivers are drivers/media/radio/radio-wl1273.c and sound/soc/codecs/wl1273.c. The radio-wl1273 driver implements the V4L2 interface and communicates with the device. The ALSA codec offers digital audio, without it only analog audio is available. Signed-off-by:
Matti J. Aaltonen <matti.j.aaltonen@nokia.com> Acked-by:
Samuel Ortiz <sameo@linux.intel.com> Signed-off-by:
Mauro Carvalho Chehab <mchehab@redhat.com>
-
- 19 Dec, 2010 1 commit
-
-
Sundar Iyer authored
Rename the tc35892 core/gpio drivers to tc3589x to include new variants in the same mfd core Acked-by:
Samuel Ortiz <sameo@linux.intel.com> Signed-off-by:
Sundar Iyer <sundar.iyer@stericsson.com> Signed-off-by:
Linus Walleij <linus.walleij@stericsson.com>
-
- 28 Oct, 2010 7 commits
-
-
Mark Brown authored
Implement support for controlling WM831x and WM832x devices using SPI. Signed-off-by:
Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by:
Samuel Ortiz <sameo@linux.intel.com>
-
Mark Brown authored
In preparation for the addition of SPI support for the WM831x move the I2C specific code into a separate file with a separate Kconfig option so the I2C support can be excluded from the build. Also update the 1133-EV1 PMIC module support for SMDK6410 to use the new symbol. Signed-off-by:
Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by:
Samuel Ortiz <sameo@linux.intel.com>
-
Uwe Kleine-König authored
mc13892 is the companion PMIC for Freescale's i.MX51. It's similar enough to mc13782 to support it in a single driver. This patch introduces enough compatibility cruft to keep all users of the superseded mc13783 driver unchanged. Signed-off-by:
Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by:
Samuel Ortiz <sameo@linux.intel.com>
-
Daniel Drake authored
This device has GPIO, SPI and I2C capabilities. The hardware can be found in the OLPC XO-1.5 laptop. Based on earlier work by Harald Welte. Signed-off-by:
Daniel Drake <dsd@laptop.org> Signed-off-by:
Samuel Ortiz <sameo@linux.intel.com>
-
Mattias Wallin authored
This patch adds the choice of accessing the AB8500 registers via prcmu I2C. Access either via SPI or I2C is supported. Signed-off-by:
Mattias Wallin <mattias.wallin@stericsson.com> Acked-by:
Linus Walleij <linus.walleij@stericsson.com> Signed-off-by:
Samuel Ortiz <sameo@linux.intel.com>
-
Mattias Wallin authored
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 <mattias.wallin@stericsson.com> Acked-by:
Linus Walleij <linus.walleij@stericsson.com> Reviewed-by:
Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by:
Samuel Ortiz <sameo@linux.intel.com>
-
Joonyoung Shim authored
Use genirq and provide seperated file for interrupts support. Signed-off-by:
Joonyoung Shim <jy0922.shim@samsung.com> Signed-off-by:
Kyungmin Park <kyungmin.park@samsung.com> Reviewed-by:
Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by:
Samuel Ortiz <sameo@linux.intel.com>
-
- 12 Aug, 2010 4 commits
-
-
Mike Rapoport authored
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>
-
Hemanth V authored
TWL6030 supports PWM (Pulse Width Modulator) which is used to control charging LED. PWM allows for controlling brightness. This patch implements the APIs required by leds-pwm driver. Signed-off-by:
Hemanth V <hemanthv@ti.com> Signed-off-by:
Samuel Ortiz <sameo@linux.intel.com>
-
Lars-Peter Clausen authored
This patch adds a MFD driver for the JZ4740 ADC unit. The driver is used to demultiplex IRQs and synchronize access to shared registers between the battery, hwmon and (future) touchscreen driver. Signed-off-by:
Lars-Peter Clausen <lars@metafoo.de> Signed-off-by:
Samuel Ortiz <sameo@linux.intel.com>
-
Rabin Vincent authored
Add support for the STMPE family of I/O Expanders from STMicroelectronics. These devices include upto 24 gpios and a varying selection of blocks, including PWM, keypad, and touchscreen controllers. This patch adds the MFD core. [l.fu@pengutronix.de: fix stmpe811 enable hook] [l.fu@pengutronix.de: add touchscreen platform data] Acked-by:
Luotao Fu <l.fu@pengutronix.de> Acked-by:
Linus Walleij <linus.walleij@stericsson.com> Signed-off-by:
Rabin Vincent <rabin.vincent@stericsson.com> Signed-off-by:
Samuel Ortiz <sameo@linux.intel.com>
-
- 11 Aug, 2010 1 commit
-
-
Kyungmin Park authored
Acked-by:
Mark Brown <broonie@opensource.wolfsonmicro.com> This patch adds voltage regulator driver for Maxim 8998 chip. This chip is used on Samsung Aquila and GONI boards and provides following functionalities: - 4 BUCK voltage converters, 17 LDO power regulators and 5 other power controllers - battery charger This patch adds basic driver for voltage regulators and MAX 8998 MFD core. Signed-off-by:
Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by:
Marek Szyprowski <m.szyprowski@samsung.com> Acked-by:
Samuel Ortiz <sameo@linux.intel.com> Acked-by:
Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by:
Liam Girdwood <lrg@slimlogic.co.uk>
-
- 27 May, 2010 3 commits
-
-
Rabin Vincent authored
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 <linus.walleij@stericsson.com> Acked-by:
Srinidhi Kasagar <srinidhi.kasagar@stericsson.com> Signed-off-by:
Rabin Vincent <rabin.vincent@stericsson.com> Signed-off-by:
Samuel Ortiz <sameo@linux.intel.com>
-
Lars-Peter Clausen authored
This reduces code clutter a bit and will ease an migration to genirq. Signed-off-by:
Lars-Peter Clausen <lars@metafoo.de> Signed-off-by:
Samuel Ortiz <sameo@linux.intel.com>
-
Lars-Peter Clausen authored
Use threaded oneshot irq handler instead of normal irq handler and a workqueue. Signed-off-by:
Lars-Peter Clausen <lars@metafoo.de> Signed-off-by:
Samuel Ortiz <sameo@linux.intel.com>
-