[PATCH v2 1/5] clk: qcom: fix SM6115 lpasscc register offset
From: Srinivas Kandagatla
Date: Mon Feb 23 2026 - 08:40:35 EST
For some reason we ended with incorrect register offset for soundwire tx
controller reset and the regmap register max was also incorrect it was
0x1000 instead of 0x12000 which is full register range for this IP.
This was somehow compenseated in DT reg property which got it working so
far.
Fix this by correcting the actual offset and max registers as per SoC
documentation.
Fixes: b076b995e225 ("clk: qcom: Add SM6115 LPASSCC")
Cc: Konrad Dybcio <konrad.dybcio@xxxxxxxxxxxxxxxx>
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@xxxxxxxxxxxxxxxx>
---
drivers/clk/qcom/lpasscc-sm6115.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/clk/qcom/lpasscc-sm6115.c b/drivers/clk/qcom/lpasscc-sm6115.c
index ac6d219233b4..47adf4de2cca 100644
--- a/drivers/clk/qcom/lpasscc-sm6115.c
+++ b/drivers/clk/qcom/lpasscc-sm6115.c
@@ -35,7 +35,7 @@ static const struct qcom_cc_desc lpass_audiocc_sm6115_reset_desc = {
};
static const struct qcom_reset_map lpasscc_sm6115_resets[] = {
- [LPASS_SWR_TX_CONFIG_CGCR] = { .reg = 0x100, .bit = 1, .udelay = 500 },
+ [LPASS_SWR_TX_CONFIG_CGCR] = { .reg = 0xc100, .bit = 1, .udelay = 500 },
};
static struct regmap_config lpasscc_sm6115_regmap_config = {
@@ -43,7 +43,7 @@ static struct regmap_config lpasscc_sm6115_regmap_config = {
.reg_stride = 4,
.val_bits = 32,
.name = "lpass-tcsr",
- .max_register = 0x1000,
+ .max_register = 0x12000,
};
static const struct qcom_cc_desc lpasscc_sm6115_reset_desc = {
--
2.47.3