Re: [PATCH v2 4/5] rtc: mt6397: Add BBPU alarm status reset and shutdown handling

From: Krzysztof Kozlowski

Date: Thu Nov 20 2025 - 08:40:20 EST


On 20/11/2025 13:18, ot_shunxi.zhang@xxxxxxxxxxxx wrote:
>
> rtc = devm_kzalloc(&pdev->dev, sizeof(struct mt6397_rtc), GFP_KERNEL);
> @@ -275,6 +294,8 @@ static int mtk_rtc_probe(struct platform_device *pdev)
> if (IS_ERR(rtc->rtc_dev))
> return PTR_ERR(rtc->rtc_dev);
>
> + rtc->alarm_sta_supported = of_property_read_bool(np, "mediatek,alarm-sta-supported");

You cannot add undocumented ABI. Read carefully Linux documentation.

Best regards,
Krzysztof