Skip to content

Commit 3d8b44b

Browse files
amergnatalexandrebelloni
authored andcommitted
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. Signed-off-by: Alexandre Mergnat <[email protected]> Reviewed-by: AngeloGioacchino Del Regno <[email protected]> Acked-by: Uwe Kleine-König <[email protected]> Tested-by: Uwe Kleine-König <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Alexandre Belloni <[email protected]>
1 parent ccb2dba commit 3d8b44b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/rtc/rtc-mt6397.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -332,6 +332,7 @@ static const struct mtk_rtc_data mt6397_rtc_data = {
332332

333333
static const struct of_device_id mt6397_rtc_of_match[] = {
334334
{ .compatible = "mediatek,mt6323-rtc", .data = &mt6397_rtc_data },
335+
{ .compatible = "mediatek,mt6357-rtc", .data = &mt6358_rtc_data },
335336
{ .compatible = "mediatek,mt6358-rtc", .data = &mt6358_rtc_data },
336337
{ .compatible = "mediatek,mt6397-rtc", .data = &mt6397_rtc_data },
337338
{ }

0 commit comments

Comments
 (0)