Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp1412540rdb; Sat, 23 Dec 2023 05:59:53 -0800 (PST) X-Google-Smtp-Source: AGHT+IGbWib2V0DjroCWKql36zeL+WAoaXAnwOaOuhRe7mcnc0woQ+OnzPCB8rzpQWys0q3aBd5o X-Received: by 2002:ad4:5f4a:0:b0:67f:7534:db3c with SMTP id p10-20020ad45f4a000000b0067f7534db3cmr3354484qvg.91.1703339992873; Sat, 23 Dec 2023 05:59:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703339992; cv=none; d=google.com; s=arc-20160816; b=B9xC7V2EoX0w++OQiqNkbtWPd7KRlrqXH4XhaUN+dzNfNssvJwLKw09EFHvnAFxr0p gQykGSkbBtZFUfDQY/TpqLVZbrKaQVxFpUShJzVYba1IfsCMQdKX925r1K/98HXQ2G4f O3hT9K+yvEsiobclvFDUphj6UkJ1aPGZjTHTu0Xc7Akz99s3+v0VLEvkqX3cV57dzVd6 LE/W2Y1VaGSsw3dtSzbzCFyU9UiXsX55mA8gLFMPx5dXq/D5wS5CZGWKigEDfNHnlK4c gqD9kuCfs3J5U6xtEi/sR6SYNbhvCFpAIGbqs/quQTKFT969XuJLR2QunCvTvr5+SSPh jp/Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=QfmL3ScR5Xsq7bjEROiMLt+o1phM2R1ySFvEu43hP2k=; fh=Q9HnMogv4GGAVJjwYxmPukjkdqTPaaoBtOZKl2CT8j0=; b=nSsrrlfvdV3RzY1W3tELFlruMnOYOw6WT9qLjl1dN/K66aj4/3X2La57C/jyuvGXaG Xj73HkZVVE8fWj5K9eI+Ug5wNKxK5EvXyAu3wd6p3d5tz65IWQBnfK+vAoa2dAn7xUKE 9Dp+nPiYgzWYiuNNbTUGoG0QFJg/L3bxer0gsVHT/Tm8V0TdfHEY9DXQaK6dGn/AqUlC aazjSx89p6MwEm+gIA8mrGL++XsIHQe2rsBsrdqq+6mtPoNX4flLpuArUupNbWfzAVaC 8FOprWHKhYTAlSoySq8BUDZ0BeZ1CuAr+DRiKRHBH2jkrCOyFbzmYWlL8UL5Db+/KIP2 weGw== ARC-Authentication-Results: i=1; mx.google.com; dkim=temperror (no key for signature) header.i=@mecka.net header.s=2016.11 header.b=e84tp7Gj; spf=pass (google.com: domain of linux-kernel+bounces-10438-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-10438-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id s10-20020a0cb30a000000b0067f398fe69asi2774951qve.525.2023.12.23.05.59.52 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 23 Dec 2023 05:59:52 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-10438-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=temperror (no key for signature) header.i=@mecka.net header.s=2016.11 header.b=e84tp7Gj; spf=pass (google.com: domain of linux-kernel+bounces-10438-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-10438-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id A01121C2121C for ; Sat, 23 Dec 2023 13:59:52 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 85EFBDDC2; Sat, 23 Dec 2023 13:59:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=fail reason="key not found in DNS" (0-bit key) header.d=mecka.net header.i=@mecka.net header.b="e84tp7Gj" X-Original-To: linux-kernel@vger.kernel.org Received: from mecka.net (mecka.net [159.69.159.214]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A0F4B12E47; Sat, 23 Dec 2023 13:59:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=mecka.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=mecka.net DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=mecka.net; s=2016.11; t=1703339976; bh=6Xv3jIezLLrGsPqesJGGEmcdDlVoYdKAL1CcLWN2x+8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=e84tp7Gj3gga8cNmaXGRKwtVXr6tILWml91YIF4LTDDeiRWLFo+wFeJFiuAPwSnGC NG0U0VAbnPGRG9qgB7ZNhXW/+QKvpAbRXhvNHZqW2Fh3RsWlpUhboeJYezwOJ60tBO JFJQFuEztp+0a/cCK9auofz755xb17UQwc4+aWr4KdGpZ/dA49F/eE+XsnN8guLX6h 33H++c/MqcUubrBvpZQw4VaQyb5Pa+pr2yC0Xv/Wmfwtxu8dGvxLY3vRRT7k7s/2u8 HVHOeqrD1LA4iYCqaCbeBvncELNpnzRB0wb8Yj2ROv5BzH6sDSmh/Y5JxzHEH7aiwI Yf8et5MQEJ/rw== Received: from mecka.net (unknown [185.147.11.134]) by mecka.net (Postfix) with ESMTPSA id B748E3718AE; Sat, 23 Dec 2023 14:59:35 +0100 (CET) Date: Sat, 23 Dec 2023 14:59:34 +0100 From: Manuel Traut To: Diederik de Haas Cc: Neil Armstrong , Jessica Zhang , Sam Ravnborg , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Daniel Vetter , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Heiko Stuebner , Sandy Huang , Mark Yao , Segfault , Arnaud Ferraris , dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org Subject: Re: [PATCH 4/6] arm64: dts: rockchip: Add devicetree for Pine64 Pinetab2 Message-ID: References: <20231222-pinetab2-v1-0-e148a7f61bd1@mecka.net> <20231222-pinetab2-v1-4-e148a7f61bd1@mecka.net> <2121710.IWpXjAX0fk@bagend> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2121710.IWpXjAX0fk@bagend> Hi Diederik, On Fri, Dec 22, 2023 at 06:01:54PM +0100, Diederik de Haas wrote: > On Friday, 22 December 2023 12:05:44 CET Manuel Traut wrote: > > + > > +&cru { > > + assigned-clocks = <&cru PLL_GPLL>, <&pmucru PLL_PPLL>, <&cru > > PLL_VPLL>; + assigned-clock-rates = <1200000000>, <200000000>, > > <500000000>; +}; > > Attachment seem to work and for this I also have the attached patch in my > patch set. > IIRC without it you get an error in dmesg immediately at boot up which is > visible on the PT2 *if* you have immediate visual output (which is not (yet?) > the case in my image/kernel). you can see the message also by calling "dmesg --level err". I could verify that your patch removes the error message. I will pick the change for v2. > Cheers, > Diederik > From d782a64f3b51ffb2f33d3ba3e11e2ebc416542e3 Mon Sep 17 00:00:00 2001 > From: Jonas Karlman > Date: Thu, 17 Aug 2023 17:52:47 +0200 > Subject: [PATCH 6/8] arm64: dts: rk3566-pinetab2: Fix cru assigned clocks > > Jonas Karlman provided/linked to the patch on IRC. > Seems related to upstream commit 64b69474edf3b885c19a89bb165f978ba1b4be00. > > Signed-off-by: Diederik de Haas > Link: https://github.com/Kwiboo/u-boot-rockchip/blob/rk3568-2023.10/arch/arm/dts/rk3566-pinetab2-u-boot.dtsi#L11-L15 > Link: https://lore.kernel.org/all/20230110225547.1563119-2-jonas@kwiboo.se/ > --- > arch/arm64/boot/dts/rockchip/rk3566-pinetab2.dtsi | 5 +++-- > 1 file changed, 3 insertions(+), 2 deletions(-) > > diff --git a/arch/arm64/boot/dts/rockchip/rk3566-pinetab2.dtsi b/arch/arm64/boot/dts/rockchip/rk3566-pinetab2.dtsi > index bbd7ed53602a..4a5bee5a28a7 100644 > --- a/arch/arm64/boot/dts/rockchip/rk3566-pinetab2.dtsi > +++ b/arch/arm64/boot/dts/rockchip/rk3566-pinetab2.dtsi > @@ -288,8 +288,9 @@ &cpu3 { > }; > > &cru { > - assigned-clocks = <&cru PLL_GPLL>, <&pmucru PLL_PPLL>, <&cru PLL_VPLL>; > - assigned-clock-rates = <1200000000>, <200000000>, <500000000>; > + assigned-clocks = <&pmucru CLK_RTC_32K>, <&cru PLL_GPLL>, <&pmucru PLL_PPLL>, <&cru PLL_VPLL>; > + assigned-clock-rates = <32768>, <1200000000>, <200000000>, <500000000>; > + assigned-clock-parents = <&pmucru CLK_RTC32K_FRAC>; > }; > > &csi_dphy { > -- > 2.42.0 >