Linux ARM-MSM sub-architecture
 help / color / mirror / Atom feed
From: Georgi Djakov <djakov@kernel.org>
To: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>,
	Andy Gross <agross@kernel.org>,
	Bjorn Andersson <bjorn.andersson@linaro.org>
Cc: linux-arm-msm@vger.kernel.org, linux-pm@vger.kernel.org
Subject: Re: [PATCH 1/5] interconnect: icc-rpm: move bus clocks handling into qnoc_probe
Date: Mon, 23 Aug 2021 20:37:58 +0300	[thread overview]
Message-ID: <502a616d-a8aa-528e-d60f-85b05317b410@kernel.org> (raw)
In-Reply-To: <20210818015732.1717810-2-dmitry.baryshkov@linaro.org>

Hi Dmitry,

Thank you for working on this!

On 18.08.21 4:57, Dmitry Baryshkov wrote:
> All icc-rpm drivers use the same set of bus clocks. Move handling of bus
> clocks to qnoc_probe. This both simplifies the code and allows using
> qnoc_probe as device's probe funcion.
> 

s/funcion/function/

> Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
> ---
>   drivers/interconnect/qcom/icc-rpm.c | 22 ++++++++++++++--------
>   drivers/interconnect/qcom/icc-rpm.h |  5 ++---
>   drivers/interconnect/qcom/msm8916.c | 13 +------------
>   drivers/interconnect/qcom/msm8939.c | 13 +------------
>   drivers/interconnect/qcom/qcs404.c  | 13 +------------
>   5 files changed, 19 insertions(+), 47 deletions(-)
> 
> diff --git a/drivers/interconnect/qcom/icc-rpm.c b/drivers/interconnect/qcom/icc-rpm.c
> index 54de49ca7808..394f515cc88d 100644
> --- a/drivers/interconnect/qcom/icc-rpm.c
> +++ b/drivers/interconnect/qcom/icc-rpm.c
> @@ -86,8 +86,11 @@ static int qcom_icc_set(struct icc_node *src, struct icc_node *dst)
>   	return 0;
>   }
>   
> -int qnoc_probe(struct platform_device *pdev, size_t cd_size, int cd_num,
> -	       const struct clk_bulk_data *cd)
> +static const char * const bus_clocks[] = {
> +	"bus", "bus_a",
> +};
> +
> +int qnoc_probe(struct platform_device *pdev)
>   {
>   	struct device *dev = &pdev->dev;
>   	const struct qcom_icc_desc *desc;
> @@ -97,6 +100,8 @@ int qnoc_probe(struct platform_device *pdev, size_t cd_size, int cd_num,
>   	struct qcom_icc_provider *qp;
>   	struct icc_node *node;
>   	size_t num_nodes, i;
> +	const char * const * cds;

Please use: const char * const *cds;

Thanks,
Georgi

  reply	other threads:[~2021-08-23 17:38 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-18  1:57 [PATCH 0/5] interconnect: merge AP-owned support into icc-rpm Dmitry Baryshkov
2021-08-18  1:57 ` [PATCH 1/5] interconnect: icc-rpm: move bus clocks handling into qnoc_probe Dmitry Baryshkov
2021-08-23 17:37   ` Georgi Djakov [this message]
2021-08-18  1:57 ` [PATCH 2/5] interconnect: sdm660: merge common code into icc-rpm Dmitry Baryshkov
2021-08-18  6:24   ` kernel test robot
2021-08-18  1:57 ` [PATCH 3/5] interconnect: icc-rpm: add support for QoS reg offset Dmitry Baryshkov
2021-08-18  1:57 ` [PATCH 4/5] interconnect: msm8916: add support for AP-owned nodes Dmitry Baryshkov
2021-08-18  1:57 ` [PATCH 5/5] interconnect: msm8939: " Dmitry Baryshkov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=502a616d-a8aa-528e-d60f-85b05317b410@kernel.org \
    --to=djakov@kernel.org \
    --cc=agross@kernel.org \
    --cc=bjorn.andersson@linaro.org \
    --cc=dmitry.baryshkov@linaro.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-pm@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox