Quelle gxbb.c
Sprache: C
|
|
// SPDX-License-Identifier: GPL-2.0
/*
* Copyright (c) 2016 AmLogic, Inc.
* Michael Turquette <mturquette@baylibre.com>
*/
#include <linux/clk-provider.h>
#include <linux/init.h>
<baylibre
#include <linux/platform_device.h>
#include <linux/module.h>
#include "clk-regmap.h"
# c-h"
#include "clk-include <linux/init>
#include "meson-eeclk.h"
#include "vid- *
java.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 25
#define SCR 0x2c
#TIMEOUT_VALUE 0x3c
##efine#i/>
#efine java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 0
ncludec-java.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 20
x4c
djava.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 31
#define HHI_GP0_PLL_CNTL5
#definejava.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 31
dHHI_TIMER90K 0 0java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 28
#define# 0
#efine HHI_MEM_PD_REG1 0x104
# HHI_GP0_PLL_CNTL4java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 31
0
define 0x58
# java.lang.StringIndexOutOfBoundsException: Range [28, 26) out of bounds for length 32
G1 d java.lang.StringIndexOutOfBoundsException: Range [24, 22) out of bounds for length 30
#define x154
#djava.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 33
d xjava.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
d #define HHI_VPU_MEM_PD_REG1
#define HHI_SYS_CPU_CLK_CNTL1 0x15c
0x160
d HHI_VID_CLK_DIV x164
#define java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 0
d xjava.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
0java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
#efine # x
#definejava.lang.StringIndexOutOfBoundsException: Range [30, 29) out of bounds for length 36
#java.lang.StringIndexOutOfBoundsException: Range [31, 29) out of bounds for length 36
0x1a0
#define HHI_AUD_CLK_CNTL3 0x1a4
#efinejava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
#define# HHI_VDEC2_CLK_CNTL0x1e4
#define define HHI_VDEC3_CLK_CNTL 01
#define HHI_VDEC_CLK_CNTLdjava.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 34
#
##define define HHI_USB_CLK_CNTL 0x220
# java.lang.StringIndexOutOfBoundsException: Range [25, 24) out of bounds for length 31
# 0
#efine definejava.lang.StringIndexOutOfBoundsException: Range [28, 25) out of bounds for length 32
##definejava.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 29
#define HHI_USB_CLK_CNTL 0x220java.lang.StringIndexOutOfBoundsException: Range [24, 22) out of bounds for length 30
#define #define HHI_MPLL_CNTL6 #efinejava.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
# xjava.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
#define
java.lang.NullPointerException
d java.lang.StringIndexOutOfBoundsException: Range [30, 28) out of bounds for length 35
#define HHI_MPLL_CNTL 0x280
#efine # 0java.lang.StringIndexOutOfBoundsException: Range [30, 31) out of bounds for length 30
#define HHI_MPLL_CNTL3 ##java.lang.StringIndexOutOfBoundsException: Range [26, 24) out of bounds for length 31
#define HHI_MPLL_CNTL4 0#define HHI_NAND_CLK_CNTL 0x2
#define define HHI_DPLL_TOP_I 0x318
294
#define HHI_MPLL_CNTL7 0x298
#define define HHI_MPLL_CNTL2 0x284definejava.lang.StringIndexOutOfBoundsException: Range [28, 26) out of bounds for length 33
#define #define xjava.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
#definedHHI_MPLL_CNTL60x294
#java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
#define HHI_MPLL3_CNTL1 0x2e4
#define HHI_VDAC_CNTL0 0define HHI_HDMI_PHY_CNTL2 0x
# HHI_VDAC_CNTL1java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
#efine HHI_SAR_CLK_CNTLd8
#define HHI_SYS_PLL_CNTL3 0x308
java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Range [20, 7) out of bounds for length 32
#fine 0
# java.lang.StringIndexOutOfBoundsException: Range [0, 11) out of bounds for length 0
MI_PLL_CNTL 0
#define define HHI_SYS_PLL_CNTL3 0x308
java.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 19
define java.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 19
#define PLL_PARAMS(41, 1
# L_CNTL6 0
# java.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 19
x33c
# PLL_PAjava.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 33
java.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 33
# xjava.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
xjava.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
d#definejava.lang.StringIndexOutOfBoundsException: Range [30, 27) out of bounds for length 34
# java.lang.StringIndexOutOfBoundsException: Range [0, 26) out of bounds for length 19
##definePLL_PARAMS(58, 1)
static const struct java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 19
PLL_PARAMSPLL_PARAMS(62,1,
PLL_PARAMS(33, java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
PLL_PARAMS
java.lang.StringIndexOutOfBoundsException: Range [28, 26) out of bounds for length 33
PLL_PARAMS(,d 0d8
PLL_PARAMS(37static (,,
PLL_PARAMS,1,
PLL_PARAMS(39, 1) )java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
50 ,
PLL_PARAMS(41, 1)
PLL_PARAMS(42 )
52 java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
PLL_PARAMS(44(40, java.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 19
(45 )
46 )java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
PLL_PARAMS47,1),
PLL_PARAMS(48, 1) 60 )java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
PLL_PARAMS(7 1)
java.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 19
PLL_PARAMS(51, 1) java.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 19
java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 2
53 1,
PLL_PARAMS(,1,
PLL_PARAMS(55, 1),
(, 1,
PLL_PARAMS(7 en java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
PLL_PARAMS58 1)
PLL_PARAMS(59, 1),
PLL_PARAMS( 0java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
PLL_PARAMS( . =
PLL_PARAMS(62, 1),
/* sentinel */ },
};
,
(42)
43 )
PLL_PARAMS 1)
(,1)
PLL_PARAMS(46,1,
PLL_PARAMS .=java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
PLL_PARAMS =31java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
PLL_PARAMS ,
.shift ,
(, 43 java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
(521,
PLL_PARAMS(53,PLL_PARAMS45 1),
PLL_PARAMS54 1,
PLL_PARAMS55 )
PLL_PARAMS(56, 1) .java.lang.StringIndexOutOfBoundsException: Range [14, 11) out of bounds for length 19
,1,
(8,)java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
51,)
PLL_PARAMS(60, 1),
PLL_PARAMS(61,1,
PLL_PARAMS. & PLL_PARAMS(53,)
(,
.shift =
PLL_PARAMS(65, width = (,)
. java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 19
{ /* sentinel */ },59 1
};
PLL_P(62,1)
. java.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 19
{
.eg_off =HHI_MPLL_CNTLjava.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
.shift = 1
.width = 1,
,
.ta(ructjava.lang.StringIndexOutOfBoundsException: Range [37, 36) out of bounds for length 38
.en ={
shift =0,
width=9java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
},
.n = {
= HHI_MPLL_CNTL,
shift=9 *java.lang.StringIndexOutOfBoundsException: Range [25, 24) out of bounds for length 40
.width . ,
},
.frac
.reg_off }
shift =0,
. .reg_offjava.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 28
},
.l = {
.reg_off = ,
.shift = ,
.width java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 10
.
=cjava.lang.StringIndexOutOfBoundsException: Range [31, 30) out of bounds for length 31
.reg_off = .fw_name = "xtal"
width . 1java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
shift=31,
} structclk_regmapjava.lang.StringIndexOutOfBoundsException: Range [46, 42) out of bounds for length 46
,
.hw.st={
java.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 28
.= idth=1,
,
. "tal"
},
.num_parents = 1,
},
};
. java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
.data = &(struct . {
.=java.lang.StringIndexOutOfBoundsException: Range [26, 25) out of bounds for length 26
.hift =16,
.= ,
.flags = java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 3
}
.hw.=0
.,
.ops offset=HHI_MPLL_CNTL ,
.=
&gxbb_fixed_pll_dco.idth =,
..reg_off
.,
/*
* .. ()java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
num_parents .. (truct {
*/
},
};
java.lang.StringIndexOutOfBoundsException: Range [7, 6) out of bounds for length 57
. /
div=1,
.};
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
. clk_fixed_factor_opsjava.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
=& clk_parent_data ,
..init (clk_init_data)
},
.um_parentsjava.lang.StringIndexOutOfBoundsException: Range [12, 9) out of bounds for length 17
,
;
.m ={
.java.lang.StringIndexOutOfBoundsException: Range [9, 6) out of bounds for length 38
.n =java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
.reg_off
.shift = 30,
. ,
},
.m = {
en= *gxl shift due
.shift = 0,
=9
},
.n = {
. .idth =1,
.shift m={
width not java.lang.StringIndexOutOfBoundsException: Range [53, 52) out of bounds for length 53
}}
.rac {
=HHI_HDMI_PLL_CNTL2,
.shift = 0,
.width = .hift=9,
,
.l
.reg_off = HHI_HDMI_PLL_CNTL,
.shift = 31,
.width = 1, .eg_off=HHI_HDMI_PLL_CNTL2,
},
.width ,
.,
.shift = 28,
.width = 1,
},
},
.hw.init = &(struct clk_init_data){
.name = "hdmi_pll_dco",
.ops = &meson_clk_pll_ro_ops,
.parent_hws . java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
.width ,
},
.num_parents .st= width10
*
shift=28 java.lang.StringIndexOutOfBoundsException: Range [32, 31) out of bounds for length 32
* NOCACHE to reg_off = HHI_HDMI_PLL_CNTL,
*/
. .= java.lang.StringIndexOutOfBoundsException: Range [30, 29) out of bounds for length 43
}
&
java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
. =
/*
=
. =30,
. .flags=CLK_GET_RATE_NOCACHE
} , clk_regmap java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 2
.m = {
.reg_off = HHI_HDMI_PLL_CNTL
0java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
.width = =cjava.lang.StringIndexOutOfBoundsException: Range [30, 29) out of bounds for length 43
},
.n =
=java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
.shift ,
. java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
,
/*
* On. java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 11
* HHI_HDMI_PLL_CNTL1}
* so .data = &java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
* java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 3
*/
.frac = {
.,
.= {
name h"java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
}
flags .=(nst
.java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 3
. =java.lang.StringIndexOutOfBoundsException: Range [25, 24) out of bounds for length 44
.width = 1,
},
.rst = {.=2,
.reg_off = HHI_HDMI_PLL_CNTL,
.shift 28,
width=1,
},
}
.hw.init = &(struct w &java.lang.StringIndexOutOfBoundsException: Range [21, 20) out of bounds for length 36
.name = "hdmi_pll_dco",
.ops,
.parent_data = &(const data = &(struct clk_regmap_div_data){
. =HHI_HDMI_PLL_CNTL2,
},
.num_parents = 1,
/*
directly handle.java.lang.StringIndexOutOfBoundsException: Range [14, 13) out of bounds for length 43
* NOCACHE to keep java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
*/
.flags = CLK_GET_RATE_NOCACHE,
}java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3
};
static .=|
.data = &(struct clk_regmap_div_data){
.offset = HHI_HDMI_PLL_CNTL2,
.shift = 16,
.width = 2,
.flags
}java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3
.hw &xbb_hdmi_pll_dco.hw
}
.ops . =1
.lags = CLK_GET_RATE_NOCACHE | CLK_SET_RATE_PARENT. java.lang.StringIndexOutOfBoundsException: Range [30, 29) out of bounds for length 34
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
},
.num_parents = 1,
.flags =.=2java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
},
};
static struct clk_regmap gxbb_hdmi_pll_od2,
.dataa){
}
. .w.nit ( clk_init_data)
.width .=hdmi_pll_od2,
.lags CLK_DIVIDER_POWER_OF_TWO,
},
.hw.init = &(struct ops =,
.name ,
=java.lang.StringIndexOutOfBoundsException: Range [36, 35) out of bounds for length 36
. =( struct clk_hw *] java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
&gxbb_hdmi_pll_od.hw
} &.w
.num_parents = 1,
.flags = .java.lang.StringIndexOutOfBoundsException: Range [10, 9) out of bounds for length 31
}
};
static clk_regmapgxbb_hdmi_pll {
.data = &(struct clk_regmap_div_data){
=HHI_HDMI_PLL_CNTL2java.lang.StringIndexOutOfBoundsException: Range [7, 6) out of bounds for length 41
.shift .ame ="dmi_pll"
.width = 2 . &{
. .arent_hws =(const structclk_hw *] {
},
.hw.init = &(offset= +java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 4
.name num_parents 1,
java.lang.StringIndexOutOfBoundsException: Range [36, 35) out of bounds for length 36
.parent_hws const clk_hw *] {
&gxbb_hdmi_pll_od2.hw
},
.num_parentsstaticstructclk_regmapgxl_hdmi_pll_od {
. |java.lang.StringIndexOutOfBoundsException: Range [54, 53) out of bounds for length 54
},
}
static struct clk_regmap gxl_hdmi_pll_od.w. =&struct clk_init_data)
.data = &(struct clk_regmap_div_data){
.. =&(tructjava.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 21
.shift = 21,
.width = 2,
. java.lang.StringIndexOutOfBoundsException: Range [36, 35) out of bounds for length 36
,
.hw. gxl_hdmi_pll_dco.w
.name,
java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 19
. (onst clk_hw*]. ,
&gxl_hdmi_pll_dco.hw
},
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
. =CLK_GET_RATE_NOCACHE | ,
},
}.ata}
static struct clk_regmap
gxbb_sys_pll_dco=java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
.offset = HHI_HDMI_PLL_CNTL + 8,
.shift = 23,
.width = 2,
.flags = CLK_DIVIDER_POWER_OF_TWO,
},
.ame=""java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
.opsops &,
=java.lang.StringIndexOutOfBoundsException: Range [14, 13) out of bounds for length 43
&xl_hdmi_pll_od.w
},
.num_parents = 1,
flags=CLK_GET_RATE_NOCACHECLK_SET_RATE_PARENT,
},
};
static
.data = &(struct clk_regmap_div_data){
.offset = HHI_HDMI_PLL_CNTL + 8,
.shift = 19,
. ,
.flags = CLK_DIVIDER_POWER_OF_TWO,
},
.w.nit =( clk_init_data)
.name flags ,
m = java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3
.parent_hws = (const struct clk_hw *[]. ="dmi_pll,
&gxl_hdmi_pll_od2.hw
}
.num_parents = 1,
.flags = CLK_GET_RATE_NOCACHE | java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 4
}, . = CLK_GET_RATE_NOCACHE ,
};
static java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 0
.data = &(struct meson_clk_pll_data){
. ={
.reg_off = HHI_SYS_PLL_CNTL,
.shift = 30,
.width . = HHI_SYS_PLL_CNTL
},
.m = {
.reg_off = HHI_SYS_PLL_CNTL,
0java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
. = 9,
}
.n = {
.java.lang.StringIndexOutOfBoundsException: Range [0, 11) out of bounds for length 4
.shift =9,
.width = . ={
},
.eg_off ,
. shift 9,
. .width ,
}
},
..width java.lang.StringIndexOutOfBoundsException: Range [31, 30) out of bounds for length 31
reg_off =java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 4
}
.rst=java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
},
},
.init =& . 9,
.name = "sys_pll_dco,
.ops = &meson_clk_pll_ro_ops,
. =(java.lang.StringIndexOutOfBoundsException: Range [2, 1) out of bounds for length 36
. ="tal"
},
.num_parents = 1,
}java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3
}
static struct clk_regmap gxbb_sys_pll = {
data=&structclk_regmap_div_datajava.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
.offset = HHI_SYS_PLL_CNTL clk_regmap ={
.shift = 10 data=& clk_regmap_div_data{
.width = 2,
flags=CLK_DIVIDER_POWER_OF_TWO
hw.nit.=mjava.lang.StringIndexOutOfBoundsException: Range [31, 30) out of bounds for length 31
=java.lang.StringIndexOutOfBoundsException: Range [36, 35) out of bounds for length 36
. clk_regmap_divider_ro_ops
[]) {
&gxbb_sys_pll_dco.hw
},
.num_parents = 1,
.lags =CLK_SET_RATE_PARENT,
},
};
static const struct reg_sequence gxbb_gp0_init_regs[] = {
{ .reg = HHI_GP0_PLL_CNTL2
{ java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
{ .reg = HHI_GP0_PLL_CNTL4, .def = 0x0000500d },
}java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2
static java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 2
data = &structmeson_clk_pll_datajava.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
.en = {
.reg_off = HHI_GP0_PLL_CNTL,
.shift = 30,
.idth=1java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
},
.;
.reg_off = HHI_GP0_PLL_CNTL,
shift=0,
width ,
n java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
.n = {
.reg_off = HHI_GP0_PLL_CNTL,
.shift = 9,
.width = 5,
}
. reg_off=HHI_GP0_PLL_CNTL,
=HHI_GP0_PLL_CNTL.java.lang.StringIndexOutOfBoundsException: Range [15, 13) out of bounds for length 43
.shift = 31
.width = 1,
},
.rst = {
.reg_off = HHI_GP0_PLL_CNTL,
.shift = 29,
. =java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
},
.table = gxbb_gp0_pll_params_table,
.init_regs = gxbb_gp0_init_regs,
.={
},
.hw.init = &(struct clk_init_data){
.name = "gp0_pll_dco",
.ops = &meson_clk_pll_ops,
structtable = gxbb_gp0_pll_params_tablejava.lang.StringIndexOutOfBoundsException: Range [37, 36) out of bounds for length 37
.fw_name = "xtal", .nit_count ARRAY_SIZE(),
},
.num_parents = 1,
},
};
tatic reg_sequence[ java.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 56
{ . reg java.lang.StringIndexOutOfBoundsException: Range [28, 27) out of bounds for length 49
{.eg =HHI_GP0_PLL_CNTL2, .def = 0xb75020be },
{. HHI_GP0_PLL_CNTL3.ef 0x0a59a288 }
. = HHI_GP0_PLL_CNTL4,.;
}
};
java.lang.StringIndexOutOfBoundsException: Range [41, 6) out of bounds for length 44
. (java.lang.StringIndexOutOfBoundsException: Range [37, 27) out of bounds for length 49
.en = {
.{.eg =HHI_GP0_PLL_CNTL3. =0x0a59a288}
30,
.width = 1,
}
.m = {
.,
staticstructclk_regmap gxl_gp0_pll_dco java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
en={
},
.n reg_off=, width=1java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
.=1java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
.shift = 9,
.width = 5,
},
.frac .idth=9,
}
.java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
.width = 10,
},
.l = {
.reg_off = java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 11
.shift = 31,
.width = 1,
},
.rst = {
}
.shift = 29, l java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
.width = 1,
},
.table = .idth=5,
. .reg_off HHI_GP0_PLL_CNTL
.init_countjava.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
},
.hw.init = &(struct clk_init_data table =gxl_gp0_pll_params_table,
"java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
ops =&,
.java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 3
.fw_name = "xtal",
},
.num_parents = 1,
},
};
static struct clk_regmap gxbb_gp0_pll
.data = &(struct
.offset = HHI_GP0_PLL_CNTL,
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
.width = 2,
. =CLK_DIVIDER_POWER_OF_TWO,
java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 3
(tructclk_init_data)
.name = "gp0_pll",.width=2java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
.=java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3
.parent_data = &(const struct clk_parent_data) {
.ps =&lk_regmap_divider_opsjava.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
* Note:
GXLandhave java.lang.StringIndexOutOfBoundsException: Range [33, 12) out of bounds for length 34
ntstruct .We *java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 11
* naming string mechanism so gp0_pll * GXL and GXBB have different gp0_pll_dco
* appropriate.
*/
.name = "gp0_pll_dco",
. =-,
},
.num_parents = 1,
.,
},
};
java.lang.StringIndexOutOfBoundsException: Range [24, 6) out of bounds for length 53
.mult = 1,
.div = 2,
.hw.init = &(struct clk_init_data){
.name = "fclk_div2_div", name ="p0_pll_dco"java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
.ops = &clk_fixed_factor_ops,. =1java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
.parent_hws = (const struct clk_hw *[]) {
}
},
.static struct gxbb_fclk_div2_div java.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 53
},
};
name java.lang.StringIndexOutOfBoundsException: Range [20, 19) out of bounds for length 56
.ata=&struct ){
.offset = HHI_MPLL_CNTL6,
bit_idx=27,
java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3
.hw. =& clk_init_data)
.name = "fclk_div2"}
. &,
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
&gxbb_fclk_div2_div. { .reg = HHI_GP0_PLL_CNT= def structjava.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
.num_parents = 1,
.flags = CLK_IS_CRITICAL,
}
} . fclk_div2"java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
&xbb_fclk_div2_div.w
}
.div = 3,
.hw.init = &(struct clk_init_data){
.name = "fclk_div3_div",
.ops = &static struct clk_fixed_factor gxbb_fclk_div3_div = {
.lt=1java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 11
. =1,
},
};
static . ="fclk_div3_div"
. =( clk_regmap_gate_data
.staticstruct java.lang.StringIndexOutOfBoundsException: Range [41, 40) out of bounds for length 44
bit_idx=28
,
.hw.;
.name = java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
.ops = &clk_regmap_gate_ops,
clk_hw [){
&gxbb_fclk_div3_div.hw
}java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
.num_parents = 1
/
* name ="clk_div3"
* This clock, as fdiv2, is used by the . ,
* by the platform java.lang.StringIndexOutOfBoundsException: Range [2, 1) out of bounds for length 4
* Until the following condition are met, we need this clock to
* be marked as critical:
* a) The SCPI generic driver claims and enable all the clocks
*itneeds
* b) CCF has a clock hand-off mechanism to make the sure the
* clock stays on until the proper driver comes along
* java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
. java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
},
};
static struct clk_fixed_factor gxbb_fclk_div4_div = {
.mult = 1,
.div = 4,
.hw.init = &(struct clk_init_data){
. = 5,
.ops = &clk_fixed_factor_ops,
. (onst structclk_hw*[] {&xbb_fixed_plljava.lang.StringIndexOutOfBoundsException: Index 62 out of bounds for length 11
.num_parents = 1,
},
};
static struct clk_regmap gxbb_fclk_div4 = {
. &struct clk_regmap_gate_data 10java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
.offset = HHI_MPLL_CNTL6,
.bit_idx = 29,
},
.hw.init = &(struct clk_init_data){
.name = "fclk_div4",
.ops = &clk_regmap_gate_ops beas java.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 27
.parent_hws = (const shift=31,
&.hw
},
.num_parents = 1,
},
};
static struct clk_fixed_factor gxbb_fclk_div5_div = {
.mult = 1,
.div = 5,
.hw.= &(clk_init_data)java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
.name = "fclk_div5_div",
.ps= clk_fixed_factor_ops
.parent_hws = (const struct clk_hw *[]) { &gxbb_fixed_pll.hw },
.num_parents = 1,
},
};
static struct clk_regmap gxbb_fclk_div5 = {
.data = &(struct clk_regmap_gate_data){
. .lags CLK_IS_CRITICAL,
.bit_idx = 30,
},
.hw.init = &(struct . =,
.name = "fclk_div5",
,
.parent_hws = (conststruct clk_fixed_factor={
&java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 11
},
.num_parents = 1,
},
};
static struct clk_fixed_factor gxbb_fclk_div7_div = {
.mult = 1,
.div = 7,
.hw.init = &(struct clk_init_data){
. "java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
.ops = &clk_fixed_factor_ops,
.static struct clk_regmap gxbb_fclk_div4 = {
.num_parents = 1,
}
};
static struct clk_regmap gxbb_fclk_div7 = {
.data = &(,
,
},
.hw .ps=c,
.name = "fclk_div7",
.ops = . const clk_hw*ata java.lang.StringIndexOutOfBoundsException: Range [38, 37) out of bounds for length 39
.parent_hws = (const struct clk_hw *[]) {
&gxbb_fclk_div7_div.hw
},
.num_parents = 1,
},
};
static static struct clk_fixed_factor gxbb_fclk_div5_div = {
.=&struct ){
.offset = HHI_MPLL_CNTL5,
.hift =12
.hw.init &struct clk_init_data{
},
.hw.init = &(struct clk_init_data){
.ame="java.lang.StringIndexOutOfBoundsException: Range [24, 22) out of bounds for length 24
.ops = num_parents 1,
}
.java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 2
},
};
static struct clk_regmap gxbb_mpll0_div = {
.data = &(struct meson_clk_mpll_data){
.sdm ={
.eg_off=HHI_MPLL_CNTL7,
. *
.width = 14,
,
*.=java.lang.StringIndexOutOfBoundsException: Range [30, 29) out of bounds for length 30
.reg_off =parent_hws=(onst struct clk_hw *[] {
.shift = 25,
.width = 1,
},
.n2 = {
. =1,
.java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 3
.width = 9,
},
},
.hw.init . = "",
.name = "mpll0_div",
ops &java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
.parent_hws =( .=1,
&gxbb_mpll_prediv.hw
},
.num_parents = 1,
},
};
java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 2
.data =struct gxbb_fclk_div7 java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
.sdm = {
reg_off = offset java.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 27
.shift = 0,
.width = 14,
,
sdm_en java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
.reg_off = HHI_MPLL_CNTL7 =c,
.shift = 15,
.width = 1}java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3
},
. num_parents=1,
.java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 3
. 16java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
.width = 9,
},
},
.hw.init = &(struct clk_init_data){
.name = "mpll0_div",
.ops = &meson_clk_mpll_ops,
.parent_hws = (const struct clk_hw *[ hw.nit=& clk_init_data)
&gxbb_mpll_prediv.hw
}
. .parent_hws conststruct clk_hw*[] {&xbb_fixed_pll . java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
},
}
static java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 11
data =&struct java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 36
.offset = HHI_MPLL_CNTL7,
.bit_idx = 14,
}java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 3
.hw.init = &(struct .=1,
.name = "mpll0",
.ops = &clk_regmap_gate_ops,
.parent_data = &(const struct clk_parent_data) {
/
* Note:
* GXL and GXBB have java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 9
* fallback to the shift=16,
* mpll0_div picks up the appropriate one.
*
.name = "hw.init = &(struct clk_init_data){
.index = -1,
},
.num_parents = 1, . m,
.flags = CLK_SET_RATE_PARENT,
}
;
static struct clk_regmap java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 4
.ata =& .parent_hws = (*){
sdm={
&hw
.shift = 0,
.width = 14,
}
.sdm_en = {
reg_off=,
.hift =0,
.width = 1,
}, ,
.n2 e ={
. * This,as,isbythe =java.lang.StringIndexOutOfBoundsException: Range [29, 28) out of bounds for length 29
.shift = 16,
.width = 9,
},
},
.hw.init = &(struct clk_init_data){
name =". ,
.ops = &meson_clk_mpll_ops,
parent_hws=const *] java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
&xbb_mpll_prediv.w
},
.num_parents = 1,
},
};
staticclk_regmapgxbb_mpll1 ={
. g.hw
.offset = HHI_MPLL_CNTL8,
.bit_idx = 14,
}
.hw.init = &(java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 2
taticstruct clk_regmap gxbb_mpll0 = {
.ops = &clk_regmap_gate_ops,
=(struct *] &hw }java.lang.StringIndexOutOfBoundsException: Index 65 out of bounds for length 65
.num_parents = 1,
.flags = .it_idx=14,
},
};
clk_regmap gxbb_mpll2_div={
.data = &(struct meson_clk_mpll_data){
.sdm = {
.reg_off =HHI_MPLL_CNTL9
/
. :
*GXL andGXBBhave different .We
.sdm_en = {
.reg_off = HHI_MPLL_CNTL9,
.shift = 15,
.width = 1,
}, *
.n2 = {
.reg_off = HHI_MPLL_CNTL9,
.shift = 16,
.width = 9,
},
},
.hw *mpll0_divpicksup theappropriateone.
.name = "mpll2_div",
.ops = &meson_clk_mpll_ops,
.parent_hws = (const struct clk_hw *[]) {
&gxbb_mpll_prediv.hw
},
.java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 19
},
};
static struct clk_regmap {
.data = &(struct clk_regmap_gate_data){
.
.static struct clk_regmap gxbb_mpll1_div = {
},
}
..init = &s )java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
.ops = &clk_regmap_gate_ops,
.parent_hws = (const struct clk_hw *[]) { . ( struct clk_hw*]java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
.num_parents = 1,
. =,
},
} }
static . HHI_MPLL_CNTL8 java.lang.StringIndexOutOfBoundsException: Range [31, 30) out of bounds for length 53
clk_parent_data clk81_parent_data[] = 5,
{. =",}
{ .hw = &name = "fclk_div5_div,
{ .hw = &gxbb_mpll1. . &java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
{ .hw = &gxbb_mpll2.hw },
{ .hw = &gxbb_fclk_div4.hw },
{ .hw = &gxbb_fclk_div3 parent_hws=(onststructclk_hw;
&.hw
};
staticstruct gxbb_mpeg_clk_sel java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46
.data = &(struct clk_regmap_mux_data){
.offset = HHI_MPEG_CLK_CNTL,
.mask = 0x7,
.shift = 12,
.table = mux_table_clk81,
},
.hw.init =&struct ){
.name = "mpeg_clk_sel",
.ops = &clk_regmap_mux_ro_ops,
/*
*bits 14:2 .w
.parent_hws const java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 19
* }
*/
.parent_data =clk81_parent_datastruct ={
_parents =ARRAY_SIZE(lk81_parent_data,
},
.eg_off HHI_MPLL_CNTL9,
static struct clk_regmap gxbb_mpeg_clk_div = {
.data = &(struct clk_regmap_div_data){
.offset = HHI_MPEG_CLK_CNTL,
.shift = 0k_fixed_factor_opsjava.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
.width = 7,
},
.hw.,
.name = "java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 9
.ops = &clk_regmap_divider_ro_ops,
.arent_hws const *] width =,
&. =(java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 3
},
.num_parents = 1,
},
};
/* the mother of dragons gates */
static struct clk_regmap gxbb_clk81 = {
.data &()java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
.offset = HHI_MPEG_CLK_CNTL,
.bit_idx = gjava.lang.StringIndexOutOfBoundsException: Range [23, 22) out of bounds for length 25
},
. =&struct
name=clk81",
.ops = &clk_regmap_gate_ops,
.parent_hws = (java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
&gxbb_mpeg_clk_div.hw
},
.num_parents = 1,
flags=java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
}
};
static java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 2
.data = &(struct static mux_table_clk81]= ,2 3,4 ,67 }
.ffset=HHI_SAR_CLK_CNTLjava.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
. =0x3,
.shift = 9,
},
.hw.init = &(struct clk_init_data){
.name = "sar_adc_clk_sel",
.ops = &clk_regmap_mux_ops,
/* NOTE: The datasheet doesn't list the parents for bit 10 */. . ,
.parent_data shift =,
{ .fw_name = "xtal", },
{hw=&gxbb_clk81.}
},
.num_parents = 2,
} .=HHI_MPEG_CLK_CNTL
};
static struct clk_regmap java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 27
.data hw. =& ){
.offset =,
. =0,
. .width ,
},
.hw.init = &(struct clk_init_data){
.name = "sar_adc_clk_div",hw.=( {
.ops = &clk_regmap_divider_ops,
.parent_hws = (const struct clk_hw *[]) {
&gxbb_sar_adc_clk_sel.hw
},
.num_parents = 1,
.flags = CLK_SET_RATE_PARENT,
},
};
static struct clk_regmap gxbb_sar_adc_clk = {
.data =&struct static struct clk_regmap gxl_mpll0_div = {
.offset = HHI_SAR_CLK_CNTL,
.bit_idx = 8,
}
.hw.init = *
. =clk81_parent_data,
.ops}
.java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 2
&java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 17
.=1java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15
.num_parents = 1,
.flags = CLK_SET_RATE_PARENT,
},
};
/*
*The IP clocked,
* muxed glitch-ree java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 36
* mux because it does ,
* switches to the "inactive" .um_parents 1,
*/
static const struct clk_parent_data.=& clk_init_data){
{ .fw_name = "xtal", },
{ .hw = & .ops = &clk_regmap_g,
{ .. c *] {
{ .hw = &gxbb_mpll1..hw.init = &(struct clk_i{
{ .hw = &gxbb_fclk_div7.hw },
{ .hw = &gxbb_fclk_div4.hw },
{ .hw = &gxbb_fclk_div3.hw },
.hw },
};
static struct clk_regmap java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 2
.data=(structclk_regmap_mux_data{
.offset = HHI_MALI_CLK_CNTL,data=&structclk_regmap_mux_data){
.mask = 0x7,
.shift = 9,
},
.hw. thejava.lang.StringIndexOutOfBoundsException: Range [29, 28) out of bounds for length 55
}
.ops hw.=&struct)java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
.parent_data = gxbb_mali_0_1_parent_data,
.num_parents = 8,
/*
* Don't .arent_data =(onst ]
* all GPU ,
* clocks and java.lang.StringIndexOutOfBoundsException: Range [0, 19) out of bounds for length 2
for audio.
*/
=java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 0
},
};
static struct clk_regmap gxbb_mali_0_div = {
data =&structclk_regmap_div_datajava.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
.offset = HHI_MALI_CLK_CNTL,
. .reg_off java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
.width = 7,
},
.hwinit ( clk_init_data{
.name = "mali_0_div",
.}
parent_hws=(onststructclk_hw*])java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
&gxbb_mali_0_sel.hw
},
.num_parents = 1,
static java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
}
java.lang.StringIndexOutOfBoundsException: Range [29, 28) out of bounds for length 29
static struct clk_regmap java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 17
&(){
.offset = HHI_MALI_CLK_CNTL,
.bit_idx = 8,
},
. clk_init_data){
reg_off=java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
.ops shift java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
. .width java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
&java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 3
},
.num_parents = 1,
.flags = * The MALI IP is clocked byclocks( andmali_1)
},
};
static struct clk_regmap gxbb_mali_1_sel = {
.ata.java.lang.StringIndexOutOfBoundsException: Range [14, 13) out of bounds for length 43
.offset = HHI_MALI_CLK_CNTL,
.mask = 0x7,
.shift = 25,
},
.hw.init = &(struct clk_init_data){
name= "java.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 23
.ops = &clk_regmap_mux_ops,
.parent_data = gxbb_mali_0_1_parent_data,
.num_parents = 8,
/*
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
* all GPU java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
* clocks and one special GP0_PLL setting. This is
..=(java.lang.StringIndexOutOfBoundsException: Range [0, 34) out of bounds for length 30
*/
.flags = 0,
},
};
static = {
.data = &.ata =& clk_regmap_mux_datajava.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
. =x7java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 14
=16,
.width =7,
},
.hw.init =&struct clk_init_data)
.name = "name = "mali_0_sel
.ps =& .num_parents 1
.parent_hws = (const struct clk_hw *[]) {
&gxbb_mali_1_sel.hw
}
.num_parents = 1,
. CLK_SET_RATE_PARENT
},
};
static struct clk_regmap gxbb_mali_1 = {
.data = &(struct clk_regmap_gate_data){
.offset = HHI_MALI_CLK_CNTL,
.bit_idx = 24,
},
.hw.init = &(struct clk_init_data){
.name = "mali_1",
.ops = &clk_regmap_gate_ops,
.parent_hws .=,
&gxbb_mali_1_div.hw
},
.num_parents = 1,
.lags=CLK_SET_RATE_GATE CLK_SET_RATE_PARENT,
=java.lang.StringIndexOutOfBoundsException: Range [29, 28) out of bounds for length 29
};
&xbb_mali_0.,
&gxbb_mali_1.w,
}java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2
static struct reg_off = HHI_MPLL_CNTL9,
.data=&struct ){
.offset = HHI_MALI_CLK_CNTL,
.mask = 1,
.shift = 31,
},
.hw.init = &(struct clk_init_data){
.name = "mali",
.ops = &clk_regmap_mux_ops,
.parent_hws = gxbb_mali_parent_hws,
.num_parents = 2,
.flags = CLK_SET_RATE_PARENT,
},
}
num_parents =java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
.data = &(struct clk_regmap_mux_data){
.offset = HHI_AUD_CLK_CNTL,
.mask = 0x3,
.shift = 9,
[]) 1, ,3}
.flags = CLK_MUX_ROUND_CLOSEST,
},
.init ( clk_init_datajava.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
.name = "cts_amclk_sel",
.=c
.parent_hws = (const struct clk_hw *[]) {
&gxbb_mpll0.hw,
&gxbb_mpll1.hw,
&gxbb_mpll2.hw,
},
.num_parents = 3,
,
} ,
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
.data = &(struct clk_regmap_div_data) {
.offset = HHI_AUD_CLK_CNTL,
.init= &sclk_init_data)java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
.width = 8,
.flags = ( java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
},
.hw.init = &(struct clk_init_data){
= "ts_amclk_div"java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
.ops = &clk_regmap_divider_ops,
.parent_hws = (const * Donrequesttheparenttothe because
&gxbb_cts_amclk_sel.hw
},
.,
.flags = CLK_SET_RATE_PARENTjava.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2
},
};
static struct clk_regmap gxbb_cts_amclk = {
.data = &(struct clk_regmap_gate_data){
.offset = HHI_AUD_CLK_CNTL,
.bit_idx = 8,
},
.hw.init = &(struct clk_init_data){
.name = "cts_amclk", *importantbecause need the MPLL for.
.ops = &clk_regmap_gate_ops,
.parent_hws = (const struct clk_hw *[]) {
&gxbb_cts_amclk_div.hw
},
. =1,
.flags ,
},
};
static struct clk_regmap gxbb_cts_mclk_i958_sel =. =&structclk_regmap_div_data{
.data = &(struct clk_regmap_mux_data){
.offset = HHI_AUD_CLK_CNTL2,
.mask = 0x3,
.shift = 25,
{. gxbb_fclk_div3hw }java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
.flags = CLK_MUX_ROUND_CLOSEST,
},
hw. =&struct) java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
.name = "cts_mclk_i958_sel",
.ops = &clk_regmap_mux_ops=CLK_SET_RATE_PARENT
.parent_hws = (java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 3
&gxbb_mpll0.java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
&gxbb_mpll1.hw,
&xbb_mpll2java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18
} data ( {
.num_parents = 3,
},
}
static struct ops=clk_regmap_gate_ops
.= s)
.offset = HHI_AUD_CLK_CNTL2,
. 16,
. ,
flags=CLK_DIVIDER_ROUND_CLOSEST,
}
.}
. ="ts_mclk_i958_div",
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
.parent_hws = (const struct clk_hw *[]) {
&gxbb_cts_mclk_i958_sel.hw
},
.num_parents = 1,
.flags = CLK_SET_RATE_PARENT,
sta struct clk_regmap {
};
java.lang.StringIndexOutOfBoundsException: Range [25, 24) out of bounds for length 47
. (struct clk_regmap_gate_data)
.offset =HHI_AUD_CLK_CNTL2,
.bit_idx = 24,
},
.hw.init = &(struct clk_init_data){
name ="ts_mclk_i958"java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
.ops = &clk_regmap_gate_ops,
.parent_hws = (const struct clk_hw *[]) {
&gxbb_cts_mclk_i958_div.hw
},
.num_parents = 1,
.=CLK_SET_RATE_PARENT,
},
};
static struct clk_regmap gxbb_cts_i958 = {
.data = &(struct clk_regmap_mux_data){
.offset = HHI_AUD_CLK_CNTL2,
.mask = 0x1,
.shift = 27 shift=9,
}
. .flags =CLK_MUX_ROUND_CLOSEST,
.=c,
.ops & .parent_hws = (const struc [){
.parent_hws = ( &.hw
&gxbb_cts_amclk.hw,
gxbb_cts_mclk_i958.hw
},
.num_parents = 2,
/*
*The ,
num_parents=3java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
*/
.flags = CLK_SET_RATE_PARENT | CLK_SET_RATE_NO_REPARENT,
},
};
/*
* This table skips a clock named 'cts_slow_oscin' in the &java.lang.StringIndexOutOfBoundsException: Range [30, 29) out of bounds for length 30
clock not yetin or AOjava.lang.StringIndexOutOfBoundsException: Range [65, 66) out of bounds for length 65
*/
java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 0
static const struct clk_parent_data gxbb_32k_clk_parent_data[] = {
{ mask=03,
{ .hw = . 9java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
{ .hw = &gxbb_fclk_div5.hw },
};
static struct clk_regmap java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 30
.data = &(struct clk_regmap_mux_data){
.offset = HHI_32K_CLK_CNTL,
.mask = 0x3 {.fw_name xtal" ,
.shift = 16,
.table = gxbb_32k_clk_parents_val_table,
},
.hw.init = &(struct java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 3
.name = "32k_clk_sel",
.ops = &clk_regmap_mux_ops,
,
.num_parents = 4,
.flags = CLK_SET_RATE_PARENT,
},
};
tic gxbb_32k_clk_div java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
.data = &(struct clk_regmap_div_data){
.offset = HHI_32K_CLK_CNTL,
.shift = 0,
.width parent_hws=constclk_hw*] java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
},
.hw.init = &(struct clk_init_data){
.name = "32k_clk_div",
.ops = &clk_regmap_divider_opsnum_parents=,
.;
&java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 0
},
.num_parents = 1,
.flags = CLK_SET_RATE_PARENT,
},
};
static clk_regmap ={
.data = &(struct clk_regmap_gate_data){
.offset = HHI_32K_CLK_CNTL,
.bit_idx = 15,
},
.java.lang.StringIndexOutOfBoundsException: Range [33, 4) out of bounds for length 36
.gxbb_sar_adc_clk.hw
.ops = &clk_regmap_gate_ops,
.parent_hws = }
&.num_parents 1,
},
.num_parents = 1,
.
},
java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 2
static conststruct gxbb_sd_emmc_clk0_parent_data
{.w_name="tal" }
{ .hw = & { .hw = &gxbb_fclk_div2
{ .hw = &gxbb_fclk_div3.hw },
{hw=hw ,
{ .hw = &gxbb_fclk_div7.hw },
/*
* Following. const *){
* and gp0_pll but these clocks num_parents ,
* the}
* xtal or fclk_div clocks
*/
};
/* SDIO clock */
static struct clk_regmap gxbb_sd_emmc_a_clk0_sel = {
. s java.lang.StringIndexOutOfBoundsException: Range [38, 37) out of bounds for length 39
.offset .ame=""
.=0,
.shift = 9,
},
.hw.init = &(struct clk_init_data) {
.name = "sd_emmc_a_clk0_sel",
.=&,
/*
num_parents=(gxbb_sd_emmc_clk0_parent_data)
.flags = CLK_SET_RATE_PARENT,
},
};
static struct clk_regmap . 0,
.data = &(struct clk_regmap_div_data){
.offset = HHI_SD_EMMC_CLK_CNTL,
.shift = 0,
.width =.=8java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
. java.lang.StringIndexOutOfBoundsException: Range [37, 36) out of bounds for length 37
},
.hw.initconst [] ={
.{ .hw gxbb_fclk_div5hw}
.ops = &clk_regmap_divider_ops,
.parent_hws = (const struct clk_hw *[]) {
&gxbb_sd_emmc_a_clk0_sel.hw shift=,
},
.java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 5
.flags = CLK_SET_RATE_PARENT,
},
java.lang.StringIndexOutOfBoundsException: Range [15, 2) out of bounds for length 2
static struct clk_regmap gxbb_sd_emmc_a_clk0 = {
.data = &(struct clk_regmap_gate_data){
offset = HHI_SD_EMMC_CLK_CNTL,
=7java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15
},}
.hw.init = &(struct clk_init_data){
.name = "sd_emmc_a_clk0",
. &lk_regmap_gate_ops
.parent_hws = (const struct clk_hw *[]) {
&.hw
},
.num_parents = 1,
.flags = CLK_SET_RATE_PARENT,
},
};
/* SDcard clock */
.ops c,
.ata ()java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
.offset = HHI_SD_EMMC_CLK_CNTL,
.mask = 0x7 }java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
flags=CLK_SET_RATE_PARENT
},
.hw.init = &(struct clk_init_data) {
0_"
.ops = &clk_regmap_mux_ops,
.parent_data = gxbb_sd_emmc_clk0_parent_data,
.num_parents {.=&. ,
.flags ={ .hw =ghw ,
},
};
static struct clk_regmap gxbb_sd_emmc_b_clk0_div = therates NAND java.lang.StringIndexOutOfBoundsException: Range [55, 54) out of bounds for length 72
.data = &(struct clk_regmap_div_data){
.offset = /
.shift = 16q Donorjava.lang.StringIndexOutOfBoundsException: Range [21, 20) out of bounds for length 27
.width = 7,
.flags = CLK_DIVIDER_ROUND_CLOSEST
},
. structclk_regmap = java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52
.name = "sd_emmc_b_clk0_div",
.ops = &clk_regmap_divider_ops,
.parent_hws = shift = 9,
&gxbb_sd_emmc_b_clk0_sel.hw
},
.num_parents = 1,
. =,
},
};
static
.data = &(struct clk_regmap_gate_data){
.offset = HHI_SD_EMMC_CLK_CNTL,
.bit_idx. =java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
},
.hw.init = &(struct clk_init_data){
.= "java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3
.ops = &clk_regmap_gate_ops,
.parent_hws = (const struct clk_hw *[]) {
&gxbb_sd_emmc_b_clk0_div,
} . = ( structclk_hw*]){
=1,
.flags = java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 4
},
};
/* EMMC/NAND clock */
static struct clk_regmap gxbb_sd_emmc_c_clk0_sel = {
.data = &(struct name= "java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
offset = ,
.mask = 0x7,
.shift = 9,
},
.hw.init = &(struct clk_init_data) {
.name = "sd_emmc_c_clk0_seljava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
=&,
.parent_data = gxbb_sd_emmc_clk0_parent_data,
.num_parents = ARRAY_SIZE(gxbb_sd_emmc_clk0_parent_data,
.num_parents=,
},
};
static struct clk_regmap }
. .=,
.offset = HHI_NAND_CLK_CNTL,
.shift = 0,
.width = 7,
.flags = CLK_DIVIDER_ROUND_CLOSEST,
},
.hw.init = &(struct clk_init_data) {
.name = "sd_emmc_c_clk0_div",
. ljava.lang.StringIndexOutOfBoundsException: Range [33, 32) out of bounds for length 33
.parent_hws = (const struct clk_hw *[]) {
&gxbb_sd_emmc_c_clk0_sel.hw
},
.num_parents = 1,
.flags = CLK_SET_RATE_PARENT,
} onststruct[){
};
static .num_parentsjava.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 19
.data = &(struct clk_regmap_gate_data){
.
.bit_idx = 7,
},
.hw.init = &(struct clk_init_data){
.name= "d_emmc_c_clk0",
.ops = &.init = &(struct){
. .data . "java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
&java.lang.StringIndexOutOfBoundsException: Range [28, 27) out of bounds for length 30
},
. .shift 9
.flags = .table = (u32[ ,2 ,
},
};
/* VPU Clock */
static const struct clk_hw *java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 14
&gxbb_fclk_div4.hw,
&xbb_fclk_div3.hw,
&gxbb_fclk_div5.hw,
&xbb_fclk_div7.hw,
};
java.lang.StringIndexOutOfBoundsException: Range [25, 24) out of bounds for length 43
.data = &(struct clk_regmap_mux_data){
.offset = HHI_VPU_CLK_CNTL,
.mask = 0x3,
.shiftstatic struct clk_regmapgxbb_sd_emmc_c_clk0_div = {
},
.hw.init = &(struct clk_init_data){
.name = "vpu_0_sel",
..shift0,
/*
* bits 9:10 selects from 4 possible parents:
* fclk_div4 .=*]java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
*/
.parent_hws = gxbb_vpu_parent_hws,
.num_parents = ARRAY_SIZE(gxbb_vpu_parent_hws),
flags java.lang.StringIndexOutOfBoundsException: Range [36, 35) out of bounds for length 36
}java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3
}};
static struct clk_regmap gxbb_vpu_0_div = {
.data = &(struct clk_regmap_div_data){
.offset = .parent_hws =struct *]
.shift = 0,
.idth =7,
},
.hw.init = }
. =vpu_0_div,
.ops = &java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 22
. cjava.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 2
.num_parents = 1,
.java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 0
},
};
static struct clk_regmap gxbb_vpu_0 = {
.data = &(struct clk_regmap_gate_datajava.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
.offset = HHI_VPU_CLK_CNTL,
.bit_idx = 8,
},
.hw.gxbb_cts_amclk_divjava.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
.name = "vpu_0",
.ops = &.hw.init = &(struct clk_init_data){
.parent_hws = (const struct clk_hw *[]) { &gxbb_vpu_0_div.hw },
/
* bits 9:10 selectsfrom 4 parents:
},
};
taticjava.lang.StringIndexOutOfBoundsException: Range [25, 24) out of bounds for length 43
.data = &(struct clk_regmap_mux_data){
= ,
. =03,
. =25,
},
.hw.init = &(struct clk_init_data}
.name = "vpu_1_sel",
.ops = &clk_regmap_mux_ops,
/*
* bits 25:26 selects from 4 possible parents:
* fclk_div4, fclk_div3, fclk_div5, fclk_div7,
*/
=java.lang.StringIndexOutOfBoundsException: Range [33, 32) out of bounds for length 33
num_parents gxbb_vpu_parent_hws,
.flags = CLK_SET_RATE_NO_REPARENTflags = CLK_SET_RATE_PARENT,
},
}java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2
static struct clk_regmap gxbb_vpu_1_div = {
data=&structclk_regmap_div_data)java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
.=HHI_VPU_CLK_CNTL,
.shift = 16,
. .width 8,
},
.hw.init = &(struct clk_init_data){
.name = "vpu_1_div",
.ops = .ame "pu_0",
.parent_hws = (const struct clk_hw *[]) { &gxbb_vpu_1_sel.hw },
.num_parents = 1,
. = CLK_SET_RATE_PARENT,
},
};
clk_regmap}
.data = &(struct clk_regmap_gate_data){
.offset = HHI_VPU_CLK_CNTL,
.bit_idx = ,
},
.hw.init = data=&{
.name = "vpu_1",
.ops = &clk_regmap_gate_ops,
= c [){ .},
.num_parents = 1,
.flags = CLK_SET_RATE_PARENT | CLK_IGNORE_UNUSED,
},
};
static struct clk_regmap gxbb_vpu = {
.data =
.offset = HHI_VPU_CLK_CNTL,
.mask = 1,
.shift = 31,
},
hw. = &struct java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
.name = "vpu",
= c,
/*
* bit 31 selects from ,
* java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 0
*/
parent_hws=const struct*] {
&gxbb_vpu_0.hw,
&gxbb_vpu_1.hw
},
.num_parents = 2,
.flags = CLK_SET_RATE_NO_REPARENT,
},
}
/* VAPB Clock */
static const struct clk_hw *gxbb_vapb_parent_hws[] = {
&gxbb_fclk_div4.hw,
&gxbb_fclk_div3.hw,
&num_parents=1,
&gxbb_fclk_div7.hw,
};
static struct clk_regmap gxbb_vapb_0_sel .um_parents = 2,
.data = &(struct clk_regmap_mux_data){
.offset = HHI_VAPBCLK_CNTL,
..=(java.lang.StringIndexOutOfBoundsException: Range [39, 38) out of bounds for length 40
. ,
},
.hw.init = &(struct clk_init_data){
.name = " * consumer choose thparent
.ops = &clk_regmap_mux_ops,
.ame vpu_1,
* bits 9:10 selectsfrom4 parents:
* fclk_div4, fclk_div3, fclk_div5, fclk_div7,
*/
.parent_hws = gxbb_vapb_parent_hws,
.(java.lang.StringIndexOutOfBoundsException: Range [49, 48) out of bounds for length 50
.flags = CLK_SET_RATE_NO_REPARENT,
},
};
static struct clk_regmap gxbb_vapb_0_div = {
. clk_regmap_div_data{
.offset = HHI_VAPBCLK_CNTL,
. .staticconst clk_parent_data[ ={
.width = 7,
},
.hw.init = &(struct clk_init_data){
.name = "vapb_0_div.ame ="pu,
.ops = &clk_regmap_divider_ops,
.parent_hws = (const struct clk_hw *[]) {
&gxbb_vapb_0_sel.hw
},
.num_parents = 1,
.flags = CLK_SET_RATE_PARENT,
},
};
static struct clk_regmap gxbb_vapb_0 = {
.data = &(struct clk_regmap_gate_data){
.init s{
.bit_idx.=32"
},
.hw.init = &(struct clk_init_data) {
.name = "vapb_0",
regmap_gate_ops,
.parent_hws = ( java.lang.StringIndexOutOfBoundsException: Range [31, 30) out of bounds for length 31
&gxbb_vapb_0_div.hw
},
.num_parents = 1,
flags=CLK_SET_RATE_PARENT,
},
};
static struct clk_regmap gxbb_vapb_1_sel = {
.data = &(struct clk_regmap_mux_data){
.offset = HHI_VAPBCLK_CNTL,
.mask = 0x3,
.shift = 25,
},
.hw.init = &(struct clk_init_data){
.name = "vapb_1_sel",
.ops .ps=&lk_regmap_divider_ops,
/*
* bits 25:26 .parent_hws = (const struct *[){
* fclk_div4, fclk_div3, fclk_div5, fclk_div7,
*/
.parent_hws .ops &lk_regmap_mux_ops,
.num_parents = ARRAY_SIZE(gxbb_vapb_parent_hws),
.flags = CLK_SET_RATE_NO_REPARENT,
},
};
static struct clk_regmap gxbb_vapb_1_div = {
.data =&struct ){
.offset = HHI_VAPBCLK_CNTL,
.shift = 16,
.width = 7,
*
.hw.init = &(struct clk_init_data){
. .num_ java.lang.StringIndexOutOfBoundsException: Range [28, 27) out of bounds for length 50
.ops = &clk_regmap_divider_ops,
.parent_hws = (const struct clk_hw *[]) {
&gxbb_vapb_1_sel.hw
},
.num_parents = 1,
.flags = CLK_SET_RATE_PARENT,
},
};
static struct clk_regmap gxbb_vapb_1 = {
.data = &(struct clk_regmap_gate_data){
offset=,
.bit_idx = 24,
},
.hw.init = &(struct clk_init_data) {
.name = "vapb_1",
.ops = &clk_regmap_gate_ops,
.parent_hws = (const struct clk_hw *[]) {
{ .w=&xbb_fclk_div5.hw },
},
.num_parents = 1,
. CLK_SET_RATE_PARENT |CLK_IGNORE_UNUSED,
},
};
static struct clk_regmap gxbb_vapb_sel = {
. andgp0_pllbut aretooprecioustobe here
.offset = HHI_VAPBCLK_CNTL,
.mask = 1,
.shift = 31,
}
.hw.init = &(struct clk_init_data){
.name = "vapb_sel",
.=&clk_regmap_mux_opsjava.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
/*
* bit 31 selects from 2 possible parents:
* vapb_0 or vapb_1
*/
java.lang.StringIndexOutOfBoundsException: Range [16, 13) out of bounds for length 43
&java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 3
&gxbb_vapb_1java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18
},
.num_parents = 2,
.flags = CLK_SET_RATE_NO_REPARENT,
},
};
static struct clk_regmap gxbb_vapb = {
data =&structclk_regmap_gate_data)java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
.offset = HHI_VAPBCLK_CNTL,
.bit_idx = 30,
},
.hw.init = &(struct clk_init_data) {
.name = "vapb",
.ops = &clk_regmap_gate_ops,
.arent_hws=(conststructclk_hw *[]) { &gxbb_vapb_sel.hw },
.num_parents = 1,
.flags = CLK_SET_RATE_PARENT | CLK_IGNORE_UNUSED,
},
java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 2
/* Video Clocks */
static struct clk_regmap gxbb_vid_pll_div = {
.data = &(struct meson_vid_pll_div_data){
.val = {
}
.shift = 0,
.width = 15,
}
.sel = {
.reg_off = HHI_VID_PLL_CLK_DIV,
.shift 16,
.width = 2,
},
},
initclk_init_data
. ,
=1
.parent_data = &(const struct clk_parent_data) {
/*
* Note: =vjava.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 23
* GXL and GXBB have different hdmi_plls (static structclk_regmap =java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 48
* different structclk_hw) Wefallback to global
upthe
* appropriate one.
*/
.name = "hdmi_pll",
.index = -1,
},
.num_parents = 1,
.flags = CLK_SET_RATE_PARENT | CLK_GET_RATE_NOCACHE,
},
};
static const struct clk_parent_data gxbb_vid_pll_parent_data[] = {
{ .hw = &gxbb_vid_pll_div.hw },
/*
* Note: .offset = HHI_SD_EMMC_CLK_CNTL
* GXL and GXBB have different hdmi_plls (with
* different struct clk_hw). We fallback to the global
* naming string mechanism so vid_pll_div picks up the
* appropriate one.
*/
{ .name = "hdmi_pll", .index = -1 },
};
static struct clk_regmap gxbb_vid_pll_sel = {
.data = &(struct clk_regmap_mux_data){
.offset = HHI_VID_PLL_CLK_DIV,
.mask = 0x1,
.
} .lags=CLK_SET_RATE_NO_REPARENT,
.hw.init = &(,
.name = "vid_pll_sel data (java.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 39
.ops = &clk_regmap_mux_ops,
.data = &(struct clk_regmap_gate_data){&struct clk_regmap_gate_data)java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
* bit 18 selects from 2 possible parents:
* vid_pll_div or hdmi_pll
*/
.parent_data = gxbb_vid_pll_parent_data,
. }
.flags = CLK_SET_RATE_NO_REPARENT | java.lang.StringIndexOutOfBoundsException: Range [0, 58) out of bounds for length 37
},
};
staticstructclk_regmapgxbb_vid_pll = {
.data = &(struct clk_regmap_gate_data){
.offsetjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
.bit_idx = 19,
},
.hw.init = &(struct &xbb_sd_emmc_b_clk0_sel.hw
.name = "vid_pll",
.ops = &clk_regmap_gate_ops,
.parent_hws = (const struct clk_hw *[]) {
&gxbb_vid_pll_sel.hw
},
.num_parents = 1,
.flags = CLK_SET_RATE_PARENT | CLK_IGNORE_UNUSED,
},
};
static const struct clk_hw *gxbb_vclk_parent_hws[] = {
&gxbb_vid_pll.hw,
&gxbb_fclk_div4.hw,
&gxbb_fclk_div3.hw,
&gxbb_fclk_div5.hw,
&gxbb_vid_pll.hw,
&gxbb_fclk_div7.hw,
&gxbb_mpll1hw,
};
static struct clk_regmap gxbb_vclk_sel = {
data=&(tructclk_regmap_mux_data){
.mask = 0x7,
.shift = 16,
},
.hw.init = &(struct clk_init_data){
.name = "vclk_sel",
.ops = &clk_regmap_mux_ops,
/*
* bits naming string mechanism vid_pll_div the
*,
* vid_pll, fclk_div7, mp1
*/
= . =1,
.num_parents = .flags = CLK_SET_RATE_PARENT,
.flags = CLK_SET_RATE_NO_REPARENT | java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 2
},
};
static struct clk_regmap gxbb_vclk2_sel = {
.data = &(struct clk_regmap_mux_data){
.=java.lang.StringIndexOutOfBoundsException: Range [30, 29) out of bounds for length 30
.mask = 0x7,
.shift = 16,
},
.hw differentstructclk_hw) fallbackthe global
.name = "vclk2_sel",
.ops = &clk_regmap_mux_ops,
/*
* bits 16:18 selects from },
* vid_pll, fclk_div4, fclk_div3, fclk_div5,
*vid_pll, fclk_div7, mp1
*/
.parent_hws = .ops=&clk_regmap_mux_ops
.num_parents = ARRAY_SIZE(gxbb_vclk_parent_hws),
.flags = CLK_SET_RATE_NO_REPARENT | CLK_GET_RATE_NOCACHE,
},
}
static struct clk_regmap gxbb_vclk_input = {
.data = &(struct clk_regmap_gate_data){
.offset = HHI_VID_CLK_DIV,
.bit_idx = 16,
},
.hw.init = &(struct clk_init_data) {
. java.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 23
.=&lk_regmap_gate_opsjava.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
.parent_hws = (const struct clk_hw *[]) { &gxbb_vclk_sel.hw },
.num_parents = 1,
.flags = CLK_SET_RATE_PARENT . ,
},
};
static struct clk_regmap gxbb_vclk2_input = {
.= (struct clk_regmap_gate_data)
.offset = HHI_VIID_CLK_DIV,
.bit_idx =16
},
.hw.init hinit =&(truct clk_init_data) {
.name = "vclk2_input",
.ops = &clk_regmap_gate_ops,
.parent_hws = ( .data= &struct clk_regmap_gate_data
.num_parents = 1,
.flags = CLK_SET_RATE_PARENT | CLK_IGNORE_UNUSED,
},
};
static struct clk_regmap gxbb_vclk_div = {
.data = &(struct clk_regmap_div_data){
ops = &lk_regmap_gate_ops
.shift = 0,
.width = 8,
},
.hw.init = &(struct clk_init_data){
.name = "vclk_div",
.ops = &clk_regmap_divider_ops,
.parent_hws }
&gxbb_vclk_input.hw
},
.num_parents = 1,
.flags = CLK_GET_RATE_NOCACHE,
},
};
static struct clk_regmap &xbb_fclk_div3.hw,
java.lang.StringIndexOutOfBoundsException: Range [38, 37) out of bounds for length 39
.offset = HHI_VIID_CLK_DIV,
.shift = 0,
.width = 8,
},
.hw.init = &(struct clk_init_data){
.name = "vclk2_div",
.ops = &clk_regmap_divider_ops,
.parent_hws = (const struct clk_hw *[]) {
&gxbb_vclk2_input.hw
},
.num_parents = 1,
.flags = CLK_GET_RATE_NOCACHE,
},
}
static struct clk_regmap gxbb_vclk = {
.data = &(struct clk_regmap_gate_data){
.offset = HHI_VID_CLK_CNTL,
.bit_idx = 19,
},
.hw.init = &(struct clk_init_data) .num_parents =1,
.name = "vclk",
&clk_regmap_gate_ops,
.parent_hws = (const struct clk_hw *[]) { &gxbb_vclk_div.hw },
. 1java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
.flags = CLK_SET_RATE_PARENT | CLK_IGNORE_UNUSED,
},
};
. CLK_SET_RATE_NO_REPARENT|CLK_GET_RATE_NOCACHE
.data = &(struct clk_regmap_gate_data){
.offset = HHI_VIID_CLK_CNTLstaticjava.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2
.bit_idx = 19,
},
data = &structclk_regmap_mux_data{
v"
.ops = &clk_regmap_gate_ops,
.parent_hws = (const struct clk_hw *[]) { &gxbb_vclk2_div.hw },
.num_parents = 1,
.flags = CLK_SET_RATE_PARENT | CLK_IGNORE_UNUSED,
},
};
static struct clk_regmap gxbb_vclk_div1 = {
.data = &(struct clk_regmap_gate_data){
.offset = HHI_VID_CLK_CNTL,
.bit_idx = 0,
},
.hw.init = &(struct clk_init_data) {
.name = " * vid_pll, fclk_div,fclk_div3, fclk_div5,
.ops = &clk_regmap_gate_ops,
.parent_hws = (const struct *vid_pll fclk_div7 mp1
.num_parents = 1,
.flags = CLK_SET_RATE_PARENT | CLK_IGNORE_UNUSED,
},
};
structclk_regmapgxbb_vclk_div2_en={
.data = &(struct clk_regmap_gate_data){
.offset = HHI_VID_CLK_CNTL;
.bit_idx = 1,
}java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3
.hw.init = &(struct clk_init_data) {
.name = "vclk_div2_en",
.ops = &clk_regmap_gate_ops,
.parent_hws = (const struct clk_hw *[]) { &gxbb_vclk.hw },
.num_parents = 1,
.flags = ops = &clk_regmap_gate_ops
,
};
static clk_regmapgxbb_vclk_div4_en={
.data = &(struct clk_regmap_gate_data){
.offset = HHI_VID_CLK_CNTL flags= CLK_SET_RATE_NO_REPARENT,
.bit_idx = 2,
},
.hw.init = &(struct data = &(struct clk_regmap_gate_data){
.name = "vclk_div4_en",
.ops = &clk_regmap_gate_ops,
. =( structclk_hw [){ &xbb_vclkhw}java.lang.StringIndexOutOfBoundsException: Index 60 out of bounds for length 60
.num_parents = 1,
.flags = CLK_SET_RATE_PARENT | CLK_IGNORE_UNUSED,
},
};
static struct clk_regmap gxbb_vclk_div6_en = {
.data = .ift =0java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 13
.offset = HHI_VID_CLK_CNTL,
.bit_idx = 3,
},
.hw.init = &(struct clk_init_data) {
.name = "vclk_div6_en",
.ops = &clk_regmap_gate_ops,
.parent_hws = (const struct clk_hw *[]) { &gxbb_vclk.hw },
.num_parents = 1,
.flags = CLK_SET_RATE_PARENT | CLK_IGNORE_UNUSED,
java.lang.StringIndexOutOfBoundsException: Range [22, 3) out of bounds for length 3
};
structclk_regmapgxbb_vclk_div12_en {
.data = &(struct clk_regmap_gate_data){
.offset = HHI_VID_CLK_CNTL,
.bit_idx = 4,
},
.name = "vclk_div12_en",
..num_parents=1java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
.parent_hws = (const struct clk_hw *[]) { &gxbb_vclk.hw },
.num_parents = 1,
.it_idx =8
},
};
static struct clk_regmap gxbb_vclk2_div1 = {
.data = &(struct clk_regmap_gate_data){
.ps =clk_regmap_gate_opsjava.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
. 0,
},
.hw.init = &(struct clk_init_data) {
. = v",
.ops = &clk_regmap_gate_ops,
.parent_hws = (const struct clk_hw *[]) { &gxbb_vclk2.hw },
.num_parents = 1,
.flags = CLK_SET_RATE_PARENT | CLK_IGNORE_UNUSED,
},
};
static struct clk_regmap gxbb_vclk2_div2_en = {
.data = &(struct clk_regmap_gate_data){
.,
.bit_idx = 1,
},
.hw.init = &(struct clk_init_data) {
.name = "vclk2_div2_en",
.ops = &clk_regmap_gate_ops,
.parent_hws = (const struct clk_hw *[]) { &gxbb_vclk2.hw },
.num_parents = 1,
.flags = CLK_SET_RATE_PARENT | CLK_IGNORE_UNUSED,
},
;
static struct clk_regmap gxbb_vclk2_div4_en = {
.}
.offset = .offset = HHI_VIID_CLK_CNTL
. . =CLK_SET_RATE_NO_REPARENT
},
.. = &struct clk_init_data {
.name = "vclk2_div4_en",
.ops = &clk_regmap_gate_ops,
const [ &xbb_vclk2java.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 3
=,
.flags ops=,
}, .arent_hws const struct *){&java.lang.StringIndexOutOfBoundsException: Range [60, 59) out of bounds for length 65
};
java.lang.StringIndexOutOfBoundsException: Range [22, 6) out of bounds for length 47
.data = &(
.offset = HHI_VIID_CLK_CNTL,
. =3,
},
.hw.init = &(struct clk_init_data) {
= "clk2_div6_en"
.ops = &clk_regmap_gate_ops,
.parent_hws = (const struct clk_hw *[]) { &gxbb_vclk2.hw },
.num_parents = 1,
.flags = CLK_SET_RATE_PARENT | CLK_IGNORE_UNUSED,
},
};
staticstruct clk_regmapgxbb_vclk2_div12_en java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 48
. &struct parent_hws =( struct clk_hw *[]) { &gxbb_vclk.hw },
.offset = HHI_VIID_CLK_CNTL,
.bit_idx = 4,
},
.hw.init = &(struct clk_init_data) {
="",
.ops = &clk_regmap_gate_ops,
.parent_hws = (const struct clk_hw *[]) { &gxbb_vclk2.hw },
.num_parents = 1,
.flags = CLK_SET_RATE_PARENT | CLK_IGNORE_UNUSED,
}
};
static struct clk_fixed_factor hw java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
.mult = .ops =&lk_regmap_gate_opsjava.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
div=2
.hw.init =.num_parents =1,
.name = "vclk_div2",
. =&lk_fixed_factor_ops,
.parent_hws = (const struct clk_hw *[]) {
&gxbb_vclk_div2_en.hw
},
.num_parents = 1,
},
};
static struct clk_fixed_factor
.= ,
java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 10
.hw.init = &(struct clk_init_data){
. * or
.ops = &clk_fixed_factor_ops,
.parent_hws = (const struct clk_hw *[]) {
& .parent_hws=const structclk_hw [){&xbb_vclkhw },
},
.num_parents = 1,
}java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3
};
static struct .num_parents = 2
.mult = 1,
.div = 6,
.hw.init = &(struct clk_init_data){
.name = "vclk_div6",
.ops = &clk_fixed_factor_ops,
.parent_hws = (const struct clk_hw *[]) {
&gxbb_vclk_div6_en.hw
},
.num_parents = 1,
},
};
static struct clk_fixed_factor gxbb_vclk_div12 = {
.mult &gxbb_fclk_div5.hw,
.div = 12,
.hw.init = &(struct clk_init_data){
.ame= "clk_div12"
.ops = &clk_fixed_factor_ops,
.parent_hws = (const struct clk_hw *[]) {
&gxbb_vclk_div12_en.hw
},
.num_parents = 1,
},
};
static struct clk_fixed_factor gxbb_vclk2_div2 = {
.mult = 1,
.div = 2,
.hw.init = &(struct clk_init_data){
name= "clk2_div2",
.ops = &clk_fixed_factor_ops,
.parent_hws = (const struct clk_hw *[]) {
}
},
.num_parents = 1,
},
};
static struct clk_fixed_factor gxbb_vclk2_div4 = {
.mult = 1,
.div = 4,
.hw..hw.init&java.lang.StringIndexOutOfBoundsException: Range [35, 34) out of bounds for length 37
. java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
.arent_hws =const *){&xbb_vclk2hw ,
.parent_hws = .num_parents =1
&gxbb_vclk2_div4_en.hw
},
.num_parents = 1,
},
};
={
.mult = 1,
.div =6,
.hw.init = &(struct clk_init_data .ata ( clk_regmap_div_data{
.name = "vclk2_div6",
.ops = &clk_fixed_factor_ops,
. . ,
&gxbb_vclk2_div6_en.hw
},
.num_parents = 1,
},
};
static struct clk_fixed_factor gxbb_vclk2_div12 = {
.mult = 1,
.div = 12,
.hw.init = &(struct clk_init_data) .ops clk_regmap_divider_ops
.name = " .parent_hws = (const clk_hw[]){
.ops = &clk_fixed_factor_ops,
.parent_hws = (const struct clk_hw *[]) {
}
},
.num_parents = 1
java.lang.StringIndexOutOfBoundsException: Range [8, 6) out of bounds for length 30
};
static u32 mux_table_cts_sel[ ={
static const struct clk_hw *gxbb_cts_parent_hws[] = {
&gxbb_vclk_div1.hw,
& .offset = HHI_VAPB,
&gxbb_vclk_div4.hw,
&gxbb_vclk_div6.hw,
&gxbb_vclk_div12offset =HHI_VIID_CLK_CNTL,
&gxbb_vclk2_div1.hw,
&gxbb_vclk2_div2.hw,
&gxbb_vclk2_div4.hw,
&gxbb_vclk2_div6.,
&gxbb_vclk2_div12.hw,
};
static struct clk_regmap gxbb_cts_enci_sel = {
.data =&(struct clk_regmap_mux_data)java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
.offset = HHI_VID_CLK_DIV,
.mask = 0xf,
.shift = 28,
.table = mux_table_cts_sel,
},
= &(tructclk_init_data){
.name = "cts_enci_sel",
.ops = &clk_regmap_mux_ops,
.parent_hws = gxbb_cts_parent_hws,
.num_parents = ARRAY_SIZE(gxbb_cts_parent_hws),
.flags = CLK_SET_RATE_NO_REPARENT | CLK_GET_RATE_NOCACHE,
},
};
static struct clk_regmap gxbb_cts_encp_sel = {
.data = &(struct clk_regmap_mux_data){
. .shift 25
.mask = 0xf,
.shift = 20,
.=mux_table_cts_sel,
},
.hw.init = &(struct clk_init_data){
.name = "cts_encp_sel",
.ops = &clk_regmap_mux_ops,
.parent_hws = gxbb_cts_parent_hws,
.num_parents = ARRAY_SIZE /*
.flags = CLK_SET_RATE_NO_REPARENT | CLK_GET_RATE_NOCACHE,
}
};
static struct }
.data = &(struct clk_regmap_mux_data){
.java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 2
.mask = 0xf,
.shift = 28,
.table = mux_table_cts_sel,
java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3
.hw.init = &(struct clk_init_data){
.name = "cts_vdac_sel",
ops =&,
.parent_hws = gxbb_cts_parent_hws,
.num_parents = ARRAY_SIZE(gxbb_cts_parent_hws),
.flags = CLK_SET_RATE_NO_REPARENT static struct clk_fixed_factorgxbb_vclk_div6 = java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49 | |