lkml.org 
[lkml]   [2021]   [Nov]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH v16 31/40] soc/tegra: pmc: Rename 3d power domains
    Date
    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>
    ---
    drivers/soc/tegra/pmc.c | 8 ++++----
    1 file changed, 4 insertions(+), 4 deletions(-)

    diff --git a/drivers/soc/tegra/pmc.c b/drivers/soc/tegra/pmc.c
    index 1a55b8319d63..e1fae1a5e36a 100644
    --- a/drivers/soc/tegra/pmc.c
    +++ b/drivers/soc/tegra/pmc.c
    @@ -2992,7 +2992,7 @@ static SIMPLE_DEV_PM_OPS(tegra_pmc_pm_ops, tegra_pmc_suspend, tegra_pmc_resume);

    static const char * const tegra20_powergates[] = {
    [TEGRA_POWERGATE_CPU] = "cpu",
    - [TEGRA_POWERGATE_3D] = "3d",
    + [TEGRA_POWERGATE_3D] = "td",
    [TEGRA_POWERGATE_VENC] = "venc",
    [TEGRA_POWERGATE_VDEC] = "vdec",
    [TEGRA_POWERGATE_PCIE] = "pcie",
    @@ -3100,7 +3100,7 @@ static const struct tegra_pmc_soc tegra20_pmc_soc = {

    static const char * const tegra30_powergates[] = {
    [TEGRA_POWERGATE_CPU] = "cpu0",
    - [TEGRA_POWERGATE_3D] = "3d0",
    + [TEGRA_POWERGATE_3D] = "td",
    [TEGRA_POWERGATE_VENC] = "venc",
    [TEGRA_POWERGATE_VDEC] = "vdec",
    [TEGRA_POWERGATE_PCIE] = "pcie",
    @@ -3112,7 +3112,7 @@ static const char * const tegra30_powergates[] = {
    [TEGRA_POWERGATE_CPU2] = "cpu2",
    [TEGRA_POWERGATE_CPU3] = "cpu3",
    [TEGRA_POWERGATE_CELP] = "celp",
    - [TEGRA_POWERGATE_3D1] = "3d1",
    + [TEGRA_POWERGATE_3D1] = "td2",
    };

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

    static const char * const tegra114_powergates[] = {
    [TEGRA_POWERGATE_CPU] = "crail",
    - [TEGRA_POWERGATE_3D] = "3d",
    + [TEGRA_POWERGATE_3D] = "td",
    [TEGRA_POWERGATE_VENC] = "venc",
    [TEGRA_POWERGATE_VDEC] = "vdec",
    [TEGRA_POWERGATE_MPE] = "mpe",
    --
    2.33.1
    \
     
     \ /
      Last update: 2021-12-01 00:29    [W:2.396 / U:0.004 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site