Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp5067448pxb; Mon, 15 Feb 2021 08:39:06 -0800 (PST) X-Google-Smtp-Source: ABdhPJzTNI1VXMSUGrzEsOMXYzSncjvFWP5ZFnm/bmlLS0MP+v4GoKItmo3hfsLoD7wxf4pZb6gh X-Received: by 2002:a17:906:14d2:: with SMTP id y18mr1589805ejc.415.1613407145828; Mon, 15 Feb 2021 08:39:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1613407145; cv=none; d=google.com; s=arc-20160816; b=ZXeh8p19B+/ApaxjxEU+16ZCjPjgEax/eJoAY5gkxJv7EINm2XPong2BNH55UvOqiz QRfDDE8pH4AiMDwkvcohBh8xLFCxmX3M839jlOZFKYsX3UEjGlHJ1V3X8Kdqt6FKxWuG 3+iBwVoEMsnS8NsZAZjAM2o0qA+O3HwtjFsoZYsuoP/wDkInVsbvUHB3JO/EQ9f8zOBd ttkwsIxqRCaPUU6+wwLugNa9LtVyx3DPAk/+gTarVWlR5OTXi047wYP2HXg3d/SY+i0h zqfDYb6FWTJRY66OGzMEMflyb3wMzI+Ka5T4B7nnVj3pecciQQrapTzb0LEj3+n/+VSw 9DUQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=M/cEKWEPV9WecJEUGbGOs8b7JjOB4KkhVQ52D/FiDes=; b=WK05pMOUmR2Pp6iHlG4YqYwZFQ+pIf0BnAtQPsmwg0DMc6IiOMxIN2kLR6cj6YvPNc pwCt4utIA4u0Pj5V9N+OqQyMUcAo91sCcOAC8zOFngKfCSsYqDlciMs4s01fwxJEiC05 r0vP9wELlY4Czntvo+e1BmHeBAjy8vYKU06RuZ0l2LJkMpMl5zzdyEJP+8mIeaEstgI8 D4WlNRyV6JMSK5f6blle2qYQdgpuqBFNn82Qs0Evg9h8EDJWjOrTB5oxlY1rpxUEqlkC 0ldaM4nVTX9U6gYpOMAGbsqhWGOXY3AxQfzDa6o+TieBMxT/xVmQKRx9/FqelzI45Dse 7UDA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="2l0/tFKc"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j1si12437978eja.96.2021.02.15.08.38.41; Mon, 15 Feb 2021 08:39:05 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="2l0/tFKc"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231521AbhBOQh0 (ORCPT + 99 others); Mon, 15 Feb 2021 11:37:26 -0500 Received: from mail.kernel.org ([198.145.29.99]:50212 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231495AbhBOPhx (ORCPT ); Mon, 15 Feb 2021 10:37:53 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id E239664EA5; Mon, 15 Feb 2021 15:33:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1613403202; bh=x22AnEuiYNS/iYMtz8SWHqqNUIEUEDFE0qZjenqLcgY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=2l0/tFKcvx85hHCgE8M1KzCYfmUsMend5GaGyDC50NqL6wRkPoxSVri6ppB9XUHnB LlGsEfMflLXhseaHZEetRIAl7kR/0uv+2n0taD3PC+Rw+ODGzNXFh7W32JX+rjVw5h KC4IhNCwI60Tm4ATVpF38f3plQpQu981EpHNZ0ZQ= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Alexandre Belloni , Gregory CLEMENT , Arnd Bergmann , Sasha Levin Subject: [PATCH 5.10 039/104] ARM: dts: lpc32xx: Revert set default clock rate of HCLK PLL Date: Mon, 15 Feb 2021 16:26:52 +0100 Message-Id: <20210215152720.741011830@linuxfoundation.org> X-Mailer: git-send-email 2.30.1 In-Reply-To: <20210215152719.459796636@linuxfoundation.org> References: <20210215152719.459796636@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Alexandre Belloni [ Upstream commit 5638159f6d93b99ec9743ac7f65563fca3cf413d ] This reverts commit c17e9377aa81664d94b4f2102559fcf2a01ec8e7. The lpc32xx clock driver is not able to actually change the PLL rate as this would require reparenting ARM_CLK, DDRAM_CLK, PERIPH_CLK to SYSCLK, then stop the PLL, update the register, restart the PLL and wait for the PLL to lock and finally reparent ARM_CLK, DDRAM_CLK, PERIPH_CLK to HCLK PLL. Currently, the HCLK driver simply updates the registers but this has no real effect and all the clock rate calculation end up being wrong. This is especially annoying for the peripheral (e.g. UARTs, I2C, SPI). Signed-off-by: Alexandre Belloni Tested-by: Gregory CLEMENT Link: https://lore.kernel.org/r/20210203090320.GA3760268@piout.net' Signed-off-by: Arnd Bergmann Signed-off-by: Sasha Levin --- arch/arm/boot/dts/lpc32xx.dtsi | 3 --- 1 file changed, 3 deletions(-) diff --git a/arch/arm/boot/dts/lpc32xx.dtsi b/arch/arm/boot/dts/lpc32xx.dtsi index 7b7ec7b1217b8..824393e1bcfb7 100644 --- a/arch/arm/boot/dts/lpc32xx.dtsi +++ b/arch/arm/boot/dts/lpc32xx.dtsi @@ -329,9 +329,6 @@ clocks = <&xtal_32k>, <&xtal>; clock-names = "xtal_32k", "xtal"; - - assigned-clocks = <&clk LPC32XX_CLK_HCLK_PLL>; - assigned-clock-rates = <208000000>; }; }; -- 2.27.0