devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [-next v1 0/2] Update prefixes for AON power domain
@ 2023-09-27 13:07 Changhuang Liang
  2023-09-27 13:07 ` [-next v1 1/2] dt-bindings: power: " Changhuang Liang
  2023-09-27 13:07 ` [-next v1 2/2] pmdomain: starfive: " Changhuang Liang
  0 siblings, 2 replies; 8+ messages in thread
From: Changhuang Liang @ 2023-09-27 13:07 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Ulf Hansson
  Cc: Walker Chen, Changhuang Liang, Hal Feng, linux-pm, devicetree,
	linux-kernel

This patchset uesd to update prefixes for AON power domain. It have been tested
on the VisionFive 2 board.

Changhuang Liang (2):
  dt-bindings: power: Update prefixes for AON power domain
  pmdomain: starfive: Update prefixes for AON power domain

 drivers/pmdomain/starfive/jh71xx-pmu.c          | 4 ++--
 include/dt-bindings/power/starfive,jh7110-pmu.h | 5 +++--
 2 files changed, 5 insertions(+), 4 deletions(-)

--
2.25.1

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [-next v1 1/2] dt-bindings: power: Update prefixes for AON power domain
  2023-09-27 13:07 [-next v1 0/2] Update prefixes for AON power domain Changhuang Liang
@ 2023-09-27 13:07 ` Changhuang Liang
  2023-09-27 14:52   ` Conor Dooley
                     ` (2 more replies)
  2023-09-27 13:07 ` [-next v1 2/2] pmdomain: starfive: " Changhuang Liang
  1 sibling, 3 replies; 8+ messages in thread
From: Changhuang Liang @ 2023-09-27 13:07 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Ulf Hansson
  Cc: Walker Chen, Changhuang Liang, Hal Feng, linux-pm, devicetree,
	linux-kernel

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>
---
 include/dt-bindings/power/starfive,jh7110-pmu.h | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/include/dt-bindings/power/starfive,jh7110-pmu.h b/include/dt-bindings/power/starfive,jh7110-pmu.h
index 341e2a0676ba..7b4f24927dee 100644
--- a/include/dt-bindings/power/starfive,jh7110-pmu.h
+++ b/include/dt-bindings/power/starfive,jh7110-pmu.h
@@ -14,7 +14,8 @@
 #define JH7110_PD_ISP		5
 #define JH7110_PD_VENC		6
 
-#define JH7110_PD_DPHY_TX	0
-#define JH7110_PD_DPHY_RX	1
+/* AON Power Domain */
+#define JH7110_AON_PD_DPHY_TX	0
+#define JH7110_AON_PD_DPHY_RX	1
 
 #endif
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [-next v1 2/2] pmdomain: starfive: Update prefixes for AON power domain
  2023-09-27 13:07 [-next v1 0/2] Update prefixes for AON power domain Changhuang Liang
  2023-09-27 13:07 ` [-next v1 1/2] dt-bindings: power: " Changhuang Liang
@ 2023-09-27 13:07 ` Changhuang Liang
  2023-10-04 21:46   ` Ulf Hansson
  1 sibling, 1 reply; 8+ messages in thread
From: Changhuang Liang @ 2023-09-27 13:07 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Ulf Hansson
  Cc: Walker Chen, Changhuang Liang, Hal Feng, linux-pm, devicetree,
	linux-kernel

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(-)

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


^ permalink raw reply related	[flat|nested] 8+ messages in thread

* Re: [-next v1 1/2] dt-bindings: power: Update prefixes for AON power domain
  2023-09-27 13:07 ` [-next v1 1/2] dt-bindings: power: " Changhuang Liang
@ 2023-09-27 14:52   ` Conor Dooley
  2023-09-27 14:53     ` Conor Dooley
  2023-10-02  6:55   ` Geert Uytterhoeven
  2023-10-04 21:46   ` Ulf Hansson
  2 siblings, 1 reply; 8+ messages in thread
From: Conor Dooley @ 2023-09-27 14:52 UTC (permalink / raw)
  To: Changhuang Liang
  Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Ulf Hansson,
	Walker Chen, Hal Feng, linux-pm, devicetree, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 1026 bytes --]

On Wed, Sep 27, 2023 at 06:07:33AM -0700, Changhuang Liang 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>

Acked-by: Conor Dooley <conor.dooley@microchip.com>

Thanks,
Conor.

> ---
>  include/dt-bindings/power/starfive,jh7110-pmu.h | 5 +++--
>  1 file changed, 3 insertions(+), 2 deletions(-)
> 
> diff --git a/include/dt-bindings/power/starfive,jh7110-pmu.h b/include/dt-bindings/power/starfive,jh7110-pmu.h
> index 341e2a0676ba..7b4f24927dee 100644
> --- a/include/dt-bindings/power/starfive,jh7110-pmu.h
> +++ b/include/dt-bindings/power/starfive,jh7110-pmu.h
> @@ -14,7 +14,8 @@
>  #define JH7110_PD_ISP		5
>  #define JH7110_PD_VENC		6
>  
> -#define JH7110_PD_DPHY_TX	0
> -#define JH7110_PD_DPHY_RX	1
> +/* AON Power Domain */
> +#define JH7110_AON_PD_DPHY_TX	0
> +#define JH7110_AON_PD_DPHY_RX	1
>  
>  #endif
> -- 
> 2.25.1
> 

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [-next v1 1/2] dt-bindings: power: Update prefixes for AON power domain
  2023-09-27 14:52   ` Conor Dooley
@ 2023-09-27 14:53     ` Conor Dooley
  0 siblings, 0 replies; 8+ messages in thread
From: Conor Dooley @ 2023-09-27 14:53 UTC (permalink / raw)
  To: Changhuang Liang
  Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Ulf Hansson,
	Walker Chen, Hal Feng, linux-pm, devicetree, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 1285 bytes --]

On Wed, Sep 27, 2023 at 03:52:44PM +0100, Conor Dooley wrote:
> On Wed, Sep 27, 2023 at 06:07:33AM -0700, Changhuang Liang 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>
> 
> Acked-by: Conor Dooley <conor.dooley@microchip.com>

Also, It'd have been worth mentioning that there are no ABI issues here
due to this stuff not yet being in Linus' tree.

> 
> Thanks,
> Conor.
> 
> > ---
> >  include/dt-bindings/power/starfive,jh7110-pmu.h | 5 +++--
> >  1 file changed, 3 insertions(+), 2 deletions(-)
> > 
> > diff --git a/include/dt-bindings/power/starfive,jh7110-pmu.h b/include/dt-bindings/power/starfive,jh7110-pmu.h
> > index 341e2a0676ba..7b4f24927dee 100644
> > --- a/include/dt-bindings/power/starfive,jh7110-pmu.h
> > +++ b/include/dt-bindings/power/starfive,jh7110-pmu.h
> > @@ -14,7 +14,8 @@
> >  #define JH7110_PD_ISP		5
> >  #define JH7110_PD_VENC		6
> >  
> > -#define JH7110_PD_DPHY_TX	0
> > -#define JH7110_PD_DPHY_RX	1
> > +/* AON Power Domain */
> > +#define JH7110_AON_PD_DPHY_TX	0
> > +#define JH7110_AON_PD_DPHY_RX	1
> >  
> >  #endif
> > -- 
> > 2.25.1
> > 



[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [-next v1 1/2] dt-bindings: power: Update prefixes for AON power domain
  2023-09-27 13:07 ` [-next v1 1/2] dt-bindings: power: " Changhuang Liang
  2023-09-27 14:52   ` Conor Dooley
@ 2023-10-02  6:55   ` Geert Uytterhoeven
  2023-10-04 21:46   ` Ulf Hansson
  2 siblings, 0 replies; 8+ messages in thread
From: Geert Uytterhoeven @ 2023-10-02  6:55 UTC (permalink / raw)
  To: Changhuang Liang
  Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Ulf Hansson,
	Walker Chen, Hal Feng, linux-pm, devicetree, linux-kernel

Hi Changhuang,

Thanks for your patch!

On Wed, Sep 27, 2023 at 3:07 PM Changhuang Liang
<changhuang.liang@starfivetech.com> wrote:
> Use "JH7110_AON_PD_" prefix for AON power doamin for JH7110 SoC.

domain

>
> Reviewed-by: Walker Chen <walker.chen@starfivetech.com>
> Signed-off-by: Changhuang Liang <changhuang.liang@starfivetech.com>

Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>

Gr{oetje,eeting}s,

                        Geert

-- 
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [-next v1 1/2] dt-bindings: power: Update prefixes for AON power domain
  2023-09-27 13:07 ` [-next v1 1/2] dt-bindings: power: " Changhuang Liang
  2023-09-27 14:52   ` Conor Dooley
  2023-10-02  6:55   ` Geert Uytterhoeven
@ 2023-10-04 21:46   ` Ulf Hansson
  2 siblings, 0 replies; 8+ messages in thread
From: Ulf Hansson @ 2023-10-04 21:46 UTC (permalink / raw)
  To: Changhuang Liang
  Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Walker Chen,
	Hal Feng, linux-pm, devicetree, linux-kernel

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 (spelling mistake fixed), thanks!

Kind regards
Uffe


> ---
>  include/dt-bindings/power/starfive,jh7110-pmu.h | 5 +++--
>  1 file changed, 3 insertions(+), 2 deletions(-)
>
> diff --git a/include/dt-bindings/power/starfive,jh7110-pmu.h b/include/dt-bindings/power/starfive,jh7110-pmu.h
> index 341e2a0676ba..7b4f24927dee 100644
> --- a/include/dt-bindings/power/starfive,jh7110-pmu.h
> +++ b/include/dt-bindings/power/starfive,jh7110-pmu.h
> @@ -14,7 +14,8 @@
>  #define JH7110_PD_ISP          5
>  #define JH7110_PD_VENC         6
>
> -#define JH7110_PD_DPHY_TX      0
> -#define JH7110_PD_DPHY_RX      1
> +/* AON Power Domain */
> +#define JH7110_AON_PD_DPHY_TX  0
> +#define JH7110_AON_PD_DPHY_RX  1
>
>  #endif
> --
> 2.25.1
>

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [-next v1 2/2] pmdomain: starfive: Update prefixes for AON power domain
  2023-09-27 13:07 ` [-next v1 2/2] pmdomain: starfive: " Changhuang Liang
@ 2023-10-04 21:46   ` Ulf Hansson
  0 siblings, 0 replies; 8+ messages in thread
From: Ulf Hansson @ 2023-10-04 21:46 UTC (permalink / raw)
  To: Changhuang Liang
  Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Walker Chen,
	Hal Feng, linux-pm, devicetree, linux-kernel

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
>

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2023-10-04 21:47 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-27 13:07 [-next v1 0/2] Update prefixes for AON power domain Changhuang Liang
2023-09-27 13:07 ` [-next v1 1/2] dt-bindings: power: " Changhuang Liang
2023-09-27 14:52   ` Conor Dooley
2023-09-27 14:53     ` Conor Dooley
2023-10-02  6:55   ` Geert Uytterhoeven
2023-10-04 21:46   ` Ulf Hansson
2023-09-27 13:07 ` [-next v1 2/2] pmdomain: starfive: " Changhuang Liang
2023-10-04 21:46   ` Ulf Hansson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).