[PATCH v2 5/7] ARM: dts: AM437x: Add TPS65218 device tree nodes

2014-07-08 Thread Keerthy
Add TPS65218 device tree nodes. i2c clock frequency setting also added as part of tps65218 nodes addition. As i2c clock enabling is required. Signed-off-by: Keerthy --- Changes in V2: *Added dcdc3, dcdc5, dcdc6 nodes arch/arm/boot/dts/am437x-gp-evm.dts | 58

[PATCH v2 4/7] ARM: dts: AM437x: Fix i2c nodes indentation

2014-07-08 Thread Keerthy
Fix i2c nodes indentation. Signed-off-by: Keerthy --- arch/arm/boot/dts/am437x-gp-evm.dts | 13 ++--- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/arch/arm/boot/dts/am437x-gp-evm.dts b/arch/arm/boot/dts/am437x-gp-evm.dts index 003766c..85ca430 100644 --- a/arch/arm

[PATCH v2 6/7] regulator: tps65218: Add get_voltage ops for dcdc5 and dcdc6

2014-07-08 Thread Keerthy
Add get_voltage ops for dcdc5 and dcdc6. Both dcdc5 and 6 are fixed regulators and hence return min_uV (or max_uV). Signed-off-by: Keerthy --- drivers/regulator/tps65218-regulator.c |9 + 1 file changed, 9 insertions(+) diff --git a/drivers/regulator/tps65218-regulator.c b/drivers

[PATCH v2 0/7] ARM: dts: AM43x: Add devcice tree nodes

2014-07-08 Thread Keerthy
The patch series adds the device tree nodes and the corresponding documentation. The series also enabled tps65218 config options in the omap2plus_defconfig. The series is boot tested on both AM43x-epos-evm and AM437x-gp-evm. Keerthy (7): mfd: Add DT bindings for tps65218 PMIC regulator: Add

[PATCH v2 3/7] ARM: dts: AM43x: Add TPS65218 device tree nodes

2014-07-08 Thread Keerthy
Add TPS65218 device tree nodes. i2c clock frequency setting also added as part of tps65218 nodes addition. As i2c clock enabling is required. Signed-off-by: Keerthy --- Changes in V2: * Added dcdc3, dcdc5, dcdc6 nodes. arch/arm/boot/dts/am43x-epos-evm.dts | 59

Re: [PATCH v2 6/7] regulator: tps65218: Add get_voltage ops for dcdc5 and dcdc6

