On Tue, Nov 17, 2026 at 03:53:11PM +0100, Vincent Jardin via B4 Relay wrote: > From: Vincent Jardin <[email protected]> > > The LX2160A muxes its IIC, XSPI, SDHC, UART, IRQ, EVT, EC and USB pads > from fields of the RCW: read-only in RCWSR12..14 and RCWSR27 of DCFG, > changed at runtime through the override registers of its DCSR view. > > Describe the pad mux as a child of DCFG at its RCWSR12 to RCWSR14 and > RCWSR27 windows: the override registers are at the same offsets of the > DCSR view of the parent. One group per RCW field, one function per > encoding. > > Each function lists the groups that take it, so a pair the driver > would refuse, such as can on iic1, is refused by the schema. > > Reviewed-by: Frank Li <[email protected]> > Signed-off-by: Vincent Jardin <[email protected]> > ---
It's a bit difficult to manually follow all the constraints, which are listed in the opposite way as the RM would have them (function -> valid pads rather than pad -> valid functions), but AI says it's OK and I'm not spotting any obvious problems either. Reviewed-by: Vladimir Oltean <[email protected]>
