Commit Graph

7 Commits

Author SHA1 Message Date
Rohit Vaswani 4e4cb0e35a include: coresight: Export coresight_cti_ack_trig API
The coresight_cti_ack_trig API is required by users to
acknowledge a cti interrupt.
Provide it in the header file.

Change-Id: I1cd7ebb41fb7c647b48cddb55cf5a797b09f1a7c
Signed-off-by: Rohit Vaswani <rvaswani@codeaurora.org>
2014-06-17 13:57:48 -07:00
Pan Fang 3ed98cf7cb coresight: add support for coresight cti save and restore
Add support to save and restore the CTI state for those CTIs which does
not retain state on power collapse.

Change-Id: I5d729d364237d6af12bf9deca5b5173d06be5c13
Signed-off-by: Pan Fang <fangpan@codeaurora.org>
2014-05-15 10:32:35 +08:00
Pratik Patel e8b35518bc coresight: add cti enable and disable gate functions
Add support for cti enable and disable functions to allow use
cases that require the ability to control the trigger outputs
independent of the trigger mapping and generation configuration.

Change-Id: Id94809be629bb3939a67e8f6711733810aeb1f37
Signed-off-by: Pratik Patel <pratikp@codeaurora.org>
2013-11-19 10:04:06 -08:00
Pratik Patel d388cce171 coresight: add cti set and clear trigger functions
Add support for setting and clearing triggers to allow use cases
that require software based trigger setting and clearing
functionality.

Change-Id: I826b238f2cb1050394134030bd0810bbcdeb2662
Signed-off-by: Pratik Patel <pratikp@codeaurora.org>
2013-11-19 10:04:05 -08:00
Pratik Patel 38a40145db coresight: add cti pulse trigger function
Add support for pulse triggering to allow uses cases that require
software based pulse trigger generation.

Change-Id: I1ce8fd40cfd0622364c101f9d9bc8aa4540b0344
Signed-off-by: Pratik Patel <pratikp@codeaurora.org>
2013-11-19 10:04:05 -08:00
Aparna Das 862a5d2926 coresight: add support to reset cti block
Add support to reset each CoreSight cti device through sysfs. This
disables all cross triggering functionality on cti device by
unmapping all mapped cti trigins and cti trigouts and disabling the
cti device.

Change-Id: I4d1f48ad63e1317c893471e1818cd529dd2b002b
Signed-off-by: Aparna Das <adas@codeaurora.org>
2013-09-04 17:19:22 -07:00
Pratik Patel 881142c4a2 coresight: add coresight cti driver
Add support for CoreSight Cross Trigger Interface driver which
can be used to setup various cross-triggers available between
hardware blocks. This driver provides both an in kernel api as
well as a sysfs based user interface.

Change-Id: Idf445e6d1a3b082e0101b9b38926584527f1630f
Signed-off-by: Pratik Patel <pratikp@codeaurora.org>
2013-09-04 16:03:03 -07:00