Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id DD43CC7618E for ; Sat, 22 Apr 2023 18:21:20 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 20BA88644F; Sat, 22 Apr 2023 20:20:18 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=reject dis=none) header.from=kwiboo.se Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=kwiboo.se header.i=@kwiboo.se header.b="gHiIQLf9"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 234A686009; Sat, 22 Apr 2023 20:19:59 +0200 (CEST) Received: from s.wrqvtzvf.outbound-mail.sendgrid.net (s.wrqvtzvf.outbound-mail.sendgrid.net [149.72.126.143]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id D11578644F for ; Sat, 22 Apr 2023 20:19:54 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=reject dis=none) header.from=kwiboo.se Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=bounces+31435339-7456-u-boot=lists.denx.de@em2124.kwiboo.se DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kwiboo.se; h=from:subject:in-reply-to:references:mime-version:to:cc: content-transfer-encoding:content-type:cc:content-type:from:subject:to; s=s1; bh=l8ZgvPrmHekw+ffYQ4xGYJfMNkzUSYgQzBPR/GbVA5U=; b=gHiIQLf9vNyXFPf1F7YhSGE4tMHYFVDBV06yeDlIV5qr700OsUqFRxNo/YWAhP0MKjYj PhThkQtk86m7Fk54NQOy5MEEebndcok1CukyUr38aNsm1qS0ap7w6NzNhDgo+IR2DPw0BN Z7ErE0pX2SLyc0seU+ERiHAm2JgeUlcSx/2l9HK5HlRniJOT3ZJr2zuyxVLTyAV6S27aXt owOabZGBcJxscCubO0gca4cXHZtOetketGirRT68C+evPWs+Y8HllB505l6ao0Kyy9Jg2w rnA2RnrR5EiUKNBRvv6KgpNfPyWKyVI+GXn4/ZbH3vT8Oc5QrpF7FLY7qaP0uQnQ== Received: by filterdrecv-68f8d557c9-k5m87 with SMTP id filterdrecv-68f8d557c9-k5m87-1-64442549-D 2023-04-22 18:19:53.444282399 +0000 UTC m=+5165304.407480714 Received: from bionic.localdomain (unknown) by geopod-ismtpd-6 (SG) with ESMTP id YPLdAOHdTk6g_YL2EOUBeQ Sat, 22 Apr 2023 18:19:53.250 +0000 (UTC) From: Jonas Karlman Subject: [PATCH 6/8] rockchip: clk: clk_rk3568: Add CLK_PCIEPHY2_REF support Date: Sat, 22 Apr 2023 18:19:53 +0000 (UTC) Message-Id: <20230422181943.889436-7-jonas@kwiboo.se> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230422181943.889436-1-jonas@kwiboo.se> References: <20230422181943.889436-1-jonas@kwiboo.se> MIME-Version: 1.0 X-SG-EID: =?us-ascii?Q?TdbjyGynYnRZWhH+7lKUQJL+ZxmxpowvO2O9SQF5CwCVrYgcwUXgU5DKUU3QxA?= =?us-ascii?Q?fZekEeQsTe+RrMu3cja6a0h+oaUIqNQNxKSo=2Fp6?= =?us-ascii?Q?q7Ef+y8wDgvKzwmt9eMkuxFXZ3v8r6+PUKVqkz4?= =?us-ascii?Q?L9Z46X1cxmhHtoIazqZd6f+b1A0wcT3+pD9zfiy?= =?us-ascii?Q?IIdiJJ15QXxFWpvuKye52ZRG5KLQJlbix17EIAG?= =?us-ascii?Q?FU+YMrhShfg2BAizAOsqLSJuF6M8dd5WaKl3rm?= To: Kever Yang , Simon Glass , Philipp Tomsich , Lukasz Majewski , Sean Anderson Cc: Eugen Hristev , u-boot@lists.denx.de, Jonas Karlman X-Entity-ID: P7KYpSJvGCELWjBME/J5tg== Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean Add dummy support for the CLK_PCIEPHY2_REF clock. Signed-off-by: Jonas Karlman --- drivers/clk/rockchip/clk_rk3568.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/clk/rockchip/clk_rk3568.c b/drivers/clk/rockchip/clk_rk3568.c index cefc263971a6..c8e688789e4c 100644 --- a/drivers/clk/rockchip/clk_rk3568.c +++ b/drivers/clk/rockchip/clk_rk3568.c @@ -427,6 +427,7 @@ static ulong rk3568_pmuclk_set_rate(struct clk *clk, ulong rate) break; case CLK_PCIEPHY0_REF: case CLK_PCIEPHY1_REF: + case CLK_PCIEPHY2_REF: return 0; default: return -ENOENT; -- 2.40.0