linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2] pwm: meson: fix axg ao mux parents
@ 2023-04-09 15:15 Heiner Kallweit
  2023-04-10 21:17 ` Martin Blumenstingl
  2023-04-13  9:23 ` Thierry Reding
  0 siblings, 2 replies; 3+ messages in thread
From: Heiner Kallweit @ 2023-04-09 15:15 UTC (permalink / raw)
  To: Jerome Brunet, Martin Blumenstingl, Neil Armstrong, Kevin Hilman,
	Uwe Kleine-König, thierry.reding@gmail.com
  Cc: linux-arm-kernel@lists.infradead.org,
	open list:ARM/Amlogic Meson..., linux-pwm, Jian Hu

This fix is basically the same as 9bce02ef0dfa ("pwm: meson: Fix the
G12A AO clock parents order"). Vendor driver referenced there has
xtal as first parent also for axg ao. In addition fix the name
of the aoclk81 clock. Apparently name aoclk81 as used by the vendor
driver was changed when mainlining the axg clock driver.

Fixes: bccaa3f917c9 ("pwm: meson: Add clock source configuration for Meson-AXG")
Cc: stable@vger.kernel.org

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
---
 drivers/pwm/pwm-meson.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/pwm/pwm-meson.c b/drivers/pwm/pwm-meson.c
index b5c746fab..0fe0400c2 100644
--- a/drivers/pwm/pwm-meson.c
+++ b/drivers/pwm/pwm-meson.c
@@ -381,7 +381,7 @@ static const struct meson_pwm_data pwm_axg_ee_data = {
 };
 
 static const char * const pwm_axg_ao_parent_names[] = {
-	"aoclk81", "xtal", "fclk_div4", "fclk_div5"
+	"xtal", "axg_ao_clk81", "fclk_div4", "fclk_div5"
 };
 
 static const struct meson_pwm_data pwm_axg_ao_data = {
-- 
2.40.0


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

* Re: [PATCH v2] pwm: meson: fix axg ao mux parents
  2023-04-09 15:15 [PATCH v2] pwm: meson: fix axg ao mux parents Heiner Kallweit
@ 2023-04-10 21:17 ` Martin Blumenstingl
  2023-04-13  9:23 ` Thierry Reding
  1 sibling, 0 replies; 3+ messages in thread
From: Martin Blumenstingl @ 2023-04-10 21:17 UTC (permalink / raw)
  To: Heiner Kallweit
  Cc: Jerome Brunet, Neil Armstrong, Kevin Hilman,
	Uwe Kleine-König, thierry.reding@gmail.com,
	linux-arm-kernel@lists.infradead.org,
	open list:ARM/Amlogic Meson..., linux-pwm, Jian Hu

On Sun, Apr 9, 2023 at 5:15 PM Heiner Kallweit <hkallweit1@gmail.com> wrote:
>
> This fix is basically the same as 9bce02ef0dfa ("pwm: meson: Fix the
> G12A AO clock parents order"). Vendor driver referenced there has
> xtal as first parent also for axg ao. In addition fix the name
> of the aoclk81 clock. Apparently name aoclk81 as used by the vendor
> driver was changed when mainlining the axg clock driver.
>
> Fixes: bccaa3f917c9 ("pwm: meson: Add clock source configuration for Meson-AXG")
> Cc: stable@vger.kernel.org
>
> Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Reviewed-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

* Re: [PATCH v2] pwm: meson: fix axg ao mux parents
  2023-04-09 15:15 [PATCH v2] pwm: meson: fix axg ao mux parents Heiner Kallweit
  2023-04-10 21:17 ` Martin Blumenstingl
@ 2023-04-13  9:23 ` Thierry Reding
  1 sibling, 0 replies; 3+ messages in thread
From: Thierry Reding @ 2023-04-13  9:23 UTC (permalink / raw)
  To: Heiner Kallweit
  Cc: Jerome Brunet, Martin Blumenstingl, Neil Armstrong, Kevin Hilman,
	Uwe Kleine-König, linux-arm-kernel@lists.infradead.org,
	open list:ARM/Amlogic Meson..., linux-pwm, Jian Hu


[-- Attachment #1.1: Type: text/plain, Size: 1657 bytes --]

On Sun, Apr 09, 2023 at 05:15:52PM +0200, Heiner Kallweit wrote:
> This fix is basically the same as 9bce02ef0dfa ("pwm: meson: Fix the
> G12A AO clock parents order"). Vendor driver referenced there has
> xtal as first parent also for axg ao. In addition fix the name
> of the aoclk81 clock. Apparently name aoclk81 as used by the vendor
> driver was changed when mainlining the axg clock driver.
> 
> Fixes: bccaa3f917c9 ("pwm: meson: Add clock source configuration for Meson-AXG")
> Cc: stable@vger.kernel.org
> 
> Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
> ---
>  drivers/pwm/pwm-meson.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

This looks like it supersedes this one:

	https://patchwork.ozlabs.org/project/linux-pwm/patch/e7a95baf-5f9d-be56-93dc-82ca83b69c7a@gmail.com/

I don't see any discussion on on that one, nor does v2 here have a
changelog and the commit subject is slightly changed, so you're making
it more difficult than necessary to correlate the two.

Anyway, since both patches conflict, I've picked up v2. Let me know if
that's not what you intended.

Thierry

> 
> diff --git a/drivers/pwm/pwm-meson.c b/drivers/pwm/pwm-meson.c
> index b5c746fab..0fe0400c2 100644
> --- a/drivers/pwm/pwm-meson.c
> +++ b/drivers/pwm/pwm-meson.c
> @@ -381,7 +381,7 @@ static const struct meson_pwm_data pwm_axg_ee_data = {
>  };
>  
>  static const char * const pwm_axg_ao_parent_names[] = {
> -	"aoclk81", "xtal", "fclk_div4", "fclk_div5"
> +	"xtal", "axg_ao_clk81", "fclk_div4", "fclk_div5"
>  };
>  
>  static const struct meson_pwm_data pwm_axg_ao_data = {
> -- 
> 2.40.0
> 

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

[-- Attachment #2: Type: text/plain, Size: 176 bytes --]

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

end of thread, other threads:[~2023-04-13  9:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-04-09 15:15 [PATCH v2] pwm: meson: fix axg ao mux parents Heiner Kallweit
2023-04-10 21:17 ` Martin Blumenstingl
2023-04-13  9:23 ` Thierry Reding

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