[U-Boot] [PATCH 2/2] lib: fdtdec: fixup fdtdec_get_addr_size

2018-12-21 Thread Keerthy
fix up fdtdec_get_addr_size to use fdtdec_get_addr_size_auto_noparent so that the address cells and size cells are obtained from the parent instead of going by the fixed length. Signed-off-by: Keerthy --- lib/fdtdec.c | 7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a

Re: [U-Boot] [PATCH 2/2] lib: fdtdec: fixup fdtdec_get_addr_size

2019-01-03 Thread Keerthy
On Thursday 03 January 2019 11:44 PM, s...@google.com wrote: > On 12/21/18 9:24 AM, Keerthy wrote: >> fix up fdtdec_get_addr_size to use fdtdec_get_addr_size_auto_noparent >> so that the address cells and size cells are obtained from the >> parent instead of going by the fi

[U-Boot] [PATCH] cmd: remoteproc: Fix the base of strtoul for ID conversion from 3 to 10

2018-10-23 Thread Keerthy
Currently the base is 3 fix it 10 so that IDs follow decimal system. Signed-off-by: Keerthy --- cmd/remoteproc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/remoteproc.c b/cmd/remoteproc.c index 9aebfc2..81463f3 100644 --- a/cmd/remoteproc.c +++ b/cmd

[U-Boot] [PATCH 1/2] core: ofnode: Fix ofnode_get_addr_size_index function

2018-11-04 Thread Keerthy
Currently the else part of ofnode_get_addr_size_index function does not fetch addresses based on the index but rather just returns the base address. Fix that. Signed-off-by: Keerthy --- drivers/core/ofnode.c | 13 - 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a

[U-Boot] [PATCH 2/2] core: ofnode: Add ofnode_get_addr_size_index

2018-11-04 Thread Keerthy
Add ofnode_get_addr_size_index function to fetch the address and size of the reg space based on index. Signed-off-by: Keerthy --- drivers/core/ofnode.c | 14 ++ 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/drivers/core/ofnode.c b/drivers/core/ofnode.c index c80e1cb

Re: [U-Boot] [PATCH 2/2] core: ofnode: Add ofnode_get_addr_size_index

2018-11-04 Thread Keerthy
On Monday 05 November 2018 11:17 AM, Keerthy wrote: > Add ofnode_get_addr_size_index function to fetch the address > and size of the reg space based on index. I missed the header file hunk. I will send v2 in a bit. > > Signed-off-by: Keerthy > --- > drivers/

[U-Boot] [PATCH 1/2] core: ofnode: Fix ofnode_get_addr_size_index function

2018-11-04 Thread Keerthy
Currently the else part of ofnode_get_addr_size_index function does not fetch addresses based on the index but rather just returns the base address. Fix that. Signed-off-by: Keerthy --- drivers/core/ofnode.c | 13 - 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a

[U-Boot] [PATCH 2/2] core: ofnode: Add ofnode_get_addr_size_index

2018-11-04 Thread Keerthy
Add ofnode_get_addr_size_index function to fetch the address and size of the reg space based on index. Signed-off-by: Keerthy --- drivers/core/ofnode.c | 14 ++ include/dm/ofnode.h | 13 + 2 files changed, 23 insertions(+), 4 deletions(-) diff --git a/drivers/core

[U-Boot] [PATCH v2 1/2] core: ofnode: Fix ofnode_get_addr_size_index function

2018-11-04 Thread Keerthy
Currently the else part of ofnode_get_addr_size_index function does not fetch addresses based on the index but rather just returns the base address. Fix that. Signed-off-by: Keerthy --- drivers/core/ofnode.c | 13 - 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a

[U-Boot] [PATCH v2 2/2] core: ofnode: Add ofnode_get_addr_size_index

2018-11-04 Thread Keerthy
Add ofnode_get_addr_size_index function to fetch the address and size of the reg space based on index. Signed-off-by: Keerthy --- Changes in v2: * Added the missing header file declaration of the new function. drivers/core/ofnode.c | 14 ++ include/dm/ofnode.h | 13

[U-Boot] [PATCH 2/3] misc: fs_loader: Use device_get_global_by_ofnode to get to node

2018-11-04 Thread Keerthy
Instead of two staged ofnode_to_offset followed by device_get_global_by_of_offset approach, direcly use the device_get_global_by_ofnode to fetch the device. Signed-off-by: Keerthy --- drivers/misc/fs_loader.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/misc

[U-Boot] [PATCH 1/3] fs: Makefile: Add fs.c under SPL as well as it is needed for fs_loader

2018-11-04 Thread Keerthy
Add fs.c under SPL as well as it is needed for fs_loader Signed-off-by: Keerthy --- fs/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/Makefile b/fs/Makefile index bad0c2c..b4ca1b3 100644 --- a/fs/Makefile +++ b/fs/Makefile @@ -8,7 +8,6 @@ ifdef CONFIG_SPL_BUILD

[U-Boot] [PATCH 3/3] misc: fs_loader: Fix compiler warning

2018-11-04 Thread Keerthy
Fix compiler warning drivers/misc/fs_loader.c:193:9: warning: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘size_t {aka long unsigned int}’ [-Wformat=] Signed-off-by: Keerthy --- drivers/misc/fs_loader.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a

[U-Boot] [PATCH v3 2/2] core: ofnode: Add ofnode_get_addr_size_index

2018-11-18 Thread Keerthy
Add ofnode_get_addr_size_index function to fetch the address and size of the reg space based on index. Signed-off-by: Keerthy --- drivers/core/ofnode.c | 14 ++ include/dm/ofnode.h | 14 ++ 2 files changed, 24 insertions(+), 4 deletions(-) diff --git a/drivers/core

