diff options
author | Alexander Shishkin <alexander.shishkin@linux.intel.com> | 2016-11-11 12:07:25 +0200 |
---|---|---|
committer | Alexander Shishkin <alexander.shishkin@linux.intel.com> | 2017-08-25 18:47:57 +0300 |
commit | f77d22bc1221409b6c0cb6f32c6241161f5c2bc6 (patch) | |
tree | e878db49f8461c002dcddeb38df9cf28745ce7a7 /drivers/hwtracing/intel_th/pti.h | |
parent | 92758af39ab73f470f765b7213fb4c88c7e5ca03 (diff) | |
download | linux-f77d22bc1221409b6c0cb6f32c6241161f5c2bc6.tar.gz linux-f77d22bc1221409b6c0cb6f32c6241161f5c2bc6.tar.xz |
intel_th: pti: Support Low Power Path output port type
The Low Power Path (LPP) output port type, looks mostly like PTI to
the software, with a few additional bits in the control register.
This extends the PTI driver to support LPP ports as well.
Signed-off-by: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Diffstat (limited to 'drivers/hwtracing/intel_th/pti.h')
-rw-r--r-- | drivers/hwtracing/intel_th/pti.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/hwtracing/intel_th/pti.h b/drivers/hwtracing/intel_th/pti.h index 20883f5628cf..30827be67b4c 100644 --- a/drivers/hwtracing/intel_th/pti.h +++ b/drivers/hwtracing/intel_th/pti.h @@ -23,7 +23,15 @@ enum { #define PTI_EN BIT(0) #define PTI_FCEN BIT(1) #define PTI_MODE 0xf0 +#define LPP_PTIPRESENT BIT(8) +#define LPP_BSSBPRESENT BIT(9) #define PTI_CLKDIV 0x000f0000 #define PTI_PATGENMODE 0x00f00000 +#define LPP_DEST BIT(25) +#define LPP_BSSBACT BIT(30) +#define LPP_LPPBUSY BIT(31) + +#define LPP_DEST_PTI BIT(0) +#define LPP_DEST_EXI BIT(1) #endif /* __INTEL_TH_STH_H__ */ |