vic.c (0dc34e19f66eb84744af2fea4235302da39fd7e7) | vic.c (d6b9bc025859521dae719d8fb8278b0c39b34861) |
---|---|
1/* 2 * Copyright (c) 2015, NVIDIA Corporation. 3 * 4 * This program is free software; you can redistribute it and/or modify 5 * it under the terms of the GNU General Public License version 2 as 6 * published by the Free Software Foundation. 7 */ 8 --- 293 unchanged lines hidden (view full) --- 302 303#define NVIDIA_TEGRA_186_VIC_FIRMWARE "nvidia/tegra186/vic04_ucode.bin" 304 305static const struct vic_config vic_t186_config = { 306 .firmware = NVIDIA_TEGRA_186_VIC_FIRMWARE, 307 .version = 0x18, 308}; 309 | 1/* 2 * Copyright (c) 2015, NVIDIA Corporation. 3 * 4 * This program is free software; you can redistribute it and/or modify 5 * it under the terms of the GNU General Public License version 2 as 6 * published by the Free Software Foundation. 7 */ 8 --- 293 unchanged lines hidden (view full) --- 302 303#define NVIDIA_TEGRA_186_VIC_FIRMWARE "nvidia/tegra186/vic04_ucode.bin" 304 305static const struct vic_config vic_t186_config = { 306 .firmware = NVIDIA_TEGRA_186_VIC_FIRMWARE, 307 .version = 0x18, 308}; 309 |
310#define NVIDIA_TEGRA_194_VIC_FIRMWARE "nvidia/tegra194/vic.bin" 311 312static const struct vic_config vic_t194_config = { 313 .firmware = NVIDIA_TEGRA_194_VIC_FIRMWARE, 314 .version = 0x19, 315}; 316 |
|
310static const struct of_device_id vic_match[] = { 311 { .compatible = "nvidia,tegra124-vic", .data = &vic_t124_config }, 312 { .compatible = "nvidia,tegra210-vic", .data = &vic_t210_config }, 313 { .compatible = "nvidia,tegra186-vic", .data = &vic_t186_config }, | 317static const struct of_device_id vic_match[] = { 318 { .compatible = "nvidia,tegra124-vic", .data = &vic_t124_config }, 319 { .compatible = "nvidia,tegra210-vic", .data = &vic_t210_config }, 320 { .compatible = "nvidia,tegra186-vic", .data = &vic_t186_config }, |
321 { .compatible = "nvidia,tegra194-vic", .data = &vic_t194_config }, |
|
314 { }, 315}; 316 317static int vic_probe(struct platform_device *pdev) 318{ 319 struct device *dev = &pdev->dev; 320 struct host1x_syncpt **syncpts; 321 struct resource *regs; --- 124 unchanged lines hidden (view full) --- 446MODULE_FIRMWARE(NVIDIA_TEGRA_124_VIC_FIRMWARE); 447#endif 448#if IS_ENABLED(CONFIG_ARCH_TEGRA_210_SOC) 449MODULE_FIRMWARE(NVIDIA_TEGRA_210_VIC_FIRMWARE); 450#endif 451#if IS_ENABLED(CONFIG_ARCH_TEGRA_186_SOC) 452MODULE_FIRMWARE(NVIDIA_TEGRA_186_VIC_FIRMWARE); 453#endif | 322 { }, 323}; 324 325static int vic_probe(struct platform_device *pdev) 326{ 327 struct device *dev = &pdev->dev; 328 struct host1x_syncpt **syncpts; 329 struct resource *regs; --- 124 unchanged lines hidden (view full) --- 454MODULE_FIRMWARE(NVIDIA_TEGRA_124_VIC_FIRMWARE); 455#endif 456#if IS_ENABLED(CONFIG_ARCH_TEGRA_210_SOC) 457MODULE_FIRMWARE(NVIDIA_TEGRA_210_VIC_FIRMWARE); 458#endif 459#if IS_ENABLED(CONFIG_ARCH_TEGRA_186_SOC) 460MODULE_FIRMWARE(NVIDIA_TEGRA_186_VIC_FIRMWARE); 461#endif |
462#if IS_ENABLED(CONFIG_ARCH_TEGRA_194_SOC) 463MODULE_FIRMWARE(NVIDIA_TEGRA_194_VIC_FIRMWARE); 464#endif |
|