diff options
| author | Linux Build Service Account <lnxbuild@localhost> | 2017-02-09 03:11:13 -0800 |
|---|---|---|
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2017-02-09 03:11:13 -0800 |
| commit | 4789471d3eebb6509e2f6b686bc84ed9945a945c (patch) | |
| tree | 12832ce82307daf530712307f5adb826a77d4465 /drivers/regulator | |
| parent | 27fda5103298c7e1f46131d542c4998c66056b0b (diff) | |
| parent | 11be5d874fba037048f26665a087d668c16c8afa (diff) | |
Merge "regulator: gfx-ldo: Add GFX LDO support for sdm630"
Diffstat (limited to 'drivers/regulator')
| -rw-r--r-- | drivers/regulator/msm_gfx_ldo.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/regulator/msm_gfx_ldo.c b/drivers/regulator/msm_gfx_ldo.c index 2800607b5b31..c3e11b4caf9b 100644 --- a/drivers/regulator/msm_gfx_ldo.c +++ b/drivers/regulator/msm_gfx_ldo.c @@ -186,6 +186,7 @@ static const int msm8953_fuse_ref_volt[MSM8953_LDO_FUSE_CORNERS] = { enum { MSM8953_SOC_ID, SDM660_SOC_ID, + SDM630_SOC_ID, }; static int convert_open_loop_voltage_fuse(int ref_volt, int step_volt, @@ -1519,6 +1520,10 @@ static const struct of_device_id msm_gfx_ldo_match_table[] = { .compatible = "qcom,sdm660-gfx-ldo", .data = (void *)(uintptr_t)SDM660_SOC_ID, }, + { + .compatible = "qcom,sdm630-gfx-ldo", + .data = (void *)(uintptr_t)SDM630_SOC_ID, + }, {} }; @@ -1573,6 +1578,7 @@ static int msm_gfx_ldo_probe(struct platform_device *pdev) } break; case SDM660_SOC_ID: + case SDM630_SOC_ID: ldo_vreg->ldo_init_config = sdm660_ldo_config; ldo_vreg->ops_type = VOLTAGE; init_data->constraints.valid_ops_mask |
