diff options
author | Sumit Bhattacharya <sumitb@nvidia.com> | 2011-09-19 00:18:34 +0530 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2011-11-30 21:49:00 -0800 |
commit | c29ddbe247d3a0b3ab46f15e24a83de0e64683e4 (patch) | |
tree | a705db16fddfb44bbf2c25cfcc600eddaf2dae8d /arch/arm/mach-tegra/devices.c | |
parent | 5a843ce9b9090bb7ce012143fd997c53a87f5117 (diff) |
arch: arm: tegra: Add SPDIF driver support
Bug 872652
Signed-off-by: Sumit Bhattacharya <sumitb@nvidia.com>
Change-Id: I7b948b820434721511c008f644b69d93c23865e1
Reviewed-on: http://git-master/r/53094
Tested-by: Sumit Bhattacharya <sumitb@nvidia.com>
Reviewed-by: Stephen Warren <swarren@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Rebase-Id: R3fb55fe060065d76fb18010ad249e6ee0f96a944
Diffstat (limited to 'arch/arm/mach-tegra/devices.c')
-rw-r--r-- | arch/arm/mach-tegra/devices.c | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/arch/arm/mach-tegra/devices.c b/arch/arm/mach-tegra/devices.c index d8e004116821..6f5da486aeec 100644 --- a/arch/arm/mach-tegra/devices.c +++ b/arch/arm/mach-tegra/devices.c @@ -990,6 +990,13 @@ static struct resource spdif_resource[] = { .flags = IORESOURCE_MEM } }; + +struct platform_device tegra_spdif_device = { + .name = "tegra20-spdif", + .id = -1, + .resource = spdif_resource, + .num_resources = ARRAY_SIZE(spdif_resource), +}; #else /* FIXME : Temporarly adding - find the right solution */ @@ -1005,7 +1012,6 @@ static struct resource spdif_resource[] = { .flags = IORESOURCE_MEM } }; -#endif struct platform_device tegra_spdif_device = { .name = "spdif_out", @@ -1013,6 +1019,7 @@ struct platform_device tegra_spdif_device = { .resource = spdif_resource, .num_resources = ARRAY_SIZE(spdif_resource), }; +#endif #ifndef CONFIG_ARCH_TEGRA_2x_SOC static struct resource ahub_resource[] = { @@ -1036,6 +1043,11 @@ struct platform_device tegra_ahub_device = { }; #endif +struct platform_device spdif_dit_device = { + .name = "spdif-dit", + .id = -1, +}; + struct platform_device tegra_pcm_device = { .name = "tegra-pcm-audio", .id = -1, |