Skip to content

Commit 2f8acf7

Browse files
committed
Merge tag 'v6.10-rockchip-clk1' of git://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip into clk-rockchip
Pull some small Rockchip clk driver updates from Heiko Stuebner: - A new PLL rate and missing mux on rk3568 - A missing reset line on rk3588 - Removal of an unused field in struct rockchip_mmc_clock * tag 'v6.10-rockchip-clk1' of git://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip: clk: rockchip: rk3568: Add PLL rate for 724 MHz clk: rockchip: Remove an unused field in struct rockchip_mmc_clock clk: rockchip: rk3588: Add reset line for HDMI Receiver clk: rockchip: rk3568: Add missing USB480M_PHY mux dt-bindings: reset: Define reset id used for HDMI Receiver dt-bindings: clock: rockchip: add USB480M_PHY mux
2 parents 4cece76 + f513991 commit 2f8acf7

File tree

5 files changed

+9
-1
lines changed

5 files changed

+9
-1
lines changed

drivers/clk/rockchip/clk-mmc-phase.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
struct rockchip_mmc_clock {
1515
struct clk_hw hw;
1616
void __iomem *reg;
17-
int id;
1817
int shift;
1918
int cached_phase;
2019
struct notifier_block clk_rate_change_nb;

drivers/clk/rockchip/clk-rk3568.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ static struct rockchip_pll_rate_table rk3568_pll_rates[] = {
6464
RK3036_PLL_RATE(912000000, 1, 76, 2, 1, 1, 0),
6565
RK3036_PLL_RATE(816000000, 1, 68, 2, 1, 1, 0),
6666
RK3036_PLL_RATE(800000000, 3, 200, 2, 1, 1, 0),
67+
RK3036_PLL_RATE(724000000, 3, 181, 2, 1, 1, 0),
6768
RK3036_PLL_RATE(700000000, 3, 350, 4, 1, 1, 0),
6869
RK3036_PLL_RATE(696000000, 1, 116, 4, 1, 1, 0),
6970
RK3036_PLL_RATE(600000000, 1, 100, 4, 1, 1, 0),
@@ -215,6 +216,7 @@ static const struct rockchip_cpuclk_reg_data rk3568_cpuclk_data = {
215216

216217
PNAME(mux_pll_p) = { "xin24m" };
217218
PNAME(mux_usb480m_p) = { "xin24m", "usb480m_phy", "clk_rtc_32k" };
219+
PNAME(mux_usb480m_phy_p) = { "clk_usbphy0_480m", "clk_usbphy1_480m"};
218220
PNAME(mux_armclk_p) = { "apll", "gpll" };
219221
PNAME(clk_i2s0_8ch_tx_p) = { "clk_i2s0_8ch_tx_src", "clk_i2s0_8ch_tx_frac", "i2s0_mclkin", "xin_osc0_half" };
220222
PNAME(clk_i2s0_8ch_rx_p) = { "clk_i2s0_8ch_rx_src", "clk_i2s0_8ch_rx_frac", "i2s0_mclkin", "xin_osc0_half" };
@@ -485,6 +487,9 @@ static struct rockchip_clk_branch rk3568_clk_branches[] __initdata = {
485487
MUX(USB480M, "usb480m", mux_usb480m_p, CLK_SET_RATE_PARENT,
486488
RK3568_MODE_CON0, 14, 2, MFLAGS),
487489

490+
MUX(USB480M_PHY, "usb480m_phy", mux_usb480m_phy_p, CLK_SET_RATE_PARENT,
491+
RK3568_MISC_CON2, 15, 1, MFLAGS),
492+
488493
/* PD_CORE */
489494
COMPOSITE(0, "sclk_core_src", apll_gpll_npll_p, CLK_IGNORE_UNUSED,
490495
RK3568_CLKSEL_CON(2), 8, 2, MFLAGS, 0, 4, DFLAGS | CLK_DIVIDER_READ_ONLY,

drivers/clk/rockchip/rst-rk3588.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -577,6 +577,7 @@ static const int rk3588_register_offset[] = {
577577

578578
/* SOFTRST_CON59 */
579579
RK3588_CRU_RESET_OFFSET(SRST_A_HDCP1_BIU, 59, 6),
580+
RK3588_CRU_RESET_OFFSET(SRST_A_HDMIRX_BIU, 59, 7),
580581
RK3588_CRU_RESET_OFFSET(SRST_A_VO1_BIU, 59, 8),
581582
RK3588_CRU_RESET_OFFSET(SRST_H_VOP1_BIU, 59, 9),
582583
RK3588_CRU_RESET_OFFSET(SRST_H_VOP1_S_BIU, 59, 10),

include/dt-bindings/clock/rk3568-cru.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@
7878
#define CPLL_333M 9
7979
#define ARMCLK 10
8080
#define USB480M 11
81+
#define USB480M_PHY 12
8182
#define ACLK_CORE_NIU2BUS 18
8283
#define CLK_CORE_PVTM 19
8384
#define CLK_CORE_PVTM_CORE 20

include/dt-bindings/reset/rockchip,rk3588-cru.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -751,4 +751,6 @@
751751
#define SRST_P_TRNG_CHK 658
752752
#define SRST_TRNG_S 659
753753

754+
#define SRST_A_HDMIRX_BIU 660
755+
754756
#endif

0 commit comments

Comments
 (0)