2014-07-08 Thread Keerthy
On Tuesday 08 July 2014 07:41 PM, Mark Brown wrote: On Tue, Jul 08, 2014 at 03:46:36PM +0530, Keerthy wrote: +static int tps65218_pmic_dcdc56_get_voltage(struct regulator_dev *dev) +{ + struct tps65218 *tps = rdev_get_drvdata(dev); + unsigned int rid = rdev_get_id(dev

Re: [PATCH V2 0/6] regulator: palmas: cleanup and fixes

2014-07-01 Thread Keerthy
: https://github.com/nmenon/linux-2.6-playground/commits/broonie-topic-palmas-fixes For the series: Acked-by: Keerthy Nishanth Menon (6): regulator: palmas: Squelch sparse warnings regulator: palmas: Rename reg_info to palmas_reg_info regulator: palmas: Simplify code

[PATCH 5/5] ARM: configs: omap2plus_defconfig: enable TPS65218 configs

2014-07-03 Thread Keerthy
Enable TPS65218 config options. Signed-off-by: Keerthy --- arch/arm/configs/omap2plus_defconfig |2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/configs/omap2plus_defconfig b/arch/arm/configs/omap2plus_defconfig index 536a137..f650f00 100644 --- a/arch/arm/configs

[PATCH 3/5] ARM: dts: AM43x: Add TPS65218 device tree nodes

2014-07-03 Thread Keerthy
Add TPS65218 device tree nodes. Signed-off-by: Keerthy --- arch/arm/boot/dts/am43x-epos-evm.dts | 38 ++ 1 file changed, 38 insertions(+) diff --git a/arch/arm/boot/dts/am43x-epos-evm.dts b/arch/arm/boot/dts/am43x-epos-evm.dts index 19f1f7e..749098b 100644

[PATCH 1/5] mfd: Add DT bindings for tps65218 PMIC

2014-07-03 Thread Keerthy
Add DT bindings for tps65218 PMIC Signed-off-by: Keerthy --- Documentation/devicetree/bindings/mfd/tps65218.txt | 57 1 file changed, 57 insertions(+) create mode 100644 Documentation/devicetree/bindings/mfd/tps65218.txt diff --git a/Documentation/devicetree/bindings

[PATCH 2/5] regulator: Add DT bindings for tps65218 PMIC regulators.

2014-07-03 Thread Keerthy
Add DT bindings for tps65218 PMIC regulators. Signed-off-by: Keerthy --- .../devicetree/bindings/regulator/tps65218.txt | 21 1 file changed, 21 insertions(+) create mode 100644 Documentation/devicetree/bindings/regulator/tps65218.txt diff --git a/Documentation

[PATCH 4/5] ARM: dts: AM437x: Add TPS65218 device tree nodes

2014-07-03 Thread Keerthy
Add TPS65218 device tree nodes. Signed-off-by: Keerthy --- arch/arm/boot/dts/am437x-gp-evm.dts | 38 +++ 1 file changed, 38 insertions(+) diff --git a/arch/arm/boot/dts/am437x-gp-evm.dts b/arch/arm/boot/dts/am437x-gp-evm.dts index 003766c..fc35d24 100644

[PATCH 0/5] ARM: dts: AM43x: Add devcice tree nodes

2014-07-03 Thread Keerthy
The patch series adds the device tree nodes and the corresponding documentation. The series also enabled tps65218 config options in the omap2plus_defconfig. The series is boot tested on both AM43x-epos-evm and AM437x-gp-evm. Keerthy (5): mfd: Add DT bindings for tps65218 PMIC regulator: Add

Re: [PATCH] regulator: tps65917: Fix SMPS enable/disable/is_enable

2014-06-27 Thread Keerthy
or the different PMICs we support. Once you make the above changes please feel free to add Tested-by: Keerthy . + pmic->desc[id].enable_mask = + PALMAS_SMPS12_CTRL_MODE_ACTIVE_MASK; + /* set_mode overrides this value */ +

Re: [PATCH v2 8/9] regulator: palmas: add driver data and modularize the probe

2014-06-27 Thread Keerthy
Hi Lee Jones, On Friday 27 June 2014 01:53 PM, Lee Jones wrote: On Wed, 18 Jun 2014, Keerthy wrote: add driver data and modularize the probe. Nit: This is a sentence, it should start with a capital letter. The series is already pulled by Mark. I Can send fixes on top of that patch set

Re: [PATCH] regulator: tps65917: Fix SMPS enable/disable/is_enable

2014-06-29 Thread Keerthy
Hi Nishanth, On Friday 27 June 2014 10:45 PM, Nishanth Menon wrote: On 14:48-20140627, Keerthy wrote: Hello Nishanth, On Friday 27 June 2014 12:01 AM, Nishanth Menon wrote: We use regmap regulator ops to enable/disable and check if regulator is enabled for various SMPS. However, these depend

Re: [PATCH V2 0/6] regulator: palmas: cleanup and fixes

2014-06-30 Thread Keerthy
panel, audio, USB, and SPI flash all work) Tested the series on DRA72 board. Checked for all the regulator and SMPS states and voltages of TPS65917 PMIC. Tested-by: Keerthy Regards, Keerthy -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of

Re: [PATCH 8/9] regulator: palmas: add driver data and modularize the probe

2014-06-17 Thread Keerthy
On Tuesday 17 June 2014 10:15 PM, Lee Jones wrote: add driver data and modularize the probe. Signed-off-by: Keerthy --- drivers/mfd/palmas.c | 42 +-- drivers/regulator/palmas-regulator.c | 656 -- 2 files changed, 395 insertions(+), 303

Re: [PATCH 7/9] regulator: palmas: Add palmas_pmic_driver_data structure

2014-06-17 Thread Keerthy
On Tuesday 17 June 2014 10:07 PM, Lee Jones wrote: On Wed, 28 May 2014, Keerthy wrote: Add palmas_pmic_driver_data structure. Signed-off-by: Keerthy --- include/linux/mfd/palmas.h | 25 + 1 file changed, 25 insertions(+) diff --git a/include/linux/mfd/palmas.h b

Re: [PATCH 6/9] mfd: palmas: shift the palmas_sleep_requestor_info structure definition to the header file

2014-06-17 Thread Keerthy
On Tuesday 17 June 2014 10:03 PM, Lee Jones wrote: On Wed, 28 May 2014, Keerthy wrote: shift the palmas_sleep_requestor_info structure definition to the header file. Signed-off-by: Keerthy --- drivers/mfd/palmas.c | 10 -- include/linux/mfd/palmas.h | 10 ++ 2

Re: [PATCH 5/9] regulator: palmas: Shift the reg_info structure definition to the header file

2014-06-17 Thread Keerthy
On Tuesday 17 June 2014 10:02 PM, Lee Jones wrote: On Wed, 28 May 2014, Keerthy wrote: Shift the reg_info structure definition to the header file. Signed-off-by: Keerthy --- drivers/regulator/palmas-regulator.c |9 - include/linux/mfd/palmas.h |9 + 2

Re: [PATCH 4/9] mfd: palmas: Add tps65917 support

2014-06-17 Thread Keerthy
On Tuesday 17 June 2014 09:49 PM, Lee Jones wrote: Add tps65917 PMIC support. tps65917 is a subset of palmas PMIC. Some of the register definitions and the interrupt mappings are different. Signed-off-by: Keerthy --- drivers/mfd/palmas.c | 176

Re: [PATCH 3/9] mfd: palmas: Add tps65917 specific definitions and enums

2014-06-17 Thread Keerthy
On Tuesday 17 June 2014 09:41 PM, Lee Jones wrote: Add tps65917 specific definitions and enums. Signed-off-by: Keerthy --- include/linux/mfd/palmas.h | 793 1 file changed, 793 insertions(+) Acked-by: Lee Jones Thanks. diff --git

[PATCH v2 2/4] regulator: Add TPS65917 Bindings

2014-05-20 Thread Keerthy
Add TPS65917 Regulator Bindings. Signed-off-by: Keerthy --- .../bindings/regulator/tps65917-pmic.txt | 67 1 file changed, 67 insertions(+) create mode 100644 Documentation/devicetree/bindings/regulator/tps65917-pmic.txt diff --git a/Documentation/devicetree

[PATCH v2 0/4] tps65917: Drivers for TPS65917 PMIC

2014-05-20 Thread Keerthy
the regulator functionality is made available. The closest drivers are PALMAS series drivers. The register set is changed. Bit-field defenitions are changed. Hence based on the PALMAS drivers and created a new set of drivers with code changes as required. The patches are boot tested on DRA72-EVM. Keerthy (4

[PATCH v2 4/4] regulator: tps65917: Add Regulator driver for TPS65917 PMIC

2014-05-20 Thread Keerthy
This patch adds support for TPS65917 PMIC regulators. The regulators set consists of 5 SMPSs and 5 LDOs. The output voltages are configurable and are meant to supply power to the main processor and other components. Signed-off-by: Keerthy --- Comments fixed in V2: Used the standard functions

[PATCH v2 1/4] MFD: DT bindings for the TPS65917 family MFD

2014-05-20 Thread Keerthy
Add the various binding files for the TPS65917 family of chips. There is a top level MFD binding then a seperate binding for regulators IP blocks on chips. Signed-off-by: Keerthy --- Documentation/devicetree/bindings/mfd/tps65917.txt | 35 1 file changed, 35 insertions

Re: [PATCH v2 3/4] mfd: tps65917: Add driver for the TPS65917 PMIC

2014-05-20 Thread Keerthy
. This patch adds support for tps65917 mfd device. At this time only the regulator functionality is made available. Signed-off-by: Keerthy --- Changes in V2: Added volatile register check as some of the registers in the set are volatile. drivers/mfd/Kconfig | 12 + drivers/mfd/Makefile

Re: [PATCH v2 3/4] mfd: tps65917: Add driver for the TPS65917 PMIC

2014-05-20 Thread Keerthy
Hi Nishanth, On Tuesday 20 May 2014 07:45 PM, Nishanth Menon wrote: On 05/20/2014 04:11 AM, Keerthy wrote: [...] +config MFD_TPS65917 + bool "TI TPS65917 series chips" + select MFD_CORE + select REGMAP_I2C + select REGMAP_IRQ + depends on I2C=y ^^ why =

[PATCH v3 0/4] tps65917: Drivers for TPS65917 PMIC

2014-05-21 Thread Keerthy
the regulator functionality is made available. The closest drivers are PALMAS series drivers. The register set is changed. Bit-field defenitions are changed. Hence based on the PALMAS drivers and created a new set of drivers with code changes as required. The patches are boot tested on DRA72-EVM. Keerthy (4

[PATCH v3 1/4] MFD: DT bindings for the TPS65917 family MFD

2014-05-21 Thread Keerthy
Add the various binding files for the TPS65917 family of chips. There is a top level MFD binding then a seperate binding for regulators IP blocks on chips. Signed-off-by: Keerthy --- Documentation/devicetree/bindings/mfd/tps65917.txt | 35 1 file changed, 35 insertions

[PATCH v3 4/4] regulator: tps65917: Add Regulator driver for TPS65917 PMIC

2014-05-21 Thread Keerthy
This patch adds support for TPS65917 PMIC regulators. The regulators set consists of 5 SMPSs and 5 LDOs. The output voltages are configurable and are meant to supply power to the main processor and other components. Signed-off-by: Keerthy --- v3 Changes: removed NULL ops structure Corrected

[PATCH v3 2/4] Regulators: Add TPS65917 Bindings

2014-05-21 Thread Keerthy
Add TPS65917 Bindings. Signed-off-by: Keerthy --- .../bindings/regulator/tps65917-pmic.txt | 67 1 file changed, 67 insertions(+) create mode 100644 Documentation/devicetree/bindings/regulator/tps65917-pmic.txt diff --git a/Documentation/devicetree/bindings

[PATCH 1/2] regulator: palmas: Reemove open coded functions with helper functions

2014-05-22 Thread Keerthy
Reemove open coded functions with helper functions. Signed-off-by: Keerthy --- drivers/regulator/palmas-regulator.c | 158 ++ 1 file changed, 26 insertions(+), 132 deletions(-) diff --git a/drivers/regulator/palmas-regulator.c b/drivers/regulator/palmas

[PATCH 0/2] regulator: palmas: Reemove open coded functions with helper functions

2014-05-22 Thread Keerthy
The patch series makes use of the helper functions and remove open coded functions. The patch set also formats the palmas header file. Converts all the offset values to hexadecimal. Boot Tested on omap5-uevm board. Keerthy (2): regulator: palmas: Make use of helper functions and remove open

[PATCH 0/2] ARM: dts: dra72-evm: Add i2c1 and tps65917 nodes

2014-07-28 Thread Keerthy
The patch series adds i2c1 and tps65917 and related nodes. The patch series is boot tested on DRA72-EVM. Thanks to Lokesh for testing the series. Keerthy J (2): ARM: dts: dra72-evm: Enable I2C1 node ARM: dts: dra72-evm: Add tps65917 PMIC node arch/arm/boot/dts/dra72-evm.dts | 120

[PATCH 1/2] ARM: dts: dra72-evm: Enable I2C1 node

2014-07-28 Thread Keerthy
From: Keerthy J I2C1 bus is used for the following peripherals P8 connector (MLB) TLV320AIC3106 Audio codec J15 LCD header 24WC256 eeprom TMP102AIDRLT temperature sensor PCF8575 GPIO expander PCA9306 i2c voltage translator -> Goes to

[PATCH 2/2] ARM: dts: dra72-evm: Add tps65917 PMIC node

2014-07-28 Thread Keerthy
From: Keerthy J DRA72x-evm uses TPS65917 PMIC. Add the node. NOTE: LDO2 is actually unused, but the usage if any is expected to be between 1.8 to 3.3v IO voltage. So define the node. NOTE: Interrupt used is crossbar number based. Tested-by: Lokesh Vutla Signed-off-by: Nishanth Menon Signed

Re: [PATCH 0/2] ARM: dts: dra72-evm: Add i2c1 and tps65917 nodes

2014-07-28 Thread Keerthy
On Monday 28 July 2014 12:00 PM, Lokesh Vutla wrote: On Monday 28 July 2014 11:48 AM, Keerthy wrote: The patch series adds i2c1 and tps65917 and related nodes. The patch series is boot tested on DRA72-EVM. Thanks to Lokesh for testing the series. Correcting the 'to' list. For booting

Re: [PATCH 2/2] ARM: dts: dra72-evm: Add tps65917 PMIC node

2014-07-28 Thread Keerthy
On Monday 28 July 2014 11:48 AM, Keerthy wrote: From: Keerthy J DRA72x-evm uses TPS65917 PMIC. Add the node. NOTE: LDO2 is actually unused, but the usage if any is expected to be between 1.8 to 3.3v IO voltage. So define the node. NOTE: Interrupt used is crossbar number based. Correcting

Re: [PATCH 1/2] ARM: dts: dra72-evm: Enable I2C1 node

2014-07-28 Thread Keerthy
On Monday 28 July 2014 11:48 AM, Keerthy wrote: From: Keerthy J I2C1 bus is used for the following peripherals P8 connector (MLB) TLV320AIC3106 Audio codec J15 LCD header 24WC256 eeprom TMP102AIDRLT temperature sensor PCF8575 GPIO expander

Re: [PATCH 0/2] ARM: dts: dra72-evm: Add i2c1 and tps65917 nodes

2014-08-12 Thread Keerthy
On Monday 28 July 2014 02:52 PM, Keerthy wrote: On Monday 28 July 2014 12:00 PM, Lokesh Vutla wrote: On Monday 28 July 2014 11:48 AM, Keerthy wrote: The patch series adds i2c1 and tps65917 and related nodes. The patch series is boot tested on DRA72-EVM. Thanks to Lokesh for testing

Re: [PATCH v7 3/9] arm: omap: Move dmtimer.h out of plat-omap

2018-02-13 Thread Keerthy
On Tuesday 13 February 2018 08:39 PM, Tony Lindgren wrote: > * Suman Anna [180213 02:07]: >> On 01/09/2018 12:23 AM, J, KEERTHY wrote: >>> The header file is currently under plat-omap directory >>> under arch/omap. Move this out to an accessible place. >>&

Re: [PATCH v7 3/9] arm: omap: Move dmtimer.h out of plat-omap

2018-02-13 Thread Keerthy
On Tuesday 13 February 2018 07:36 AM, Suman Anna wrote: > Hi Keerthy, > > On 01/09/2018 12:23 AM, J, KEERTHY wrote: >> The header file is currently under plat-omap directory >> under arch/omap. Move this out to an accessible place. >> >> No Code changes done to

Re: [PATCH v7 4/9] arm: OMAP: Move dmtimer driver out of plat-omap to drivers under clocksource

2018-02-13 Thread Keerthy
On Tuesday 13 February 2018 07:54 AM, Suman Anna wrote: > Hi Keerthy, > > On 01/09/2018 12:23 AM, J, KEERTHY wrote: >> Move the dmtimer driver out of plat-omap to clocksource. >> So that non-omap devices also could use this. > > What non-omap devices do you

Re: [PATCH v7 5/9] dmtimer: Add timer ops to the platform data structure

2018-02-13 Thread Keerthy
On Tuesday 13 February 2018 08:16 AM, Suman Anna wrote: > On 01/09/2018 12:23 AM, J, KEERTHY wrote: >> Add timer ops to the platform data structure >> >> Signed-off-by: Keerthy >> Reviewed-by: Sebastian Reichel >> Tested-by: Ladislav Michl >> --- &

[PATCH v11 00/10] omap: dmtimer: Move driver out of plat-omap

2018-02-14 Thread Keerthy
in header file under OMAP2PLUS * Added a new of helper function to fetch plat_data from of node. Keerthy (9): clocksource: dmtimer: Remove all the exports arm: omap: timer: Wrap the inline functions under OMAP2PLUS define arm: omap: Move dmtimer.h out of plat-omap clocksource: timer-ti-dm

[PATCH v11 04/10] clocksource: timer-ti-dm: Replace architecture

2018-02-14 Thread Keerthy
Replace architecture specific guard with clocksource guard. Signed-off-by: Keerthy Replace architecture specific defines with clocksource --- include/clocksource/timer-ti-dm.h | 8 +++- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/include/clocksource/timer-ti-dm.h b

[PATCH v11 07/10] clocksource: timer-ti-dm: Populate the timer ops to the pdata

2018-02-14 Thread Keerthy
Add the timer ops to the platform data Signed-off-by: Keerthy Reviewed-by: Sebastian Reichel Tested-by: Ladislav Michl --- drivers/clocksource/timer-ti-dm.c | 25 + 1 file changed, 25 insertions(+) diff --git a/drivers/clocksource/timer-ti-dm.c b/drivers/clocksource

[PATCH v11 03/10] arm: omap: Move dmtimer.h out of plat-omap

2018-02-14 Thread Keerthy
The header file is currently under plat-omap directory under arch/omap. Move this out to an accessible place. No Code changes done to the header file and renamed to timer-ti-dm.h. Signed-off-by: Keerthy Reviewed-by: Sebastian Reichel Tested-by: Ladislav Michl --- arch/arm/mach-omap1/pm.c

[PATCH v11 05/10] arm: OMAP: Move dmtimer driver out of plat-omap to drivers under clocksource

2018-02-14 Thread Keerthy
Move the dmtimer driver out of plat-omap to clocksource. So that non-omap devices also could use this. No Code changes done to the driver file only renamed to timer-ti-dm.c. Also removed the config dependencies for OMAP_DM_TIMER. Signed-off-by: Keerthy Reviewed-by: Sebastian Reichel Tested

[PATCH v11 01/10] clocksource: dmtimer: Remove all the exports

2018-02-14 Thread Keerthy
Remove all the unwanted exports from the driver Signed-off-by: Keerthy Reviewed-by: Sebastian Reichel Tested-by: Ladislav Michl --- arch/arm/plat-omap/dmtimer.c | 27 --- 1 file changed, 27 deletions(-) diff --git a/arch/arm/plat-omap/dmtimer.c b/arch/arm/plat-omap

[PATCH v11 09/10] pwm: pwm-omap-dmtimer: Adapt driver to utilize dmtimer pdata ops

2018-02-14 Thread Keerthy
Adapt driver to utilize dmtimer pdata ops instead of pdata-quirks. Signed-off-by: Keerthy Acked-by: Neil Armstrong Reviewed-by: Claudiu Beznea --- drivers/pwm/pwm-omap-dmtimer.c | 68 ++ 1 file changed, 42 insertions(+), 26 deletions(-) diff --git

[PATCH v11 08/10] clocksource: timer-ti-dm: Hook device platform data if not already assigned

2018-02-14 Thread Keerthy
From: Ladislav Michl In the case of device tree boot the device platform data is usually NULL so hook the platform data obtained from the match. As part of un-constify the platform_data pointer. Signed-off-by: Ladislav Michl Signed-off-by: Keerthy Reviewed-by: Sebastian Reichel --- drivers

[PATCH v11 06/10] timer-ti-dm: Add timer ops to the platform data structure

2018-02-14 Thread Keerthy
Add timer ops to the platform data structure Signed-off-by: Keerthy Reviewed-by: Sebastian Reichel Tested-by: Ladislav Michl --- include/linux/platform_data/dmtimer-omap.h | 38 ++ 1 file changed, 38 insertions(+) diff --git a/include/linux/platform_data/dmtimer

[PATCH v11 10/10] arm: omap: pdata-quirks: Remove unused timer pdata

2018-02-14 Thread Keerthy
Remove unused timer pdata. Signed-off-by: Keerthy Reviewed-by: Sebastian Reichel Tested-by: Ladislav Michl --- arch/arm/mach-omap2/pdata-quirks.c | 32 1 file changed, 32 deletions(-) diff --git a/arch/arm/mach-omap2/pdata-quirks.c b/arch/arm/mach-omap2

[PATCH v11 02/10] arm: omap: timer: Wrap the inline functions under OMAP2PLUS define

2018-02-14 Thread Keerthy
Wrap the inline functions under OMAP2PLUS/OMAP1 defines. This patch also inlines omap_dm_timer_get_fclk function for non OMAP1 Config. Signed-off-by: Keerthy Tested-by: Ladislav Michl Reviewed-by: Sebastian Reichel --- arch/arm/plat-omap/include/plat/dmtimer.h | 17 - 1 file

Re: [PATCH] mfd: tps65218: Reorder tps65218_regulator_id enum

2018-02-15 Thread Keerthy
e wrong regulator ID. This causes LDO1 to fail to > suspend in tps65218_pmic_set_suspend_disable due to not having anything > probes for its strobe value. Fix the order in the enum so the probe > function works as the update intended. Reviewed-by: Keerthy > > Fixes: 2dc4940360d4 ("

Re: [PATCH v2] thermal: ti-soc-thermal: fix incorrect entry in omap5430_adc_to_temp[]

2018-05-02 Thread Keerthy
On Wednesday 02 May 2018 07:44 PM, Bartlomiej Zolnierkiewicz wrote: > Entry for Index 941 has one zero too much. Fix it. > Acked-by: Keerthy > Signed-off-by: Bartlomiej Zolnierkiewicz > --- > v2: > - Fix patch description. > > drivers/thermal/ti-soc-thermal/oma

Re: [PATCH 0/4] ARM: dts: am437x boards: Correct (again) tps65218 irq type

2018-05-08 Thread Keerthy
On Tuesday 08 May 2018 07:46 PM, Tony Lindgren wrote: > * Peter Ujfalusi [180508 13:22]: >> Hi, >> >> While based on the datasheet of tps65218 the INT is low active, the GIC_SPI >> does not support anythin but IRQ_TYPE_LEVEL_HIGH or IRQ_TYPE_EDGE_RISING: >> >> [2.761814] genirq: Setting

Re: [PATCH v2] mfd: tps65217: Introduce dependency on CONFIG_OF

2017-08-29 Thread Keerthy
On Thursday 08 June 2017 07:41 PM, Javier Martinez Canillas wrote: > On Thu, Jun 8, 2017 at 3:32 PM, Enric Balletbo Serra > wrote: >> Hi Keerthy: >> >> 2017-06-08 12:46 GMT+02:00 Keerthy : >>> Currently the driver boots only via device tree hence add a >>

[PATCH v3] mfd: tps65217: Introduce dependency on CONFIG_OF

2017-08-29 Thread Keerthy
Currently the driver boots only via device tree hence add a dependency on CONFIG_OF. This leaves with a bunch of unused code so clean that up. This patch also makes use of probe_new function in place of the probe function so as to avoid passing i2c_device_id. Signed-off-by: Keerthy --- Changes

Re: [PATCH v3] mfd: tps65217: Introduce dependency on CONFIG_OF

2017-08-30 Thread Keerthy
On Wednesday 30 August 2017 01:35 PM, Javier Martinez Canillas wrote: > Hello Keerthy, > > On Wed, Aug 30, 2017 at 7:50 AM, Keerthy wrote: >> Currently the driver boots only via device tree hence add a >> dependency on CONFIG_OF. This leaves with a bunch of unused cod

[PATCH v4] mfd: tps65217: Introduce dependency on CONFIG_OF

2017-08-30 Thread Keerthy
Currently the driver boots only via device tree hence add a dependency on CONFIG_OF. This leaves with a bunch of unused code so clean that up. This patch also makes use of probe_new function in place of the probe function so as to avoid passing i2c_device_id. Signed-off-by: Keerthy Reviewed

Re: [PATCH 3/4] gpio: davinci: Add a separate compatible for keystone-k2g soc

2017-07-24 Thread Keerthy
On Monday 24 July 2017 11:54 PM, Rob Herring wrote: > On Tue, Jul 18, 2017 at 04:27:15PM +0530, Keerthy wrote: >> Add a separate compatible for keystone-k2g soc >> >> Signed-off-by: Keerthy >> --- >> Documentation/devicetree/bindings/gpio/gpio-davinci.

Re: [PATCH] mfd: lp87565: Convert to use devm_mfd_add_devices

2017-07-30 Thread Keerthy
On Sunday 30 July 2017 04:28 PM, Axel Lin wrote: > This fixes missing mfd_remove_devices() call when unload the module. Reviewed-by: Keerthy > > Signed-off-by: Axel Lin > --- > drivers/mfd/lp87565.c | 7 +++ > 1 file changed, 3 insertions(+), 4 deletions(-) > &

[PATCH v2] soc: ti: knav: Add a NULL pointer check for kdev in knav_pool_create

2017-07-30 Thread Keerthy
knav_pool_create is an exported function. In the event of a call before knav_queue_probe, we encounter a NULL pointer dereference in the following line. Hence return -EPROBE_DEFER to the caller till the kdev pointer is non-NULL. Signed-off-by: Keerthy --- Changes in v2: * Fixed returning

Re: [PATCH v6 10/10] clocksource: timer-dm: Check prescaler value

2018-01-07 Thread Keerthy
On 1/5/2018 4:17 AM, Ladislav Michl wrote: On Tue, Jan 02, 2018 at 03:39:59PM +0530, Keerthy wrote: From: Ladislav Michl Invalid prescaler value is silently ignored. Fix that by returning -EINVAL in such case. As invalid value disabled use of the prescaler, use -1 explicitely

Re: [PATCH v6 00/10] omap: dmtimer: Move driver out of plat-omap

2018-01-07 Thread Keerthy
On 1/2/2018 3:39 PM, Keerthy wrote: The series moves dmtimer out of plat-omap to drivers/clocksource. The series also does a bunch of changes to pwm-omap-dmtimer code to adapt to the driver migration and clean up plat specific pdata-quirks and use the dmtimer platform data. Boot tested

Re: [PATCH v6 08/10] pwm: pwm-omap-dmtimer: Adapt driver to utilize dmtimer pdata ops

2018-01-08 Thread Keerthy
On Monday 08 January 2018 02:14 PM, Claudiu Beznea wrote: > > > On 02.01.2018 12:09, Keerthy wrote: >> Adapt driver to utilize dmtimer pdata ops instead of pdata-quirks. >> >> Signed-off-by: Keerthy >> Tested-by: Ladislav Michl >> ---

Re: [PATCH v6 08/10] pwm: pwm-omap-dmtimer: Adapt driver to utilize dmtimer pdata ops

2018-01-08 Thread Keerthy
On 1/8/2018 8:17 PM, Claudiu Beznea wrote: On 08.01.2018 16:44, Neil Armstrong wrote: On 08/01/2018 15:33, Keerthy wrote: On Monday 08 January 2018 02:14 PM, Claudiu Beznea wrote: On 02.01.2018 12:09, Keerthy wrote: Adapt driver to utilize dmtimer pdata ops instead of pdata-quirks

[PATCH v7 7/9] clocksource: timer-dm: Hook device platform data if not already assigned

2018-01-08 Thread Keerthy
From: Ladislav Michl In the case of device tree boot the device platform data is usually NULL so hook the platform data obtained from the match. As part of un-constify the platform_data pointer. Signed-off-by: Ladislav Michl Signed-off-by: Keerthy --- drivers/clocksource/timer-dm.c | 10

[PATCH v7 1/9] clocksource: dmtimer: Remove all the exports

2018-01-08 Thread Keerthy
Remove all the unwanted exports from the driver Signed-off-by: Keerthy Reviewed-by: Sebastian Reichel Tested-by: Ladislav Michl --- arch/arm/plat-omap/dmtimer.c | 27 --- 1 file changed, 27 deletions(-) diff --git a/arch/arm/plat-omap/dmtimer.c b/arch/arm/plat-omap

[PATCH v7 0/9] omap: dmtimer: Move driver out of plat-omap

2018-01-08 Thread Keerthy
* Added a new of helper function to fetch plat_data from of node. Keerthy (8): clocksource: dmtimer: Remove all the exports arm: omap: timer: Wrap the inline functions under OMAP2PLUS define arm: omap: Move dmtimer.h out of plat-omap arm: OMAP: Move dmtimer driver out of plat-omap

[PATCH v7 2/9] arm: omap: timer: Wrap the inline functions under OMAP2PLUS define

2018-01-08 Thread Keerthy
Wrap the inline functions under OMAP2PLUS/OMAP1 defines. Signed-off-by: Keerthy Tested-by: Ladislav Michl --- arch/arm/plat-omap/include/plat/dmtimer.h | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/arch/arm/plat-omap/include/plat/dmtimer.h b/arch/arm/plat-omap

[PATCH v7 9/9] arm: omap: pdata-quirks: Remove unused timer pdata

2018-01-08 Thread Keerthy
Remove unused timer pdata. Signed-off-by: Keerthy Reviewed-by: Sebastian Reichel Tested-by: Ladislav Michl --- arch/arm/mach-omap2/pdata-quirks.c | 32 1 file changed, 32 deletions(-) diff --git a/arch/arm/mach-omap2/pdata-quirks.c b/arch/arm/mach-omap2

[PATCH v7 8/9] pwm: pwm-omap-dmtimer: Adapt driver to utilize dmtimer pdata ops

2018-01-08 Thread Keerthy
Adapt driver to utilize dmtimer pdata ops instead of pdata-quirks. Signed-off-by: Keerthy Acked-by: Neil Armstrong Reviewed-by: Claudiu Beznea --- drivers/pwm/pwm-omap-dmtimer.c | 68 ++ 1 file changed, 43 insertions(+), 25 deletions(-) diff --git

[PATCH v7 6/9] clocksource: dmtimer: Populate the timer ops to the pdata

2018-01-08 Thread Keerthy
Add the timer ops to the platform data Signed-off-by: Keerthy Reviewed-by: Sebastian Reichel Tested-by: Ladislav Michl --- drivers/clocksource/timer-dm.c | 25 + 1 file changed, 25 insertions(+) diff --git a/drivers/clocksource/timer-dm.c b/drivers/clocksource/timer

[PATCH v7 3/9] arm: omap: Move dmtimer.h out of plat-omap

2018-01-08 Thread Keerthy
The header file is currently under plat-omap directory under arch/omap. Move this out to an accessible place. No Code changes done to the header file. Signed-off-by: Keerthy Reviewed-by: Sebastian Reichel Tested-by: Ladislav Michl --- arch/arm/mach-omap1/pm.c

[PATCH v7 4/9] arm: OMAP: Move dmtimer driver out of plat-omap to drivers under clocksource

2018-01-08 Thread Keerthy
Move the dmtimer driver out of plat-omap to clocksource. So that non-omap devices also could use this. No Code changes done to the driver file only renamed to timer-dm.c. Also removed the config dependencies for OMAP_DM_TIMER. Signed-off-by: Keerthy Reviewed-by: Sebastian Reichel Tested

[PATCH v7 5/9] dmtimer: Add timer ops to the platform data structure

2018-01-08 Thread Keerthy
Add timer ops to the platform data structure Signed-off-by: Keerthy Reviewed-by: Sebastian Reichel Tested-by: Ladislav Michl --- include/linux/platform_data/dmtimer-omap.h | 38 ++ 1 file changed, 38 insertions(+) diff --git a/include/linux/platform_data/dmtimer

Re: NFSroot regression in next with handle inode->i_version

2018-01-10 Thread Keerthy
f that doesn't help you. > > OK great, thanks for the update. I'll test again tomorrow and will > whine again if I'm seeing issues :) This fixes nfs boot for me on dra7-evm. Regards, Keerthy > > Regards, > > Tony > -- > To unsubscribe from this list: send the line &qu

Re: [PATCH v5 7/8] pwm: pwm-omap-dmtimer: Adapt driver to utilize dmtimer pdata ops

2017-12-18 Thread Keerthy
On Monday 18 December 2017 06:25 PM, Keerthy wrote: > > > On Monday 18 December 2017 03:01 PM, Ladislav Michl wrote: >> Keerthy, >> >> On Tue, Dec 12, 2017 at 11:42:16AM +0530, Keerthy wrote: >>> Adapt driver to utilize dmtimer pdata ops instead of pdata-qu

Re: [PATCH v5 7/8] pwm: pwm-omap-dmtimer: Adapt driver to utilize dmtimer pdata ops

2017-12-19 Thread Keerthy
On Tuesday 19 December 2017 10:28 AM, Keerthy wrote: > > > On Monday 18 December 2017 06:25 PM, Keerthy wrote: >> >> >> On Monday 18 December 2017 03:01 PM, Ladislav Michl wrote: >>> Keerthy, >>> >>> On Tue, Dec 12, 2017 at 11:42:16AM +053

Re: [PATCH 2/2] clocksource: timer-dm: Check prescaler value

2017-12-19 Thread Keerthy
On Monday 18 December 2017 05:01 PM, Ladislav Michl wrote: > Invalid prescaler value is silently ignored. Fix that > by returning -EINVAL in such case. As invalid value > disabled use of the prescaler, use -1 explicitely for > that purpose. Thanks. I will post this as part of my migration

Re: [PATCH 1/2] clocksource: timer-dm: Make unexported functions static

2017-12-19 Thread Keerthy
or now want to keep the changes minimal. Some of the functions that you are removing in this patch might be needed and can be added for ops in future. So i will let this be separate patch. Thanks, Keerthy > > Signed-off-by: Ladislav Michl > --- > drivers/clocksourc

Re: [PATCH v5 7/8] pwm: pwm-omap-dmtimer: Adapt driver to utilize dmtimer pdata ops

2017-12-19 Thread Keerthy
On Tuesday 19 December 2017 08:51 PM, Ladislav Michl wrote: > On Tue, Dec 19, 2017 at 01:55:48PM +0530, Keerthy wrote: >> On Tuesday 19 December 2017 10:28 AM, Keerthy wrote: >>> On Monday 18 December 2017 06:25 PM, Keerthy wrote: >>>> On Monday 18 December 2017

Re: [PATCH] pci: dwc: pci-dra7xx: Make shutdown handler static

2017-12-20 Thread Keerthy
On Wednesday 20 December 2017 03:59 PM, Lorenzo Pieralisi wrote: > On Fri, Dec 01, 2017 at 04:53:14PM +, Lorenzo Pieralisi wrote: >> On Fri, Dec 01, 2017 at 10:43:53AM +0530, Keerthy wrote: >>> >>> >>> On Friday 01 December 2017 10:36 AM, Vignesh R wrot

Re: [PATCH v5 0/8] omap: dmtimer: Move driver out of plat-omap

2017-12-18 Thread Keerthy
On Monday 18 December 2017 04:46 PM, Ladislav Michl wrote: > Keerthy, > > On Tue, Dec 12, 2017 at 11:42:09AM +0530, Keerthy wrote: >> The series moves dmtimer out of plat-omap to drivers/clocksource. >> The series also does a bunch of changes to pwm-omap-dmtimer code >

Re: [PATCH v5 7/8] pwm: pwm-omap-dmtimer: Adapt driver to utilize dmtimer pdata ops

2017-12-18 Thread Keerthy
On Monday 18 December 2017 03:01 PM, Ladislav Michl wrote: > Keerthy, > > On Tue, Dec 12, 2017 at 11:42:16AM +0530, Keerthy wrote: >> Adapt driver to utilize dmtimer pdata ops instead of pdata-quirks. >> >> Signed-off-by: Keerthy >> --- >&g

Re: [PATCH v4] pci: dwc: dra7xx: Add shutdown handler to cleanly turn off clocks

2017-11-05 Thread Keerthy
On Friday 03 November 2017 08:00 PM, Niklas Cassel wrote: > dra7xx_pcie_shutdown should be static. > > This patch introduces a new sparse warning. Thanks Niklas for reporting. Bjorn, Should i send a next version or just a fix patch on top of this? Regards, Keerthy > > On We

Re: [PATCH] rtc: omap: Support scratch registers

2017-11-05 Thread Keerthy
On Monday 06 November 2017 12:25 PM, Sekhar Nori wrote: > + linux omap list > > On Tuesday 31 October 2017 09:57 PM, Alexandre Belloni wrote: >> Register an nvmem device to expose the 3 scratch registers (total of 12 >> bytes) to both userspace and kernel space. >> >> Signed-off-by: Alexandre

Re: [PATCH] mfd: palmas: Assign the right powerhold mask for tps65917

2017-11-06 Thread Keerthy
On Tuesday 31 October 2017 04:18 PM, Lee Jones wrote: > On Tue, 24 Oct 2017, Keerthy wrote: > >> The powerhold mask for TPS65917 is different when comapred to >> the other palmas versions. Hence assign the right mask that enables >> power off of tps65917 pmic cor

Re: [PATCH] mfd: palmas: Assign the right powerhold mask for tps65917

2017-11-06 Thread Keerthy
On Monday 06 November 2017 03:22 PM, Keerthy wrote: > > > On Tuesday 31 October 2017 04:18 PM, Lee Jones wrote: >> On Tue, 24 Oct 2017, Keerthy wrote: >> >>> The powerhold mask for TPS65917 is different when comapred to >>> the other palmas versions. H

Re: [PATCH] ARM: dts: dra7: Set a default parent to mcasp3_ahclkx_mux

2017-09-18 Thread Keerthy
On Wednesday 06 September 2017 07:09 PM, Keerthy wrote: > Assign a default parent to mcasp3_ahclkx_mux clock using > the assigned-clock-parents property. This is helpful in > cases like kexec where in the clock parent can be something > other than the value at reset. Hi Tony, A

Re: [PATCH] arm: omap: dra7xx: Set OPT_CLKS_IN_RESET flag for gpio1

2017-09-18 Thread Keerthy
On Wednesday 06 September 2017 04:03 PM, Keerthy wrote: > gpio1 soft reset fails in the kexec path as the optional clock > is not enabled hence enable the HWMOD_CONTROL_OPT_CLKS_IN_RESET > flag for gpio1 hwmod. A gentle ping on this as well. > > Signed-off-by: Keerthy > --

[PATCH v4] pci: dwc: dra7xx: Add shutdown handler to cleanly turn off clocks

2017-09-19 Thread Keerthy
Add shutdown handler to cleanly turn off clocks. This will help in cases of kexec where in a new kernel can boot abruptly. Signed-off-by: Keerthy Acked-by: Kishon Vijay Abraham I --- Changes in v4: * Added the missing changes from v2! Changes in v3: * Pushed the function outside #ifdef

Re: [PATCH v3] pci: dwc: dra7xx: Add shutdown handler to cleanly turn off clocks

2017-09-19 Thread Keerthy
On Wednesday 20 September 2017 01:00 AM, Bjorn Helgaas wrote: > On Fri, Sep 08, 2017 at 10:44:54AM +0530, Keerthy wrote: >> Add shutdown handler to cleanly turn off clocks. This will help >> in cases of kexec where in a new kernel can boot abruptly. >> >> Signe

[PATCH] ARM: dts: keystone-k2l: Add the second gpio bank node

2017-11-09 Thread Keerthy
In case of k2l there are 2 more banks with 16 pins each. Adding the node as the da-vinci driver now supports multiple banks. Signed-off-by: Keerthy --- This is based on linux-next branch. Boot tested on keystone-k2l-evm. arch/arm/boot/dts/keystone-k2l.dtsi | 44

[PATCH v5] pci: dwc: dra7xx: Add shutdown handler to cleanly turn off clocks

2017-11-10 Thread Keerthy
Add shutdown handler to cleanly turn off clocks. This will help in cases of kexec where in a new kernel can boot abruptly. Signed-off-by: Keerthy Acked-by: Kishon Vijay Abraham I --- Changes in v5: * Declared the dra7xx_pcie_shutdown function static Changes in v4: * Added the missing

<    6   7   8   9   10   11   12   13   14   15   >