mirror of
https://github.com/torvalds/linux.git
synced 2026-03-08 04:24:31 +01:00
phy: rockchip: samsung-hdptx: Cleanup *_cmn_init_seq lists
Drop redundant reg_sequence entries from rk_hdptx_common_cmn_init_seq[], i.e. those that are either duplicated or overridden in rk_hdptx_tmds_cmn_init_seq[]. Additionally, a few items do not really belong to the former, hence move them to the latter. That's mostly a preparatory step for adding FRL support. No functional changes intended at this point. Signed-off-by: Cristian Ciocaltea <cristian.ciocaltea@collabora.com> Link: https://patch.msgid.link/20260113-phy-hdptx-frl-v6-6-8d5f97419c0b@collabora.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
This commit is contained in:
parent
8e8aa072b1
commit
df74a964e4
1 changed files with 4 additions and 18 deletions
|
|
@ -433,13 +433,11 @@ static const struct reg_sequence rk_hdptx_common_cmn_init_seq[] = {
|
|||
REG_SEQ0(CMN_REG(000e), 0x0f),
|
||||
REG_SEQ0(CMN_REG(000f), 0x0f),
|
||||
REG_SEQ0(CMN_REG(0010), 0x04),
|
||||
REG_SEQ0(CMN_REG(0011), 0x00),
|
||||
REG_SEQ0(CMN_REG(0012), 0x26),
|
||||
REG_SEQ0(CMN_REG(0013), 0x22),
|
||||
REG_SEQ0(CMN_REG(0014), 0x24),
|
||||
REG_SEQ0(CMN_REG(0015), 0x77),
|
||||
REG_SEQ0(CMN_REG(0016), 0x08),
|
||||
REG_SEQ0(CMN_REG(0017), 0x00),
|
||||
REG_SEQ0(CMN_REG(0018), 0x04),
|
||||
REG_SEQ0(CMN_REG(0019), 0x48),
|
||||
REG_SEQ0(CMN_REG(001a), 0x01),
|
||||
|
|
@ -447,13 +445,7 @@ static const struct reg_sequence rk_hdptx_common_cmn_init_seq[] = {
|
|||
REG_SEQ0(CMN_REG(001c), 0x01),
|
||||
REG_SEQ0(CMN_REG(001d), 0x64),
|
||||
REG_SEQ0(CMN_REG(001f), 0x00),
|
||||
REG_SEQ0(CMN_REG(0026), 0x53),
|
||||
REG_SEQ0(CMN_REG(0029), 0x01),
|
||||
REG_SEQ0(CMN_REG(0030), 0x00),
|
||||
REG_SEQ0(CMN_REG(0031), 0x20),
|
||||
REG_SEQ0(CMN_REG(0032), 0x30),
|
||||
REG_SEQ0(CMN_REG(0033), 0x0b),
|
||||
REG_SEQ0(CMN_REG(0034), 0x23),
|
||||
REG_SEQ0(CMN_REG(0035), 0x00),
|
||||
REG_SEQ0(CMN_REG(0038), 0x00),
|
||||
REG_SEQ0(CMN_REG(0039), 0x00),
|
||||
|
|
@ -464,7 +456,6 @@ static const struct reg_sequence rk_hdptx_common_cmn_init_seq[] = {
|
|||
REG_SEQ0(CMN_REG(003f), 0x83),
|
||||
REG_SEQ0(CMN_REG(0040), 0x06),
|
||||
REG_SEQ0(CMN_REG(0041), 0x20),
|
||||
REG_SEQ0(CMN_REG(0042), 0xb8),
|
||||
REG_SEQ0(CMN_REG(0043), 0x00),
|
||||
REG_SEQ0(CMN_REG(0044), 0x46),
|
||||
REG_SEQ0(CMN_REG(0045), 0x24),
|
||||
|
|
@ -474,14 +465,9 @@ static const struct reg_sequence rk_hdptx_common_cmn_init_seq[] = {
|
|||
REG_SEQ0(CMN_REG(004b), 0x00),
|
||||
REG_SEQ0(CMN_REG(004c), 0x01),
|
||||
REG_SEQ0(CMN_REG(004d), 0x64),
|
||||
REG_SEQ0(CMN_REG(004e), 0x14),
|
||||
REG_SEQ0(CMN_REG(004f), 0x00),
|
||||
REG_SEQ0(CMN_REG(0050), 0x00),
|
||||
REG_SEQ0(CMN_REG(005d), 0x0c),
|
||||
REG_SEQ0(CMN_REG(005f), 0x01),
|
||||
REG_SEQ0(CMN_REG(006b), 0x04),
|
||||
REG_SEQ0(CMN_REG(0073), 0x30),
|
||||
REG_SEQ0(CMN_REG(0074), 0x00),
|
||||
REG_SEQ0(CMN_REG(0075), 0x20),
|
||||
REG_SEQ0(CMN_REG(0076), 0x30),
|
||||
REG_SEQ0(CMN_REG(0077), 0x08),
|
||||
|
|
@ -493,13 +479,10 @@ static const struct reg_sequence rk_hdptx_common_cmn_init_seq[] = {
|
|||
REG_SEQ0(CMN_REG(007e), 0x00),
|
||||
REG_SEQ0(CMN_REG(007f), 0x00),
|
||||
REG_SEQ0(CMN_REG(0080), 0x00),
|
||||
REG_SEQ0(CMN_REG(0081), 0x09),
|
||||
REG_SEQ0(CMN_REG(0082), 0x04),
|
||||
REG_SEQ0(CMN_REG(0083), 0x24),
|
||||
REG_SEQ0(CMN_REG(0084), 0x20),
|
||||
REG_SEQ0(CMN_REG(0085), 0x03),
|
||||
REG_SEQ0(CMN_REG(0086), 0x01),
|
||||
REG_SEQ0(CMN_REG(0087), 0x0c),
|
||||
REG_SEQ0(CMN_REG(008a), 0x55),
|
||||
REG_SEQ0(CMN_REG(008b), 0x25),
|
||||
REG_SEQ0(CMN_REG(008c), 0x2c),
|
||||
|
|
@ -511,7 +494,6 @@ static const struct reg_sequence rk_hdptx_common_cmn_init_seq[] = {
|
|||
REG_SEQ0(CMN_REG(0092), 0x00),
|
||||
REG_SEQ0(CMN_REG(0093), 0x00),
|
||||
REG_SEQ0(CMN_REG(009a), 0x11),
|
||||
REG_SEQ0(CMN_REG(009b), 0x10),
|
||||
};
|
||||
|
||||
static const struct reg_sequence rk_hdptx_tmds_cmn_init_seq[] = {
|
||||
|
|
@ -545,9 +527,13 @@ static const struct reg_sequence rk_hdptx_tmds_cmn_init_seq[] = {
|
|||
REG_SEQ0(CMN_REG(0048), 0x11),
|
||||
REG_SEQ0(CMN_REG(004e), 0x34),
|
||||
REG_SEQ0(CMN_REG(005c), 0x25),
|
||||
REG_SEQ0(CMN_REG(005d), 0x0c),
|
||||
REG_SEQ0(CMN_REG(005e), 0x4f),
|
||||
REG_SEQ0(CMN_REG(006b), 0x04),
|
||||
REG_SEQ0(CMN_REG(0073), 0x30),
|
||||
REG_SEQ0(CMN_REG(0074), 0x04),
|
||||
REG_SEQ0(CMN_REG(0081), 0x01),
|
||||
REG_SEQ0(CMN_REG(0086), 0x01),
|
||||
REG_SEQ0(CMN_REG(0087), 0x04),
|
||||
REG_SEQ0(CMN_REG(0089), 0x00),
|
||||
REG_SEQ0(CMN_REG(0095), 0x00),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue