On Thu, Sep 04, 2025 at 12:42:01PM +0100, Prabhakar wrote: > From: Lad Prabhakar <prabhakar.mahadev-lad.rj@xxxxxxxxxxxxxx> > > Add reset-line handling to the RZN1 MIIC driver and move reset > configuration into the SoC/OF data. Introduce MIIC_MAX_NUM_RSTS (= 2), > add storage for reset_control_bulk_data in struct miic and add > reset_ids and reset_count fields to miic_of_data. > > When reset_ids are present in the OF data, the driver obtains the reset > lines with devm_reset_control_bulk_get_exclusive(), deasserts them during > probe and registers a devres action to assert them on remove or on error. > > This change is preparatory work to support the RZ/T2H SoC, which exposes > two reset lines for the ETHSS IP. The driver remains backward compatible > for platforms that do not provide reset lines. > > Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@xxxxxxxxxxxxxx> Reviewed-by: Andrew Lunn <andrew@xxxxxxx> Andrew