diff options
| author | AnilKumar Ch <[email protected]> | 2012-11-21 11:14:10 +0530 |
|---|---|---|
| committer | Marc Kleine-Budde <[email protected]> | 2012-11-27 09:49:31 +0100 |
| commit | 52cde85acc23f61b09dd0376c61eb891125c6990 (patch) | |
| tree | b44c83102549a37b8bd4abae7ace6989e1e6f0c5 /tools/perf/scripts/python | |
| parent | 03f52a0a554210d5049eeed9f1bb29047dc807cb (diff) | |
can: c_can: Add d_can raminit support
Add D_CAN raminit support to C_CAN driver to enable D_CAN RAM,
which holds all the message objects during transmission or
receiving of data. This initialization/de-initialization should
be done in synchronous with D_CAN clock.
In case of AM335X-EVM (current user of D_CAN driver) message RAM is
controlled through control module register for both instances. So
control module register details is required to initialization or
de-initialization of message RAM according to instance number.
Control module memory resource is obtained from D_CAN dt node and
instance number obtained from device tree aliases node.
This patch was tested on AM335x-EVM along with pinctrl data addition
patch, d_can dt aliases addition and control module data addition.
pinctrl data addition is not added to am335x-evm.dts (only supports
CPLD profile#0) because d_can1 is supported under CPLD profile#1.
Signed-off-by: AnilKumar Ch <[email protected]>
[mkl: fix instance for non DT in probe, cleaned up raminit]
Signed-off-by: Marc Kleine-Budde <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions