[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <165900504842.15455.1659581738834019739.tip-bot2@tip-bot2>
Date: Thu, 28 Jul 2022 10:44:08 -0000
From: "tip-bot2 for Wolfram Sang" <tip-bot2@...utronix.de>
To: linux-tip-commits@...r.kernel.org
Cc: Wolfram Sang <wsa+renesas@...g-engineering.com>,
Daniel Lezcano <daniel.lezcano@...aro.org>, x86@...nel.org,
linux-kernel@...r.kernel.org
Subject: [tip: timers/core] clocksource/drivers/sh_cmt: Add R-Car Gen4 support
The following commit has been merged into the timers/core branch of tip:
Commit-ID: aa84506ea644d0952a75136dee7386cc54b234b0
Gitweb: https://git.kernel.org/tip/aa84506ea644d0952a75136dee7386cc54b234b0
Author: Wolfram Sang <wsa+renesas@...g-engineering.com>
AuthorDate: Wed, 13 Jul 2022 12:06:03 +02:00
Committer: Daniel Lezcano <daniel.lezcano@...aro.org>
CommitterDate: Mon, 18 Jul 2022 22:55:14 +02:00
clocksource/drivers/sh_cmt: Add R-Car Gen4 support
Add support for the R-Car Gen4 CMT types 0/1 which are the same as in
the previous two generations.
Signed-off-by: Wolfram Sang <wsa+renesas@...g-engineering.com>
Link: https://lore.kernel.org/r/20220713100603.3391-4-wsa+renesas@sang-engineering.com
Signed-off-by: Daniel Lezcano <daniel.lezcano@...aro.org>
---
drivers/clocksource/sh_cmt.c | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/drivers/clocksource/sh_cmt.c b/drivers/clocksource/sh_cmt.c
index dd0956a..64dcb08 100644
--- a/drivers/clocksource/sh_cmt.c
+++ b/drivers/clocksource/sh_cmt.c
@@ -981,6 +981,14 @@ static const struct of_device_id sh_cmt_of_table[] __maybe_unused = {
.compatible = "renesas,rcar-gen3-cmt1",
.data = &sh_cmt_info[SH_CMT1_RCAR_GEN2]
},
+ {
+ .compatible = "renesas,rcar-gen4-cmt0",
+ .data = &sh_cmt_info[SH_CMT0_RCAR_GEN2]
+ },
+ {
+ .compatible = "renesas,rcar-gen4-cmt1",
+ .data = &sh_cmt_info[SH_CMT1_RCAR_GEN2]
+ },
{ }
};
MODULE_DEVICE_TABLE(of, sh_cmt_of_table);
Powered by blists - more mailing lists