[U-Boot] [PATCH v3 0/2] core: ofnode: Fix ofnode_get_addr_index function

2018-11-18 Thread Keerthy
The series adds a fix to ofnode_get_addr_index function and also adds a new ofnode_get_addr_size_index function. Changes in v3: Fixed compilation issues with sandbox_defconfig Keerthy (2): core: ofnode: Fix ofnode_get_addr_index function core: ofnode: Add ofnode_get_addr_size_index

[U-Boot] [PATCH v3 1/2] core: ofnode: Fix ofnode_get_addr_index function

2018-11-18 Thread Keerthy
Currently the else part of ofnode_get_addr_index function does not fetch addresses based on the index but rather just returns the base address. Fix that. Signed-off-by: Keerthy --- drivers/core/ofnode.c | 17 ++--- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a

[U-Boot] [PATCH 2/2] gpio: da8xx: Push generic defines of gpio.h out of mach-davinci

2018-10-03 Thread Keerthy
Push generic defines of gpio.h out of mach-davinci to drivers/gpio now that non-davinci architectures are beginning to use this IP. Signed-off-by: Keerthy --- arch/arm/mach-davinci/include/mach/gpio.h | 32 -- drivers/gpio/da8xx_gpio.c | 7 +++-- drivers

[U-Boot] [PATCH 1/2] gpio: da8xx: Add k2g compatible

2018-10-03 Thread Keerthy
Add k2g compatible so that k3 SoCs can be supported Signed-off-by: Keerthy --- drivers/gpio/da8xx_gpio.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpio/da8xx_gpio.c b/drivers/gpio/da8xx_gpio.c index b0d49cb..494fc5f 100644 --- a/drivers/gpio/da8xx_gpio.c +++ b/drivers/gpio

Re: [U-Boot] [PATCH 2/2] gpio: da8xx: Push generic defines of gpio.h out of mach-davinci

2018-10-03 Thread Keerthy
On Wednesday 03 October 2018 05:41 PM, Tom Rini wrote: > On Wed, Oct 03, 2018 at 04:09:31PM +0530, Keerthy wrote: > >> Push generic defines of gpio.h out of mach-davinci to drivers/gpio >> now that non-davinci architectures are beginning to use this IP. >> >> S

[U-Boot] [PATCH v2 1/2] gpio: da8xx: Add k2g compatible

2018-10-03 Thread Keerthy
Add k2g compatible so that k3 SoCs can be supported Signed-off-by: Keerthy Reviewed-by: Tom Rini --- drivers/gpio/da8xx_gpio.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpio/da8xx_gpio.c b/drivers/gpio/da8xx_gpio.c index b0d49cb..494fc5f 100644 --- a/drivers/gpio/da8xx_gpio.c

[U-Boot] [PATCH v2 2/2] gpio: da8xx: Push generic defines of gpio.h out of mach-davinci

2018-10-03 Thread Keerthy
Push generic defines of gpio.h out of mach-davinci to drivers/gpio now that non-davinci architectures are beginning to use this IP. Signed-off-by: Keerthy --- Changes in v2: * Corrected the SPDX format arch/arm/mach-davinci/include/mach/gpio.h | 32 drivers/gpio

Re: [U-Boot] [PATCH] arm: dra7xx: Assign omap_vcores based on board type

2016-06-12 Thread Keerthy
Hi Tom, On Tuesday 07 June 2016 04:05 PM, Keerthy wrote: Currently omap_vcores which holds pmic data is being assigned based on the SoC type. PMIC is not a part of SoC. It is logical to to assign omap_vcores based on board type. Hence over ride the vcores_init function and assign omap_vcores

[U-Boot] [PATCH 0/3] arm: omap: Introduce vcores_init function

2016-05-24 Thread Keerthy
-boot&m=146402916631764&w=2 Boot tested on beagle-x15, am572x-idk and dra7-evm. Checked for the correct PMIC voltages using i2c reads on PMIC registers. Keerthy (3): arm: omap: Introduce vcores_init function arm: am57xx: Fix omap_vcores assignment for am572x-idk arm: am57xx: Fix alignme

[U-Boot] [PATCH 3/3] arm: am57xx: Fix alignment where necessary

2016-05-24 Thread Keerthy
This just fixes alignment for better readability. Signed-off-by: Keerthy --- board/ti/am57xx/board.c | 90 - 1 file changed, 45 insertions(+), 45 deletions(-) diff --git a/board/ti/am57xx/board.c b/board/ti/am57xx/board.c index 5992f49..6b58722

[U-Boot] [PATCH 1/3] arm: omap: Introduce vcores_init function

2016-05-24 Thread Keerthy
The pmic registers for variants of am57xx boards are different hence we need to assign them carefully based on the board type. Add a function to assign omap_vcores after the board detection. Signed-off-by: Keerthy --- arch/arm/cpu/armv7/omap-common/hwinit-common.c | 11 +++ arch/arm

[U-Boot] [PATCH 2/3] arm: am57xx: Fix omap_vcores assignment for am572x-idk

2016-05-24 Thread Keerthy
Suman Anna Signed-off-by: Keerthy --- board/ti/am57xx/board.c | 45 - 1 file changed, 44 insertions(+), 1 deletion(-) diff --git a/board/ti/am57xx/board.c b/board/ti/am57xx/board.c index a6a4ccb..5992f49 100644 --- a/board/ti/am57xx/board.c +++ b/board

[U-Boot] [PATCH] arm: dra7xx: Assign omap_vcores based on board type

