Re: [PATCH v2 2/3] watchdog: aspeed: Support variable number of reset mask registers

From: Guenter Roeck
Date: Fri Oct 10 2025 - 06:49:06 EST


On 10/10/25 01:03, Chin-Ting Kuo wrote:
Starting from the AST2600 platform, the SoC design has become more
complex, with an increased number of reset mask registers.
To support this, introduce a new field 'num_reset_masks' in the
'aspeed_wdt_config' structure to specify the number of reset mask
registers per platform. This change removes the need for hardcoded
platform-specific logic and improves scalability for future SoCs.

Signed-off-by: Chin-Ting Kuo <chin-ting_kuo@xxxxxxxxxxxxxx>

Reviewed-by: Guenter Roeck <linux@xxxxxxxxxxxx>