[PATCH 01/24] clk: mediatek: mt7622: set parent flag for GATE_APMIXED()
David Lechner
dlechner at baylibre.com
Tue Jul 7 17:07:21 CEST 2026
Set the parent flag for GATE_APMIXED() clocks.
By having parent flags on all clocks we can simplify the parent lookup
process. This is the only mediatek clock still without this flag.
Signed-off-by: David Lechner <dlechner at baylibre.com>
---
drivers/clk/mediatek/clk-mt7622.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/clk/mediatek/clk-mt7622.c b/drivers/clk/mediatek/clk-mt7622.c
index 79315912fd4..60f4a872a66 100644
--- a/drivers/clk/mediatek/clk-mt7622.c
+++ b/drivers/clk/mediatek/clk-mt7622.c
@@ -85,7 +85,7 @@ static const struct mtk_gate_regs apmixed_cg_regs = {
.parent = _parent, \
.regs = &apmixed_cg_regs, \
.shift = _shift, \
- .flags = CLK_GATE_NO_SETCLR_INV, \
+ .flags = CLK_GATE_NO_SETCLR_INV | CLK_PARENT_APMIXED, \
}
static const struct mtk_gate apmixed_cgs[] = {
--
2.43.0
More information about the U-Boot
mailing list