summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorAidan MacDonald <amachronic@protonmail.com>2021-05-30 19:56:44 +0100
committerAidan MacDonald <amachronic@protonmail.com>2021-05-30 19:17:50 +0000
commitf63edb52ef8ecf18520926b40b3c61db37081a9d (patch)
tree29c36d3f247d7bab2f547d76655ac81fa8a71946 /utils
parentc78ba1aa689b178ebb73b2730bc1b13697371fbf (diff)
x1000: refactor AIC initialization
Have pcm-x1000 handle most work, so target's audiohw code touches only the relevant settings. Change-Id: Icf3d1b7ca428ac50a5a16ecec39ed8186ac5ae13
Diffstat (limited to 'utils')
-rw-r--r--utils/reggen-ng/x1000.reggen6
1 files changed, 3 insertions, 3 deletions
diff --git a/utils/reggen-ng/x1000.reggen b/utils/reggen-ng/x1000.reggen
index 4620378c19..f77f55b8b9 100644
--- a/utils/reggen-ng/x1000.reggen
+++ b/utils/reggen-ng/x1000.reggen
@@ -144,9 +144,9 @@ node AIC {
reg CCR 0x04 {
bit 28 PACK16
- fld 26 24 CHANNEL
- fld 21 19 OSS
- fld 18 16 ISS
+ fld 26 24 CHANNEL { enum MONO 0; enum STEREO 1 }
+ fld 21 19 OSS { enum 8BIT 0; enum 16BIT 1; enum 18BIT 2; enum 20BIT 3; enum 24BIT 4 }
+ fld 18 16 ISS { enum 8BIT 0; enum 16BIT 1; enum 18BIT 2; enum 20BIT 3; enum 24BIT 4 }
bit 15 RDMS
bit 14 TDMS
bit 11 M2S