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

2016-08-02 Thread Keerthy
Hi Alex, On Tuesday 02 August 2016 07:24 AM, Keerthy wrote: 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

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

2016-08-03 Thread Keerthy
On Thursday 04 August 2016 10:51 AM, Alexander Graf wrote: On 02 Aug 2016, at 12:59, Keerthy wrote: Hi Alex, On Tuesday 02 August 2016 07:24 AM, Keerthy wrote: On Tuesday 02 August 2016 03:16 AM, Alexander Graf wrote: On 01 Aug 2016, at 11:07, Keerthy wrote: Hi Alexander, I am

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

2016-09-13 Thread Keerthy
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 AM57XX-EVM. Keerthy (5): power: regulator: Add ctrl_reg

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

2016-09-13 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 --- include/power/regulator.h | 2

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

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

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

2016-09-13 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/palmas.c | 77 + include/power/palmas.h | 25

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

2016-09-13 Thread Keerthy
Enable palmas PMIC config options. Signed-off-by: Keerthy --- configs/am57xx_evm_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configs/am57xx_evm_defconfig b/configs/am57xx_evm_defconfig index d49129d..b277783 100644 --- a/configs/am57xx_evm_defconfig +++ b/configs

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

2016-09-13 Thread Keerthy
Enable palmas PMIC config options. Signed-off-by: Keerthy --- configs/dra7xx_evm_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configs/dra7xx_evm_defconfig b/configs/dra7xx_evm_defconfig index 64184de..882e615 100644 --- a/configs/dra7xx_evm_defconfig +++ b/configs

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

2016-09-13 Thread Keerthy
mode. Patch 6: overrides 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. Tested on AM57XX-EVM, DRA7XX-EVM. Keerthy (6): omap: Remove hardcoding of mmu section

[U-Boot] [PATCH 1/6] omap: Remove hardcoding of mmu section shift to 20

2016-09-13 Thread Keerthy
As of now the mmu section shift is hardcoded to 20 but with LPAE coming into picture this can be different. Hence replacing 20 with MMU_SECTION_SHIFT macro. Signed-off-by: Keerthy --- arch/arm/cpu/armv7/omap-common/omap-cache.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff

[U-Boot] [PATCH 2/6] omap: Set appropriate cache configuration for LPAE and non-LAPE cases

2016-09-13 Thread Keerthy
lookup. Signed-off-by: Keerthy --- arch/arm/cpu/armv7/omap-common/omap-cache.c | 25 +++-- 1 file changed, 23 insertions(+), 2 deletions(-) diff --git a/arch/arm/cpu/armv7/omap-common/omap-cache.c b/arch/arm/cpu/armv7/omap-common/omap-cache.c index ee89f1f..b37163a 100644

[U-Boot] [PATCH 3/6] configs: am57xx_evm_defconfig: Enable LPAE mode

2016-09-13 Thread Keerthy
Enable Linear Physical Address Extension mode which is a prerequisite for hypervisor mode. Signed-off-by: Keerthy --- configs/am57xx_evm_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/am57xx_evm_defconfig b/configs/am57xx_evm_defconfig index d49129d..7021c11 100644 --- a

[U-Boot] [PATCH 4/6] configs: dra7xx_evm_defconfig: Enable LPAE mode

2016-09-13 Thread Keerthy
Enable Linear Physical Address Extension mode which is a prerequisite for hypervisor mode. Signed-off-by: Keerthy --- configs/dra7xx_evm_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/dra7xx_evm_defconfig b/configs/dra7xx_evm_defconfig index 64184de..2b368c3 100644 --- a

[U-Boot] [PATCH 5/6] ARM: Introduce function to switch to hypervisor mode

2016-09-13 Thread Keerthy
: beagleboard-...@googlegroups.com Signed-off-by: Keerthy --- arch/arm/cpu/armv7/start.S| 21 + arch/arm/include/asm/system.h | 4 2 files changed, 25 insertions(+) diff --git a/arch/arm/cpu/armv7/start.S b/arch/arm/cpu/armv7/start.S index 691e5d3..7eee54b 100644 --- a

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

2016-09-13 Thread Keerthy
: Keerthy --- arch/arm/cpu/armv7/omap-common/lowlevel_init.S | 24 1 file changed, 24 insertions(+) diff --git a/arch/arm/cpu/armv7/omap-common/lowlevel_init.S b/arch/arm/cpu/armv7/omap-common/lowlevel_init.S index 66a3b3d..8ce12c8 100644 --- a/arch/arm/cpu/armv7/omap-common

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

