Kerneldoc fixes and some new rk3368 clock ids related to
camera input. -----BEGIN PGP SIGNATURE----- iQFEBAABCAAuFiEE7v+35S2Q1vLNA3Lx86Z5yZzRHYEFAmAd3ewQHGhlaWtvQHNu dGVjaC5kZQAKCRDzpnnJnNEdgYlCCACfnGf3sPUvfpNy55dqrplXdxY+VvlkGUyz Qpc5amZsubJLAN2JJ+EcnYMPPfeV0e24i3CPr4ICRCBAVvcGoy5aBf6Qq7Nd46ia OVEOrBSrnGrrM2cNVTchkB68qBHtmVyjyRBdJvBm5emSnLnhc93ERZ6MlOTlR3XF JUI+ramYaOHxkvWNTH06Kqd/B5YnCxYIyGoK6Sk4eft4fGBuHJ/tVrgYjSihYe4P qYHMaaVzwiPz36wQATde4Wp2kH1QQ6pWNaGQZ1o2h8/PQYW8RaBUPBDVZuRveFoZ xNPpPK6Z5eNaktb5MrPpaI+jaQc4m+a3KW8RhE+0EtmKXmUb2rj6 =cnsi -----END PGP SIGNATURE----- Merge tag 'v5.12-rockchip-clk1' of git://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip into clk-rockchip Pull Rockchip clk driver updates from Heiko Stuebner: - Kerneldoc fixes - some new rk3368 clock ids related to camera input * tag 'v5.12-rockchip-clk1' of git://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip: clk: rockchip: fix DPHY gate locations on rk3368 clk: rockchip: use clock id for SCLK_VIP_OUT on rk3368 clk: rockchip: add clock id for SCLK_VIP_OUT on rk3368 clk: rockchip: use clock ids for PCLK_DPHYRX and PCLK_DPHYTX0 on rk3368 clk: rockchip: add clock ids for PCLK_DPHYRX and PCLK_DPHYTX0 on rk3368 clk: rockchip: Demote non-conformant kernel-doc header in half-divider clk: rockchip: Demote kernel-doc abuses to standard comment blocks in plls clk: rockchip: Remove unused/undocumented struct members from clk-cpu clk: rockchip: Demote non-conformant kernel-doc headers in main clock code
This commit is contained in:
Коммит
b56e1cc423
|
@ -51,10 +51,6 @@
|
|||
*/
|
||||
struct rockchip_cpuclk {
|
||||
struct clk_hw hw;
|
||||
|
||||
struct clk_mux cpu_mux;
|
||||
const struct clk_ops *cpu_mux_ops;
|
||||
|
||||
struct clk *alt_parent;
|
||||
void __iomem *reg_base;
|
||||
struct notifier_block clk_nb;
|
||||
|
|
|
@ -145,7 +145,7 @@ static const struct clk_ops clk_half_divider_ops = {
|
|||
.set_rate = clk_half_divider_set_rate,
|
||||
};
|
||||
|
||||
/**
|
||||
/*
|
||||
* Register a clock branch.
|
||||
* Most clock branches have a form like
|
||||
*
|
||||
|
|
|
@ -97,7 +97,7 @@ static int rockchip_pll_wait_lock(struct rockchip_clk_pll *pll)
|
|||
return ret;
|
||||
}
|
||||
|
||||
/**
|
||||
/*
|
||||
* PLL used in RK3036
|
||||
*/
|
||||
|
||||
|
@ -358,7 +358,7 @@ static const struct clk_ops rockchip_rk3036_pll_clk_ops = {
|
|||
.init = rockchip_rk3036_pll_init,
|
||||
};
|
||||
|
||||
/**
|
||||
/*
|
||||
* PLL used in RK3066, RK3188 and RK3288
|
||||
*/
|
||||
|
||||
|
@ -577,7 +577,7 @@ static const struct clk_ops rockchip_rk3066_pll_clk_ops = {
|
|||
.init = rockchip_rk3066_pll_init,
|
||||
};
|
||||
|
||||
/**
|
||||
/*
|
||||
* PLL used in RK3399
|
||||
*/
|
||||
|
||||
|
|
|
@ -474,7 +474,7 @@ static struct rockchip_clk_branch rk3368_clk_branches[] __initdata = {
|
|||
COMPOSITE_NODIV(0, "vip_src", mux_pll_src_cpll_gpll_p, 0,
|
||||
RK3368_CLKSEL_CON(21), 15, 1, MFLAGS,
|
||||
RK3368_CLKGATE_CON(4), 5, GFLAGS),
|
||||
COMPOSITE_NOGATE(0, "sclk_vip_out", mux_vip_out_p, 0,
|
||||
COMPOSITE_NOGATE(SCLK_VIP_OUT, "sclk_vip_out", mux_vip_out_p, 0,
|
||||
RK3368_CLKSEL_CON(21), 14, 1, MFLAGS, 8, 5, DFLAGS),
|
||||
|
||||
COMPOSITE_NODIV(SCLK_EDP_24M, "sclk_edp_24m", mux_edp_24m_p, 0,
|
||||
|
@ -818,8 +818,8 @@ static struct rockchip_clk_branch rk3368_clk_branches[] __initdata = {
|
|||
* pclk_vio gates
|
||||
* pclk_vio comes from the exactly same source as hclk_vio
|
||||
*/
|
||||
GATE(0, "pclk_dphyrx", "hclk_vio", CLK_IGNORE_UNUSED, RK3368_CLKGATE_CON(14), 8, GFLAGS),
|
||||
GATE(0, "pclk_dphytx", "hclk_vio", CLK_IGNORE_UNUSED, RK3368_CLKGATE_CON(14), 8, GFLAGS),
|
||||
GATE(PCLK_DPHYRX, "pclk_dphyrx", "hclk_vio", CLK_IGNORE_UNUSED, RK3368_CLKGATE_CON(22), 11, GFLAGS),
|
||||
GATE(PCLK_DPHYTX0, "pclk_dphytx0", "hclk_vio", CLK_IGNORE_UNUSED, RK3368_CLKGATE_CON(22), 10, GFLAGS),
|
||||
|
||||
/* pclk_pd_pmu gates */
|
||||
GATE(PCLK_PMUGRF, "pclk_pmugrf", "pclk_pd_pmu", CLK_IGNORE_UNUSED, RK3368_CLKGATE_CON(23), 5, GFLAGS),
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
#include <linux/rational.h>
|
||||
#include "clk.h"
|
||||
|
||||
/**
|
||||
/*
|
||||
* Register a clock branch.
|
||||
* Most clock branches have a form like
|
||||
*
|
||||
|
@ -170,7 +170,7 @@ static int rockchip_clk_frac_notifier_cb(struct notifier_block *nb,
|
|||
return notifier_from_errno(ret);
|
||||
}
|
||||
|
||||
/**
|
||||
/*
|
||||
* fractional divider must set that denominator is 20 times larger than
|
||||
* numerator to generate precise clock frequency.
|
||||
*/
|
||||
|
|
|
@ -78,6 +78,7 @@
|
|||
#define SCLK_TIMER13 136
|
||||
#define SCLK_TIMER14 137
|
||||
#define SCLK_TIMER15 138
|
||||
#define SCLK_VIP_OUT 139
|
||||
|
||||
#define DCLK_VOP 190
|
||||
#define MCLK_CRYPTO 191
|
||||
|
@ -148,6 +149,8 @@
|
|||
#define PCLK_VIP 367
|
||||
#define PCLK_WDT 368
|
||||
#define PCLK_EFUSE256 369
|
||||
#define PCLK_DPHYRX 370
|
||||
#define PCLK_DPHYTX0 371
|
||||
|
||||
/* hclk gates */
|
||||
#define HCLK_SFC 448
|
||||
|
|
Загрузка…
Ссылка в новой задаче