Skip to content

Commit 9a116af

Browse files
krzkandersson
authored andcommitted
soc: qcom: ubwc: Add configuration Eliza SoC
Add configuration data and an entry to OF table for matching the Eliza SoC. Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com> Link: https://lore.kernel.org/r/20260325-drm-display-eliza-v3-8-dc2b2f0c74a2@oss.qualcomm.com [bjorn: Reordered device_id list] Signed-off-by: Bjorn Andersson <andersson@kernel.org>
1 parent 624a972 commit 9a116af

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

drivers/soc/qcom/ubwc_config.c

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,17 @@ static const struct qcom_ubwc_cfg_data no_ubwc_data = {
1616
/* no UBWC, no HBB */
1717
};
1818

19+
static const struct qcom_ubwc_cfg_data eliza_data = {
20+
.ubwc_enc_version = UBWC_5_0,
21+
.ubwc_dec_version = UBWC_5_0,
22+
.ubwc_swizzle = UBWC_SWIZZLE_ENABLE_LVL2 |
23+
UBWC_SWIZZLE_ENABLE_LVL3,
24+
.ubwc_bank_spread = true,
25+
/* TODO: highest_bank_bit = 14 for LP_DDR4 */
26+
.highest_bank_bit = 15,
27+
.macrotile_mode = true,
28+
};
29+
1930
static const struct qcom_ubwc_cfg_data kaanapali_data = {
2031
.ubwc_enc_version = UBWC_6_0,
2132
.ubwc_dec_version = UBWC_6_0,
@@ -232,6 +243,7 @@ static const struct of_device_id qcom_ubwc_configs[] __maybe_unused = {
232243
{ .compatible = "qcom,apq8026", .data = &no_ubwc_data },
233244
{ .compatible = "qcom,apq8074", .data = &no_ubwc_data },
234245
{ .compatible = "qcom,apq8096", .data = &msm8998_data },
246+
{ .compatible = "qcom,eliza", .data = &eliza_data, },
235247
{ .compatible = "qcom,kaanapali", .data = &kaanapali_data, },
236248
{ .compatible = "qcom,glymur", .data = &glymur_data},
237249
{ .compatible = "qcom,msm8226", .data = &no_ubwc_data },

0 commit comments

Comments
 (0)