rtc: mt6359: Add mt6357 support
Subsystems (3)
PATCH 1/1 rtc: mt6359: Add mt6357 support
The MT6357 PMIC contains the same RTC as MT6358 which allows to add support for it trivially by just complementing the list of compatibles.
---
The arch/arm64/boot/dts/mediatek/mt6357.dtsi file already contains both "mediatek,mt6357" and "mediatek,mt6357-rtc" which are documented in the Documentation/devicetree/bindings/mfd/mediatek,mt6357.yaml file.
This serie come from another splitted serie [1]
[1]: https://lore.kernel.org/r/[email protected]
--- drivers/rtc/rtc-mt6397.c | 1 + 1 file changed, 1 insertion(+)
drivers/rtc/rtc-mt6397.c +1 -0
@@ -332,6 +332,7 @@ static const struct mtk_rtc_data mt6397_rtc_data = {static const struct of_device_id mt6397_rtc_of_match[] = { { .compatible ="mediatek,mt6323-rtc" , .data = &mt6397_rtc_data }, + { .compatible ="mediatek,mt6357-rtc" , .data = &mt6358_rtc_data }, { .compatible ="mediatek,mt6358-rtc" , .data = &mt6358_rtc_data }, { .compatible ="mediatek,mt6397-rtc" , .data = &mt6397_rtc_data }, { }
---
base-commit: 424dfcd441f035769890e6d1faec2081458627b9
change-id: 20250428-rtc-mt6357-341ad12b48ca
Best regards,
Signature · 1 line
Alexandre Mergnat <[email protected]>
Quoted 4 lines · Alexandre Mergnat
The MT6357 PMIC contains the same RTC as MT6358 which allows to add support for it trivially by just complementing the list of compatibles.
Signed-off-by Alexandre Mergnat <[email protected]>
Thanks a lot!
Uwe
Il 28/04/25 16:29, Alexandre Mergnat ha scritto:
Quoted 4 lines
The MT6357 PMIC contains the same RTC as MT6358 which allows to add support for it trivially by just complementing the list of compatibles.
Signed-off-by Alexandre Mergnat <[email protected]>
Quoted 4 lines · Alexandre Mergnat
The MT6357 PMIC contains the same RTC as MT6358 which allows to add support for it trivially by just complementing the list of compatibles.
Applied, thanks!
[1/1] rtc: mt6359: Add mt6357 support
https://git.kernel.org/abelloni/c/3d8b44b104fb
Best regards,
Signature · 3 lines
Alexandre Belloni, co-owner and COO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com