Home
last modified time | relevance | path

Searched hist:"3 f9a0892972d6e845b9ac410d31c4f65148e1838" (Results 1 – 2 of 2) sorted by relevance

/rk3399_ARM-atf/drivers/marvell/comphy/
H A Dphy-comphy-3700.h3f9a0892972d6e845b9ac410d31c4f65148e1838 Wed Dec 08 00:12:00 UTC 2021 Marek Behún <marek.behun@nic.cz> refactor(drivers/marvell/comphy-3700): unify Generation Settings register values

Generation Settings registers have the same layout for different
generations and same setting (i.e. Generation 2 Settings 2 register has
the same layout as Generation 3 Settings 2).

So it does not make sense to prefix the constants for Settings 2 with
G3.

Instead change the prefixes to GSx_ for settings register x.

For Settings 2 of Gen 2 and Gen 3 we have some definitions in the first
and some in the second. Move them all to the first defined register (in
this case Gen 2, since the constant for Gen 1 is not defined because it
is not used).

Signed-off-by: Marek Behún <marek.behun@nic.cz>
Change-Id: I15c337eb58aa37fd99fe388fd59373aa325a3a92
H A Dphy-comphy-3700.c3f9a0892972d6e845b9ac410d31c4f65148e1838 Wed Dec 08 00:12:00 UTC 2021 Marek Behún <marek.behun@nic.cz> refactor(drivers/marvell/comphy-3700): unify Generation Settings register values

Generation Settings registers have the same layout for different
generations and same setting (i.e. Generation 2 Settings 2 register has
the same layout as Generation 3 Settings 2).

So it does not make sense to prefix the constants for Settings 2 with
G3.

Instead change the prefixes to GSx_ for settings register x.

For Settings 2 of Gen 2 and Gen 3 we have some definitions in the first
and some in the second. Move them all to the first defined register (in
this case Gen 2, since the constant for Gen 1 is not defined because it
is not used).

Signed-off-by: Marek Behún <marek.behun@nic.cz>
Change-Id: I15c337eb58aa37fd99fe388fd59373aa325a3a92