Re: [PATCH 3/7] drm/bridge: tc358768: Separate indirect register writes

From: Francesco Dolcini

Date: Fri Dec 19 2025 - 05:29:10 EST


On Tue, Oct 21, 2025 at 04:22:59PM +0300, Tomi Valkeinen wrote:
> Some registers can only be written indirectly, using DSI_CONFW register.
> We don't have many uses for those registers (in fact, only DSI_CONTROL
> is currently written), but the code to do those writes inline is a bit
> confusing.
>
> Add a new function, tc358768_confw_update_bits() which can be used to
> write the bits indirectly. Only DSI_CONTROL is currently supported.
>
> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@xxxxxxxxxxxxxxxx>

Reviewed-by: Francesco Dolcini <francesco.dolcini@xxxxxxxxxxx>