2016-06-08 Thread Keerthy
-off-by: Keerthy --- Boot tested on both dra7-evm and dra72-evm. arch/arm/cpu/armv7/omap5/hw_data.c | 78 board/ti/dra7xx/evm.c | 91 ++ 2 files changed, 91 insertions(+), 78 deletions(-) diff --git a/arch/arm/cpu

Re: [U-Boot] [PATCH v3 3/6] power: pmic: Palmas: Add the base pmic support

2016-09-25 Thread Keerthy
On Friday 23 September 2016 09:45 AM, Simon Glass wrote: Hi, On 19 September 2016 at 00:17, Keerthy wrote: Add support to bind the regulators/child nodes with the pmic. Signed-off-by: Keerthy Reviewed-by: Simon Glass --- drivers/power/pmic/Kconfig | 7 + drivers/power/pmic

Re: [U-Boot] [PATCH v3 2/6] power: regulator: Add ctrl_reg and volt_reg fields for pmic

2016-09-25 Thread Keerthy
On Friday 23 September 2016 09:45 AM, Simon Glass wrote: On 19 September 2016 at 00:17, Keerthy wrote: The ctrl reg contains bit fields to enable and disable regulators, and volt_reg has the bit fields to configure the voltage values. The registers are frequently accessed hence make them

[U-Boot] [PATCH v4 0/6] power: pmic: Add support for Palmas family of PMICs

2016-09-25 Thread Keerthy
change from printf to debug. Changes in v3: Introduced u8 i2c read/write functions. Keerthy (6): dm: i2c: Add u8 read/write i2c functions power: regulator: Add ctrl_reg and volt_reg fields for pmic power: pmic: Palmas: Add the base pmic support power: regulator: palmas: Add regulator

[U-Boot] [PATCH v4 1/6] dm: i2c: Add u8 read/write i2c functions

2016-09-25 Thread Keerthy
Add u8 i2c read/write hooks. Signed-off-by: Keerthy Reviewed-by: Tom Rini --- drivers/i2c/i2c-uclass.c | 10 ++ include/i2c.h| 24 2 files changed, 34 insertions(+) diff --git a/drivers/i2c/i2c-uclass.c b/drivers/i2c/i2c-uclass.c index dbd3789

[U-Boot] [PATCH v4 2/6] power: regulator: Add ctrl_reg and volt_reg fields for pmic

2016-09-25 Thread Keerthy
The ctrl reg contains bit fields to enable and disable regulators, and volt_reg has the bit fields to configure the voltage values. The registers are frequently accessed hence make them part of dm_regulator_uclass_platdata structure. Signed-off-by: Keerthy Reviewed-by: Tom Rini Reviewed-by

[U-Boot] [PATCH v4 5/6] configs: dra7xx_evm_defconfig: Enable PALMAS options

2016-09-25 Thread Keerthy
Enable palmas PMIC config options. Signed-off-by: Keerthy Reviewed-by: Tom Rini --- configs/dra7xx_evm_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configs/dra7xx_evm_defconfig b/configs/dra7xx_evm_defconfig index 64df490..16798b5 100644 --- a/configs/dra7xx_evm_defconfig

[U-Boot] [PATCH v4 3/6] power: pmic: Palmas: Add the base pmic support

2016-09-25 Thread Keerthy
Add support to bind the regulators/child nodes with the pmic. Signed-off-by: Keerthy Reviewed-by: Simon Glass Reviewed-by: Tom Rini --- drivers/power/pmic/Kconfig | 7 + drivers/power/pmic/Makefile | 1 + drivers/power/pmic/palmas.c | 77

[U-Boot] [PATCH v4 4/6] power: regulator: palmas: Add regulator support

2016-09-25 Thread Keerthy
The driver provides regulator set/get voltage enable/disable functions for palmas family of PMICs. Signed-off-by: Keerthy Reviewed-by: Simon Glass Reviewed-by: Tom Rini --- drivers/power/regulator/Kconfig| 8 + drivers/power/regulator/Makefile | 1 + drivers/power

[U-Boot] [PATCH v4 6/6] configs: am57xx_evm_defconfig: Enable PALMAS options

2016-09-25 Thread Keerthy
Enable palmas PMIC config options. Signed-off-by: Keerthy Reviewed-by: Tom Rini --- configs/am57xx_evm_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configs/am57xx_evm_defconfig b/configs/am57xx_evm_defconfig index 27ea472..6c60d9b 100644 --- a/configs/am57xx_evm_defconfig

[U-Boot] [PATCH 2/2] power: regulator: lp873x: Add regulator support

2016-09-25 Thread Keerthy
The driver provides regulator set/get voltage enable/disable functions for lp873x family of PMICs. Signed-off-by: Keerthy --- drivers/power/regulator/Kconfig| 8 + drivers/power/regulator/Makefile | 1 + drivers/power/regulator/lp873x_regulator.c | 361

[U-Boot] [PATCH 1/2] power: pmic: lp873x: Add the base pmic support

2016-09-25 Thread Keerthy
Add support to bind the regulators/child nodes with the pmic. Signed-off-by: Keerthy --- drivers/power/pmic/Kconfig | 7 ++ drivers/power/pmic/Makefile | 1 + drivers/power/pmic/lp873x.c | 59 + include/power/lp873x.h | 19

[U-Boot] [PATCH 0/2] power: pmic: Add support for LP873X family of PMICs

2016-09-25 Thread Keerthy
The series adds support for LP873X family of PMICs. Implements functions to configure regulators. Enable/Disable Get/Set voltages of regulators. The series applies on top of: https://www.mail-archive.com/u-boot@lists.denx.de/msg226072.html Keerthy (2): power: pmic: lp873x: Add the base pmic

Re: [U-Boot] [PATCH v4 1/6] dm: i2c: Add u8 read/write i2c functions

2016-09-26 Thread Keerthy
On Tuesday 27 September 2016 06:03 AM, Simon Glass wrote: On 25 September 2016 at 22:35, Keerthy wrote: Add u8 i2c read/write hooks. Signed-off-by: Keerthy Reviewed-by: Tom Rini --- drivers/i2c/i2c-uclass.c | 10 ++ include/i2c.h| 24 2 files

Re: [U-Boot] [PATCH 1/2] power: pmic: lp873x: Add the base pmic support

2016-09-26 Thread Keerthy
On Tuesday 27 September 2016 06:04 AM, Simon Glass wrote: Hi, On 26 September 2016 at 00:00, Keerthy wrote: Add support to bind the regulators/child nodes with the pmic. Signed-off-by: Keerthy --- drivers/power/pmic/Kconfig | 7 ++ drivers/power/pmic/Makefile | 1 + drivers/power

Re: [U-Boot] [PATCH 2/2] power: regulator: lp873x: Add regulator support

2016-09-26 Thread Keerthy
On Tuesday 27 September 2016 06:04 AM, Simon Glass wrote: Hi, On 26 September 2016 at 00:00, Keerthy wrote: The driver provides regulator set/get voltage enable/disable functions for lp873x family of PMICs. Signed-off-by: Keerthy --- drivers/power/regulator/Kconfig| 8

Re: [U-Boot] [PATCH 2/2] power: regulator: lp873x: Add regulator support

2016-09-27 Thread Keerthy
On Tuesday 27 September 2016 11:25 PM, Simon Glass wrote: Hi Keerthy, On 26 September 2016 at 21:45, Keerthy wrote: On Tuesday 27 September 2016 06:04 AM, Simon Glass wrote: Hi, On 26 September 2016 at 00:00, Keerthy wrote: The driver provides regulator set/get voltage enable

Re: [U-Boot] [PATCH v4 4/6] power: regulator: palmas: Add regulator support

2016-09-27 Thread Keerthy
Simon, On Monday 26 September 2016 10:05 AM, Keerthy wrote: The driver provides regulator set/get voltage enable/disable functions for palmas family of PMICs. Signed-off-by: Keerthy Reviewed-by: Simon Glass Reviewed-by: Tom Rini --- drivers/power/regulator/Kconfig| 8

[U-Boot] [PATCH v5 1/6] power: regulator: Add ctrl_reg and volt_reg fields for pmic

2016-09-27 Thread Keerthy
The ctrl reg contains bit fields to enable and disable regulators, and volt_reg has the bit fields to configure the voltage values. The registers are frequently accessed hence make them part of dm_regulator_uclass_platdata structure. Signed-off-by: Keerthy Reviewed-by: Tom Rini Reviewed-by

[U-Boot] [PATCH v5 4/6] configs: dra7xx_evm_defconfig: Enable PALMAS options

2016-09-27 Thread Keerthy
Enable palmas PMIC config options. Signed-off-by: Keerthy Reviewed-by: Tom Rini --- configs/dra7xx_evm_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configs/dra7xx_evm_defconfig b/configs/dra7xx_evm_defconfig index c74dc18..4af1b03 100644 --- a/configs/dra7xx_evm_defconfig

[U-Boot] [PATCH v5 3/6] power: regulator: palmas: Add regulator support

2016-09-27 Thread Keerthy
The driver provides regulator set/get voltage enable/disable functions for palmas family of PMICs. Signed-off-by: Keerthy Reviewed-by: Simon Glass Reviewed-by: Tom Rini --- Changes in v5: * Used pmic_reg_read pmic_reg_write functions instead of direct i2c calls. drivers/power

[U-Boot] [PATCH v5 5/6] configs: am57xx_evm_defconfig: Enable PALMAS options

2016-09-27 Thread Keerthy
Enable palmas PMIC config options. Signed-off-by: Keerthy Reviewed-by: Tom Rini --- configs/am57xx_evm_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configs/am57xx_evm_defconfig b/configs/am57xx_evm_defconfig index 27ea472..6c60d9b 100644 --- a/configs/am57xx_evm_defconfig

[U-Boot] [PATCH v5 2/6] power: pmic: Palmas: Add the base pmic support

2016-09-27 Thread Keerthy
Add support to bind the regulators/child nodes with the pmic. Also adds the pmic i2c based read/write funtions to access pmic registers. Signed-off-by: Keerthy Reviewed-by: Simon Glass Reviewed-by: Tom Rini --- Changes in v5: * Added pmic read/write functions. drivers/power/pmic/Kconfig

[U-Boot] [PATCH v5 0/6] power: pmic: Add support for Palmas family of PMICs

2016-09-27 Thread Keerthy
functions made use of already existing functions. Added read/write functions. Changes in v4: Added Reviewed-by and a minor change from printf to debug. Changes in v3: Introduced u8 i2c read/write functions. Keerthy (6): power: regulator: Add ctrl_reg and volt_reg fields for pmic power: pmic

[U-Boot] [PATCH v5 6/6] configs: am57xx_evm_defconfig: Enable CMD_REG option

2016-09-27 Thread Keerthy
Enable CMD_REG option. Signed-off-by: Keerthy --- configs/am57xx_evm_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configs/am57xx_evm_defconfig b/configs/am57xx_evm_defconfig index 6c60d9b..38424e6 100644 --- a/configs/am57xx_evm_defconfig +++ b/configs/am57xx_evm_defconfig

Re: [U-Boot] [PATCH v5 0/6] power: pmic: Add support for Palmas family of PMICs

2016-09-27 Thread Keerthy
Simon, On Wednesday 28 September 2016 09:57 AM, Keerthy wrote: The series adds support for Palmas family of PMICs. Implements functions to configure regulators. Enable/Disable Get/Set voltages of regulators. Supports TPS659038, TPS65917, Palmas. Tested on TPS659038, TPS65917 using DRA7XX-EVM

[U-Boot] [PATCH v2 0/2] power: pmic: Add support for LP873X family of PMICs

2016-09-27 Thread Keerthy
The series adds support for LP873X family of PMICs. Implements functions to configure regulators. Enable/Disable Get/Set voltages of regulators. Keerthy (2): power: pmic: lp873x: Add the base pmic support power: regulator: lp873x: Add regulator support drivers/power/pmic/Kconfig

[U-Boot] [PATCH v2 1/2] power: pmic: lp873x: Add the base pmic support

2016-09-27 Thread Keerthy
Add support to bind the regulators/child nodes with the pmic. Signed-off-by: Keerthy --- Changes in v2: * Added pmic read/write functions. drivers/power/pmic/Kconfig | 7 drivers/power/pmic/Makefile | 1 + drivers/power/pmic/lp873x.c | 90

[U-Boot] [PATCH v2 2/2] power: regulator: lp873x: Add regulator support

2016-09-27 Thread Keerthy
The driver provides regulator set/get voltage enable/disable functions for lp873x family of PMICs. Signed-off-by: Keerthy --- Changes in v2: * Used pmic_reg_read/pmic_reg_write instead of direct i2c read/write calls. drivers/power/regulator/Kconfig| 8 + drivers/power

Re: [U-Boot] [PATCH 2/2] power: regulator: lp873x: Add regulator support

2016-09-27 Thread Keerthy
On Wednesday 28 September 2016 08:57 AM, Keerthy wrote: On Tuesday 27 September 2016 11:25 PM, Simon Glass wrote: Hi Keerthy, On 26 September 2016 at 21:45, Keerthy wrote: On Tuesday 27 September 2016 06:04 AM, Simon Glass wrote: Hi, On 26 September 2016 at 00:00, Keerthy wrote

Re: [U-Boot] [PATCH v5 2/6] power: pmic: Palmas: Add the base pmic support

2016-09-28 Thread Keerthy
On Wednesday 28 September 2016 11:21 PM, Simon Glass wrote: Hi Keerthy, On 27 September 2016 at 22:27, Keerthy wrote: Add support to bind the regulators/child nodes with the pmic. Also adds the pmic i2c based read/write funtions to access pmic registers. Signed-off-by: Keerthy Reviewed-by

Re: [U-Boot] [PATCH v5 2/6] power: pmic: Palmas: Add the base pmic support

2016-09-28 Thread Keerthy
On Thursday 29 September 2016 11:32 AM, Keerthy wrote: On Wednesday 28 September 2016 11:21 PM, Simon Glass wrote: Hi Keerthy, On 27 September 2016 at 22:27, Keerthy wrote: Add support to bind the regulators/child nodes with the pmic. Also adds the pmic i2c based read/write funtions to

Re: [U-Boot] [PATCH v5 2/6] power: pmic: Palmas: Add the base pmic support

2016-09-29 Thread Keerthy
On Friday 30 September 2016 05:12 AM, Simon Glass wrote: Hi Keethy, On 29 September 2016 at 00:11, Keerthy wrote: On Thursday 29 September 2016 11:32 AM, Keerthy wrote: On Wednesday 28 September 2016 11:21 PM, Simon Glass wrote: Hi Keerthy, On 27 September 2016 at 22:27, Keerthy

[U-Boot] [PATCH v6 5/6] configs: am57xx_evm_defconfig: Enable PALMAS options

2016-09-29 Thread Keerthy
Enable palmas PMIC config options. Signed-off-by: Keerthy Reviewed-by: Tom Rini --- configs/am57xx_evm_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configs/am57xx_evm_defconfig b/configs/am57xx_evm_defconfig index 27ea472..6c60d9b 100644 --- a/configs/am57xx_evm_defconfig

[U-Boot] [PATCH v6 1/6] power: regulator: Add ctrl_reg and volt_reg fields for pmic

2016-09-29 Thread Keerthy
The ctrl reg contains bit fields to enable and disable regulators, and volt_reg has the bit fields to configure the voltage values. The registers are frequently accessed hence make them part of dm_regulator_uclass_platdata structure. Signed-off-by: Keerthy Reviewed-by: Tom Rini Reviewed-by

[U-Boot] [PATCH v6 4/6] configs: dra7xx_evm_defconfig: Enable PALMAS options

2016-09-29 Thread Keerthy
Enable palmas PMIC config options. Signed-off-by: Keerthy Reviewed-by: Tom Rini --- configs/dra7xx_evm_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configs/dra7xx_evm_defconfig b/configs/dra7xx_evm_defconfig index c74dc18..4af1b03 100644 --- a/configs/dra7xx_evm_defconfig

[U-Boot] [PATCH v6 2/6] power: pmic: Palmas: Add the base pmic support

2016-09-29 Thread Keerthy
Add support to bind the regulators/child nodes with the pmic. Also adds the pmic i2c based read/write funtions to access pmic registers. Signed-off-by: Keerthy Reviewed-by: Simon Glass Reviewed-by: Tom Rini --- Changes in v6: * Used dm_i2c_write and dm_i2c_read in place of dm_i2c_reg_write

