Skip to content

Commit df9e510

Browse files
z3ntuandersson
authored andcommitted
remoteproc: qcom_q6v5_mss: Add modem support on MSM8926
While MSM8926 being 'just' an LTE-capable variant of MSM8226 it appears the modem setup has changed significantly, by requiring mss-supply and not using the ext-bhs-reg. Add a new compatible and new struct to support that. Reviewed-by: Stephan Gerhold <[email protected]> Signed-off-by: Luca Weiss <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Bjorn Andersson <[email protected]>
1 parent 155cd99 commit df9e510

File tree

1 file changed

+48
-0
lines changed

1 file changed

+48
-0
lines changed

drivers/remoteproc/qcom_q6v5_mss.c

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -257,6 +257,7 @@ enum {
257257
MSS_MSM8226,
258258
MSS_MSM8909,
259259
MSS_MSM8916,
260+
MSS_MSM8926,
260261
MSS_MSM8953,
261262
MSS_MSM8974,
262263
MSS_MSM8996,
@@ -2622,11 +2623,58 @@ static const struct rproc_hexagon_res msm8226_mss = {
26222623
.version = MSS_MSM8226,
26232624
};
26242625

2626+
static const struct rproc_hexagon_res msm8926_mss = {
2627+
.hexagon_mba_image = "mba.b00",
2628+
.proxy_supply = (struct qcom_mss_reg_res[]) {
2629+
{
2630+
.supply = "pll",
2631+
.uA = 100000,
2632+
},
2633+
{
2634+
.supply = "mx",
2635+
.uV = 1050000,
2636+
},
2637+
{}
2638+
},
2639+
.active_supply = (struct qcom_mss_reg_res[]) {
2640+
{
2641+
.supply = "mss",
2642+
.uV = 1050000,
2643+
.uA = 100000,
2644+
},
2645+
{}
2646+
},
2647+
.proxy_clk_names = (char*[]){
2648+
"xo",
2649+
NULL
2650+
},
2651+
.active_clk_names = (char*[]){
2652+
"iface",
2653+
"bus",
2654+
"mem",
2655+
NULL
2656+
},
2657+
.proxy_pd_names = (char*[]){
2658+
"cx",
2659+
NULL
2660+
},
2661+
.need_mem_protection = false,
2662+
.has_alt_reset = false,
2663+
.has_mba_logs = false,
2664+
.has_spare_reg = false,
2665+
.has_qaccept_regs = false,
2666+
.has_ext_bhs_reg = false,
2667+
.has_ext_cntl_regs = false,
2668+
.has_vq6 = false,
2669+
.version = MSS_MSM8926,
2670+
};
2671+
26252672
static const struct of_device_id q6v5_of_match[] = {
26262673
{ .compatible = "qcom,q6v5-pil", .data = &msm8916_mss},
26272674
{ .compatible = "qcom,msm8226-mss-pil", .data = &msm8226_mss},
26282675
{ .compatible = "qcom,msm8909-mss-pil", .data = &msm8909_mss},
26292676
{ .compatible = "qcom,msm8916-mss-pil", .data = &msm8916_mss},
2677+
{ .compatible = "qcom,msm8926-mss-pil", .data = &msm8926_mss},
26302678
{ .compatible = "qcom,msm8953-mss-pil", .data = &msm8953_mss},
26312679
{ .compatible = "qcom,msm8974-mss-pil", .data = &msm8974_mss},
26322680
{ .compatible = "qcom,msm8996-mss-pil", .data = &msm8996_mss},

0 commit comments

Comments
 (0)