Message ID | 20221210200353.418391-5-konrad.dybcio@linaro.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp1482174wrr; Sat, 10 Dec 2022 12:25:30 -0800 (PST) X-Google-Smtp-Source: AA0mqf4K0gV/32Z2SAdA7HvMvuG8w4OxmP3wzhBJw3qchuyzSQ692/tLY5Ys7ZGDKYsvXPWH/2oe X-Received: by 2002:a17:907:c787:b0:7ae:126a:99b8 with SMTP id tz7-20020a170907c78700b007ae126a99b8mr10120400ejc.61.1670703930464; Sat, 10 Dec 2022 12:25:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670703930; cv=none; d=google.com; s=arc-20160816; b=akoGoBQ8L7yVDAAuhmiLZnfXMF4FcuLrVPE5zWLFxiqz//4+WKrbUPFjjC5ZVFQh1W lNudlq7a+h3JeXvxSkx67th3ivUIVM1Z1+cRoIUX8RoWD8qhDbjAG3sSMZM3Ptek37pp IX5hIPdQH0ix+CdzZ2T7iWdNC50OGHnYe+vXfxcvb91K2B51Dyn0IHvT5RQZwLDtxAyC L1/lGWNC8L0evBZzf6yKHBS899oOHxBz2S5aR99yKdSrf9n9RPafUtw3jjTbpyshvrrC 7wnwjmK0up5qXYMacN1uenKTXDhitt0Q0VuFyfgxFznDAfzL09wcZNHOPdvmjEr8/UgE j5CQ== 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=Xj0jB4AhzYQNXspmImuMXL7HzHFtFIdHtKGTYSzQnq0=; b=vVk/myYKLQUw5PbmBYZCb+AWw0uDdsumJ6EsVoOhdnrW/0Vrd6/Nhhu1NbMH2SXh+H cC1bz4rLw8dPOoSlYVX1s+9gFPWptOVEN5zWwnAEB7QuugM0EZWesK0dr3dehF4ISlNN v3n5dnEYJREwsIlpP5L/+ffr4rHjG2T111yX5E14mHd/nOayTLnFDZgywHOG1FrHJLHp q8fDElNlc/5XcsCbo24cHZx+NCNRTKTSs89jnnoA1kCRxTzjysFtSN1Z+IQ3aa2LhZYg U+3FCxuYKtm5UUf2bf7fOFJePSNB7QUih6v+fgeHFpr7z1y1XYp+B5W+G/dJEBw2tmvA ShGQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=q3LIslAF; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ji5-20020a170907980500b007c0c2ec3683si2887963ejc.106.2022.12.10.12.25.03; Sat, 10 Dec 2022 12:25:30 -0800 (PST) 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=@linaro.org header.s=google header.b=q3LIslAF; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229961AbiLJUEY (ORCPT <rfc822;jz.zhangjin@gmail.com> + 99 others); Sat, 10 Dec 2022 15:04:24 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41232 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229888AbiLJUEP (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Sat, 10 Dec 2022 15:04:15 -0500 Received: from mail-lf1-x133.google.com (mail-lf1-x133.google.com [IPv6:2a00:1450:4864:20::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 741311403E for <linux-kernel@vger.kernel.org>; Sat, 10 Dec 2022 12:04:13 -0800 (PST) Received: by mail-lf1-x133.google.com with SMTP id c1so12244480lfi.7 for <linux-kernel@vger.kernel.org>; Sat, 10 Dec 2022 12:04:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; 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=Xj0jB4AhzYQNXspmImuMXL7HzHFtFIdHtKGTYSzQnq0=; b=q3LIslAF2wRgh8DspOIqNEL5gxAzBjGzT1d0OFAjbzlOaSF6aIcUPKMgV6CNdRTYjT BPyhBbUunkkujEuf24tjFN2s0DyYsbiyUuWTIkJPg89nduDRd43gnPE77ozTe1n2AILd nFj4xP3Fqfyc/kK+EpUbBwP8ZPCi3yBZ/NMBMxcJGtSjNDODRSoj6/h+hFobDpnyNkhU iRcPyHpd+nyjT5hyqqplBO5HJd8CJKw+76tvmYgKLlmqZY6KKZLFj91bZYOz7yzxnzQm dhTNd8UUnewDyt8ns8Z8jMVro9FXj/+bcXyTUriQjoSRaTz2XC3Eh10/fU4R6PPLON4o vRYw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=Xj0jB4AhzYQNXspmImuMXL7HzHFtFIdHtKGTYSzQnq0=; b=Ta527S5z+37jiREKzxtgGsgv70eJTy1yjpzxi6XjmEcL5BoKpKBQGCOwNiUadGCWg8 8Mvna+lbBJIxJCqs0JKXTdML6a06znvlPLOiGA1J7OFBUty0V4vqoP1xQE0lTUpxEk69 JPP51jvDDx/hJMOZPNGzhZyySZAvg/nunpzwuRImsfEvKnXDnT3DHWgI4t4OROOHikQL c4gfX1MCrpiIO4YnQkhfcDNELTLYtImCf70wwVHdR6FfrWY4XqHT7uKV5uuFv3xr9voG 3u4fEqHI74U/dEX1DvXUCqA7yI1iyD8SmTM9yuFlRt6dBlt/ODEIokEpi3LW8x/03m3x oNug== X-Gm-Message-State: ANoB5plpbF10RIuXJte6hYZNtoy5dLNZss0pfdfD//zQqZTAER3lFnXR 5ZhzOFpTNtANVCPfh4BAs5VuQA== X-Received: by 2002:a05:6512:3d0e:b0:4b5:9043:2530 with SMTP id d14-20020a0565123d0e00b004b590432530mr4008272lfv.68.1670702653080; Sat, 10 Dec 2022 12:04:13 -0800 (PST) Received: from localhost.localdomain (abxh44.neoplus.adsl.tpnet.pl. [83.9.1.44]) by smtp.gmail.com with ESMTPSA id h28-20020ac2597c000000b004b4f1ea713csm839628lfp.73.2022.12.10.12.04.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 10 Dec 2022 12:04:12 -0800 (PST) From: Konrad Dybcio <konrad.dybcio@linaro.org> To: linux-arm-msm@vger.kernel.org, andersson@kernel.org, agross@kernel.org, krzysztof.kozlowski@linaro.org Cc: marijn.suijten@somainline.org, Konrad Dybcio <konrad.dybcio@linaro.org>, Georgi Djakov <djakov@kernel.org>, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 4/5] interconnect: qcom: rpm: Use _optional func for provider clocks Date: Sat, 10 Dec 2022 21:03:52 +0100 Message-Id: <20221210200353.418391-5-konrad.dybcio@linaro.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221210200353.418391-1-konrad.dybcio@linaro.org> References: <20221210200353.418391-1-konrad.dybcio@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1751860044981781394?= X-GMAIL-MSGID: =?utf-8?q?1751860044981781394?= |
Series |
[1/5] dt-bindings: interconnect: Add UFS clocks to MSM8996 A2NoC
|
|
Commit Message
Konrad Dybcio
Dec. 10, 2022, 8:03 p.m. UTC
It turned out that - very unfortunately - msm8996 needs a binding
update, adding 2 more clocks to the A2NoC node. Use the _optional
variant of devm_clk_get to make sure old DTs will still probe with
newer versions of the driver.
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
---
drivers/interconnect/qcom/icc-rpm.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Comments
On Sat, 10 Dec 2022 at 23:04, Konrad Dybcio <konrad.dybcio@linaro.org> wrote: > > It turned out that - very unfortunately - msm8996 needs a binding > update, adding 2 more clocks to the A2NoC node. Use the _optional > variant of devm_clk_get to make sure old DTs will still probe with > newer versions of the driver. > > Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org> > --- > drivers/interconnect/qcom/icc-rpm.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
diff --git a/drivers/interconnect/qcom/icc-rpm.c b/drivers/interconnect/qcom/icc-rpm.c index ba6781f54ab7..df3196f72536 100644 --- a/drivers/interconnect/qcom/icc-rpm.c +++ b/drivers/interconnect/qcom/icc-rpm.c @@ -488,7 +488,7 @@ int qnoc_probe(struct platform_device *pdev) } regmap_done: - ret = devm_clk_bulk_get(dev, qp->num_clks, qp->bus_clks); + ret = devm_clk_bulk_get_optional(dev, qp->num_clks, qp->bus_clks); if (ret) return ret;