mbox series

[v2,0/4] PHY: Add support to output derived and received reference clock from Torrent

Message ID 20210922123735.21927-1-sjakhade@cadence.com
Headers show
Series PHY: Add support to output derived and received reference clock from Torrent | expand

Message

Swapnil Kashinath Jakhade Sept. 22, 2021, 12:37 p.m. UTC
This patch series updates reference clock driver implementation for Torrent
by adding support to output derived as well as received reference clock.
When reference clock driver is enabled, either derived or received refclk
is output on cmn_refclk_p/m.

In derived reference clock mode, cmn_refclk_p/m outputs the refclk derived
from internal PLLs while when received refclk is selected to output on
cmn_refclk_p/m, this is the internal reference clock driven on the
pma_cmn_refclk_int.

Version History:

v2:
   - Removed patch 5/5 in v1 amd merged its changes to v2 3/4 and 4/4 to
     keep TI AM64 functional and to not affect git bisectability.
   - Added reason to move to clk_hw based API in patch 1/4.
   - Added Acked-by from Rob to 2/4.

Swapnil Jakhade (4):
  phy: cadence-torrent: Migrate to clk_hw based registration and OF APIs
  dt-bindings: phy: cadence-torrent: Add clock IDs for derived and
    received refclk
  phy: cadence-torrent: Model reference clock driver as a clock to
    enable derived refclk
  phy: cadence-torrent: Add support to output received reference clock

 drivers/phy/cadence/phy-cadence-torrent.c | 316 +++++++++++++++++++---
 include/dt-bindings/phy/phy-cadence.h     |   2 +
 2 files changed, 286 insertions(+), 32 deletions(-)

Comments

Vinod Koul Oct. 20, 2021, 5:57 p.m. UTC | #1
On 22-09-21, 14:37, Swapnil Jakhade wrote:
> This patch series updates reference clock driver implementation for Torrent
> by adding support to output derived as well as received reference clock.
> When reference clock driver is enabled, either derived or received refclk
> is output on cmn_refclk_p/m.
> 
> In derived reference clock mode, cmn_refclk_p/m outputs the refclk derived
> from internal PLLs while when received refclk is selected to output on
> cmn_refclk_p/m, this is the internal reference clock driven on the
> pma_cmn_refclk_int.

Applied, thanks