From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZqiN1-00005e-F7 for barebox@lists.infradead.org; Mon, 26 Oct 2015 14:03:32 +0000 Received: from dude.hi.4.pengutronix.de ([10.1.0.7] helo=dude.pengutronix.de.) by metis.ext.pengutronix.de with esmtp (Exim 4.80) (envelope-from ) id 1ZqiMe-0002eV-I1 for barebox@lists.infradead.org; Mon, 26 Oct 2015 15:03:08 +0100 From: Lucas Stach Date: Mon, 26 Oct 2015 15:03:08 +0100 Message-Id: <1445868188-29541-1-git-send-email-l.stach@pengutronix.de> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: [PATCH] ARM: imx: clocksource: add new DT compatible To: barebox@lists.infradead.org The i.MX6 DL/S DT has been changed to use more specific compatibles as GPTv2 has a different programming model for modes used in Linux. This difference doesn't matter for Barebox, but the old mx31 compatible has been dropped from the DT, so we need to match on the one still present. Signed-off-by: Lucas Stach --- This fixes a "Warning: Using dummy clocksource" and resulting wrong delays present in -next on MX6DL/S. --- arch/arm/mach-imx/clocksource.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/mach-imx/clocksource.c b/arch/arm/mach-imx/clocksource.c index 06d2fba41299..a11b978bf4c8 100644 --- a/arch/arm/mach-imx/clocksource.c +++ b/arch/arm/mach-imx/clocksource.c @@ -141,6 +141,9 @@ static __maybe_unused struct of_device_id imx_gpt_dt_ids[] = { .compatible = "fsl,imx31-gpt", .data = ®s_imx31, }, { + .compatible = "fsl,imx6q-gpt", + .data = ®s_imx31, + }, { /* sentinel */ } }; -- 2.6.1 _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox