Skip to content

Commit 73c7ddd

Browse files
committed
clk: meson: gxbb: add the gxl internal dac gate
Add the ACODEC clock gate to the gxl clk controller driver Acked-by: Neil Armstrong <[email protected]> Signed-off-by: Jerome Brunet <[email protected]>
1 parent 306e59c commit 73c7ddd

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

drivers/clk/meson/gxbb.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2613,6 +2613,7 @@ static MESON_GATE(gxbb_assist_misc, HHI_GCLK_MPEG0, 23);
26132613
static MESON_GATE(gxbb_emmc_a, HHI_GCLK_MPEG0, 24);
26142614
static MESON_GATE(gxbb_emmc_b, HHI_GCLK_MPEG0, 25);
26152615
static MESON_GATE(gxbb_emmc_c, HHI_GCLK_MPEG0, 26);
2616+
static MESON_GATE(gxl_acodec, HHI_GCLK_MPEG0, 28);
26162617
static MESON_GATE(gxbb_spi, HHI_GCLK_MPEG0, 30);
26172618

26182619
static MESON_GATE(gxbb_i2s_spdif, HHI_GCLK_MPEG1, 2);
@@ -3100,6 +3101,7 @@ static struct clk_hw_onecell_data gxl_hw_onecell_data = {
31003101
[CLKID_HDMI_SEL] = &gxbb_hdmi_sel.hw,
31013102
[CLKID_HDMI_DIV] = &gxbb_hdmi_div.hw,
31023103
[CLKID_HDMI] = &gxbb_hdmi.hw,
3104+
[CLKID_ACODEC] = &gxl_acodec.hw,
31033105
[NR_CLKS] = NULL,
31043106
},
31053107
.num = NR_CLKS,
@@ -3491,6 +3493,7 @@ static struct clk_regmap *const gxl_clk_regmaps[] = {
34913493
&gxl_hdmi_pll_od,
34923494
&gxl_hdmi_pll_od2,
34933495
&gxl_hdmi_pll_dco,
3496+
&gxl_acodec,
34943497
};
34953498

34963499
static const struct meson_eeclkc_data gxbb_clkc_data = {

drivers/clk/meson/gxbb.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@
188188
#define CLKID_HDMI_SEL 203
189189
#define CLKID_HDMI_DIV 204
190190

191-
#define NR_CLKS 206
191+
#define NR_CLKS 207
192192

193193
/* include the CLKIDs that have been made part of the DT binding */
194194
#include <dt-bindings/clock/gxbb-clkc.h>

0 commit comments

Comments
 (0)