Received: by 2002:a05:6358:53a8:b0:117:f937:c515 with SMTP id z40csp5034208rwe; Tue, 18 Apr 2023 00:44:23 -0700 (PDT) X-Google-Smtp-Source: AKy350ZLoNagUP73DTli397p7S7XuzcnkG9FQwh5fDfenVXLYHzr0lS0w05RmAtIdaUqMz39ETyL X-Received: by 2002:a17:902:d48e:b0:19d:553:746b with SMTP id c14-20020a170902d48e00b0019d0553746bmr1226484plg.66.1681803863482; Tue, 18 Apr 2023 00:44:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681803863; cv=none; d=google.com; s=arc-20160816; b=JaGKqdv2FbZb/VNq6jXTMCNwXfzS0hAjCLFJUJsVhdmRWgcKh2Qx1ncy/brpn98ZxC 8aqDe2npmHeu/c1WR3jXbLNKkbA1nVYG56KTuvpzzrlhhy/Zz6CDZE+owIlB+Yvr9s8b lv9zDZstJemtveN+lJadwZKWpMk5dSsXU3ajDR+Ch4d3sAgQaQMHcVxNNywU+oGGg4ZY t7ciAfzpni3mXMfDOTeAuC1+xgjUubU/bcsKslehpbK7qtNOe+0zQCOL8xJeewO6YJwB YL7DHR7wqro19SKMF+Vchh+t2urbP6oD2t52FAdwNwYfy5zpQxqKXD/ONkXgYJQw7D9b 64MA== 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=QGdxm1MZfKiixTZRAK84Xihyd7IYkMPBrEsYiqEHj7g=; b=o0Seb2fpbSVWeckyCpFkgU6z3rsdoO1o7HkMF5l61USE1pIyn0wAEI8ljYzM1I/lsm KB0Q6ABv1If+16PAuxPDD52R6qpvrWjvbkYdw9JZadnHmVLBIrut8GzfDRpAdzHJfHP0 cR3yvfN9BQNGiXD5/zIrAlrNHEmL+tDC4fi7rEKOJmLO3ncLwrru9y/etIuTcS7HeePU pvrILy1vAXgRUpxr3unF4X6Skl6+qXDxALFBjGVvn2+l5/o/UsW3kLNNp0RrpFFlxJzR e+a5G5FRwFPp1SMiuBzN4XyuZJQOKP/H4pw7GnoMPVz9tBs+ld04chFkwvaUjQyqaAW/ kzcw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@crly.cz header.s=gm1 header.b=cvF9wZRM; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id p5-20020a170902e74500b001a1cefdaa33si14380797plf.342.2023.04.18.00.44.12; Tue, 18 Apr 2023 00:44:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@crly.cz header.s=gm1 header.b=cvF9wZRM; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230435AbjDRHkv (ORCPT + 99 others); Tue, 18 Apr 2023 03:40:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47896 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229681AbjDRHkr (ORCPT ); Tue, 18 Apr 2023 03:40:47 -0400 Received: from relay9-d.mail.gandi.net (relay9-d.mail.gandi.net [217.70.183.199]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C2E6B40C8 for ; Tue, 18 Apr 2023 00:40:45 -0700 (PDT) Received: (Authenticated sender: me@crly.cz) by mail.gandi.net (Postfix) with ESMTPSA id 39B58FF803; Tue, 18 Apr 2023 07:40:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=crly.cz; s=gm1; t=1681803644; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=QGdxm1MZfKiixTZRAK84Xihyd7IYkMPBrEsYiqEHj7g=; b=cvF9wZRMZo9QffL/EYafEymCRnRmfFhAqANyq0Uga3jWnhxlANUzXIma0oasCVdku8imLG tlyonZJHlrWzJo2n43gqZnR+mdaKosAu2UVqHLAZdWs9RNTWSa59+94amuxOukCxYvc1W9 EfP354qSdQ31lO57wT8kAGb2lrBm59D2X27uBCBCpoBu8UfRAmG75JVCCCx0HT6w4RNRHk W3Q5UR7LocJKDqTqfV+sL8fZDVC9Et2s6jQ1m7zRAR/0qQ7NIZwbRQXo5rDqab+mUn7Ceh iGHnsIhBnVbyUTRLPI6zJTm2wYJkEGBz65ELKm6qNoifQv+D5JmZ/JV+iASlvQ== From: Roman Beranek To: Maxime Ripard , Chen-Yu Tsai , David Airlie , Daniel Vetter , Jernej Skrabec , Samuel Holland Cc: Roman Beranek , Frank Oltmanns , Icenowy Zheng , Ondrej Jirman , dri-devel@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH v2 1/7] clk: sunxi-ng: a64: propagate rate change from pll-mipi Date: Tue, 18 Apr 2023 09:40:02 +0200 Message-Id: <20230418074008.69752-2-me@crly.cz> X-Mailer: git-send-email 2.32.0 (Apple Git-132) In-Reply-To: <20230418074008.69752-1-me@crly.cz> References: <20230418074008.69752-1-me@crly.cz> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Propagating rate change from tcon0 all the way to pll-video0 allows for greater precision in matching requested display timing. Signed-off-by: Roman Beranek --- drivers/clk/sunxi-ng/ccu-sun50i-a64.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/clk/sunxi-ng/ccu-sun50i-a64.c b/drivers/clk/sunxi-ng/ccu-sun50i-a64.c index 41519185600a..dd6212286dcd 100644 --- a/drivers/clk/sunxi-ng/ccu-sun50i-a64.c +++ b/drivers/clk/sunxi-ng/ccu-sun50i-a64.c @@ -179,7 +179,8 @@ static struct ccu_nkm pll_mipi_clk = { .common = { .reg = 0x040, .hw.init = CLK_HW_INIT("pll-mipi", "pll-video0", - &ccu_nkm_ops, CLK_SET_RATE_UNGATE), + &ccu_nkm_ops, CLK_SET_RATE_UNGATE + | CLK_SET_RATE_PARENT), }, }; -- 2.34.1