2016-09-14 Thread Keerthy
Hi Marczak, On Wednesday 14 September 2016 01:33 PM, Przemyslaw Marczak wrote: Hello Keerthy, On 09/14/2016 06:28 AM, 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

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

2016-09-15 Thread Keerthy
On Wednesday 14 September 2016 05:26 PM, Przemyslaw Marczak wrote: Hello Keerthy, On 09/14/2016 10:24 AM, Keerthy wrote: Hi Marczak, On Wednesday 14 September 2016 01:33 PM, Przemyslaw Marczak wrote: Hello Keerthy, On 09/14/2016 06:28 AM, Keerthy wrote: The ctrl reg contains bit fields

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

2016-09-15 Thread Keerthy
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: Keerthy --- drivers/power/regulator/Kconfig | 8 ++ drivers/power/regulator/Makefile

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

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

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

2016-09-15 Thread Keerthy
On Thursday 15 September 2016 03:04 PM, Przemyslaw Marczak wrote: Hello Keerthy, On 09/15/2016 10:25 AM, 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

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

2016-09-15 Thread Keerthy
On Thursday 15 September 2016 04:26 PM, Przemyslaw Marczak wrote: Hello Keerthy, On 09/15/2016 10:54 AM, Keerthy wrote: Currently the specific set ops functions are directly called without any check for voltage/current limits for a regulator. Check for them and proceed. Signed-off-by

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

2016-09-15 Thread Keerthy
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 wrote: Currently the specific set ops functions are directly called without any check for voltage/current limits for a

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

2016-09-15 Thread Keerthy
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: Keerthy --- Changes in v2: * Added states and voltages as part of plat data to have a generic state

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

2016-09-15 Thread Keerthy
On Thursday 15 September 2016 05:12 PM, Przemyslaw Marczak wrote: On 09/15/2016 12:34 PM, Keerthy wrote: On Thursday 15 September 2016 03:04 PM, Przemyslaw Marczak wrote: Hello Keerthy, On 09/15/2016 10:25 AM, Keerthy wrote: Add support for gpio regulators. As of now this driver caters

Re: [U-Boot] [PATCH 3/5] power: regulator: palmas: Add regulator support

2016-09-18 Thread Keerthy
On Monday 19 September 2016 06:28 AM, Simon Glass wrote: On 13 September 2016 at 22:28, Keerthy wrote: The driver provides regulator set/get voltage enable/disable functions for palmas family of PMICs. Signed-off-by: Keerthy --- drivers/power/regulator/Kconfig| 8 + drivers

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

2016-09-18 Thread Keerthy
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 AM57XX-EVM. Keerthy (5): power: regulator: Add ctrl_reg

[U-Boot] [PATCH v2 3/5] power: regulator: palmas: Add regulator support

2016-09-18 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 --- Changes in v2: * Converted all dm_i2c_reg to dm_i2c_read_reg * Removed an instance of double blank lines. * Added Simon's Review

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

2016-09-18 Thread Keerthy
Add support to bind the regulators/child nodes with the pmic. Signed-off-by: Keerthy Reviewed-by: Simon Glass --- Changes in v2: * Added Simon's Reviewed-by. drivers/power/pmic/Kconfig | 7 + drivers/power/pmic/Makefile | 1 + drivers/power/pmic/palmas.c

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

2016-09-18 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 --- include/power/regulator.h | 2

[U-Boot] [PATCH v2 4/5] configs: am57xx_evm_defconfig: Enable PALMAS options

2016-09-18 Thread Keerthy
Enable palmas PMIC config options. Signed-off-by: Keerthy --- configs/am57xx_evm_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configs/am57xx_evm_defconfig b/configs/am57xx_evm_defconfig index d49129d..b277783 100644 --- a/configs/am57xx_evm_defconfig +++ b/configs

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

2016-09-18 Thread Keerthy
Enable palmas PMIC config options. Signed-off-by: Keerthy --- configs/dra7xx_evm_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configs/dra7xx_evm_defconfig b/configs/dra7xx_evm_defconfig index 64184de..882e615 100644 --- a/configs/dra7xx_evm_defconfig +++ b/configs

Re: [U-Boot] [PATCH v2 3/5] power: regulator: palmas: Add regulator support

2016-09-18 Thread Keerthy
On Monday 19 September 2016 09:21 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 --- Changes in v2: * Converted all dm_i2c_reg to dm_i2c_read_reg * Removed an

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

