mirror of https://github.com/thesofproject/sof.git
memory: add TGL HPSRAM LDOCTL missing settings
TGL introduces new LDO control register bits - HS2 which is responsible of LDO2 control. This patch adds this missing LDO2 settings for TGL HPSRAM memory banks. Signed-off-by: Marcin Rajwa <marcin.rajwa@linux.intel.com>
This commit is contained in:
parent
1a8ed6dfd0
commit
7c8491e4e5
|
@ -235,11 +235,11 @@
|
|||
|
||||
/** \brief LDO Control */
|
||||
#define SHIM_LDOCTL 0xA4
|
||||
#define SHIM_LDOCTL_HPSRAM_MASK (3 << 0)
|
||||
#define SHIM_LDOCTL_HPSRAM_MASK (3 << 0 | 3 << 16)
|
||||
#define SHIM_LDOCTL_LPSRAM_MASK (3 << 2)
|
||||
#define SHIM_LDOCTL_HPSRAM_LDO_ON (3 << 0)
|
||||
#define SHIM_LDOCTL_HPSRAM_LDO_ON (3 << 0 | 3 << 16)
|
||||
#define SHIM_LDOCTL_LPSRAM_LDO_ON (3 << 2)
|
||||
#define SHIM_LDOCTL_HPSRAM_LDO_BYPASS BIT(0)
|
||||
#define SHIM_LDOCTL_HPSRAM_LDO_BYPASS (BIT(0) | BIT(16))
|
||||
#define SHIM_LDOCTL_LPSRAM_LDO_BYPASS BIT(2)
|
||||
#define SHIM_LDOCTL_HPSRAM_LDO_OFF (0 << 0)
|
||||
#define SHIM_LDOCTL_LPSRAM_LDO_OFF (0 << 2)
|
||||
|
|
Loading…
Reference in New Issue