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
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
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
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
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
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
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
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
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
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
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
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
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
: 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
: 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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
>
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
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
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
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
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
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:
>
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
/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
/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
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
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
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
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
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
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
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
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
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
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
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 +++
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
>>
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
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
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
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:
>>
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
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
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
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
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(-)
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(-)
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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.
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
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
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
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
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
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
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
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
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
301 - 400 of 522 matches
Mail list logo