Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1577813pxb; Mon, 22 Feb 2021 05:51:22 -0800 (PST) X-Google-Smtp-Source: ABdhPJyzhNinKcvMdJKFPBpQIHeOADvu0AF2S0MmwKaR8csSu70F8uPaAglIACNX/woLqu9X8NxC X-Received: by 2002:a17:906:39c6:: with SMTP id i6mr21698379eje.433.1614001881960; Mon, 22 Feb 2021 05:51:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614001881; cv=none; d=google.com; s=arc-20160816; b=gCu7rODPFIa+bVxTmvxYsNlIssqFhlTvf2SmC14BF9J61ekEIxIqOXYFw2Jmmm6/VF Zku/iLzXPcDaBBaAJwcH0y8IUwOD72klHOcYbzv1Sll78lmdi3xdq7ib9frUYdiq+dKk s1/OCILPqsXShLlytHw5Q2rwPKP65OTOTRz5CFP8SYSqVeZAZBUigfSUKP49GLe7dkGJ xmDUN3Sy0gZKdr27N8NP6Zh4rbk7h8pygKgFSKZP5ZnQ55kQsiwZIdzXFO7QxUymPDnI hxd/yPmAhd/ZhG6dDD5BIgtIHbdhn0Pj3VUU4BccLD2sjOH6T2/WpCbYBVcHy0HjbRzE +0eg== 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=xq0Z1h51CIaMcwEI1Xpn2SyWG7J6yLRrl+qbLcl2JQA=; b=lL9AMCL6FXaOxn1HcNjJLCNEb9BEu2eS4za5RGpPrX08hKT5DnzrTV3wQwQAeNgfGr UHGZV0H9d8H0wMejS9Sl4Qp7L61d8CW0RbDKx8aYoOMrFMkp8RX0GaFuqxL+7swLwqTq DSZs2FfwIqSfgLL3yxyQ+S8PLZ1tqZkQ5rCH/xpHOkfRno0VooDTPxLuBT9cX2rPFjzO PTwesbBWbxmXT+Ay+qjkNnytZ1J7IPykUuFsC+9XMU6Diie/7+1jKg+EzcIXAXWuLmTm YZg40d7y8SuqMAYl/4gZa5TMp4p7g7/POLtvTo2NDZ/mf0A+ArA+BQ3utOiF9T/xJX9l 2xZQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=VEorA6Mh; 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 mp8si11967662ejc.253.2021.02.22.05.50.59; Mon, 22 Feb 2021 05:51:21 -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=VEorA6Mh; 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 S231974AbhBVNrs (ORCPT + 99 others); Mon, 22 Feb 2021 08:47:48 -0500 Received: from mail.kernel.org ([198.145.29.99]:57090 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231667AbhBVMo7 (ORCPT ); Mon, 22 Feb 2021 07:44:59 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 9D06F64E67; Mon, 22 Feb 2021 12:41:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1613997676; bh=ZDe4L3PVB4fi3EOaZw674WleI4DMfCBo4JZOUPZN+0U=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=VEorA6MhEZd69lDy8OH5d00Urj2kt5GMQNaLW8ErNXgk6KRbNAvQOYRk8vMc3vahB tJ7oKuRVv8JO+wfn82HbKwLECzBVA0P8ilbFEHqFuM2RAUnRJ5lzGS8Lb/t+aer2AZ oeVtI8iyVNTLgt96jBImEIYl21COSHwNB5I4cJuM= 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 4.9 22/49] ARM: dts: lpc32xx: Revert set default clock rate of HCLK PLL Date: Mon, 22 Feb 2021 13:36:20 +0100 Message-Id: <20210222121026.549199456@linuxfoundation.org> X-Mailer: git-send-email 2.30.1 In-Reply-To: <20210222121022.546148341@linuxfoundation.org> References: <20210222121022.546148341@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 2802c9565b6ca..976a75a4eb2c6 100644 --- a/arch/arm/boot/dts/lpc32xx.dtsi +++ b/arch/arm/boot/dts/lpc32xx.dtsi @@ -323,9 +323,6 @@ clocks = <&xtal_32k>, <&xtal>; clock-names = "xtal_32k", "xtal"; - - assigned-clocks = <&clk LPC32XX_CLK_HCLK_PLL>; - assigned-clock-rates = <208000000>; }; }; -- 2.27.0