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

From: Kathiravan Thirumoorthy
Date: Fri May 02 2025 - 12:03:47 EST



On 5/2/2025 7:03 PM, Krzysztof Kozlowski wrote:
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.


Sure, I will follow the Konrad's suggestion.


Best regards,
Krzysztof