Re: [PATCH v7 5/6] arm64: dts: lx2160a: describe the pad muxes as the DCFG RCW override

From: Vladimir Oltean

Date: Tue Nov 17 2026 - 16:27:07 EST


On Tue, Nov 17, 2026 at 03:53:15PM +0100, Vincent Jardin via B4 Relay wrote:
> From: Vincent Jardin <vjardin@xxxxxxx>
>
> The pad muxes are fields of the RCW: read-only in RCWSR12..14, changed
> at runtime through the override registers in the DCSR view of DCFG,
> which read 0 until written.
>
> pinctrl-single on those registers, since commit 8a1365c7bbc1
> ("arm64: dts: lx2160a: add pinmux and i2c gpio to support bus recovery"),
> clears every other field of the word with its first pin state:
> a board whose RCW programs a non-zero pad mux loses those pads at the
> first I2C probe.
>
> Describe the pad mux as a child of the dcfg node, which gains its DCSR
> view and, as on the LS1028A, the addressing of its children:
> the child is at its RCWSR12 to RCWSR14 and RCWSR27 windows, one group
> per RCW field, one function per encoding, driven by
> fsl,lx2160a-rcw-pinmux using fsl-guts. Labels and pin node names stay,
> so no consumer changes.
> The pinctrl-single node goes.
>
> Signed-off-by: Vincent Jardin <vjardin@xxxxxxx>
> ---

Reviewed-by: Vladimir Oltean <vladimir.oltean@xxxxxxx>