soc/tegra: pmc: Expose USB regmap to all SoCs
authorDmitry Osipenko <digetx@gmail.com>
Sun, 12 Sep 2021 18:17:14 +0000 (21:17 +0300)
committerThierry Reding <treding@nvidia.com>
Mon, 4 Oct 2021 21:11:09 +0000 (23:11 +0200)
All Tegra SoCs prior to Tegra186 have USB power controls within the Power
Management controller. These controls need to be configured by USB driver.
Expose the regmap to these SoCs.

Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/soc/tegra/pmc.c

index fb8faf7b226ab309ec3c7be58eb38f4e0ce4eefb..2ad7b3bceb80c1f2a99d5f7e6531f162e3eb7336 100644 (file)
@@ -3067,7 +3067,7 @@ static const struct tegra_pmc_soc tegra20_pmc_soc = {
        .pmc_clks_data = NULL,
        .num_pmc_clks = 0,
        .has_blink_output = true,
-       .has_usb_sleepwalk = false,
+       .has_usb_sleepwalk = true,
 };
 
 static const char * const tegra30_powergates[] = {
@@ -3128,7 +3128,7 @@ static const struct tegra_pmc_soc tegra30_pmc_soc = {
        .pmc_clks_data = tegra_pmc_clks_data,
        .num_pmc_clks = ARRAY_SIZE(tegra_pmc_clks_data),
        .has_blink_output = true,
-       .has_usb_sleepwalk = false,
+       .has_usb_sleepwalk = true,
 };
 
 static const char * const tegra114_powergates[] = {
@@ -3185,7 +3185,7 @@ static const struct tegra_pmc_soc tegra114_pmc_soc = {
        .pmc_clks_data = tegra_pmc_clks_data,
        .num_pmc_clks = ARRAY_SIZE(tegra_pmc_clks_data),
        .has_blink_output = true,
-       .has_usb_sleepwalk = false,
+       .has_usb_sleepwalk = true,
 };
 
 static const char * const tegra124_powergates[] = {