Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp929732rdb; Fri, 22 Dec 2023 09:02:30 -0800 (PST) X-Google-Smtp-Source: AGHT+IGrMf7tcdn/HKpMS1gM6i3V2TXqc3pQVmXhpMmvjYWhnrS8d72Q/i++C609ifvJpqqbyFXK X-Received: by 2002:a05:620a:ed8:b0:77f:82e4:e178 with SMTP id x24-20020a05620a0ed800b0077f82e4e178mr1801688qkm.34.1703264550418; Fri, 22 Dec 2023 09:02:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703264550; cv=none; d=google.com; s=arc-20160816; b=eJ7Yk3T98rJgRn3Q0DwqkrPrLWfJQf9Ya5ifdnXLEr90sHyIGbA5oIEhehOdNb5SVb hbinkT3dt4yg0L5ZMD9mLQAyLC/csgflQaokP3ajho9pifOsDs27wK1yqXp6sYCLP+KD qnX29qysaPIyOauF1Gdd7nPxt6e+vUnT0nDGQ0KghhtrIDRBKzVtifD97BY3yGftIO+B +Fw5nCvOJNWxNS3VQtMEGoyvKkvCPTHU5tgxZtLxw1uyMYWYazgtIVHS9RJPfE0aAFbE e/rozN11fnrWG8fqeK7oVtGM6GK5wi6P0QtPUk03CvamO/jMh1uxl/XJCIu3SemhZu5o oOqw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:in-reply-to:organization:message-id:date:subject:cc:to :from:dkim-signature; bh=px3/C2GAp78mWv3p8bN07M1WSx6501Th3bqcTa2ov/U=; fh=2r3Jm2zyRxqPpLay6Xdduks1TZFjBqnCfdmgL6xcxDQ=; b=xZxvJXneSCdvylSpJpekD0JMnCZV+UL6Mj1oRi64hQjDVQhFI8a/h4K5TaMiUcvVkO tTUIpH4C2iOa0fmKj6bdX1AAuaSKwYPgZLTmweFQXaSl1PS/B0qNa47ek3KZiKzHf1h3 FdSQ0GyJWOfmN2EjZ9V5N/vNwQTSfGUuZYoWju5WUDq5QRbhp2KwQ+iXyrY00TB+8Bmj W7x1jM1diVVcEOS6H3Ltwqsno1QqKrBk4etvm6YdSZHxhVyHBPgfQScxxjRu4IKpI9uh 3HOtnQ0yAABzB+/bQ/4BQlBACBvDQcD4+i2EVPcJakC6XAWK69WB28dxZ6Egcivvhkfz XClw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cknow.org header.s=key1 header.b=hMDkNbAo; spf=pass (google.com: domain of linux-kernel+bounces-9932-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-9932-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=cknow.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 ea9-20020a05620a488900b0077f12a793bdsi5009330qkb.594.2023.12.22.09.02.30 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Dec 2023 09:02:30 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-9932-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=pass header.i=@cknow.org header.s=key1 header.b=hMDkNbAo; spf=pass (google.com: domain of linux-kernel+bounces-9932-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-9932-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=cknow.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 2F7A01C214D1 for ; Fri, 22 Dec 2023 17:02:30 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8583D25775; Fri, 22 Dec 2023 17:02:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=cknow.org header.i=@cknow.org header.b="hMDkNbAo" X-Original-To: linux-kernel@vger.kernel.org Received: from out-185.mta0.migadu.com (out-185.mta0.migadu.com [91.218.175.185]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 415B82554E for ; Fri, 22 Dec 2023 17:02:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=cknow.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=cknow.org X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cknow.org; s=key1; t=1703264536; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=px3/C2GAp78mWv3p8bN07M1WSx6501Th3bqcTa2ov/U=; b=hMDkNbAovGIvQXqMv9oaj7Q5hNQDVlxWc60o9k1oRnAISXnsGbddJaVrt1ZFF3BWojKP0L oP/Y05IxzcYG8Hn0HqT+hcDNx3EUNt52DH1dfnZnWQFiV6MIgpceY2GWeQKgWR5nCAUIDQ DLCiy18i12XBzdvl5f+dsE1pDVKJRhXF56EwoT4Wj+9eSmDgqN5bV4HuTgVZFWChSV/J1T 5rwKqRBiA6oQZG8yg2GbSnwMl0SYwb8s76KlpZRssfnP/OrmMGAgB2L75cGKp7xUrhtw/L +wI3rNCNotFvEwOhQZuHF5ECOx/4IycDLXd+gaxRoZxxa1gGp6hE4BfkVNlqyg== From: Diederik de Haas To: 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 , Manuel Traut Cc: 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, Manuel Traut Subject: Re: [PATCH 4/6] arm64: dts: rockchip: Add devicetree for Pine64 Pinetab2 Date: Fri, 22 Dec 2023 18:01:54 +0100 Message-ID: <2121710.IWpXjAX0fk@bagend> Organization: Connecting Knowledge In-Reply-To: <20231222-pinetab2-v1-4-e148a7f61bd1@mecka.net> References: <20231222-pinetab2-v1-0-e148a7f61bd1@mecka.net> <20231222-pinetab2-v1-4-e148a7f61bd1@mecka.net> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1748370.CxT9PIvavd"; micalg="pgp-sha256"; protocol="application/pgp-signature" X-Migadu-Flow: FLOW_OUT --nextPart1748370.CxT9PIvavd Content-Type: multipart/mixed; boundary="nextPart3145776.fJ4KNo4xjy"; protected-headers="v1" Content-Transfer-Encoding: 7Bit X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Diederik de Haas Date: Fri, 22 Dec 2023 18:01:54 +0100 Message-ID: <2121710.IWpXjAX0fk@bagend> Organization: Connecting Knowledge In-Reply-To: <20231222-pinetab2-v1-4-e148a7f61bd1@mecka.net> MIME-Version: 1.0 This is a multi-part message in MIME format. --nextPart3145776.fJ4KNo4xjy Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" 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). Cheers, Diederik --nextPart3145776.fJ4KNo4xjy Content-Disposition: attachment; filename="0006-arm64-dts-rk3566-pinetab2-Fix-cru-assigned-clocks.patch" Content-Transfer-Encoding: 7Bit Content-Type: text/x-patch; charset="x-UTF_8J"; name="0006-arm64-dts-rk3566-pinetab2-Fix-cru-assigned-clocks.patch" 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 --nextPart3145776.fJ4KNo4xjy-- --nextPart1748370.CxT9PIvavd Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQT1sUPBYsyGmi4usy/XblvOeH7bbgUCZYXBAgAKCRDXblvOeH7b bhcpAQCGga/E5eb2w/0+X/AHwmyoGxkSCdFMHH5O+JASROW0NAD/cer+0/CX3l23 ubyIofrQa3gkr+ini5cyFgQy37IsKAY= =fTG/ -----END PGP SIGNATURE----- --nextPart1748370.CxT9PIvavd--