[PATCH 07/15] clk: mediatek: mt7986: fix typo for infra_i2c0_ck
Christian Marangi
ansuelsmth at gmail.com
Sat Aug 3 10:40:40 CEST 2024
Fix a typo for infra_i2c0_ck where 0 was misspelled as O.
Signed-off-by: Christian Marangi <ansuelsmth at gmail.com>
---
drivers/clk/mediatek/clk-mt7986.c | 2 +-
include/dt-bindings/clock/mt7986-clk.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/clk/mediatek/clk-mt7986.c b/drivers/clk/mediatek/clk-mt7986.c
index 5f07de23756..303d959d750 100644
--- a/drivers/clk/mediatek/clk-mt7986.c
+++ b/drivers/clk/mediatek/clk-mt7986.c
@@ -452,7 +452,7 @@ static const struct mtk_gate infracfg_ao_gates[] = {
GATE_INFRA0_TOP(CK_INFRA_TRNG_CK, "infra_trng", CK_TOP_SYSAXI_SEL, 26),
/* INFRA1 */
GATE_INFRA1_TOP(CK_INFRA_THERM_CK, "infra_therm", CK_TOP_F26M_SEL, 0),
- GATE_INFRA1_TOP(CK_INFRA_I2CO_CK, "infra_i2co", CK_TOP_I2C_SEL, 1),
+ GATE_INFRA1_TOP(CK_INFRA_I2C0_CK, "infra_i2co", CK_TOP_I2C_SEL, 1),
GATE_INFRA1_INFRA(CK_INFRA_UART0_CK, "infra_uart0", CK_INFRA_UART0_SEL, 2),
GATE_INFRA1_INFRA(CK_INFRA_UART1_CK, "infra_uart1", CK_INFRA_UART1_SEL, 3),
GATE_INFRA1_INFRA(CK_INFRA_UART2_CK, "infra_uart2", CK_INFRA_UART2_SEL, 4),
diff --git a/include/dt-bindings/clock/mt7986-clk.h b/include/dt-bindings/clock/mt7986-clk.h
index 16faca5fef8..a48d57512d1 100644
--- a/include/dt-bindings/clock/mt7986-clk.h
+++ b/include/dt-bindings/clock/mt7986-clk.h
@@ -142,7 +142,7 @@
#define CK_INFRA_SEJ_CK 15
#define CK_INFRA_SEJ_13M_CK 16
#define CK_INFRA_THERM_CK 17
-#define CK_INFRA_I2CO_CK 18
+#define CK_INFRA_I2C0_CK 18
#define CK_INFRA_TRNG_CK 19
#define CK_INFRA_UART0_CK 20
#define CK_INFRA_UART1_CK 21
--
2.45.2
More information about the U-Boot
mailing list