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 313B2C6FA99 for ; Tue, 7 Mar 2023 22:09:15 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 4A64B85B8A; Tue, 7 Mar 2023 23:08:55 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com 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=gmail.com header.i=@gmail.com header.b="j4oConTP"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 6CF1485C45; Tue, 7 Mar 2023 23:08:48 +0100 (CET) Received: from mail-pj1-x102a.google.com (mail-pj1-x102a.google.com [IPv6:2607:f8b0:4864:20::102a]) (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 66B6585C5D for ; Tue, 7 Mar 2023 23:08:44 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=anarsoul@gmail.com Received: by mail-pj1-x102a.google.com with SMTP id q31-20020a17090a17a200b0023750b69614so109555pja.5 for ; Tue, 07 Mar 2023 14:08:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1678226923; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=ezjNcywYLq/D5Z80gz4/SwtIJRXAAQ0FmE8RAZpvj+4=; b=j4oConTPC1oSllWv5wGtIimss9wLjVwg9SWrV5yyWQw5IvRkfj6ec+FO/jlZ2TLpiK YP6Wn5NLgt+jf8FXIbR0/f/2qoLhulfJU6PZAVDpDeNs4aDzWpzoJ8wjz7WLkakpBnmd gQDJP/++GOkSE3F8pro8hvg3D6mSRijSMAAdqO/tVv5Au/YJlBN/yYjhyf5AFB5PKikn eyyK6kk1De8+Q99uIEn6iQiKFxgMPvafm9jT7Yqv7Gm63tquhhcY7qLRqADewOb31Cd2 9/Z7j8WqiaYr81UfNPKZUvQbvKxTo/xuKrRBp6ELWRi2U35wYfH0916B5iW48rhDWkAB QbaA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678226923; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ezjNcywYLq/D5Z80gz4/SwtIJRXAAQ0FmE8RAZpvj+4=; b=1jxreHfhpnibwlP61sUa7HlkDx9LIflEPio62yidxWNm5oGk8MLSL2+o3htC97Zkfw jmO1pGW9He2hC1hn/hFLLUQAeJwNFhujEMMkaUCVYAIjHjOJBwEu/0PkRsepN/5wWXT4 NSTP00eaBCrwRQGoLRf6QUlS6tXNBwx3BHEl04/Anb5qB5Fwy5XIgbaRflsVcaW59awN GTw+IbGDIBr4Jcse+5UvGyGzCsb7hI0qBriZHgRfHdYgP22/oQuSpXNCDQfQ6mhBPs8F lx+xV4/2ArQUoujwNl+WR7lhXFYdvSGeaU9iQIOgWC3K+UgwdzqGVFC8S/9RFTThWCez zbzA== X-Gm-Message-State: AO0yUKWU3TttBU72o4/umEfTaOg6ZV7GO4BPfqt5KwnpkMFkEF06hlTp UhR2Tw4R4cpJF4N23gs1/bM= X-Google-Smtp-Source: AK7set+tf75iIqx4K+T80yfMlrphw6vXYuxSGHhIdHGJOo/7syDrbcUO9iSULoqxo7gs5k+jRGwn/g== X-Received: by 2002:a05:6a20:1610:b0:cb:7cc4:3ddb with SMTP id l16-20020a056a20161000b000cb7cc43ddbmr14159743pzj.3.1678226922656; Tue, 07 Mar 2023 14:08:42 -0800 (PST) Received: from anarsoul-xps15.lan ([2604:3d08:7780:e52::398]) by smtp.gmail.com with ESMTPSA id m21-20020aa78a15000000b00571cdbd0771sm8387633pfa.102.2023.03.07.14.08.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Mar 2023 14:08:41 -0800 (PST) From: Vasily Khoruzhick To: Simon Glass , Philipp Tomsich , Kever Yang , Lukasz Majewski , Sean Anderson , Jagan Teki , Manoj Sai , John Keeping , Mark Kettenis , u-boot@lists.denx.de Cc: Vasily Khoruzhick Subject: [PATCH v2 2/3] clk: rockchip: rk3568: add stubs for CLK_PCIEPHY_REF clocks Date: Tue, 7 Mar 2023 14:08:26 -0800 Message-Id: <20230307220827.68520-2-anarsoul@gmail.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230307220827.68520-1-anarsoul@gmail.com> References: <20230307220827.68520-1-anarsoul@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 Device tree contains assigned-clock-rates property for these, but default value will work just fine Signed-off-by: Vasily Khoruzhick --- v2: implement stubs for CLK_PCIEPHY_REF instead of dropping assigned-clock properties drivers/clk/rockchip/clk_rk3568.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/clk/rockchip/clk_rk3568.c b/drivers/clk/rockchip/clk_rk3568.c index 253b69504f..1c6adc56f9 100644 --- a/drivers/clk/rockchip/clk_rk3568.c +++ b/drivers/clk/rockchip/clk_rk3568.c @@ -425,6 +425,9 @@ static ulong rk3568_pmuclk_set_rate(struct clk *clk, ulong rate) case PCLK_PMU: ret = rk3568_pmu_set_pmuclk(priv, rate); break; + case CLK_PCIEPHY0_REF: + case CLK_PCIEPHY1_REF: + return 0; default: return -ENOENT; } -- 2.39.2