]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
clk: mediatek: mt7981: fix typo for infra_i2c0_ck
authorChristian Marangi <ansuelsmth@gmail.com>
Fri, 2 Aug 2024 13:53:03 +0000 (15:53 +0200)
committerTom Rini <trini@konsulko.com>
Mon, 19 Aug 2024 22:13:13 +0000 (16:13 -0600)
Fix a typo for infra_i2c0_ck where 0 was misspelled as O.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
arch/arm/dts/mt7981.dtsi
drivers/clk/mediatek/clk-mt7981.c
include/dt-bindings/clock/mt7981-clk.h

index 7aaa7770f833a64800749b4cb9343269e51e43e4..1056667ba651484ce38a57600891bddbf84d5755 100644 (file)
                      <0x10217080 0x80>;
                interrupts = <GIC_SPI 136 IRQ_TYPE_LEVEL_HIGH>;
                clock-div = <1>;
-               clocks = <&infracfg_ao CK_INFRA_I2CO_CK>,
+               clocks = <&infracfg_ao CK_INFRA_I2C0_CK>,
                         <&infracfg_ao CK_INFRA_AP_DMA_CK>;
                clock-names = "main", "dma";
                #address-cells = <1>;
index 7a6991624217ed38fded2ba243257d1d4c3fa700..69d018b817aee447c6ea959d7d57268934afb8f2 100644 (file)
@@ -474,7 +474,7 @@ static const struct mtk_gate infracfg_ao_gates[] = {
        GATE_INFRA0(CK_INFRA_SEJ_CK, "infra_sej", CK_INFRA_66M_MCK, 24),
        GATE_INFRA0(CK_INFRA_SEJ_13M_CK, "infra_sej_13m", CK_INFRA_CK_F26M, 25),
        GATE_INFRA1(CK_INFRA_THERM_CK, "infra_therm", CK_INFRA_CK_F26M, 0),
-       GATE_INFRA1(CK_INFRA_I2CO_CK, "infra_i2co", CK_INFRA_I2CS_CK, 1),
+       GATE_INFRA1(CK_INFRA_I2C0_CK, "infra_i2c0", CK_INFRA_I2CS_CK, 1),
        GATE_INFRA1(CK_INFRA_UART0_CK, "infra_uart0", CK_INFRA_MUX_UART0, 2),
        GATE_INFRA1(CK_INFRA_UART1_CK, "infra_uart1", CK_INFRA_MUX_UART1, 3),
        GATE_INFRA1(CK_INFRA_UART2_CK, "infra_uart2", CK_INFRA_MUX_UART2, 4),
index 1c2781cd765c424c478c1b0a5cd5ebfe9e656946..2dae6766ac3340ebff8ed3c90bdfa6e3960891f1 100644 (file)
 #define CK_INFRA_SEJ_CK                        (24 - INFRACFG_AO_OFFSET)
 #define CK_INFRA_SEJ_13M_CK            (25 - INFRACFG_AO_OFFSET)
 #define CK_INFRA_THERM_CK              (26 - INFRACFG_AO_OFFSET)
-#define CK_INFRA_I2CO_CK               (27 - INFRACFG_AO_OFFSET)
+#define CK_INFRA_I2C0_CK               (27 - INFRACFG_AO_OFFSET)
 #define CK_INFRA_UART0_CK              (28 - INFRACFG_AO_OFFSET)
 #define CK_INFRA_UART1_CK              (29 - INFRACFG_AO_OFFSET)
 #define CK_INFRA_UART2_CK              (30 - INFRACFG_AO_OFFSET)