diff options
author | Richard Fitzgerald <rf@opensource.wolfsonmicro.com> | 2013-11-20 08:17:07 -0500 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2013-11-20 08:37:52 -0500 |
commit | e64001e8efc107992fd835770f6383d0dc731594 (patch) | |
tree | bbd60b3c4c81d4d8a920aac9a303643a205bdc20 /include/linux/mfd | |
parent | 9645083ca5ef365b7b750cf219bb20b61bb925f8 (diff) |
ASoC: wm5110: Add extra AIF2 channels
Signed-off-by: D.J. Barrow <dbarrow@wolfsonmicro.com>
Signed-off-by: Richard Fitzgerald <rf@opensource.wolfsonmicro.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'include/linux/mfd')
-rw-r--r-- | include/linux/mfd/arizona/registers.h | 121 |
1 files changed, 121 insertions, 0 deletions
diff --git a/include/linux/mfd/arizona/registers.h b/include/linux/mfd/arizona/registers.h index 4706d3d46e56..8f4c9d77ab20 100644 --- a/include/linux/mfd/arizona/registers.h +++ b/include/linux/mfd/arizona/registers.h | |||
@@ -511,6 +511,38 @@ | |||
511 | #define ARIZONA_AIF2TX2MIX_INPUT_3_VOLUME 0x74D | 511 | #define ARIZONA_AIF2TX2MIX_INPUT_3_VOLUME 0x74D |
512 | #define ARIZONA_AIF2TX2MIX_INPUT_4_SOURCE 0x74E | 512 | #define ARIZONA_AIF2TX2MIX_INPUT_4_SOURCE 0x74E |
513 | #define ARIZONA_AIF2TX2MIX_INPUT_4_VOLUME 0x74F | 513 | #define ARIZONA_AIF2TX2MIX_INPUT_4_VOLUME 0x74F |
514 | #define ARIZONA_AIF2TX3MIX_INPUT_1_SOURCE 0x750 | ||
515 | #define ARIZONA_AIF2TX3MIX_INPUT_1_VOLUME 0x751 | ||
516 | #define ARIZONA_AIF2TX3MIX_INPUT_2_SOURCE 0x752 | ||
517 | #define ARIZONA_AIF2TX3MIX_INPUT_2_VOLUME 0x753 | ||
518 | #define ARIZONA_AIF2TX3MIX_INPUT_3_SOURCE 0x754 | ||
519 | #define ARIZONA_AIF2TX3MIX_INPUT_3_VOLUME 0x755 | ||
520 | #define ARIZONA_AIF2TX3MIX_INPUT_4_SOURCE 0x756 | ||
521 | #define ARIZONA_AIF2TX3MIX_INPUT_4_VOLUME 0x757 | ||
522 | #define ARIZONA_AIF2TX4MIX_INPUT_1_SOURCE 0x758 | ||
523 | #define ARIZONA_AIF2TX4MIX_INPUT_1_VOLUME 0x759 | ||
524 | #define ARIZONA_AIF2TX4MIX_INPUT_2_SOURCE 0x75A | ||
525 | #define ARIZONA_AIF2TX4MIX_INPUT_2_VOLUME 0x75B | ||
526 | #define ARIZONA_AIF2TX4MIX_INPUT_3_SOURCE 0x75C | ||
527 | #define ARIZONA_AIF2TX4MIX_INPUT_3_VOLUME 0x75D | ||
528 | #define ARIZONA_AIF2TX4MIX_INPUT_4_SOURCE 0x75E | ||
529 | #define ARIZONA_AIF2TX4MIX_INPUT_4_VOLUME 0x75F | ||
530 | #define ARIZONA_AIF2TX5MIX_INPUT_1_SOURCE 0x760 | ||
531 | #define ARIZONA_AIF2TX5MIX_INPUT_1_VOLUME 0x761 | ||
532 | #define ARIZONA_AIF2TX5MIX_INPUT_2_SOURCE 0x762 | ||
533 | #define ARIZONA_AIF2TX5MIX_INPUT_2_VOLUME 0x763 | ||
534 | #define ARIZONA_AIF2TX5MIX_INPUT_3_SOURCE 0x764 | ||
535 | #define ARIZONA_AIF2TX5MIX_INPUT_3_VOLUME 0x765 | ||
536 | #define ARIZONA_AIF2TX5MIX_INPUT_4_SOURCE 0x766 | ||
537 | #define ARIZONA_AIF2TX5MIX_INPUT_4_VOLUME 0x767 | ||
538 | #define ARIZONA_AIF2TX6MIX_INPUT_1_SOURCE 0x768 | ||
539 | #define ARIZONA_AIF2TX6MIX_INPUT_1_VOLUME 0x769 | ||
540 | #define ARIZONA_AIF2TX6MIX_INPUT_2_SOURCE 0x76A | ||
541 | #define ARIZONA_AIF2TX6MIX_INPUT_2_VOLUME 0x76B | ||
542 | #define ARIZONA_AIF2TX6MIX_INPUT_3_SOURCE 0x76C | ||
543 | #define ARIZONA_AIF2TX6MIX_INPUT_3_VOLUME 0x76D | ||
544 | #define ARIZONA_AIF2TX6MIX_INPUT_4_SOURCE 0x76E | ||
545 | #define ARIZONA_AIF2TX6MIX_INPUT_4_VOLUME 0x76F | ||
514 | #define ARIZONA_AIF3TX1MIX_INPUT_1_SOURCE 0x780 | 546 | #define ARIZONA_AIF3TX1MIX_INPUT_1_SOURCE 0x780 |
515 | #define ARIZONA_AIF3TX1MIX_INPUT_1_VOLUME 0x781 | 547 | #define ARIZONA_AIF3TX1MIX_INPUT_1_VOLUME 0x781 |
516 | #define ARIZONA_AIF3TX1MIX_INPUT_2_SOURCE 0x782 | 548 | #define ARIZONA_AIF3TX1MIX_INPUT_2_SOURCE 0x782 |
@@ -3726,6 +3758,35 @@ | |||
3726 | #define ARIZONA_AIF2TX2_SLOT_WIDTH 6 /* AIF2TX2_SLOT - [5:0] */ | 3758 | #define ARIZONA_AIF2TX2_SLOT_WIDTH 6 /* AIF2TX2_SLOT - [5:0] */ |
3727 | 3759 | ||
3728 | /* | 3760 | /* |
3761 | * R1355 (0x54B) - AIF2 Frame Ctrl 5 | ||
3762 | */ | ||
3763 | #define ARIZONA_AIF2TX3_SLOT_MASK 0x003F /* AIF2TX3_SLOT - [5:0] */ | ||
3764 | #define ARIZONA_AIF2TX3_SLOT_SHIFT 0 /* AIF2TX3_SLOT - [5:0] */ | ||
3765 | #define ARIZONA_AIF2TX3_SLOT_WIDTH 6 /* AIF2TX3_SLOT - [5:0] */ | ||
3766 | |||
3767 | /* | ||
3768 | * R1356 (0x54C) - AIF2 Frame Ctrl 6 | ||
3769 | */ | ||
3770 | #define ARIZONA_AIF2TX4_SLOT_MASK 0x003F /* AIF2TX4_SLOT - [5:0] */ | ||
3771 | #define ARIZONA_AIF2TX4_SLOT_SHIFT 0 /* AIF2TX4_SLOT - [5:0] */ | ||
3772 | #define ARIZONA_AIF2TX4_SLOT_WIDTH 6 /* AIF2TX4_SLOT - [5:0] */ | ||
3773 | |||
3774 | |||
3775 | /* | ||
3776 | * R1357 (0x54D) - AIF2 Frame Ctrl 7 | ||
3777 | */ | ||
3778 | #define ARIZONA_AIF2TX5_SLOT_MASK 0x003F /* AIF2TX5_SLOT - [5:0] */ | ||
3779 | #define ARIZONA_AIF2TX5_SLOT_SHIFT 0 /* AIF2TX5_SLOT - [5:0] */ | ||
3780 | #define ARIZONA_AIF2TX5_SLOT_WIDTH 6 /* AIF2TX5_SLOT - [5:0] */ | ||
3781 | |||
3782 | /* | ||
3783 | * R1358 (0x54E) - AIF2 Frame Ctrl 8 | ||
3784 | */ | ||
3785 | #define ARIZONA_AIF2TX6_SLOT_MASK 0x003F /* AIF2TX6_SLOT - [5:0] */ | ||
3786 | #define ARIZONA_AIF2TX6_SLOT_SHIFT 0 /* AIF2TX6_SLOT - [5:0] */ | ||
3787 | #define ARIZONA_AIF2TX6_SLOT_WIDTH 6 /* AIF2TX6_SLOT - [5:0] */ | ||
3788 | |||
3789 | /* | ||
3729 | * R1361 (0x551) - AIF2 Frame Ctrl 11 | 3790 | * R1361 (0x551) - AIF2 Frame Ctrl 11 |
3730 | */ | 3791 | */ |
3731 | #define ARIZONA_AIF2RX1_SLOT_MASK 0x003F /* AIF2RX1_SLOT - [5:0] */ | 3792 | #define ARIZONA_AIF2RX1_SLOT_MASK 0x003F /* AIF2RX1_SLOT - [5:0] */ |
@@ -3740,8 +3801,52 @@ | |||
3740 | #define ARIZONA_AIF2RX2_SLOT_WIDTH 6 /* AIF2RX2_SLOT - [5:0] */ | 3801 | #define ARIZONA_AIF2RX2_SLOT_WIDTH 6 /* AIF2RX2_SLOT - [5:0] */ |
3741 | 3802 | ||
3742 | /* | 3803 | /* |
3804 | * R1363 (0x553) - AIF2 Frame Ctrl 13 | ||
3805 | */ | ||
3806 | #define ARIZONA_AIF2RX3_SLOT_MASK 0x003F /* AIF2RX3_SLOT - [5:0] */ | ||
3807 | #define ARIZONA_AIF2RX3_SLOT_SHIFT 0 /* AIF2RX3_SLOT - [5:0] */ | ||
3808 | #define ARIZONA_AIF2RX3_SLOT_WIDTH 6 /* AIF2RX3_SLOT - [5:0] */ | ||
3809 | |||
3810 | /* | ||
3811 | * R1364 (0x554) - AIF2 Frame Ctrl 14 | ||
3812 | */ | ||
3813 | #define ARIZONA_AIF2RX4_SLOT_MASK 0x003F /* AIF2RX4_SLOT - [5:0] */ | ||
3814 | #define ARIZONA_AIF2RX4_SLOT_SHIFT 0 /* AIF2RX4_SLOT - [5:0] */ | ||
3815 | #define ARIZONA_AIF2RX4_SLOT_WIDTH 6 /* AIF2RX4_SLOT - [5:0] */ | ||
3816 | |||
3817 | /* | ||
3818 | * R1365 (0x555) - AIF2 Frame Ctrl 15 | ||
3819 | */ | ||
3820 | #define ARIZONA_AIF2RX5_SLOT_MASK 0x003F /* AIF2RX5_SLOT - [5:0] */ | ||
3821 | #define ARIZONA_AIF2RX5_SLOT_SHIFT 0 /* AIF2RX5_SLOT - [5:0] */ | ||
3822 | #define ARIZONA_AIF2RX5_SLOT_WIDTH 6 /* AIF2RX5_SLOT - [5:0] */ | ||
3823 | |||
3824 | /* | ||
3825 | * R1366 (0x556) - AIF2 Frame Ctrl 16 | ||
3826 | */ | ||
3827 | #define ARIZONA_AIF2RX6_SLOT_MASK 0x003F /* AIF2RX6_SLOT - [5:0] */ | ||
3828 | #define ARIZONA_AIF2RX6_SLOT_SHIFT 0 /* AIF2RX6_SLOT - [5:0] */ | ||
3829 | #define ARIZONA_AIF2RX6_SLOT_WIDTH 6 /* AIF2RX6_SLOT - [5:0] */ | ||
3830 | |||
3831 | /* | ||
3743 | * R1369 (0x559) - AIF2 Tx Enables | 3832 | * R1369 (0x559) - AIF2 Tx Enables |
3744 | */ | 3833 | */ |
3834 | #define ARIZONA_AIF2TX6_ENA 0x0020 /* AIF2TX6_ENA */ | ||
3835 | #define ARIZONA_AIF2TX6_ENA_MASK 0x0020 /* AIF2TX6_ENA */ | ||
3836 | #define ARIZONA_AIF2TX6_ENA_SHIFT 5 /* AIF2TX6_ENA */ | ||
3837 | #define ARIZONA_AIF2TX6_ENA_WIDTH 1 /* AIF2TX6_ENA */ | ||
3838 | #define ARIZONA_AIF2TX5_ENA 0x0010 /* AIF2TX5_ENA */ | ||
3839 | #define ARIZONA_AIF2TX5_ENA_MASK 0x0010 /* AIF2TX5_ENA */ | ||
3840 | #define ARIZONA_AIF2TX5_ENA_SHIFT 4 /* AIF2TX5_ENA */ | ||
3841 | #define ARIZONA_AIF2TX5_ENA_WIDTH 1 /* AIF2TX5_ENA */ | ||
3842 | #define ARIZONA_AIF2TX4_ENA 0x0008 /* AIF2TX4_ENA */ | ||
3843 | #define ARIZONA_AIF2TX4_ENA_MASK 0x0008 /* AIF2TX4_ENA */ | ||
3844 | #define ARIZONA_AIF2TX4_ENA_SHIFT 3 /* AIF2TX4_ENA */ | ||
3845 | #define ARIZONA_AIF2TX4_ENA_WIDTH 1 /* AIF2TX4_ENA */ | ||
3846 | #define ARIZONA_AIF2TX3_ENA 0x0004 /* AIF2TX3_ENA */ | ||
3847 | #define ARIZONA_AIF2TX3_ENA_MASK 0x0004 /* AIF2TX3_ENA */ | ||
3848 | #define ARIZONA_AIF2TX3_ENA_SHIFT 2 /* AIF2TX3_ENA */ | ||
3849 | #define ARIZONA_AIF2TX3_ENA_WIDTH 1 /* AIF2TX3_ENA */ | ||
3745 | #define ARIZONA_AIF2TX2_ENA 0x0002 /* AIF2TX2_ENA */ | 3850 | #define ARIZONA_AIF2TX2_ENA 0x0002 /* AIF2TX2_ENA */ |
3746 | #define ARIZONA_AIF2TX2_ENA_MASK 0x0002 /* AIF2TX2_ENA */ | 3851 | #define ARIZONA_AIF2TX2_ENA_MASK 0x0002 /* AIF2TX2_ENA */ |
3747 | #define ARIZONA_AIF2TX2_ENA_SHIFT 1 /* AIF2TX2_ENA */ | 3852 | #define ARIZONA_AIF2TX2_ENA_SHIFT 1 /* AIF2TX2_ENA */ |
@@ -3754,6 +3859,22 @@ | |||
3754 | /* | 3859 | /* |
3755 | * R1370 (0x55A) - AIF2 Rx Enables | 3860 | * R1370 (0x55A) - AIF2 Rx Enables |
3756 | */ | 3861 | */ |
3862 | #define ARIZONA_AIF2RX6_ENA 0x0020 /* AIF2RX6_ENA */ | ||
3863 | #define ARIZONA_AIF2RX6_ENA_MASK 0x0020 /* AIF2RX6_ENA */ | ||
3864 | #define ARIZONA_AIF2RX6_ENA_SHIFT 5 /* AIF2RX6_ENA */ | ||
3865 | #define ARIZONA_AIF2RX6_ENA_WIDTH 1 /* AIF2RX6_ENA */ | ||
3866 | #define ARIZONA_AIF2RX5_ENA 0x0010 /* AIF2RX5_ENA */ | ||
3867 | #define ARIZONA_AIF2RX5_ENA_MASK 0x0010 /* AIF2RX5_ENA */ | ||
3868 | #define ARIZONA_AIF2RX5_ENA_SHIFT 4 /* AIF2RX5_ENA */ | ||
3869 | #define ARIZONA_AIF2RX5_ENA_WIDTH 1 /* AIF2RX5_ENA */ | ||
3870 | #define ARIZONA_AIF2RX4_ENA 0x0008 /* AIF2RX4_ENA */ | ||
3871 | #define ARIZONA_AIF2RX4_ENA_MASK 0x0008 /* AIF2RX4_ENA */ | ||
3872 | #define ARIZONA_AIF2RX4_ENA_SHIFT 3 /* AIF2RX4_ENA */ | ||
3873 | #define ARIZONA_AIF2RX4_ENA_WIDTH 1 /* AIF2RX4_ENA */ | ||
3874 | #define ARIZONA_AIF2RX3_ENA 0x0004 /* AIF2RX3_ENA */ | ||
3875 | #define ARIZONA_AIF2RX3_ENA_MASK 0x0004 /* AIF2RX3_ENA */ | ||
3876 | #define ARIZONA_AIF2RX3_ENA_SHIFT 2 /* AIF2RX3_ENA */ | ||
3877 | #define ARIZONA_AIF2RX3_ENA_WIDTH 1 /* AIF2RX3_ENA */ | ||
3757 | #define ARIZONA_AIF2RX2_ENA 0x0002 /* AIF2RX2_ENA */ | 3878 | #define ARIZONA_AIF2RX2_ENA 0x0002 /* AIF2RX2_ENA */ |
3758 | #define ARIZONA_AIF2RX2_ENA_MASK 0x0002 /* AIF2RX2_ENA */ | 3879 | #define ARIZONA_AIF2RX2_ENA_MASK 0x0002 /* AIF2RX2_ENA */ |
3759 | #define ARIZONA_AIF2RX2_ENA_SHIFT 1 /* AIF2RX2_ENA */ | 3880 | #define ARIZONA_AIF2RX2_ENA_SHIFT 1 /* AIF2RX2_ENA */ |