U-Boot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] configs: am68_sk_r5: Enable AVS config
@ 2025-03-14 12:38 Udit Kumar
  2025-03-17  3:55 ` Neha Malcom Francis
  0 siblings, 1 reply; 3+ messages in thread
From: Udit Kumar @ 2025-03-14 12:38 UTC (permalink / raw)
  To: trini, vigneshr
  Cc: n-francis, u-boot, nm, m-chawdhry, j-keerthy, m-shah, a-limaye,
	Udit Kumar

Enable AVS config

Signed-off-by: Udit Kumar <u-kumar1@ti.com>
---
Test logs
https://gist.github.com/uditkumarti/9b30461e66aa27e4a813a65f1c552e51#file-gistfile1-txt-L298

Following print was added to see AVS voltage setting at
diff --git a/drivers/misc/k3_avs.c b/drivers/misc/k3_avs.c
index 0774e0a4c9e..ed1a5768147 100644
--- a/drivers/misc/k3_avs.c
+++ b/drivers/misc/k3_avs.c
@@ -142,7 +142,7 @@ static int k3_avs_program_voltage(struct k3_avs_privdata *priv,

                vd2->flags |= VD_FLAG_INIT_DONE;
        }
-
+       printf("Finally setting voltage \n");
        return regulator_set_value(vd->supply, volt);
 }


 configs/am68_sk_r5_defconfig | 1 -
 1 file changed, 1 deletion(-)

diff --git a/configs/am68_sk_r5_defconfig b/configs/am68_sk_r5_defconfig
index 097bed62061..d6ef89c7b84 100644
--- a/configs/am68_sk_r5_defconfig
+++ b/configs/am68_sk_r5_defconfig
@@ -6,7 +6,6 @@ CONFIG_SOC_K3_J721S2=y
 CONFIG_TARGET_J721S2_R5_EVM=y
 
 CONFIG_ESM_K3=n
-CONFIG_K3_AVS0=n
 CONFIG_ESM_PMIC=n
 CONFIG_DM_REGULATOR_TPS65941=n
 CONFIG_PMIC_TPS65941=n
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] configs: am68_sk_r5: Enable AVS config
  2025-03-14 12:38 [PATCH] configs: am68_sk_r5: Enable AVS config Udit Kumar
@ 2025-03-17  3:55 ` Neha Malcom Francis
  2025-03-17  4:25   ` Kumar, Udit
  0 siblings, 1 reply; 3+ messages in thread
From: Neha Malcom Francis @ 2025-03-17  3:55 UTC (permalink / raw)
  To: Udit Kumar, trini, vigneshr
  Cc: u-boot, nm, m-chawdhry, j-keerthy, m-shah, a-limaye

Hi Udit

On 14/03/25 18:08, Udit Kumar wrote:
> Enable AVS config
> 
> Signed-off-by: Udit Kumar <u-kumar1@ti.com>
> ---
> Test logs
> https://gist.github.com/uditkumarti/9b30461e66aa27e4a813a65f1c552e51#file-gistfile1-txt-L298
> 
> Following print was added to see AVS voltage setting at
> diff --git a/drivers/misc/k3_avs.c b/drivers/misc/k3_avs.c
> index 0774e0a4c9e..ed1a5768147 100644
> --- a/drivers/misc/k3_avs.c
> +++ b/drivers/misc/k3_avs.c
> @@ -142,7 +142,7 @@ static int k3_avs_program_voltage(struct k3_avs_privdata *priv,
> 
>                 vd2->flags |= VD_FLAG_INIT_DONE;
>         }
> -
> +       printf("Finally setting voltage \n");

Was this printf intended to be in the patch?

>         return regulator_set_value(vd->supply, volt);
>  }
> 
> 
>  configs/am68_sk_r5_defconfig | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/configs/am68_sk_r5_defconfig b/configs/am68_sk_r5_defconfig
> index 097bed62061..d6ef89c7b84 100644
> --- a/configs/am68_sk_r5_defconfig
> +++ b/configs/am68_sk_r5_defconfig
> @@ -6,7 +6,6 @@ CONFIG_SOC_K3_J721S2=y
>  CONFIG_TARGET_J721S2_R5_EVM=y
>  
>  CONFIG_ESM_K3=n
> -CONFIG_K3_AVS0=n
>  CONFIG_ESM_PMIC=n
>  CONFIG_DM_REGULATOR_TPS65941=n
>  CONFIG_PMIC_TPS65941=n

-- 
Thanking You
Neha Malcom Francis

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] configs: am68_sk_r5: Enable AVS config
  2025-03-17  3:55 ` Neha Malcom Francis
@ 2025-03-17  4:25   ` Kumar, Udit
  0 siblings, 0 replies; 3+ messages in thread
From: Kumar, Udit @ 2025-03-17  4:25 UTC (permalink / raw)
  To: Neha Malcom Francis, trini, vigneshr
  Cc: u-boot, nm, m-chawdhry, j-keerthy, m-shah, a-limaye


On 3/17/2025 9:25 AM, Neha Malcom Francis wrote:
> Hi Udit
>
> On 14/03/25 18:08, Udit Kumar wrote:
>> Enable AVS config
>>
>> Signed-off-by: Udit Kumar <u-kumar1@ti.com>
>> ---
>> Test logs
>> https://gist.github.com/uditkumarti/9b30461e66aa27e4a813a65f1c552e51#file-gistfile1-txt-L298
>>
>> Following print was added to see AVS voltage setting at
>> diff --git a/drivers/misc/k3_avs.c b/drivers/misc/k3_avs.c
>> index 0774e0a4c9e..ed1a5768147 100644
>> --- a/drivers/misc/k3_avs.c
>> +++ b/drivers/misc/k3_avs.c
>> @@ -142,7 +142,7 @@ static int k3_avs_program_voltage(struct k3_avs_privdata *priv,
>>
>>                  vd2->flags |= VD_FLAG_INIT_DONE;
>>          }
>> -
>> +       printf("Finally setting voltage \n");
> Was this printf intended to be in the patch?

My bad,

I thought of adding test code below tear line .. But eventually test 
code becoming part of patch.

will fix and send v2


>
>>          return regulator_set_value(vd->supply, volt);
>>   }
>>
>>
>>   configs/am68_sk_r5_defconfig | 1 -
>>   1 file changed, 1 deletion(-)
>>
>> diff --git a/configs/am68_sk_r5_defconfig b/configs/am68_sk_r5_defconfig
>> index 097bed62061..d6ef89c7b84 100644
>> --- a/configs/am68_sk_r5_defconfig
>> +++ b/configs/am68_sk_r5_defconfig
>> @@ -6,7 +6,6 @@ CONFIG_SOC_K3_J721S2=y
>>   CONFIG_TARGET_J721S2_R5_EVM=y
>>   
>>   CONFIG_ESM_K3=n
>> -CONFIG_K3_AVS0=n
>>   CONFIG_ESM_PMIC=n
>>   CONFIG_DM_REGULATOR_TPS65941=n
>>   CONFIG_PMIC_TPS65941=n

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-03-17  4:25 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-14 12:38 [PATCH] configs: am68_sk_r5: Enable AVS config Udit Kumar
2025-03-17  3:55 ` Neha Malcom Francis
2025-03-17  4:25   ` Kumar, Udit

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox