On Wed, Jul 22, 2026 at 02:16:02AM +0300, Vladimir Oltean wrote: > Add support for the RCW override procedure which enables runtime > reconfiguration of the protocol running on a SerDes lane. The procedure > is done through the DCFG DCSR space which now can be defined as the > second memory region of the guts DT node. > Support is added on the following SoCs: LS1046A, LS1088A, LS2088A. > > The procedure is exported to the "client" driver - the Lynx10G SerDes > PHY driver - through the following functions: > - fsl_guts_lane_validate() used to validate that changing the protocol > on a specific lane is supported. > - fsl_guts_lane_set_mode() which can be used to request the RCW > procedure be executed for a specific lane. > > Since the RCW override procedure is different depending on the SoC, the > private fsl_soc_data structure is updated with two new per SoC callbacks > (.serdes_get_rcw_override() and .serdes_init_rcwcr()) which get used > from the generic fsl_guts_lane_set_mode() function. These two callbacks > hide all the SoC specific register offsets, masks and values so that the > _set_mode() procedure is straightforward. > > Signed-off-by: Ioana Ciornei <[email protected]> > Signed-off-by: Vladimir Oltean <[email protected]>
Reviewed-by: Ioana Ciornei <[email protected]>
