vic.c (bf0297ac77f3c3187a79a612082ce7ddb64c1e4b) | vic.c (9550669c197510b9f994102280da7fc0ab468d05) |
---|---|
1// SPDX-License-Identifier: GPL-2.0-only 2/* 3 * Copyright (c) 2015, NVIDIA Corporation. 4 */ 5 6#include <linux/clk.h> 7#include <linux/delay.h> 8#include <linux/dma-mapping.h> --- 433 unchanged lines hidden (view full) --- 442#define NVIDIA_TEGRA_194_VIC_FIRMWARE "nvidia/tegra194/vic.bin" 443 444static const struct vic_config vic_t194_config = { 445 .firmware = NVIDIA_TEGRA_194_VIC_FIRMWARE, 446 .version = 0x19, 447 .supports_sid = true, 448}; 449 | 1// SPDX-License-Identifier: GPL-2.0-only 2/* 3 * Copyright (c) 2015, NVIDIA Corporation. 4 */ 5 6#include <linux/clk.h> 7#include <linux/delay.h> 8#include <linux/dma-mapping.h> --- 433 unchanged lines hidden (view full) --- 442#define NVIDIA_TEGRA_194_VIC_FIRMWARE "nvidia/tegra194/vic.bin" 443 444static const struct vic_config vic_t194_config = { 445 .firmware = NVIDIA_TEGRA_194_VIC_FIRMWARE, 446 .version = 0x19, 447 .supports_sid = true, 448}; 449 |
450#define NVIDIA_TEGRA_234_VIC_FIRMWARE "nvidia/tegra234/vic.bin" 451 452static const struct vic_config vic_t234_config = { 453 .firmware = NVIDIA_TEGRA_234_VIC_FIRMWARE, 454 .version = 0x23, 455 .supports_sid = true, 456}; 457 |
|
450static const struct of_device_id tegra_vic_of_match[] = { 451 { .compatible = "nvidia,tegra124-vic", .data = &vic_t124_config }, 452 { .compatible = "nvidia,tegra210-vic", .data = &vic_t210_config }, 453 { .compatible = "nvidia,tegra186-vic", .data = &vic_t186_config }, 454 { .compatible = "nvidia,tegra194-vic", .data = &vic_t194_config }, | 458static const struct of_device_id tegra_vic_of_match[] = { 459 { .compatible = "nvidia,tegra124-vic", .data = &vic_t124_config }, 460 { .compatible = "nvidia,tegra210-vic", .data = &vic_t210_config }, 461 { .compatible = "nvidia,tegra186-vic", .data = &vic_t186_config }, 462 { .compatible = "nvidia,tegra194-vic", .data = &vic_t194_config }, |
463 { .compatible = "nvidia,tegra234-vic", .data = &vic_t234_config }, |
|
455 { }, 456}; 457MODULE_DEVICE_TABLE(of, tegra_vic_of_match); 458 459static int vic_probe(struct platform_device *pdev) 460{ 461 struct device *dev = &pdev->dev; 462 struct host1x_syncpt **syncpts; --- 122 unchanged lines hidden (view full) --- 585MODULE_FIRMWARE(NVIDIA_TEGRA_210_VIC_FIRMWARE); 586#endif 587#if IS_ENABLED(CONFIG_ARCH_TEGRA_186_SOC) 588MODULE_FIRMWARE(NVIDIA_TEGRA_186_VIC_FIRMWARE); 589#endif 590#if IS_ENABLED(CONFIG_ARCH_TEGRA_194_SOC) 591MODULE_FIRMWARE(NVIDIA_TEGRA_194_VIC_FIRMWARE); 592#endif | 464 { }, 465}; 466MODULE_DEVICE_TABLE(of, tegra_vic_of_match); 467 468static int vic_probe(struct platform_device *pdev) 469{ 470 struct device *dev = &pdev->dev; 471 struct host1x_syncpt **syncpts; --- 122 unchanged lines hidden (view full) --- 594MODULE_FIRMWARE(NVIDIA_TEGRA_210_VIC_FIRMWARE); 595#endif 596#if IS_ENABLED(CONFIG_ARCH_TEGRA_186_SOC) 597MODULE_FIRMWARE(NVIDIA_TEGRA_186_VIC_FIRMWARE); 598#endif 599#if IS_ENABLED(CONFIG_ARCH_TEGRA_194_SOC) 600MODULE_FIRMWARE(NVIDIA_TEGRA_194_VIC_FIRMWARE); 601#endif |
602#if IS_ENABLED(CONFIG_ARCH_TEGRA_234_SOC) 603MODULE_FIRMWARE(NVIDIA_TEGRA_234_VIC_FIRMWARE); 604#endif |
|