[PATCH] mfd: tps65910: Select REGMAP_IRQ in Kconfig to fix build error

2012-12-10 Thread AnilKumar Ch
65910.c:509: undefined reference to `regmap_irq_get_domain' make: *** [vmlinux] Error 1 Signed-off-by: AnilKumar Ch --- drivers/mfd/Kconfig |1 + 1 file changed, 1 insertion(+) diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig index 1c0abd4..01413a2 100644 --- a/drivers/mfd/Kconfig +++ b/driver

[PATCH RESEND] regulator: tps65910: fix BUG_ON() shown with vrtc regulator

2012-11-13 Thread AnilKumar Ch
he voltage table information to fix the issue. Signed-off-by: AnilKumar Ch --- drivers/regulator/tps65910-regulator.c |7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/regulator/tps65910-regulator.c b/drivers/regulator/tps65910-regulator.c index 793adda..1d2dd18 100644 --- a/d

[PATCH 0/2] Input: matrix-keypad - Add device tree support

2012-10-19 Thread AnilKumar Ch
Add device tree support to matrix keypad driver by adding all necessary DT parameters. Also added device tree bindings. These patches were tested on AM335x-EVM with DT patches, DT patches will be submitted once these are accepted. AnilKumar Ch (2): Input: matrix-keypad - remove const from

[PATCH 1/2] Input: matrix-keypad - remove const from pointer to array of gpios

2012-10-19 Thread AnilKumar Ch
Remove const from pointer to array of gpios in matrix_keypad_platform_data struct. This is required if we update row_gpios and col_gpios based on device tree data. Signed-off-by: AnilKumar Ch --- include/linux/input/matrix_keypad.h |4 ++-- 1 file changed, 2 insertions(+), 2 deletions

[PATCH 2/2] Input: matrix-keypad - Add device tree support

2012-10-19 Thread AnilKumar Ch
Add device tree support to matrix keypad driver and usage details are added to device tree documentation. Driver was tested on AM335x EVM. Signed-off-by: AnilKumar Ch --- .../devicetree/bindings/input/matrix-keypad.txt| 52 ++ drivers/input/keyboard/matrix_keypad.c

[PATCH] regulator: tps65910: fix BUG_ON() shown with vrtc regulator

2012-10-15 Thread AnilKumar Ch
he voltage table information to fix the issue. Signed-off-by: AnilKumar Ch --- drivers/regulator/tps65910-regulator.c |7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/regulator/tps65910-regulator.c b/drivers/regulator/tps65910-regulator.c index 793adda..1d2dd18 100644 --- a/d

[PATCH] regulator: core: fix rdev->regmap NULL pointer

2012-09-07 Thread AnilKumar Ch
Fixes rdev->regmap NULL pointer if regmap for regulator device is NULL. If it is NULL then get regmap for regulator device from its parent (MFD). Signed-off-by: AnilKumar Ch --- drivers/regulator/core.c |4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/regula

[PATCH v2] lis3lv02d: Add STMicroelectronics lis331dlh digital accelerometer

2012-08-21 Thread AnilKumar Ch
This patch adds support for lis331dlh digital accelerometer to the lis3lv02d driver family. Adds ID field for detecting the lis331dlh module, based on this ID field lis3lv02d driver will export the lis331dlh module functionality. Signed-off-by: AnilKumar Ch --- Changes from v1: - Removed

[PATCH] regulator: tps65217: fix build error if REGULATOR is not enabled

2012-07-17 Thread AnilKumar Ch
Fixes below build error if CONFIG_REGULATOR is not enabled. drivers/built-in.o: In function `tps65217_probe': tps65217.c:(.devinit.text+0x13e37): undefined reference to `of_regulator_match' Signed-off-by: AnilKumar Ch --- drivers/mfd/Kconfig |1 + 1 file changed, 1 insertion(+)

[PATCH v2 1/3] regulator: tps65217: Add device tree support

2012-07-10 Thread AnilKumar Ch
This commit adds device tree support for tps65217 pmic. And usage details are added to device tree documentation. Driver is tested by using kernel module with regulator set and get APIs. Signed-off-by: AnilKumar Ch --- .../devicetree/bindings/regulator/tps65217.txt | 91

[PATCH v2 2/3] ARM: OMAP2+: AM33XX: Add tps65910 device tree data

2012-07-10 Thread AnilKumar Ch
file (tps65910.dtsi). This patch is tested by adding the I2C slave address of TPS65910 pmic to am335x-evm.dts file (Not included in this, I2C slave addition patch will be submitted to linux-omap, where am335x-evm.dts binding file is available). Signed-off-by: AnilKumar Ch --- arch/arm/boot/dts

[PATCH v2 0/3] Add device tree support for AM33XX regulators

2012-07-10 Thread AnilKumar Ch
AnilKumar Ch (3): regulator: tps65217: Add device tree support ARM: OMAP2+: AM33XX: Add tps65910 device tree data ARM: OMAP2+: AM33XX: Add tps65217 device tree data .../devicetree/bindings/regulator/tps65217.txt | 91 +++ arch/arm/boot/dts/tps65217.dtsi| 84

[PATCH v2 3/3] ARM: OMAP2+: AM33XX: Add tps65217 device tree data

2012-07-10 Thread AnilKumar Ch
include file (tps65217.dtsi). This patch is tested by adding the I2C slave address of TPS65217 pmic to am335x-bone.dts file (Not included in this, I2C slave addition patch will be submitted to linux-omap, where am335x-bone.dts binding file is available). Signed-off-by: AnilKumar Ch --- arch/arm