configs: am68_sk_r5: Enable AVS config
PATCH 1/1 configs: am68_sk_r5: Enable AVS config
Enable AVS config
---
Test logs
https://gist.github.com/uditkumarti/9b30461e66aa27e4a813a65f1c552e51#file-gistfile1-txt-L298
Following print was added to see AVS voltage setting at
drivers/misc/k3_avs.c +1 -1
@@ -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(-)
configs/am68_sk_r5_defconfig +0 -1
@@ -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
Signature · 1 line
2.34.1
Hi Udit
Quoted 13 lines · Udit Kumar
Enable AVS config
Signed-off-by Udit Kumar <[email protected]>---
Test logs
https://gist.github.com/uditkumarti/9b30461e66aa27e4a813a65f1c552e51#file-gistfile1-txt-L298Following print was added to see AVS voltage setting at
drivers/misc/k3_avs.c +0
-0
drivers/misc/k3_avs.c static int k3_avs_program_voltage(struct k3_avs_privdata *priv, · line 145
Quoted 5 lines
drivers/misc/k3_avs.c +1
-1@@ -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?
Quoted 19 lines
drivers/misc/k3_avs.c +0
-0return regulator_set_value (vd->supply, volt); }configs/am68_sk_r5_defconfig | 1 - 1 file changed, 1 deletion(-)configs/am68_sk_r5_defconfig +0
-1@@ -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
Signature · 2 lines
Thanking You Neha Malcom Francis
Quoted 17 lines · Neha Malcom Francis
Hi Udit
Quoted 14 lines · Udit Kumar
Enable AVS config
Signed-off-by Udit Kumar <[email protected]>---
Test logs
https://gist.github.com/uditkumarti/9b30461e66aa27e4a813a65f1c552e51#file-gistfile1-txt-L298Following print was added to see AVS voltage setting at
drivers/misc/k3_avs.c +0
-0@@ -142,7 +142,7 @@ static int k3_avs_program_voltage(struct k3_avs_privdata *priv,
Quoted 5 lines
drivers/misc/k3_avs.c static int k3_avs_program_voltage(struct k3_avs_privdata *priv, · line 145
Quoted 4 lines
drivers/misc/k3_avs.c +1
-1vd2->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
Quoted 20 lines
Quoted 20 lines
drivers/misc/k3_avs.c +0
-0return regulator_set_value (vd->supply, volt); }configs/am68_sk_r5_defconfig | 1 - 1 file changed, 1 deletion(-)configs/am68_sk_r5_defconfig +0
-1@@ -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