Re: [PATCH 8/9] clk: qcom: Add support for VideoCC driver for Kaanapali
From: Bryan O'Donoghue
Date: Thu Sep 25 2025 - 20:56:07 EST
On 25/09/2025 00:56, Jingyi Wang wrote:
+ /*
+ * Maximize ctl data download delay and enable memory redundancy:
+ * MVS0A CFG3
+ * MVS0 CFG3
+ * MVS0 VPP1 CFG3
+ * MVS0 VPP0 CFG3
+ * MVS0C CFG3
+ */
+ regmap_set_bits(regmap, 0x8088, ACCU_CFG_MASK);
+ regmap_set_bits(regmap, 0x80b4, ACCU_CFG_MASK);
+ regmap_set_bits(regmap, 0x8100, ACCU_CFG_MASK);
+ regmap_set_bits(regmap, 0x812c, ACCU_CFG_MASK);
+ regmap_set_bits(regmap, 0x8158, ACCU_CFG_MASK);
+}
How ?
You're doing the right thing commenting on what is being done but,
you're not providing any context on what that thing is done.
Write a set of unnamed bits ?
+#define ACCU_CFG_MASK GENMASK(25, 21)
It's only five of them, please name in your comment at least a give a
clue as to what they do.
---
bod