mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-24 10:11:26 +03:00
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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user