Commit 75bceb22b3ed6882daa5933c3eb353364c7a7c83

Authored by Keerthy
Committed by Jaehoon Chung
1 parent 0f53118511

power: regulator: palmas: Add smps12 dual regulator for tps65917

Add smps12 dual regulator for tps65917

Signed-off-by: Keerthy <j-keerthy@ti.com>
Reviewed-by: Simon Glass <sjg@chromium.org>

Showing 1 changed file with 5 additions and 1 deletions Side-by-side Diff

drivers/power/regulator/palmas_regulator.c
... ... @@ -377,7 +377,11 @@
377 377 uc_pdata->ctrl_reg = palmas_smps_ctrl[type][idx];
378 378 uc_pdata->volt_reg = palmas_smps_volt[type][idx];
379 379 break;
380   -
  380 + case 12:
  381 + idx = 0;
  382 + uc_pdata->ctrl_reg = palmas_smps_ctrl[type][idx];
  383 + uc_pdata->volt_reg = palmas_smps_volt[type][idx];
  384 + break;
381 385 default:
382 386 printf("Wrong ID for regulator\n");
383 387 }