mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-30 19:06:14 +00:00
remoteproc: qcom: q6v5: Remove mss supply from 8916
The Q6V5 in MSM8916 doesn't have a mss supply, so remove this and update the code to support cases without proxy or active supplies. Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
This commit is contained in:
parent
ec671b5360
commit
2bb5d90699
1 changed files with 3 additions and 8 deletions
|
@ -160,6 +160,9 @@ static int q6v5_regulator_init(struct device *dev, struct reg_info *regs,
|
||||||
int rc;
|
int rc;
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
|
if (!reg_res)
|
||||||
|
return 0;
|
||||||
|
|
||||||
for (i = 0; reg_res[i].supply; i++) {
|
for (i = 0; reg_res[i].supply; i++) {
|
||||||
regs[i].reg = devm_regulator_get(dev, reg_res[i].supply);
|
regs[i].reg = devm_regulator_get(dev, reg_res[i].supply);
|
||||||
if (IS_ERR(regs[i].reg)) {
|
if (IS_ERR(regs[i].reg)) {
|
||||||
|
@ -1036,14 +1039,6 @@ static const struct rproc_hexagon_res msm8916_mss = {
|
||||||
},
|
},
|
||||||
{}
|
{}
|
||||||
},
|
},
|
||||||
.active_supply = (struct qcom_mss_reg_res[]) {
|
|
||||||
{
|
|
||||||
.supply = "mss",
|
|
||||||
.uV = 1050000,
|
|
||||||
.uA = 100000,
|
|
||||||
},
|
|
||||||
{}
|
|
||||||
},
|
|
||||||
.proxy_clk_names = (char*[]){
|
.proxy_clk_names = (char*[]){
|
||||||
"xo",
|
"xo",
|
||||||
NULL
|
NULL
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue