phy: ti: phy-j721e-wiz: set PMA_CMN_REFCLK_DIG_DIV based on reflk rate
authorRoger Quadros <rogerq@kernel.org>
Tue, 28 Jun 2022 12:22:55 +0000 (15:22 +0300)
committerVinod Koul <vkoul@kernel.org>
Tue, 30 Aug 2022 05:12:58 +0000 (10:42 +0530)
commit86d11e225e3fd204d42346effba08a7c465f6a57
treedc81dbf07f8acda3f18e1dae4f7ce315eef588e3
parentedd473d4293aa5a1684f4efe0d4e0c0318a92976
phy: ti: phy-j721e-wiz: set PMA_CMN_REFCLK_DIG_DIV based on reflk rate

For J7200-SR2.0 and AM64 we don't model Common refclock divider as
a clock divider as the divisor rate is fixed based on operating
reference clock frequency. We just program the recommended value
into the register. This simplifies the device tree and implementation
a lot.

Signed-off-by: Roger Quadros <rogerq@kernel.org>
Link: https://lore.kernel.org/r/20220628122255.24265-8-rogerq@kernel.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/ti/phy-j721e-wiz.c