[-next,v1,2/2] pmdomain: starfive: Update prefixes for AON power domain

Message ID 20230927130734.9921-3-changhuang.liang@starfivetech.com
State New
Headers
Series Update prefixes for AON power domain |

Commit Message

Changhuang Liang Sept. 27, 2023, 1:07 p.m. UTC
  Use "JH7110_AON_PD_" prefix for AON power doamin for JH7110 SoC.

Reviewed-by: Walker Chen <walker.chen@starfivetech.com>
Signed-off-by: Changhuang Liang <changhuang.liang@starfivetech.com>
---
 drivers/pmdomain/starfive/jh71xx-pmu.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
  

Comments

Ulf Hansson Oct. 4, 2023, 9:46 p.m. UTC | #1
On Wed, 27 Sept 2023 at 15:07, Changhuang Liang
<changhuang.liang@starfivetech.com> wrote:
>
> Use "JH7110_AON_PD_" prefix for AON power doamin for JH7110 SoC.
>
> Reviewed-by: Walker Chen <walker.chen@starfivetech.com>
> Signed-off-by: Changhuang Liang <changhuang.liang@starfivetech.com>

Applied for next, thanks!

Kind regards
Uffe


> ---
>  drivers/pmdomain/starfive/jh71xx-pmu.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/pmdomain/starfive/jh71xx-pmu.c b/drivers/pmdomain/starfive/jh71xx-pmu.c
> index 2724bee7e85f..74720c09a6e3 100644
> --- a/drivers/pmdomain/starfive/jh71xx-pmu.c
> +++ b/drivers/pmdomain/starfive/jh71xx-pmu.c
> @@ -419,11 +419,11 @@ static const struct jh71xx_pmu_match_data jh7110_pmu = {
>  };
>
>  static const struct jh71xx_domain_info jh7110_aon_power_domains[] = {
> -       [JH7110_PD_DPHY_TX] = {
> +       [JH7110_AON_PD_DPHY_TX] = {
>                 .name = "DPHY-TX",
>                 .bit = 30,
>         },
> -       [JH7110_PD_DPHY_RX] = {
> +       [JH7110_AON_PD_DPHY_RX] = {
>                 .name = "DPHY-RX",
>                 .bit = 31,
>         },
> --
> 2.25.1
>
  

Patch

diff --git a/drivers/pmdomain/starfive/jh71xx-pmu.c b/drivers/pmdomain/starfive/jh71xx-pmu.c
index 2724bee7e85f..74720c09a6e3 100644
--- a/drivers/pmdomain/starfive/jh71xx-pmu.c
+++ b/drivers/pmdomain/starfive/jh71xx-pmu.c
@@ -419,11 +419,11 @@  static const struct jh71xx_pmu_match_data jh7110_pmu = {
 };
 
 static const struct jh71xx_domain_info jh7110_aon_power_domains[] = {
-	[JH7110_PD_DPHY_TX] = {
+	[JH7110_AON_PD_DPHY_TX] = {
 		.name = "DPHY-TX",
 		.bit = 30,
 	},
-	[JH7110_PD_DPHY_RX] = {
+	[JH7110_AON_PD_DPHY_RX] = {
 		.name = "DPHY-RX",
 		.bit = 31,
 	},