ASoC: rt721: add some vendor registers
This patch added some vendor registers to read for debugging. Signed-off-by: Shuming Fan <shumingf@realtek.com> Link: https://patch.msgid.link/20250808055719.1110808-1-shumingf@realtek.com Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
@@ -63,15 +63,14 @@ static bool rt721_sdca_volatile_register(struct device *dev, unsigned int reg)
|
||||
static bool rt721_sdca_mbq_readable_register(struct device *dev, unsigned int reg)
|
||||
{
|
||||
switch (reg) {
|
||||
case 0x0900007:
|
||||
case 0x0900004 ... 0x0900009:
|
||||
case 0x0a00005:
|
||||
case 0x0c00005:
|
||||
case 0x0d00014:
|
||||
case 0x0310100:
|
||||
case 0x2000001:
|
||||
case 0x2000002:
|
||||
case 0x2000003:
|
||||
case 0x2000000 ... 0x2000003:
|
||||
case 0x2000013:
|
||||
case 0x200002c:
|
||||
case 0x200003c:
|
||||
case 0x2000046:
|
||||
case 0x5810000:
|
||||
@@ -134,6 +133,8 @@ static bool rt721_sdca_mbq_volatile_register(struct device *dev, unsigned int re
|
||||
{
|
||||
switch (reg) {
|
||||
case 0x0310100:
|
||||
case 0x0900005:
|
||||
case 0x0900009:
|
||||
case 0x0a00005:
|
||||
case 0x0c00005:
|
||||
case 0x0d00014:
|
||||
@@ -141,6 +142,7 @@ static bool rt721_sdca_mbq_volatile_register(struct device *dev, unsigned int re
|
||||
case 0x200000d:
|
||||
case 0x2000019:
|
||||
case 0x2000020:
|
||||
case 0x200002c:
|
||||
case 0x2000030:
|
||||
case 0x2000046:
|
||||
case 0x2000067:
|
||||
|
||||
Reference in New Issue
Block a user