[U-Boot] [PATCH v6 3/6] power: regulator: palmas: Add regulator support

2016-09-29 Thread Keerthy
The driver provides regulator set/get voltage enable/disable functions for palmas family of PMICs. Signed-off-by: Keerthy Reviewed-by: Simon Glass Reviewed-by: Tom Rini --- Changes in v5: * Used pmic_reg_read pmic_reg_write functions instead of direct i2c calls. drivers/power

[U-Boot] [PATCH v3 0/2] power: pmic: Add support for LP873X family of PMICs

2016-09-29 Thread Keerthy
The series adds support for LP873X family of PMICs. Implements functions to configure regulators. Enable/Disable Get/Set voltages of regulators. Keerthy (2): power: pmic: lp873x: Add the base pmic support power: regulator: lp873x: Add regulator support drivers/power/pmic/Kconfig

[U-Boot] [PATCH v6 6/6] configs: am57xx_evm_defconfig: Enable CMD_REG option

2016-09-29 Thread Keerthy
Enable CMD_REG option. Signed-off-by: Keerthy --- configs/am57xx_evm_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configs/am57xx_evm_defconfig b/configs/am57xx_evm_defconfig index 6c60d9b..38424e6 100644 --- a/configs/am57xx_evm_defconfig +++ b/configs/am57xx_evm_defconfig

[U-Boot] [PATCH v3 1/2] power: pmic: lp873x: Add the base pmic support

2016-09-29 Thread Keerthy
Add support to bind the regulators/child nodes with the pmic. Signed-off-by: Keerthy Reviewed-by: Simon Glass --- Changes in v3: * Used dm_i2c_write and dm_i2c_read in place of dm_i2c_reg_write dm_i2c_reg_read respectively. Changes in v2: * Added pmic read/write functions. drivers

[U-Boot] [PATCH v3 2/2] power: regulator: lp873x: Add regulator support

2016-09-29 Thread Keerthy
The driver provides regulator set/get voltage enable/disable functions for lp873x family of PMICs. Signed-off-by: Keerthy Reviewed-by: Simon Glass --- Changes in v2: * Used pmic_reg_read/pmic_reg_write instead of direct i2c read/write calls. drivers/power/regulator/Kconfig

[U-Boot] [PATCH v6 0/6] power: pmic: Add support for Palmas family of PMICs

2016-09-29 Thread Keerthy
functions made use of already existing functions. Added read/write functions. Changes in v4: Added Reviewed-by and a minor change from printf to debug. Changes in v3: Introduced u8 i2c read/write functions. Keerthy (6): power: regulator: Add ctrl_reg and volt_reg fields for pmic power: pmic

Re: [U-Boot] [PATCH v2] power: regulator: Add support for gpio regulators

2016-10-05 Thread Keerthy
On Monday 19 September 2016 06:29 AM, Simon Glass wrote: On 15 September 2016 at 05:34, Keerthy wrote: Add support for gpio regulators. As of now this driver caters to gpio regulators with one gpio. Supports setting voltage values to gpio regulators and retrieving the values. Signed-off-by

Re: [U-Boot] [PATCH v6 0/6] power: pmic: Add support for Palmas family of PMICs

2016-10-06 Thread Keerthy
On Friday 30 September 2016 09:20 AM, Keerthy wrote: The series adds support for Palmas family of PMICs. Implements functions to configure regulators. Enable/Disable Get/Set voltages of regulators. Supports TPS659038, TPS65917, Palmas. Tested on TPS659038, TPS65917 using DRA7XX-EVM and

Re: [U-Boot] [PATCH 0/6] ARM: Introduce function to switch to hypervisor mode and enable LPAE

2016-10-06 Thread Keerthy
On Wednesday 14 September 2016 10:43 AM, Keerthy wrote: On SoCs like DRA7, OMAP5 one cannot enable hypervisor mode directly from the u-boot because the ROM code puts the chip to supervisor mode after it jumps to boot loader. Patch 1-4 enable LPAE. Patch 5: Introduces a weak function which

Re: [U-Boot] [PATCH] power: regulator: Add limits checking while setting voltage and current

2016-10-11 Thread Keerthy
On Tuesday 11 October 2016 05:49 AM, Simon Glass wrote: Hi Keerthy, On 15 September 2016 at 05:16, Keerthy wrote: On Thursday 15 September 2016 04:38 PM, Keerthy wrote: On Thursday 15 September 2016 04:26 PM, Przemyslaw Marczak wrote: Hello Keerthy, On 09/15/2016 10:54 AM, Keerthy

Re: [U-Boot] Please pull u-boot-fdt

2016-10-13 Thread Keerthy
On Wednesday 12 October 2016 08:13 PM, Simon Glass wrote: Hi Tom, On 12 October 2016 at 08:13, Tom Rini wrote: On Tue, Oct 11, 2016 at 02:29:01PM -0600, Simon Glass wrote: Hi Tom, This is mostly syncing up with upstream. I have a few more things to do also (some small, some large). The

Re: [U-Boot] Please pull u-boot-fdt

2016-10-13 Thread Keerthy
On Thursday 13 October 2016 03:13 PM, Keerthy wrote: On Wednesday 12 October 2016 08:13 PM, Simon Glass wrote: Hi Tom, On 12 October 2016 at 08:13, Tom Rini wrote: On Tue, Oct 11, 2016 at 02:29:01PM -0600, Simon Glass wrote: Hi Tom, This is mostly syncing up with upstream. I have a

[U-Boot] [PATCH] pmic: lp873x: Accommodate fdt_subnode_offset signature change

