From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Boyd Subject: Re: [PATCH 3/3] MIPS: TXx9: Convert to Common Clock Framework Date: Fri, 19 Aug 2016 12:17:50 -0700 Message-ID: <20160819191750.GV361@codeaurora.org> References: <1471541667-30689-1-git-send-email-geert@linux-m68k.org> <1471541667-30689-4-git-send-email-geert@linux-m68k.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Ralf Baechle , Atsushi Nemoto , Mark Brown , Wim Van Sebroeck , Guenter Roeck , linux-clk-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-mips-6z/3iImG2C8G8FEW9MqTrA@public.gmane.org, linux-spi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-watchdog-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Geert Uytterhoeven Return-path: Content-Disposition: inline In-Reply-To: <1471541667-30689-4-git-send-email-geert-Td1EMuHUCqxL1ZNQvxDV9g@public.gmane.org> Sender: linux-spi-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-ID: On 08/18, Geert Uytterhoeven wrote: > diff --git a/arch/mips/txx9/generic/setup.c b/arch/mips/txx9/generic/setup.c > index ada92db92f87d91a..2fdbcf91b2cc472c 100644 > --- a/arch/mips/txx9/generic/setup.c > +++ b/arch/mips/txx9/generic/setup.c > @@ -560,8 +527,39 @@ void __init plat_time_init(void) > txx9_board_vec->time_init(); > } > > +static void txx9_clk_init(void) > +{ > + struct clk *clk; > + int error; > + > + clk = clk_register_fixed_rate(NULL, "gbus", NULL, 0, txx9_gbus_clock); Can we use the clk_hw_*() based variants instead please? -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project -- To unsubscribe from this list: send the line "unsubscribe linux-spi" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html