mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-24 02:01:36 +03:00
video: tegra: Add T239 support in new TSEC driver
This patch adds T239 support in new TSEC driver and removes the support from the old driver. Bug 3817626 Change-Id: I705e0bac25e6a905588145aef4a4cc98d0a81651 Signed-off-by: Sahil Mukund Patki <spatki@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2800494 Reviewed-by: svcacv <svcacv@nvidia.com> Reviewed-by: Nikesh Oswal <noswal@nvidia.com> Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
This commit is contained in:
committed by
Laxman Dewangan
parent
7f6f9f5ff5
commit
4de7c8f6d0
@@ -32,6 +32,12 @@ struct tsec_device_data t23x_tsec_data = {
|
||||
.riscv_image_bin = "tegra23x/nvhost_tsec_riscv.fw",
|
||||
};
|
||||
|
||||
struct tsec_device_data t239_tsec_data = {
|
||||
.rate = {192000000, 0, 204000000},
|
||||
.riscv_desc_bin = "tegra239/nvhost_tsec_desc.fw",
|
||||
.riscv_image_bin = "tegra239/nvhost_tsec_riscv.fw",
|
||||
};
|
||||
|
||||
/*
|
||||
* TSEC Register Access APIs
|
||||
*/
|
||||
@@ -264,6 +270,8 @@ const struct dev_pm_ops tsec_module_pm_ops = {
|
||||
static const struct of_device_id tsec_of_match[] = {
|
||||
{ .compatible = "nvidia,tegra234-tsec",
|
||||
.data = (struct tsec_device_data *)&t23x_tsec_data },
|
||||
{ .compatible = "nvidia,tegra239-tsec",
|
||||
.data = (struct nvhost_device_data *)&t239_tsec_data },
|
||||
{ },
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user