From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.5 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_PASS, URIBL_BLOCKED,USER_AGENT_MUTT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id CFD2AC10F14 for ; Wed, 10 Apr 2019 13:45:33 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id A09FC20830 for ; Wed, 10 Apr 2019 13:45:33 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="cyE4IxFC" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org A09FC20830 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=bootlin.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=/91qVEAyf3YkYmucUMc2Mt8JRfkyQBnM+7QQAhV2q6A=; b=cyE4IxFC2AdTd0 pjKEUD7zgJOyIe8K6RkF97QAE6J+ta4dD/r+hbyuazFxILv7YRQo+z0axNCn7kMRmR46wNH1lSjhD Mn8RaE3XQW3qVWuA1tcnZLR5LL3+5bZbR3tZbCCfwz41/kJEevT3jvbYoZw/Q12rJ8YD4tXtKC38a Uasgf7f/ctTQR/WqWHwzX2ahJBrPhsGun6eglNrk45E55X2kem8dpXEFi7EknZpgZMzT1hGyVJSjF Da5FYAcpVAmo47ycNGkATdvplIdddUdA5oVCguLT8iZFJOOFRd/eQxGZFslBvQGrKuPdFW+NxWIXD f2Qlrv2CQhGthPt/tH8Q==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1hEDXb-0002ox-12; Wed, 10 Apr 2019 13:45:27 +0000 Received: from relay11.mail.gandi.net ([217.70.178.231]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hEDX8-00019p-QZ for linux-arm-kernel@lists.infradead.org; Wed, 10 Apr 2019 13:45:03 +0000 Received: from localhost (alyon-652-1-42-177.w109-213.abo.wanadoo.fr [109.213.33.177]) (Authenticated sender: alexandre.belloni@bootlin.com) by relay11.mail.gandi.net (Postfix) with ESMTPSA id A85AF100011; Wed, 10 Apr 2019 13:44:43 +0000 (UTC) Date: Wed, 10 Apr 2019 15:44:43 +0200 From: Alexandre Belloni To: Vladimir Zapolskiy Subject: Re: LPC3250 periph clock at 13MHz instead of 10.4MHz Message-ID: <20190410134443.GD3578@piout.net> References: <20190212165221.GA10129@piout.net> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.11.3 (2019-02-01) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190410_064459_452802_0B35DC44 X-CRM114-Status: GOOD ( 13.79 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Gregory CLEMENT , linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi Vladimir, On 13/02/2019 19:21:44+0200, Vladimir Zapolskiy wrote: > > Am I missing something? > > > > I think I encountered quite a similar issue previously, but under another > circumstances, when I begin to modify HCLK PLL clock rate, can you check > my comment at https://lore.kernel.org/linux-clk/56D685F6.5060400@mleia.com/ > and verify if it's about the same problem? > > Since the problem hits you also, I plan to spend some time on this weekend > to capture more details, fortunately there is a known workaround to pin > UART input clock rate to 13MHz, it might be desired to carve it in the code. > I'm pretty sure this is the same issue and that it doesn't only affect the UARTs but also timers. The 2.6.27.8 kernel code would indicated that the timers are only driven by sysclk, that is either 13MHz from the oscillator or 13.008896 from PLL397. I'm wondering how many other peripherals are affected. -- Alexandre Belloni, Bootlin Embedded Linux and Kernel engineering https://bootlin.com _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel