Skip to content

Commit d8dba89

Browse files
committed
soundwire: intel: cleanup WakeEnable and WakeStatus
Regroup offset and bitfield definitions. Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
1 parent 4db8d7c commit d8dba89

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

include/linux/soundwire/sdw_intel.h

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,19 +76,23 @@
7676
#define SDW_SHIM_IOCTL_CIBD BIT(8)
7777
#define SDW_SHIM_IOCTL_DIBD BIT(9)
7878

79+
/* Wake Enable*/
7980
#define SDW_SHIM_WAKEEN 0x190
81+
82+
#define SDW_SHIM_WAKEEN_ENABLE BIT(0)
83+
84+
/* Wake Status */
8085
#define SDW_SHIM_WAKESTS 0x192
8186

87+
#define SDW_SHIM_WAKESTS_STATUS BIT(0)
88+
8289
/* AC Timing control */
8390
#define SDW_SHIM_CTMCTL(x) (0x06E + 0x60 * (x))
8491

8592
#define SDW_SHIM_CTMCTL_DACTQE BIT(0)
8693
#define SDW_SHIM_CTMCTL_DODS BIT(1)
8794
#define SDW_SHIM_CTMCTL_DOAIS GENMASK(4, 3)
8895

89-
#define SDW_SHIM_WAKEEN_ENABLE BIT(0)
90-
#define SDW_SHIM_WAKESTS_STATUS BIT(0)
91-
9296
/* Intel ALH Register definitions */
9397
#define SDW_ALH_STRMZCFG(x) (0x000 + (0x4 * (x)))
9498
#define SDW_ALH_NUM_STREAMS 64

0 commit comments

Comments
 (0)