Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp5261128pxv; Wed, 28 Jul 2021 06:57:42 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwEGASZFijaOchl1DgNGalAmsVSMkrxiZLfDYG086NuhEb6gsfKJSRLOoL6sL0pB1Lig66I X-Received: by 2002:a92:bf11:: with SMTP id z17mr11705ilh.3.1627480662815; Wed, 28 Jul 2021 06:57:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1627480662; cv=none; d=google.com; s=arc-20160816; b=zwm4BnSt16NFrdZSKCoU4IN8xubnF3nLtVm5+zjWEGFVy0t2Kq1xHLnLFhxxQYJY1P /dIN0tvKujxi1DCwXXfdW+I7H6DBsBMoXbI/Lso0JN87RnDf7lLos7Pl41+m22dxKkRB MOkMt7s4mhIjZRAmR12ddKLlQbAecFwVnBWuDqcsS2IXtmKiuNcZh2Kre67Kc6KuZxO3 C/ziPMr2reyAwHnTS7xgiPEMRs/hWfZHeJ7N1qOO+o3FBevTwAig/YB1b+EzUckn8AE7 UgAhPeCXhGK77c6OXxOXZyI5Uk1fIIMB4cf4r09lUnY4JUBQcP0lM1VkKFTxFlvMKE7E endw== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=mtzKWmPijMY1PkSSMWpn9rhjG/EXg2m1sprhHLtLltY=; b=hAdxn9/2ox+UleRbOAhsn6WNKTaqj5eXbiRP28cX0UwpcjY2V9o8ouAB5B6jii7Ug+ SAv7seBW4qVTwbYp6YNb4PLV/hBp2SgoJaO8botv1XxLb5U3AkMCUAYcjEUfGtsNcKj5 LaBeDmwEi1h9YxKDrZQZvsIQVblAGltjiCucDl/LTEv0Q+FTX8iY6fMUc8gcgaYgTjWJ niPAXnEfM4KhUBlNpGaL55d4SKZgx4vlgG+Q5pOq9YnGOWJWKffZtphm7fIGh1oxf9lk YCxqq/fXxvJm+1nx2sGHzzBfBoet24SaIW8Wrf/fB0+3qwimorBSCb3mb6vSZm2Yk4w6 Rzcg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Ds9SlqnS; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l7si7135444jad.82.2021.07.28.06.57.31; Wed, 28 Jul 2021 06:57:42 -0700 (PDT) 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=@gmail.com header.s=20161025 header.b=Ds9SlqnS; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237029AbhG1N4U (ORCPT + 99 others); Wed, 28 Jul 2021 09:56:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59480 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236694AbhG1N4A (ORCPT ); Wed, 28 Jul 2021 09:56:00 -0400 Received: from mail-qt1-x82b.google.com (mail-qt1-x82b.google.com [IPv6:2607:f8b0:4864:20::82b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 66EB6C0613C1; Wed, 28 Jul 2021 06:55:58 -0700 (PDT) Received: by mail-qt1-x82b.google.com with SMTP id d2so1371567qto.6; Wed, 28 Jul 2021 06:55:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=mtzKWmPijMY1PkSSMWpn9rhjG/EXg2m1sprhHLtLltY=; b=Ds9SlqnSQ3e3fcKqaRkJ0UBsYCEXFeCsoK/gP94FjQfyOLD9OI2NvBjMSlQViW8OKf VxSZ5e25UdFaWFo8m8cczHQ0+GST0yAPONjulMZBc1qaq6yKyarmQSvmVrAHK9hfTVMs xkJIUdAFPp1xX6mmtjuLSc7XLinwwate3C4fSIM6zc3Z1Gk0yISSBtG4gO26vCLMZvuc BCNtERzYLGYJhaSqXauYAmR2Cc+sm4ioRAXAvghPuU7X7+Ne2EC7aJopsWKvqjcsSqvM Bo0GeEuaRoXbAhZBgBOmAdbGtzMxeNvs9c5eRketSBn+H3cbzBudi3CKXzi3MzOlLD+K b91g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=mtzKWmPijMY1PkSSMWpn9rhjG/EXg2m1sprhHLtLltY=; b=uV9KaAnbLm3Yd2oYz00E8Iea4nB7XVxGsVgzOkdS1JkBROdEWdsApZD1NkthFScXUy 9JBRpOy35/GEFXJ1TT8/v6CGGM0yv4QCaqZqRvAT/mZbQP/wYCPqGCmwTq/CROarHHCH 4J1/Z3IEuao9WXKruwzxp1XLXOCLki/5pldTKRvXYFhmvyEelrxIEhuJMXjCymXfx6bL +PC7ksYqZKlWnoATm9DzqES3Jm59FWzR94DOv7DCYVX5p+t9ri12/hHfMXt3VhKQZ6UG mQRDU1KUsaQ0hQjx0Bi1kzOvBQoQQSTVG/gp56MPJSyQHVXGS/7EbXEE/7vBGR2NwJZz SC0A== X-Gm-Message-State: AOAM533ljuIjiWX9kka7hnxkO3ZJ6nAbtxpMEFPekmyNIf8aGERGCa1J RSsAKc6OW4w+LE1L1SDBq1w= X-Received: by 2002:ac8:5b8a:: with SMTP id a10mr4851669qta.235.1627480557540; Wed, 28 Jul 2021 06:55:57 -0700 (PDT) Received: from master-laptop.sparksnet ([2601:153:980:85b1:b58:2ae8:d75f:660a]) by smtp.gmail.com with ESMTPSA id t64sm27202qkd.71.2021.07.28.06.55.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 28 Jul 2021 06:55:57 -0700 (PDT) From: Peter Geis To: Linus Walleij , Bartosz Golaszewski , Rob Herring , Heiko Stuebner Cc: linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, Peter Geis Subject: [PATCH 7/9] arm64: dts: rockchip: adjust rk3568 pll clocks Date: Wed, 28 Jul 2021 09:55:32 -0400 Message-Id: <20210728135534.703028-8-pgwipeout@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210728135534.703028-1-pgwipeout@gmail.com> References: <20210728135534.703028-1-pgwipeout@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The rk3568 gpll should run at 1200mhz and the ppll should run at 200mhz. These are set incorrectly by the bootloader, so fix them here. Signed-off-by: Peter Geis --- arch/arm64/boot/dts/rockchip/rk356x.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk356x.dtsi b/arch/arm64/boot/dts/rockchip/rk356x.dtsi index 8ba0516eedd8..91ae3c541c1a 100644 --- a/arch/arm64/boot/dts/rockchip/rk356x.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk356x.dtsi @@ -230,6 +230,8 @@ cru: clock-controller@fdd20000 { rockchip,grf = <&grf>; #clock-cells = <1>; #reset-cells = <1>; + assigned-clocks = <&cru PLL_GPLL>, <&pmucru PLL_PPLL>; + assigned-clock-rates = <1200000000>, <200000000>; }; i2c0: i2c@fdd40000 { -- 2.25.1