video: tegra: host: DT support for host1x domains
Sumit Singh [Wed, 20 May 2015 06:02:18 +0000 (11:02 +0530)]
Add DT support for power domains for host1x clients
for T132 chip.

Bug 200070810

Change-Id: I493c471f74408a1c3ef736412de0807cecc3145a
Signed-off-by: Sumit Singh <sumsingh@nvidia.com>
Reviewed-on: http://git-master/r/744730
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Prashant Gaikwad <pgaikwad@nvidia.com>
Reviewed-by: Arto Merilainen <amerilainen@nvidia.com>
Reviewed-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

drivers/video/tegra/host/flcn/flcn.c
drivers/video/tegra/host/host1x/host1x.c
drivers/video/tegra/host/isp/isp.c
drivers/video/tegra/host/tsec/tsec.c
drivers/video/tegra/host/vi/vi.c

index 20e267f..9f94ae8 100644 (file)
@@ -566,6 +566,10 @@ static struct of_device_id tegra_flcn_domain_match[] = {
         .data = (struct nvhost_device_data *)&t21_msenc_info},
        {.compatible = "nvidia,tegra210-nvjpg-pd",
         .data = (struct nvhost_device_data *)&t21_nvjpg_info},
+       {.compatible = "nvidia,tegra132-vic03-pd",
+       .data = (struct nvhost_device_data *)&t124_vic_info},
+       {.compatible = "nvidia,tegra132-msenc-pd",
+       .data = (struct nvhost_device_data *)&t124_msenc_info},
        {.compatible = "nvidia,tegra124-vic03-pd",
        .data = (struct nvhost_device_data *)&t124_vic_info},
        {.compatible = "nvidia,tegra124-msenc-pd",
index f25e993..ed9191f 100644 (file)
@@ -1092,6 +1092,8 @@ static struct platform_driver platform_driver = {
 static struct of_device_id tegra_host1x_domain_match[] = {
        {.compatible = "nvidia,tegra210-host1x-pd",
         .data = (struct nvhost_device_data *)&t21_host1x_info},
+       {.compatible = "nvidia,tegra132-host1x-pd",
+       .data = (struct nvhost_device_data *)&t124_host1x_info},
        {.compatible = "nvidia,tegra124-host1x-pd",
         .data = (struct nvhost_device_data *)&t124_host1x_info},
        {},
index 7e116f0..5b2fdf4 100644 (file)
@@ -651,6 +651,8 @@ static struct of_device_id tegra_isp_domain_match[] = {
         .data = (struct nvhost_device_data *)&t21_isp_info},
        {.compatible = "nvidia,tegra210-ve2-pd",
         .data = (struct nvhost_device_data *)&t21_ispb_info},
+       {.compatible = "nvidia,tegra132-ve-pd",
+       .data = (struct nvhost_device_data *)&t124_isp_info},
        {.compatible = "nvidia,tegra124-ve-pd",
         .data = (struct nvhost_device_data *)&t124_isp_info},
        {},
index 28c8b79..00e9fcf 100644 (file)
@@ -1021,6 +1021,8 @@ __setup("otf_key=", tsec_key_setup);
 static struct of_device_id tegra_tsec_domain_match[] = {
        {.compatible = "nvidia,tegra210-tsec-pd",
         .data = (struct nvhost_device_data *)&t21_tsec_info},
+       {.compatible = "nvidia,tegra132-tsec-pd",
+       .data = (struct nvhost_device_data *)&t124_tsec_info},
        {.compatible = "nvidia,tegra124-tsec-pd",
         .data = (struct nvhost_device_data *)&t124_tsec_info},
        {},
index 48be709..80b3c78 100644 (file)
@@ -398,6 +398,8 @@ static struct platform_driver vi_driver = {
 static struct of_device_id tegra_vi_domain_match[] = {
        {.compatible = "nvidia,tegra210-ve-pd",
        .data = (struct nvhost_device_data *)&t21_vi_info},
+       {.compatible = "nvidia,tegra132-ve-pd",
+       .data = (struct nvhost_device_data *)&t124_vi_info},
        {.compatible = "nvidia,tegra124-ve-pd",
         .data = (struct nvhost_device_data *)&t124_vi_info},
        {},