[PATCH v7 3/6] soc: fsl: guts: add the RCW override of the pad muxes
Christophe Leroy (CS GROUP)
chleroy at kernel.org
Tue Nov 17 14:26:38 PST 2026
Le 17/11/2026 à 22:10, Vladimir Oltean a écrit :
> On Tue, Nov 17, 2026 at 03:53:13PM +0100, Vincent Jardin via B4 Relay wrote:
>> From: Vincent Jardin <vjardin at free.fr>
>>
>> fsl_guts_rcw_rmw() only serves the SerDes lane modes. Export it for
>> the pad-mux fields of the RCW, and for them only:
>> - fsl_guts_pmux_read() reads the pad-mux fields of a status register
>> - fsl_guts_pmux_override() changes pad-mux fields of one under
>> rcwcr_lock and waits for the status register to follow
>> - fsl_guts_pmux_override_supported() tells whether the SoC has pad-mux
>> fields and whether the DCSR view of DCFG, which holds the override
>> registers, is mapped
>>
>> Each SoC lists in its fsl_soc_data the fields that can be overridden,
>> per RCWSR: a register or a field outside of this list is refused, so
>> the SerDes protocols stay with fsl_guts_lane_set_mode(). The LX2160A
>> lists the pad muxes of RCWSR12 to RCWSR14 and of RCWSR27.
>>
>> Suggested-by: Vladimir Oltean <vladimir.oltean at nxp.com>
>> Acked-by: Frank Li <Frank.li at nxp.com>
>> Signed-off-by: Vincent Jardin <vjardin at free.fr>
>> ---
>
> Looks good, thanks.
>
> Reviewed-by: Vladimir Oltean <vladimir.oltean at nxp.com>
Acked-by: Christophe Leroy (CS GROUP) <chleroy at kernel.org>
More information about the linux-arm-kernel
mailing list