mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-25 02:32:08 +03:00
ASoC: tegra: Add MVC Bypass support
- Add "MVC Bypass" kcontrol to enable MVC Bypass mode. - The change is required to verify MVC bypass mode during bring up. Bug 200683609 Change-Id: Ic0f2c947fa2e9bd6e9b429b86ff35e053775ec80 Signed-off-by: sheetal <sheetal@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-5.10/+/2546568 Reviewed-by: svcacv <svcacv@nvidia.com> Reviewed-by: Sameer Pujar <spujar@nvidia.com> Reviewed-by: Viswanath L <viswanathl@nvidia.com> Reviewed-by: svc_kernel_abi <svc_kernel_abi@nvidia.com> Reviewed-by: Mohan Kumar D <mkumard@nvidia.com> Reviewed-by: Sharad Gupta <sharadg@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> GVS: Gerrit_Virtual_Submit Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
@@ -81,6 +81,9 @@
|
||||
#define TEGRA210_MVC_INIT_VOL_DEFAULT_POLY 0x01000000
|
||||
#define TEGRA210_MVC_INIT_VOL_DEFAULT_LINEAR 0x00000000
|
||||
|
||||
#define TEGRA210_MVC_BYPASS_MODE_SHIFT 31
|
||||
#define TEGRA210_MVC_BYPASS_MODE_MASK (1 << TEGRA210_MVC_BYPASS_MODE_SHIFT)
|
||||
|
||||
/* Fields in TEGRA210_MVC ram ctrl */
|
||||
#define TEGRA210_MVC_CFG_RAM_CTRL_RW_SHIFT 14
|
||||
#define TEGRA210_MVC_CFG_RAM_CTRL_RW_WRITE (1 << TEGRA210_MVC_CFG_RAM_CTRL_RW_SHIFT)
|
||||
@@ -113,6 +116,7 @@ struct tegra210_mvc {
|
||||
unsigned int cif_channels;
|
||||
unsigned int audio_bits;
|
||||
unsigned int format_in;
|
||||
bool bypass_mode;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user