mttcan: support T264 FSI CAN from ccplex

Adding support in existing mttcan driver to control T264 FSI
CAN controllers from CCPLEX whether FSI firmware is loaded on
system or not. FSI CAN clocks will be enabled by FSI crystal clock
upon boot. SW does not need to enable or control clocks. CCPLEX cannot
control FSI controller resets, reset can be handled during boot, thus
disabled clocks and reset for T264 SOC.

Bug 4317516

Change-Id: I8e6b20640c8763ebc0a9d9192e3212a49902f9b4
Signed-off-by: Shubhi Garg <shgarg@nvidia.com>
This commit is contained in:
Shubhi Garg
2024-09-04 12:25:09 +05:30
committed by Jon Hunter
parent d727e987bb
commit 975ca77f46
2 changed files with 57 additions and 12 deletions

View File

@@ -69,10 +69,12 @@
#define TSC_REF_CLK_SHIFT 9U
struct tegra_mttcan_soc_info {
bool enable_clocks;
bool set_can_core_clk;
unsigned long can_core_clk_rate;
unsigned long can_clk_rate;
bool use_external_timer;
bool control_reset;
};
struct can_gpio {