mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-05 10:31:46 +09:00
phy: rockchip: usbdp: amend ssc modulation deviation
Move SSC modulation deviation into private config of clock. - 24M: 0x00D4[5:0] = 0x30 - 26M: 0x00D4[5:0] = 0x33 Signed-off-by: Frank Wang <frank.wang@rock-chips.com> Change-Id: I6bd1e4352f85a6e12630cc4034fac49a9749627c
This commit is contained in:
@@ -336,7 +336,8 @@ static const struct reg_sequence udphy_24m_refclk_cfg[] = {
|
||||
{0x0a64, 0xa8}, {0x1a3c, 0xd0},
|
||||
{0x1a44, 0xd0}, {0x1a48, 0x01},
|
||||
{0x1a4c, 0x0d}, {0x1a54, 0xe0},
|
||||
{0x1a5c, 0xe0}, {0x1a64, 0xa8}
|
||||
{0x1a5c, 0xe0}, {0x1a64, 0xa8},
|
||||
{0x00D4, 0x30}
|
||||
};
|
||||
|
||||
static const struct reg_sequence udphy_26m_refclk_cfg[] = {
|
||||
@@ -363,7 +364,7 @@ static const struct reg_sequence udphy_26m_refclk_cfg[] = {
|
||||
{0x0c30, 0x0E}, {0x0C48, 0x06},
|
||||
{0x1C30, 0x0E}, {0x1C48, 0x06},
|
||||
{0x028C, 0x18}, {0x0AF0, 0x00},
|
||||
{0x1AF0, 0x00}
|
||||
{0x1AF0, 0x00}, {0x00D4, 0x33}
|
||||
};
|
||||
|
||||
static const struct reg_sequence udphy_init_sequence[] = {
|
||||
@@ -398,8 +399,7 @@ static const struct reg_sequence udphy_init_sequence[] = {
|
||||
{0x0070, 0x7D}, {0x0074, 0x68},
|
||||
{0x0AF4, 0x1A}, {0x1AF4, 0x1A},
|
||||
{0x0440, 0x3F}, {0x10D4, 0x08},
|
||||
{0x20D4, 0x08}, {0x00D4, 0x30},
|
||||
{0x0024, 0x6e},
|
||||
{0x20D4, 0x08}, {0x0024, 0x6e}
|
||||
};
|
||||
|
||||
static inline int grfreg_write(struct regmap *base,
|
||||
|
||||
Reference in New Issue
Block a user