diff options
author | Roger Quadros <rogerq@ti.com> | 2014-11-07 16:49:19 +0200 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2014-11-17 12:19:27 +0100 |
commit | 0741bfb9395ad176be91f66d2ef3f6f669e27890 (patch) | |
tree | 13b8dd7257a2be3cad489095b672785ef14229fe /drivers/net/can/c_can/c_can.h | |
parent | 3ff9027ca6b00e194d2eae353febf7233cfcc1ea (diff) | |
download | blackbird-op-linux-0741bfb9395ad176be91f66d2ef3f6f669e27890.tar.gz blackbird-op-linux-0741bfb9395ad176be91f66d2ef3f6f669e27890.zip |
can: c_can: Add support for START pulse in RAMINIT sequence
Some SoCs e.g. (TI DRA7xx) need a START pulse to start the
RAMINIT sequence i.e. START bit must be set and cleared before
checking for the DONE bit status.
Signed-off-by: Roger Quadros <rogerq@ti.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'drivers/net/can/c_can/c_can.h')
-rw-r--r-- | drivers/net/can/c_can/c_can.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/can/c_can/c_can.h b/drivers/net/can/c_can/c_can.h index 28a73d14ea8d..8acdc7fa4792 100644 --- a/drivers/net/can/c_can/c_can.h +++ b/drivers/net/can/c_can/c_can.h @@ -188,6 +188,7 @@ struct c_can_raminit { struct regmap *syscon; /* for raminit ctrl. reg. access */ unsigned int reg; /* register index within syscon */ struct raminit_bits bits; + bool needs_pulse; }; /* c_can private data structure */ |