2016-09-18 Thread Keerthy
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/Makefile | 1 + drivers/power/pmic/palmas.c | 77 + include/power/palmas.h

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

2016-09-18 Thread Keerthy
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 support configs: am57xx_evm_defconfig: Enable PALMAS options configs

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

2016-09-18 Thread Keerthy
Add u8 i2c read/write hooks. Signed-off-by: Keerthy --- 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..6ce5d9a 100644 --- a

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

2016-09-18 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 --- include/power/regulator.h | 4

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

2016-09-18 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 --- Changes in v3: * made use of dm_i2c_u8_write/read in place of dm_i2c_reg_write/read Changes in v2: * made use of dm_i2c_reg_write/read

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

2016-09-18 Thread Keerthy
Enable palmas PMIC config options. Signed-off-by: Keerthy --- configs/am57xx_evm_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configs/am57xx_evm_defconfig b/configs/am57xx_evm_defconfig index 0c41a4e..4a5b206 100644 --- a/configs/am57xx_evm_defconfig +++ b/configs

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

2016-09-18 Thread Keerthy
Enable palmas PMIC config options. Signed-off-by: Keerthy --- configs/dra7xx_evm_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configs/dra7xx_evm_defconfig b/configs/dra7xx_evm_defconfig index 5738f1d..31ceca1 100644 --- a/configs/dra7xx_evm_defconfig +++ b/configs

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

2016-09-20 Thread Keerthy
On Tuesday 20 September 2016 05:23 PM, Simon Glass wrote: Hi, On 19 September 2016 at 00:17, Keerthy wrote: Add u8 i2c read/write hooks. Signed-off-by: Keerthy --- drivers/i2c/i2c-uclass.c | 10 ++ include/i2c.h| 24 2 files changed, 34

Re: [U-Boot] ti: ARM: svc: Question about switching to am57xx HYP mode.

2017-03-22 Thread Keerthy
Code when we do an SMC call which switches to HYP mode. A, bit[8] Asynchronous abort mask bit. I, bit[7] IRQ mask bit. F, bit[6] FIQ mask bit. Are set which means they are masked. From the interaction i had with the ROM code team you can unmask the A bit/bit[8] if needed. Regards, Keerthy >

[U-Boot] [PATCH] regulator: palmas: Fix smps6 - smps9 indices

2017-02-03 Thread Keerthy
Fix smps6 - smps9 indices Signed-off-by: Keerthy --- drivers/power/regulator/palmas_regulator.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/power/regulator/palmas_regulator.c b/drivers/power/regulator/palmas_regulator.c index cce7cd2..399f7a5 100644 --- a

Re: [U-Boot] [PATCH] regulator: palmas: Fix smps6 - smps9 indices

2017-02-03 Thread Keerthy
On Friday 03 February 2017 04:57 PM, Tero Kristo wrote: On 03/02/17 10:41, Keerthy wrote: Fix smps6 - smps9 indices I think this could use a better commit message. What, why? Okay Tero. -Tero Signed-off-by: Keerthy --- drivers/power/regulator/palmas_regulator.c | 2 +- 1 file

[U-Boot] [PATCH v2] regulator: palmas: Fix smps6 - smps9 indices

2017-02-03 Thread Keerthy
The array indices used currently are dispalaced by 1 for SMPS6 through SMPS10 in the respective places of voltage and ctrl arrays hence fix the same as to assign the right voltage and ctrl registers. Signed-off-by: Keerthy --- Changes in v2: * Elaborated the commit log. drivers/power

Re: [U-Boot] [PATCH v2 2/2] regulator: lp873x: Fix the return value of ldo/buck_get_enable function

2017-06-29 Thread Keerthy
On Thursday 29 June 2017 03:10 PM, Jaehoon Chung wrote: > On 06/12/2017 11:36 PM, Keerthy wrote: >> The functions wrongly returned an integer while it is supposed to >> return boolean. Fix that. >> >> Fixes: 99785de83 ("power: regulator: lp873x: Add regulator sup

Re: [U-Boot] [PATCH v2 1/2] regulator: lp87565: Fix the return value of buck_get_enable function

2017-06-29 Thread Keerthy
On Thursday 29 June 2017 03:09 PM, Jaehoon Chung wrote: > Hi, > > On 06/12/2017 11:36 PM, Keerthy wrote: >> The function wrongly returned an integer while it is supposed to >> return boolean. Fix that. >> >> Fixes: 2dd9dc02a3("power: regulator: lp8756

Re: [U-Boot] [PATCH v2 1/2] regulator: lp87565: Fix the return value of buck_get_enable function

2017-06-29 Thread Keerthy
On Thursday 29 June 2017 03:54 PM, Jaehoon Chung wrote: > Hi Keerthy, > > On 06/29/2017 06:59 PM, Keerthy wrote: >> >> >> On Thursday 29 June 2017 03:09 PM, Jaehoon Chung wrote: >>> Hi, >>> >>> On 06/12/2017 11:36 PM, Keerthy wrote: >

Re: [U-Boot] [PATCH 2/2] regulator: palmas: disable bypass when the LDO is enabled

2017-07-12 Thread Keerthy
On Wednesday 12 July 2017 03:12 PM, Jean-Jacques Hiblot wrote: > Some LDOs have a bypass capability. Make sure that the bypass is disabled > when is the LDO is enabled (otherwise the voltage can't be changed). Reviewed-by: Keerthy > > Signed-off-by: Jean-Jacques Hiblot

[U-Boot] [PATCH] power: pmic: tps65218: Fix tps65218_voltage_update function

2017-05-23 Thread Keerthy
/tps65218.pdf Signed-off-by: Keerthy Fixes: 86db550b38 ("power: Add support for the TPS65218 PMIC") --- drivers/power/pmic/pmic_tps65218.c | 2 +- include/power/tps65218.h | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/power/pmic/pmic_tps65218.c

[U-Boot] [PATCH] power: pmic: tps65218: Fix tps65218_voltage_update function

2017-05-25 Thread Keerthy
/tps65218.pdf Signed-off-by: Keerthy Fixes: 86db550b38 ("power: Add support for the TPS65218 PMIC") --- drivers/power/pmic/pmic_tps65218.c | 2 +- include/power/tps65218.h | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/power/pmic/pmic_tps65218.c

[U-Boot] [PATCH] board: ti: am571-idx: Add vcores support

2017-05-25 Thread Keerthy
Update vcores for am571-idk board. Reported-by: Steve Kipisz Signed-off-by: Keerthy Signed-off-by: Lokesh Vutla --- board/ti/am57xx/board.c | 50 + 1 file changed, 50 insertions(+) diff --git a/board/ti/am57xx/board.c b/board/ti/am57xx/board.c

Re: [U-Boot] [PATCH] power: pmic: tps65218: Fix tps65218_voltage_update function

2017-05-25 Thread Keerthy
On Thursday 25 May 2017 07:18 PM, Jaehoon Chung wrote: > On 05/24/2017 01:49 PM, Keerthy wrote: >> Currently while setting the vsel value for dcdc1 and dcdc2 >> the driver is wrongly masking the entire 8 bits in the process >> clearing PFM (bit7) field as well. Hence de

Re: [U-Boot] [PATCH] board: ti: am571-idx: Add vcores support

2017-05-31 Thread Keerthy
On Thursday 25 May 2017 08:11 PM, Tom Rini wrote: > On Thu, May 25, 2017 at 03:37:34PM +0530, Keerthy wrote: > >> Update vcores for am571-idk board. >> >> Reported-by: Steve Kipisz >> Signed-off-by: Keerthy >> Signed-off-by: Lokesh Vutla > > Review

[U-Boot] [PATCH 1/2] power: pmic: lp87565: Add the basic pmic support

2017-06-01 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/lp87565.c | 85 include/power/lp87565.h | 12 +++ 4

[U-Boot] [PATCH 2/2] power: regulator: lp87565: add regulator support

2017-06-01 Thread Keerthy
The driver provides regulator set/get voltage enable/disable functions for lp87565 family of PMICs. Signed-off-by: Keerthy --- drivers/power/regulator/Kconfig | 8 ++ drivers/power/regulator/Makefile| 1 + drivers/power/regulator/lp87565_regulator.c | 199

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

2017-06-01 Thread Keerthy
The series adds support for LP87565 family of PMICs. Implements functions to configure regulators. Enable/Disable Get/Set voltages of regulators. Keerthy (2): power: pmic: lp87565: Add the basic pmic support power: regulator: lp87565: add regulator support drivers/power/pmic/Kconfig

[U-Boot] [PATCH] power: regulator: palmas: Add smps12 dual regulator for tps65917

2017-06-01 Thread Keerthy
Add smps12 dual regulator for tps65917 Signed-off-by: Keerthy --- drivers/power/regulator/palmas_regulator.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/drivers/power/regulator/palmas_regulator.c b/drivers/power/regulator/palmas_regulator.c index 399f7a5..841c03a

[U-Boot] [PATCH 0/2] power: pmic: tps65218: Add DCDC3 configuration

2017-06-02 Thread Keerthy
Some boards like am437x-gp-evm require dcdc3 also to be configured as it feeds on to ddr. Hence add the capability as well. Keerthy (2): power: pmic: tps65218: Add DCDC3 configuration board: ti: AM43XX: Add ddr voltage rail configuration board/ti/am43xx/board.c| 7

[U-Boot] [PATCH 1/2] power: pmic: tps65218: Add DCDC3 configuration

2017-06-02 Thread Keerthy
Some boards like am437x-gp-evm require dcdc3 also to be configured as it feeds on to ddr. Hence add the capability as well. Signed-off-by: Keerthy --- drivers/power/pmic/pmic_tps65218.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/power/pmic/pmic_tps65218.c b

[U-Boot] [PATCH 2/2] board: ti: AM43XX: Add ddr voltage rail configuration

2017-06-02 Thread Keerthy
Add ddr voltage rail (dcdc3) configuration. Set the dcdc3 DDR supply to 1.35V. Signed-off-by: Keerthy --- board/ti/am43xx/board.c | 7 +++ include/power/tps65218.h | 1 + 2 files changed, 8 insertions(+) diff --git a/board/ti/am43xx/board.c b/board/ti/am43xx/board.c index c15d8fa..2c02909

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

2017-06-06 Thread Keerthy
On Wednesday 07 June 2017 02:38 AM, Simon Glass wrote: > Hi, > > On 1 June 2017 at 23:19, Keerthy wrote: >> Add support to bind the regulators/child nodes with the pmic. >> >> Signed-off-by: Keerthy >> --- >> drivers/power/pmic/Kconfig | 7 +++

Re: [U-Boot] [PATCH 2/2] power: regulator: lp87565: add regulator support

2017-06-06 Thread Keerthy
On Wednesday 07 June 2017 02:38 AM, Simon Glass wrote: > Hi Keerthy, > > On 1 June 2017 at 23:19, Keerthy wrote: >> The driver provides regulator set/get voltage >> enable/disable functions for lp87565 family of PMICs. >> >> Signed-off-by: Keerthy >>

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

2017-06-06 Thread Keerthy
The series adds support for LP87565 family of PMICs. Implements functions to configure regulators. Enable/Disable Get/Set voltages of regulators. Keerthy (2): power: pmic: lp87565: Add the basic pmic support power: regulator: lp87565: add regulator support drivers/power/pmic/Kconfig

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

2017-06-06 Thread Keerthy
Add support to bind the regulators/child nodes with the pmic. Signed-off-by: Keerthy --- Changes in v2: * Used dev_read_subnode function to fetch the regulators node. drivers/power/pmic/Kconfig | 7 drivers/power/pmic/Makefile | 1 + drivers/power/pmic/lp87565.c | 85

[U-Boot] [PATCH v2 2/2] power: regulator: lp87565: add regulator support

2017-06-06 Thread Keerthy
The driver provides regulator set/get voltage enable/disable functions for lp87565 family of PMICs. Signed-off-by: Keerthy --- Changes in v2: * updated Kconfig description. * Used -EINVAL instead of hardcoded -1. * removed couple of unwanted braces. * Changed volt2hex to volt2val and

Re: [U-Boot] [PATCH v2 1/2] power: pmic: lp87565: Add the basic pmic support

2017-06-07 Thread Keerthy
On Wednesday 07 June 2017 06:28 PM, Jaehoon Chung wrote: > Hi Keerthy, > > On 06/07/2017 01:08 PM, Keerthy wrote: >> Add support to bind the regulators/child nodes with the pmic. >> >> Signed-off-by: Keerthy >> --- >> >> Changes in v2: >>

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

2017-06-07 Thread Keerthy
The series adds support for LP87565 family of PMICs. Implements functions to configure regulators. Enable/Disable Get/Set voltages of regulators. Keerthy (2): power: pmic: lp87565: Add the basic pmic support power: regulator: lp87565: add regulator support drivers/power/pmic/Kconfig

[U-Boot] [PATCH v3 2/2] power: regulator: lp87565: add regulator support

2017-06-07 Thread Keerthy
The driver provides regulator set/get voltage enable/disable functions for lp87565 family of PMICs. Signed-off-by: Keerthy --- No Changes in v3 Changes in v2: * updated Kconfig description. * Used -EINVAL instead of hardcoded -1. * removed couple of unwanted braces. * Changed volt2hex

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

2017-06-07 Thread Keerthy
Add support to bind the regulators/child nodes with the pmic. Signed-off-by: Keerthy --- Changes in v3: Returned values from dm_i2c_write and dm_i2c_read as is. Changes in v2: * Used dev_read_subnode function to fetch the regulators node. drivers/power/pmic/Kconfig | 7 drivers

Re: [U-Boot] [PATCH v3 2/2] power: regulator: lp87565: add regulator support

2017-06-10 Thread Keerthy
On Saturday 10 June 2017 02:59 AM, Nishanth Menon wrote: > On 06/07/2017 08:38 AM, Keerthy wrote: > >> +static bool buck_get_enable(struct udevice *dev) >> +{ >> +bool enable = false; >> +int ret; >> + >> + >> +ret = lp87565_buck_en

[U-Boot] [PATCH 2/3] regulator: lp873x: Fix the return value of ldo_get_enable function

2017-06-10 Thread Keerthy
The function wrongly returned an integer while it is supposed to return boolean. Fix that. Fixes: 99785de83 ("power: regulator: lp873x: Add regulator support") Signed-off-by: Keerthy --- drivers/power/regulator/lp873x_regulator.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

[U-Boot] [PATCH 3/3] regulator: lp873x: Fix the return value of buck_get_enable function

2017-06-10 Thread Keerthy
The function wrongly returned an integer while it is supposed to return boolean. Fix that. Fixes: 99785de83 ("power: regulator: lp873x: Add regulator support") Signed-off-by: Keerthy --- drivers/power/regulator/lp873x_regulator.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

[U-Boot] [PATCH 1/3] regulator: lp87565: Fix the return value of buck_get_enable function

2017-06-10 Thread Keerthy
The function wrongly returned an integer while it is supposed to return boolean. Fix that. Fixes: 2dd9dc02a3("power: regulator: lp87565: add regulator support") Reported-by: Nishanth Menon Signed-off-by: Keerthy --- drivers/power/regulator/lp87565_regulator.c | 2 +- 1 file

[U-Boot] [PATCH v2 1/2] regulator: lp87565: Fix the return value of buck_get_enable function

2017-06-12 Thread Keerthy
The function wrongly returned an integer while it is supposed to return boolean. Fix that. Fixes: 2dd9dc02a3("power: regulator: lp87565: add regulator support") Reported-by:Nishanth Menon Signed-off-by: Keerthy --- drivers/power/regulator/lp87565_regulator.c | 2 +- 1 file changed, 1

Re: [U-Boot] [PATCH 3/3] regulator: lp873x: Fix the return value of buck_get_enable function

2017-06-12 Thread Keerthy
On Monday 12 June 2017 07:09 PM, Nishanth Menon wrote: > On 06/11/2017 12:01 AM, Keerthy wrote: >> The function wrongly returned an integer while it is supposed to >> return boolean. Fix that. >> >> Fixes: 99785de83 ("power: regulator: lp873x: Add regulator sup

[U-Boot] [PATCH v2 2/2] regulator: lp873x: Fix the return value of ldo/buck_get_enable function

2017-06-12 Thread Keerthy
The functions wrongly returned an integer while it is supposed to return boolean. Fix that. Fixes: 99785de83 ("power: regulator: lp873x: Add regulator support") Signed-off-by: Keerthy --- Changes in v2: * Squashed patch 2 and 3 of v1 into 1 patch. drivers/power/regulator/lp873x_r

Re: [U-Boot] [PATCH 2/3] regulator: lp873x: Fix the return value of ldo_get_enable function

2017-06-12 Thread Keerthy
On Tuesday 13 June 2017 05:21 AM, Simon Glass wrote: > On 10 June 2017 at 23:01, Keerthy wrote: >> The function wrongly returned an integer while it is supposed to >> return boolean. Fix that. >> >> Fixes: 99785de83 ("power: regulator: lp873x: Add regulator sup

[U-Boot] [PATCH 01/12] regulator: Change get_enable return type to integer from bool

2017-06-12 Thread Keerthy
Change get_enable return type to int so errors can be returned. Signed-off-by: Keerthy --- drivers/power/regulator/regulator-uclass.c | 2 +- include/power/regulator.h | 8 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/power/regulator/regulator

[U-Boot] [PATCH 04/12] power: regulator: max77686: get_enable should return integer

2017-06-12 Thread Keerthy
get_enable should be able to return error values. Hence change the return type to integer. Signed-off-by: Keerthy --- drivers/power/regulator/max77686.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/power/regulator/max77686.c b/drivers/power/regulator/max77686

[U-Boot] [PATCH 06/12] power: regulator: pfuze100: get_enable should return integer

2017-06-12 Thread Keerthy
get_enable should be able to return error values. Hence change the return type to integer. Signed-off-by: Keerthy --- drivers/power/regulator/pfuze100.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/power/regulator/pfuze100.c b/drivers/power/regulator/pfuze100.c

[U-Boot] [PATCH 07/12] power: regulator: tps65090: get_enable should return integer

2017-06-12 Thread Keerthy
get_enable should be able to return error values. Hence change the return type to integer. Signed-off-by: Keerthy --- drivers/power/regulator/tps65090_regulator.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/power/regulator/tps65090_regulator.c b/drivers/power

[U-Boot] [PATCH 11/12] power: regulator: lp873x: get_enable should return integer

2017-06-12 Thread Keerthy
get_enable should be able to return error values. Hence change the return type to integer. Signed-off-by: Keerthy --- drivers/power/regulator/lp873x_regulator.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/power/regulator/lp873x_regulator.c b/drivers/power

[U-Boot] [PATCH 10/12] power: regulator: s5m8767: get_enable should return integer

2017-06-12 Thread Keerthy
get_enable should be able to return error values. Hence change the return type to integer. Signed-off-by: Keerthy --- drivers/power/regulator/s5m8767.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/power/regulator/s5m8767.c b/drivers/power/regulator/s5m8767.c

[U-Boot] [PATCH 09/12] power: sandbox: fixed: get_enable should return integer

2017-06-12 Thread Keerthy
get_enable should be able to return error values. Hence change the return type to integer. Signed-off-by: Keerthy --- drivers/power/regulator/sandbox.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/power/regulator/sandbox.c b/drivers/power/regulator/sandbox.c

[U-Boot] [PATCH 02/12] power: regulator: fixed: get_enable should return integer

2017-06-12 Thread Keerthy
get_enable should be able to return error values. Hence change the return type to integer. Signed-off-by: Keerthy --- drivers/power/regulator/fixed.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/power/regulator/fixed.c b/drivers/power/regulator/fixed.c index

[U-Boot] [PATCH 05/12] power: regulator: palmas: get_enable should return integer

2017-06-12 Thread Keerthy
get_enable should be able to return error values. Hence change the return type to integer. Signed-off-by: Keerthy --- drivers/power/regulator/palmas_regulator.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/power/regulator/palmas_regulator.c b/drivers/power

[U-Boot] [PATCH 03/12] power: regulator: act8846: get_enable should return integer

2017-06-12 Thread Keerthy
get_enable should be able to return error values. Hence change the return type to integer. Signed-off-by: Keerthy --- drivers/power/regulator/act8846.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/power/regulator/act8846.c b/drivers/power/regulator/act8846.c

[U-Boot] [PATCH 00/12] regulator: Change get_enable return type to integer from bool

2017-06-12 Thread Keerthy
Change get_enable return type to int so errors can be returned. The series converts the return type of get_enable hook in the dm_regulator_ops to integer from bool. This enables it to return any error values if any. Compile tested. Keerthy (12): regulator: Change get_enable return type to

[U-Boot] [PATCH 08/12] power: regulator: rk8xx: get_enable should return integer

2017-06-12 Thread Keerthy
get_enable should be able to return error values. Hence change the return type to integer. Signed-off-by: Keerthy --- drivers/power/regulator/rk8xx.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/power/regulator/rk8xx.c b/drivers/power/regulator/rk8xx.c index

[U-Boot] [PATCH 12/12] power: regulator: lp87565: get_enable should return integer

2017-06-12 Thread Keerthy
get_enable should be able to return error values. Hence change the return type to integer. Signed-off-by: Keerthy --- drivers/power/regulator/lp87565_regulator.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/power/regulator/lp87565_regulator.c b/drivers/power

Re: [U-Boot] [PATCH 2/3] regulator: lp873x: Fix the return value of ldo_get_enable function

2017-06-15 Thread Keerthy
On Tuesday 13 June 2017 09:04 AM, Keerthy wrote: > > > On Tuesday 13 June 2017 05:21 AM, Simon Glass wrote: >> On 10 June 2017 at 23:01, Keerthy wrote: >>> The function wrongly returned an integer while it is supposed to >>> return boolean. Fix that.

Re: [U-Boot] [PATCH 00/12] regulator: Change get_enable return type to integer from bool

2017-06-24 Thread Keerthy
On Tuesday 13 June 2017 09:53 AM, Keerthy wrote: > Change get_enable return type to int so errors can be returned. > The series converts the return type of get_enable hook in the > dm_regulator_ops to integer from bool. This enables it to > return any error values if any. Jaeho

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

2016-10-26 Thread Keerthy
On Wednesday 26 October 2016 10:01 PM, Simon Glass wrote: Hi Keerthy, On 26 October 2016 at 01:12, Keerthy wrote: 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

[U-Boot] [PATCH 1/2] arm: Set TTB XN bit in case DCACHE_OFF for LPAE mode

2016-10-27 Thread Keerthy
by default for DCACHE_OFF which keeps all the regions execute okay and this leads to random speculative fetches in random memory regions which was eventually caught by kernel omap-l3-noc driver. Fix this to mark the regions as XN by default. Signed-off-by: Keerthy --- arch/arm/include/asm

[U-Boot] [PATCH 2/2] arm: cpu: armv7: omap-common: Clear XN bit in the ARMV7_DCACHE_POLICY

2016-10-27 Thread Keerthy
Clear the XN bit in the ARMV7_DCACHE_POLICY so as to mark the regions as execute okay. Signed-off-by: Keerthy --- arch/arm/cpu/armv7/omap-common/omap-cache.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/cpu/armv7/omap-common/omap-cache.c b/arch/arm/cpu/armv7

Re: [U-Boot] [PATCH 2/2] arm: cpu: armv7: omap-common: Clear XN bit in the ARMV7_DCACHE_POLICY

2016-10-28 Thread Keerthy
On Friday 28 October 2016 12:56 PM, Alexander Graf wrote: On 28/10/2016 08:31, Keerthy wrote: Clear the XN bit in the ARMV7_DCACHE_POLICY so as to mark the regions as execute okay. Signed-off-by: Keerthy How did you ever get the bit set in DCACHE_WRITEALLOC or WRITEBACK in the first

Re: [U-Boot] [PATCH 1/2] arm: Set TTB XN bit in case DCACHE_OFF for LPAE mode

2016-10-29 Thread Keerthy
On Friday 28 October 2016 06:42 PM, Tom Rini wrote: On Fri, Oct 28, 2016 at 12:01:43PM +0530, Keerthy wrote: While we setup the mmu initially we mark set_section_dcache with DCACHE_OFF flag. In case of non-LPAE mode the DCACHE_OFF macro is rightly defined with TTB_SECT_XN_MASK set so as to

[U-Boot] [PATCH v2 1/2] arm: print the cache config option in hex instead of decimal

2016-10-29 Thread Keerthy
Printing the option value in hex makes it more comprehensible. Signed-off-by: Keerthy --- arch/arm/lib/cache-cp15.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/lib/cache-cp15.c b/arch/arm/lib/cache-cp15.c index 70e94f0..e9f9fc9 100644 --- a/arch/arm/lib/cache

[U-Boot] [PATCH v2 2/2] arm: Set TTB XN bit in case DCACHE_OFF for LPAE mode

2016-10-29 Thread Keerthy
by default for DCACHE_OFF which keeps all the regions execute okay and this leads to random speculative fetches in random memory regions which was eventually caught by kernel omap-l3-noc driver. Fix this to mark the regions as XN by default. Signed-off-by: Keerthy Reviewed-by: Alexander Graf

Re: [U-Boot] [PATCH v2 2/2] arm: Set TTB XN bit in case DCACHE_OFF for LPAE mode

2016-10-29 Thread Keerthy
On Saturday 29 October 2016 11:19 PM, Marek Vasut wrote: On 10/29/2016 07:47 PM, Tom Rini wrote: On Sat, Oct 29, 2016 at 07:44:34PM +0200, Marek Vasut wrote: On 10/29/2016 07:41 PM, Tom Rini wrote: On Sat, Oct 29, 2016 at 03:19:10PM +0530, Keerthy wrote: While we setup the mmu initially

<    1   2   3   4   5   6   >