Re: [PATCH v3 4/4] watchdog: qcom: add support to read the restart reason from IMEM

From: Krzysztof Kozlowski
Date: Fri May 02 2025 - 09:35:13 EST


On 02/05/2025 15:17, Kathiravan Thirumoorthy wrote:
>
> +static int qcom_wdt_get_restart_reason(struct qcom_wdt *wdt,
> + const struct qcom_wdt_match_data *data)
> +{
> + struct regmap *imem;
> + unsigned int val;
> + int ret;
> +
> + imem = syscon_regmap_lookup_by_compatible(data->imem_compatible);
And how are you handling proper probe ordering? Use phandles and define
this as an ABI.

Best regards,
Krzysztof