linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] clk: uniphier: fix parent of miodmac clock data
@ 2017-10-19  0:52 Masahiro Yamada
  2017-11-08 13:24 ` Masahiro Yamada
  2017-11-14 18:04 ` Stephen Boyd
  0 siblings, 2 replies; 3+ messages in thread
From: Masahiro Yamada @ 2017-10-19  0:52 UTC (permalink / raw)
  To: linux-arm-kernel

The "miodmac" is not a child of "stdmac".  They are independent
from each other.  Fix it.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
---

 drivers/clk/uniphier/clk-uniphier-mio.c | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/drivers/clk/uniphier/clk-uniphier-mio.c b/drivers/clk/uniphier/clk-uniphier-mio.c
index 16e4d30..badc478 100644
--- a/drivers/clk/uniphier/clk-uniphier-mio.c
+++ b/drivers/clk/uniphier/clk-uniphier-mio.c
@@ -13,6 +13,8 @@
  * GNU General Public License for more details.
  */
 
+#include <linux/stddef.h>
+
 #include "clk-uniphier.h"
 
 #define UNIPHIER_MIO_CLK_SD_FIXED					\
@@ -73,15 +75,12 @@
 #define UNIPHIER_MIO_CLK_USB2_PHY(idx, ch)				\
 	UNIPHIER_CLK_GATE("usb2" #ch "-phy", (idx), "usb2", 0x20 + 0x200 * (ch), 29)
 
-#define UNIPHIER_MIO_CLK_DMAC(idx)					\
-	UNIPHIER_CLK_GATE("miodmac", (idx), "stdmac", 0x20, 25)
-
 const struct uniphier_clk_data uniphier_ld4_mio_clk_data[] = {
 	UNIPHIER_MIO_CLK_SD_FIXED,
 	UNIPHIER_MIO_CLK_SD(0, 0),
 	UNIPHIER_MIO_CLK_SD(1, 1),
 	UNIPHIER_MIO_CLK_SD(2, 2),
-	UNIPHIER_MIO_CLK_DMAC(7),
+	UNIPHIER_CLK_GATE("miodmac", 7, NULL, 0x20, 25),
 	UNIPHIER_MIO_CLK_USB2(8, 0),
 	UNIPHIER_MIO_CLK_USB2(9, 1),
 	UNIPHIER_MIO_CLK_USB2(10, 2),
-- 
2.7.4

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

* [PATCH] clk: uniphier: fix parent of miodmac clock data
  2017-10-19  0:52 [PATCH] clk: uniphier: fix parent of miodmac clock data Masahiro Yamada
@ 2017-11-08 13:24 ` Masahiro Yamada
  2017-11-14 18:04 ` Stephen Boyd
  1 sibling, 0 replies; 3+ messages in thread
From: Masahiro Yamada @ 2017-11-08 13:24 UTC (permalink / raw)
  To: linux-arm-kernel

Hi Stephen,

Could you pick this up, please?

You sent a pull request last week.
So, queuing this for -next is fine for me.



2017-10-19 9:52 GMT+09:00 Masahiro Yamada <yamada.masahiro@socionext.com>:
> The "miodmac" is not a child of "stdmac".  They are independent
> from each other.  Fix it.
>
> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
> ---
>
>  drivers/clk/uniphier/clk-uniphier-mio.c | 7 +++----
>  1 file changed, 3 insertions(+), 4 deletions(-)
>
> diff --git a/drivers/clk/uniphier/clk-uniphier-mio.c b/drivers/clk/uniphier/clk-uniphier-mio.c
> index 16e4d30..badc478 100644
> --- a/drivers/clk/uniphier/clk-uniphier-mio.c
> +++ b/drivers/clk/uniphier/clk-uniphier-mio.c
> @@ -13,6 +13,8 @@
>   * GNU General Public License for more details.
>   */
>
> +#include <linux/stddef.h>
> +
>  #include "clk-uniphier.h"
>
>  #define UNIPHIER_MIO_CLK_SD_FIXED                                      \
> @@ -73,15 +75,12 @@
>  #define UNIPHIER_MIO_CLK_USB2_PHY(idx, ch)                             \
>         UNIPHIER_CLK_GATE("usb2" #ch "-phy", (idx), "usb2", 0x20 + 0x200 * (ch), 29)
>
> -#define UNIPHIER_MIO_CLK_DMAC(idx)                                     \
> -       UNIPHIER_CLK_GATE("miodmac", (idx), "stdmac", 0x20, 25)
> -
>  const struct uniphier_clk_data uniphier_ld4_mio_clk_data[] = {
>         UNIPHIER_MIO_CLK_SD_FIXED,
>         UNIPHIER_MIO_CLK_SD(0, 0),
>         UNIPHIER_MIO_CLK_SD(1, 1),
>         UNIPHIER_MIO_CLK_SD(2, 2),
> -       UNIPHIER_MIO_CLK_DMAC(7),
> +       UNIPHIER_CLK_GATE("miodmac", 7, NULL, 0x20, 25),
>         UNIPHIER_MIO_CLK_USB2(8, 0),
>         UNIPHIER_MIO_CLK_USB2(9, 1),
>         UNIPHIER_MIO_CLK_USB2(10, 2),
> --
> 2.7.4
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-clk" in
> the body of a message to majordomo at vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html



-- 
Best Regards
Masahiro Yamada

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

* [PATCH] clk: uniphier: fix parent of miodmac clock data
  2017-10-19  0:52 [PATCH] clk: uniphier: fix parent of miodmac clock data Masahiro Yamada
  2017-11-08 13:24 ` Masahiro Yamada
@ 2017-11-14 18:04 ` Stephen Boyd
  1 sibling, 0 replies; 3+ messages in thread
From: Stephen Boyd @ 2017-11-14 18:04 UTC (permalink / raw)
  To: linux-arm-kernel

On 10/19, Masahiro Yamada wrote:
> The "miodmac" is not a child of "stdmac".  They are independent
> from each other.  Fix it.
> 
> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
> ---

Applied to clk-next

-- 
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project

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

end of thread, other threads:[~2017-11-14 18:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-10-19  0:52 [PATCH] clk: uniphier: fix parent of miodmac clock data Masahiro Yamada
2017-11-08 13:24 ` Masahiro Yamada
2017-11-14 18:04 ` Stephen Boyd

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