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. Swapnil Jakhade (5): 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: Add support for derived reference clock output phy: cadence-torrent: Add support for received reference clock output phy: cadence-torrent: Model reference clock driver as a gate and mux clock drivers/phy/cadence/phy-cadence-torrent.c | 316 +++++++++++++++++++--- include/dt-bindings/phy/phy-cadence.h | 2 + 2 files changed, 286 insertions(+), 32 deletions(-) -- 2.26.1