2016-10-13 Thread Keerthy
Accommodate fdt_subnode_offset signature change. Signed-off-by: Keerthy --- drivers/power/pmic/lp873x.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/power/pmic/lp873x.c b/drivers/power/pmic/lp873x.c index 307f96b..2af86b1 100644 --- a/drivers/power/pmic/lp873x.c

[U-Boot] [PATCH] pmic: palmas: Accommodate fdt_subnode_offset signature change

2016-10-13 Thread Keerthy
Accommodate fdt_subnode_offset signature change. Signed-off-by: Keerthy --- drivers/power/pmic/palmas.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/power/pmic/palmas.c b/drivers/power/pmic/palmas.c index 6c79a93..0ab425e 100644 --- a/drivers/power/pmic/palmas.c

Re: [U-Boot] Please pull u-boot-fdt

2016-10-13 Thread Keerthy
On Thursday 13 October 2016 06:08 PM, Simon Glass wrote: Hi Keerthy, On 13 October 2016 at 05:47, Keerthy wrote: On Thursday 13 October 2016 03:13 PM, Keerthy wrote: On Wednesday 12 October 2016 08:13 PM, Simon Glass wrote: Hi Tom, On 12 October 2016 at 08:13, Tom Rini wrote: On

Re: [U-Boot] [PATCH] pmic: lp873x: Accommodate fdt_subnode_offset signature change

2016-10-13 Thread Keerthy
On Thursday 13 October 2016 06:22 PM, Simon Glass wrote: Hi Keerthy, On 13 October 2016 at 05:56, Keerthy wrote: Accommodate fdt_subnode_offset signature change. Signed-off-by: Keerthy --- drivers/power/pmic/lp873x.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a

Re: [U-Boot] Please pull u-boot-fdt

2016-10-13 Thread Keerthy
ranch. That is fine. I tried u-boot master + fdt branch. That is fine. Then i tried u-boot master + fdt branch + dm branch. That is when i saw the hang on DRA72. Boot is fine. I am not sure if Tom saw any other issue. Regards, Keerthy Regards, Simon ___

[U-Boot] [PATCH v2] pmic: palmas: Accommodate fdt_for_each_subnode signature change

2016-10-13 Thread Keerthy
Accommodate fdt_for_each_subnode signature change. Signed-off-by: Keerthy Acked-by: Simon Glass --- Changes in v2: * Corrected subject. * Added Simon's Ack. drivers/power/pmic/palmas.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/power/pmic/palmas.c b/dr

Re: [U-Boot] [PATCH] pmic: palmas: Accommodate fdt_subnode_offset signature change

2016-10-13 Thread Keerthy
On Thursday 13 October 2016 06:22 PM, Simon Glass wrote: On 13 October 2016 at 05:57, Keerthy wrote: Accommodate fdt_subnode_offset signature change. Signed-off-by: Keerthy --- drivers/power/pmic/palmas.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Acked-by: Simon Glass

Re: [U-Boot] Please pull u-boot-fdt

2016-10-13 Thread Keerthy
On Thursday 13 October 2016 08:38 PM, Simon Glass wrote: Hi Keerthy, On 13 October 2016 at 08:59, Keerthy wrote: Simon, On Thursday 13 October 2016 07:54 PM, Simon Glass wrote: Hi Tom, On 12 October 2016 at 08:13, Tom Rini wrote: On Tue, Oct 11, 2016 at 02:29:01PM -0600, Simon Glass

[U-Boot] [PATCH 1/3] power: regulator: Introduce regulator_set_value_force function

2016-10-26 Thread Keerthy
In case we want to force a particular value on a regulator irrespective of the min/max constraints for testing purposes one can call regulator_set_value_force function. Signed-off-by: Keerthy --- cmd/regulator.c| 5 - drivers/power/regulator/regulator-uclass.c

[U-Boot] [PATCH 2/3] power: regulator: Add limits checking while setting voltage

2016-10-26 Thread Keerthy
Currently the specific set ops functions are directly called without any check for voltage limits for a regulator. Check for them and proceed. Signed-off-by: Keerthy --- drivers/power/regulator/regulator-uclass.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/power/regulator

[U-Boot] [PATCH 3/3] power: regulator: Add limits checking while setting current

2016-10-26 Thread Keerthy
Currently the specific set ops functions are directly called without any check for min/max current limits for a regulator. Check for them and proceed. Signed-off-by: Keerthy --- drivers/power/regulator/regulator-uclass.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/power

Re: [U-Boot] [PATCH] power: regulator: Add limits checking while setting voltage and current

2016-10-26 Thread Keerthy
On Wednesday 12 October 2016 11:14 AM, Keerthy wrote: On Tuesday 11 October 2016 05:49 AM, Simon Glass wrote: Hi Keerthy, On 15 September 2016 at 05:16, Keerthy wrote: On Thursday 15 September 2016 04:38 PM, Keerthy wrote: On Thursday 15 September 2016 04:26 PM, Przemyslaw Marczak

[U-Boot] [PATCH 2/2] ARM: OMAP5+: Override switch_to_hypervisor function

2016-07-26 Thread Keerthy
: Keerthy Acked-by: Nishanth Menon --- arch/arm/cpu/armv7/omap-common/lowlevel_init.S | 21 + 1 file changed, 21 insertions(+) diff --git a/arch/arm/cpu/armv7/omap-common/lowlevel_init.S b/arch/arm/cpu/armv7/omap-common/lowlevel_init.S index 5283135..c7707e5 100644 --- a/arch

Re: [U-Boot] [PATCH 0/2] ARM: Introduce function to switch to hypervisor mode

2016-07-26 Thread Keerthy
On Wednesday 27 July 2016 09:05 AM, Keerthy wrote: On SoCs like DRA7, OMAP5 one cannot enable hypervisor mode directly from the u-boot because the ROM code puts the chip to supervisor mode after it jumps to boot loader. Patch 1: Introduces a weak function which can be overridden specific to

[U-Boot] [PATCH 0/2] ARM: Introduce function to switch to hypervisor mode

2016-07-26 Thread Keerthy
weak function in patch 1 switch cpu to hypervisor mode using the available ROM code hook early in the boot phase before the boot loader checks for hypervisor mode on OMAP5 based SoCs. Based on top of http://patchwork.dal.design.ti.com/patch/24937/. Keerthy (2): ARM: Introduce function to switch

[U-Boot] [PATCH 1/2] ARM: Introduce function to switch to hypervisor mode

2016-07-26 Thread Keerthy
: beagleboard-...@googlegroups.com Signed-off-by: Keerthy --- arch/arm/cpu/armv7/start.S| 15 +++ arch/arm/include/asm/system.h | 1 + 2 files changed, 16 insertions(+) diff --git a/arch/arm/cpu/armv7/start.S b/arch/arm/cpu/armv7/start.S index 691e5d3..4fb3d58 100644 --- a/arch/arm/cpu

Re: [U-Boot] [PATCH 0/2] ARM: Introduce function to switch to hypervisor mode

2016-07-28 Thread Keerthy
Hi Marek, On Thursday 28 July 2016 05:38 PM, Marek Vasut wrote: On 07/27/2016 05:37 AM, Keerthy wrote: On Wednesday 27 July 2016 09:05 AM, Keerthy wrote: On SoCs like DRA7, OMAP5 one cannot enable hypervisor mode directly from the u-boot because the ROM code puts the chip to supervisor mode

Re: [U-Boot] [PATCH 0/2] ARM: Introduce function to switch to hypervisor mode

2016-07-28 Thread Keerthy
On Thursday 28 July 2016 07:14 PM, Tom Rini wrote: On Thu, Jul 28, 2016 at 02:08:10PM +0200, Marek Vasut wrote: On 07/27/2016 05:37 AM, Keerthy wrote: On Wednesday 27 July 2016 09:05 AM, Keerthy wrote: On SoCs like DRA7, OMAP5 one cannot enable hypervisor mode directly from the u-boot

[U-Boot] [PATCH v2 0/2] ARM: Introduce function to switch to hypervisor mode

2016-07-28 Thread Keerthy
and DRA72-EVM. Keerthy (2): ARM: Introduce function to switch to hypervisor mode ARM: OMAP5+: Override switch_to_hypervisor function arch/arm/cpu/armv7/omap-common/lowlevel_init.S | 21 + arch/arm/cpu/armv7/start.S | 15 +++ arch/arm

[U-Boot] [PATCH v2 2/2] ARM: OMAP5+: Override switch_to_hypervisor function

2016-07-28 Thread Keerthy
Override the switch_to_hypervisor function to switch cpu to hypervisor mode using the available ROM code hook early in the boot phase before the boot loader checks for HYP mode. Based on the work done by Jonathan Bergsagel jbergsa...@ti.com. Reviewed-by: Tom Rini Signed-off-by: Keerthy

[U-Boot] [PATCH v2 1/2] ARM: Introduce function to switch to hypervisor mode

2016-07-28 Thread Keerthy
: beagleboard-...@googlegroups.com Reviewed-by: Tom Rini Signed-off-by: Keerthy --- arch/arm/cpu/armv7/start.S| 15 +++ arch/arm/include/asm/system.h | 1 + 2 files changed, 16 insertions(+) diff --git a/arch/arm/cpu/armv7/start.S b/arch/arm/cpu/armv7/start.S index 691e5d3..4fb3d58

Re: [U-Boot] [PATCH v2 0/2] ARM: Introduce function to switch to hypervisor mode

2016-07-29 Thread Keerthy
On Friday 29 July 2016 11:59 AM, Keerthy wrote: On SoCs like DRA7, OMAP5 one cannot enable hypervisor mode directly from the u-boot because the ROM code puts the chip to supervisor mode after it jumps to boot loader. Patch 1: Introduces a weak function which can be overridden specific to SoCs

[U-Boot] Question on Enabling hypervisor mode in u-boot

2016-08-01 Thread Keerthy
: Alexander Graf Date: Wed Mar 16 15:41:21 2016 +0100 arm: Add support for HYP mode and LPAE page tables and the is_hyp always returns 0 when LPAE config option is not enabled. Just wanted to confirm if that is mandatory. Best Regards, Keerthy ___ U

Re: [U-Boot] Question on Enabling hypervisor mode in u-boot

2016-08-01 Thread Keerthy
On Tuesday 02 August 2016 03:16 AM, Alexander Graf wrote: On 01 Aug 2016, at 11:07, Keerthy wrote: Hi Alexander, I am trying to enable hypervisor in u-boot for DRA7(A15 based) family of SoCs which does not have LPAE support yet. Is it mandatory for LPAE to be enabled before enabling

Re: [U-Boot] Question on Enabling hypervisor mode in u-boot

2016-08-01 Thread Keerthy
On Monday 01 August 2016 11:11 PM, Andreas Färber wrote: Hi Keerthy, Am 01.08.2016 um 12:07 schrieb Keerthy: I am trying to enable hypervisor in u-boot for DRA7(A15 based) family of SoCs which does not have LPAE support yet. Is it mandatory for LPAE to be enabled before enabling hypervisor

<    1   2   3   4   5   6   >