Skip to content

Commit 8d1a341

Browse files
digetxthierryreding
authored andcommitted
soc/tegra: pmc: Rename 3d power domains
Device-tree schema doesn't allow domain name to start with a number. We don't use 3d domain yet in device-trees, so rename it to the name used by Tegra TRMs: TD, TD2. Reported-by: David Heidelberg <david@ixit.cz> Reviewed-by: Ulf Hansson <ulf.hansson@linaro.org> Signed-off-by: Dmitry Osipenko <digetx@gmail.com> Signed-off-by: Thierry Reding <treding@nvidia.com>
1 parent 80ef351 commit 8d1a341

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

drivers/soc/tegra/pmc.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2988,7 +2988,7 @@ static SIMPLE_DEV_PM_OPS(tegra_pmc_pm_ops, tegra_pmc_suspend, tegra_pmc_resume);
29882988

29892989
static const char * const tegra20_powergates[] = {
29902990
[TEGRA_POWERGATE_CPU] = "cpu",
2991-
[TEGRA_POWERGATE_3D] = "3d",
2991+
[TEGRA_POWERGATE_3D] = "td",
29922992
[TEGRA_POWERGATE_VENC] = "venc",
29932993
[TEGRA_POWERGATE_VDEC] = "vdec",
29942994
[TEGRA_POWERGATE_PCIE] = "pcie",
@@ -3096,7 +3096,7 @@ static const struct tegra_pmc_soc tegra20_pmc_soc = {
30963096

30973097
static const char * const tegra30_powergates[] = {
30983098
[TEGRA_POWERGATE_CPU] = "cpu0",
3099-
[TEGRA_POWERGATE_3D] = "3d0",
3099+
[TEGRA_POWERGATE_3D] = "td",
31003100
[TEGRA_POWERGATE_VENC] = "venc",
31013101
[TEGRA_POWERGATE_VDEC] = "vdec",
31023102
[TEGRA_POWERGATE_PCIE] = "pcie",
@@ -3108,7 +3108,7 @@ static const char * const tegra30_powergates[] = {
31083108
[TEGRA_POWERGATE_CPU2] = "cpu2",
31093109
[TEGRA_POWERGATE_CPU3] = "cpu3",
31103110
[TEGRA_POWERGATE_CELP] = "celp",
3111-
[TEGRA_POWERGATE_3D1] = "3d1",
3111+
[TEGRA_POWERGATE_3D1] = "td2",
31123112
};
31133113

31143114
static const u8 tegra30_cpu_powergates[] = {
@@ -3157,7 +3157,7 @@ static const struct tegra_pmc_soc tegra30_pmc_soc = {
31573157

31583158
static const char * const tegra114_powergates[] = {
31593159
[TEGRA_POWERGATE_CPU] = "crail",
3160-
[TEGRA_POWERGATE_3D] = "3d",
3160+
[TEGRA_POWERGATE_3D] = "td",
31613161
[TEGRA_POWERGATE_VENC] = "venc",
31623162
[TEGRA_POWERGATE_VDEC] = "vdec",
31633163
[TEGRA_POWERGATE_MPE] = "mpe",

0 commit comments

Comments
 (0)