Re: [PATCH net-next v2 7/9] net: pcs: rzn1-miic: Add support to handle resets

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Linux Samsung SOC]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux