All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thierry Reding <thierry.reding@gmail.com>
To: Dmitry Osipenko <digetx@gmail.com>
Cc: Jon Hunter <jonathanh@nvidia.com>,
	Rob Herring <robh+dt@kernel.org>,
	Mark Rutland <mark.rutland@arm.com>,
	Michael Turquette <mturquette@baylibre.com>,
	Stephen Boyd <sboyd@kernel.org>, Joseph Lo <josephl@nvidia.com>,
	devicetree@vger.kernel.org, linux-tegra@vger.kernel.org,
	linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH v5 2/8] clk: tegra: Export functions for EMC clock scaling
Date: Tue, 10 Mar 2020 18:08:32 +0100	[thread overview]
Message-ID: <20200310170832.GC3079591@ulmo> (raw)
In-Reply-To: <1ac24caf-e4c1-b20e-4c3d-97b328a97ea5@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1335 bytes --]

On Tue, Mar 10, 2020 at 07:16:15PM +0300, Dmitry Osipenko wrote:
> 10.03.2020 19:13, Dmitry Osipenko пишет:
> > 10.03.2020 18:19, Thierry Reding пишет:
> >> From: Joseph Lo <josephl@nvidia.com>
> >>
> >> Export functions to allow accessing the CAR register required by EMC
> >> clock scaling. These functions will be used to access the CAR register
> >> as part of the scaling sequence.
> >>
> >> Signed-off-by: Joseph Lo <josephl@nvidia.com>
> >> Signed-off-by: Thierry Reding <treding@nvidia.com>
> >> ---
> >> Changes in v5:
> >> - remove tegra210_clk_emc_update_setting() which is no longer needed
> >>
> > ...
> >> +EXPORT_SYMBOL_GPL(tegra210_clk_emc_update_setting);
> > ...
> >> +extern void tegra210_clk_emc_dll_enable(bool flag);
> >> +extern void tegra210_clk_emc_dll_update_setting(u32 emc_dll_src_value);
> >> +extern void tegra210_clk_emc_update_setting(u32 emc_src_value);
> > 
> > Why these exports are needed given that the EMC driver is built-in?
> > 
> 
> Also, seems changelog doesn't match the patch itself.

I don't understand. These functions access the EMC clock's registers in
the CAR.

Oh... are you referring to tegra210_clk_emc_update_setting()
specifically? Yes, it looks like I forgot to remove the implementation
for it. I only removed the prototype.

Thierry

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

WARNING: multiple messages have this Message-ID (diff)
From: Thierry Reding <thierry.reding-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: Dmitry Osipenko <digetx-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Cc: Jon Hunter <jonathanh-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>,
	Rob Herring <robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>,
	Mark Rutland <mark.rutland-5wv7dgnIgG8@public.gmane.org>,
	Michael Turquette
	<mturquette-rdvid1DuHRBWk0Htik3J/w@public.gmane.org>,
	Stephen Boyd <sboyd-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>,
	Joseph Lo <josephl-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>,
	devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	linux-clk-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org
Subject: Re: [PATCH v5 2/8] clk: tegra: Export functions for EMC clock scaling
Date: Tue, 10 Mar 2020 18:08:32 +0100	[thread overview]
Message-ID: <20200310170832.GC3079591@ulmo> (raw)
In-Reply-To: <1ac24caf-e4c1-b20e-4c3d-97b328a97ea5-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>

[-- Attachment #1: Type: text/plain, Size: 1422 bytes --]

On Tue, Mar 10, 2020 at 07:16:15PM +0300, Dmitry Osipenko wrote:
> 10.03.2020 19:13, Dmitry Osipenko пишет:
> > 10.03.2020 18:19, Thierry Reding пишет:
> >> From: Joseph Lo <josephl-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
> >>
> >> Export functions to allow accessing the CAR register required by EMC
> >> clock scaling. These functions will be used to access the CAR register
> >> as part of the scaling sequence.
> >>
> >> Signed-off-by: Joseph Lo <josephl-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
> >> Signed-off-by: Thierry Reding <treding-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
> >> ---
> >> Changes in v5:
> >> - remove tegra210_clk_emc_update_setting() which is no longer needed
> >>
> > ...
> >> +EXPORT_SYMBOL_GPL(tegra210_clk_emc_update_setting);
> > ...
> >> +extern void tegra210_clk_emc_dll_enable(bool flag);
> >> +extern void tegra210_clk_emc_dll_update_setting(u32 emc_dll_src_value);
> >> +extern void tegra210_clk_emc_update_setting(u32 emc_src_value);
> > 
> > Why these exports are needed given that the EMC driver is built-in?
> > 
> 
> Also, seems changelog doesn't match the patch itself.

I don't understand. These functions access the EMC clock's registers in
the CAR.

Oh... are you referring to tegra210_clk_emc_update_setting()
specifically? Yes, it looks like I forgot to remove the implementation
for it. I only removed the prototype.

Thierry

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

WARNING: multiple messages have this Message-ID (diff)
From: Thierry Reding <thierry.reding@gmail.com>
To: Dmitry Osipenko <digetx@gmail.com>
Cc: Mark Rutland <mark.rutland@arm.com>,
	devicetree@vger.kernel.org, Stephen Boyd <sboyd@kernel.org>,
	Michael Turquette <mturquette@baylibre.com>,
	Jon Hunter <jonathanh@nvidia.com>,
	Rob Herring <robh+dt@kernel.org>, Joseph Lo <josephl@nvidia.com>,
	linux-tegra@vger.kernel.org, linux-clk@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH v5 2/8] clk: tegra: Export functions for EMC clock scaling
Date: Tue, 10 Mar 2020 18:08:32 +0100	[thread overview]
Message-ID: <20200310170832.GC3079591@ulmo> (raw)
In-Reply-To: <1ac24caf-e4c1-b20e-4c3d-97b328a97ea5@gmail.com>


[-- Attachment #1.1: Type: text/plain, Size: 1335 bytes --]

On Tue, Mar 10, 2020 at 07:16:15PM +0300, Dmitry Osipenko wrote:
> 10.03.2020 19:13, Dmitry Osipenko пишет:
> > 10.03.2020 18:19, Thierry Reding пишет:
> >> From: Joseph Lo <josephl@nvidia.com>
> >>
> >> Export functions to allow accessing the CAR register required by EMC
> >> clock scaling. These functions will be used to access the CAR register
> >> as part of the scaling sequence.
> >>
> >> Signed-off-by: Joseph Lo <josephl@nvidia.com>
> >> Signed-off-by: Thierry Reding <treding@nvidia.com>
> >> ---
> >> Changes in v5:
> >> - remove tegra210_clk_emc_update_setting() which is no longer needed
> >>
> > ...
> >> +EXPORT_SYMBOL_GPL(tegra210_clk_emc_update_setting);
> > ...
> >> +extern void tegra210_clk_emc_dll_enable(bool flag);
> >> +extern void tegra210_clk_emc_dll_update_setting(u32 emc_dll_src_value);
> >> +extern void tegra210_clk_emc_update_setting(u32 emc_src_value);
> > 
> > Why these exports are needed given that the EMC driver is built-in?
> > 
> 
> Also, seems changelog doesn't match the patch itself.

I don't understand. These functions access the EMC clock's registers in
the CAR.

Oh... are you referring to tegra210_clk_emc_update_setting()
specifically? Yes, it looks like I forgot to remove the implementation
for it. I only removed the prototype.

Thierry

[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

[-- Attachment #2: Type: text/plain, Size: 176 bytes --]

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

  reply	other threads:[~2020-03-10 17:08 UTC|newest]

Thread overview: 100+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-10 15:19 [PATCH v5 0/8] Add EMC scaling support for Tegra210 Thierry Reding
2020-03-10 15:19 ` Thierry Reding
2020-03-10 15:19 ` Thierry Reding
2020-03-10 15:19 ` [PATCH v5 1/8] clk: tegra: Add PLLP_UD and PLLMB_UD " Thierry Reding
2020-03-10 15:19   ` Thierry Reding
2020-03-10 16:19   ` Dmitry Osipenko
2020-03-10 16:19     ` Dmitry Osipenko
2020-03-10 16:19     ` Dmitry Osipenko
2020-03-10 17:05     ` Thierry Reding
2020-03-10 17:05       ` Thierry Reding
2020-03-10 17:05       ` Thierry Reding
2020-03-10 17:50       ` Dmitry Osipenko
2020-03-10 17:50         ` Dmitry Osipenko
2020-03-10 17:50         ` Dmitry Osipenko
2020-03-10 15:19 ` [PATCH v5 2/8] clk: tegra: Export functions for EMC clock scaling Thierry Reding
2020-03-10 15:19   ` Thierry Reding
2020-03-10 15:19   ` Thierry Reding
2020-03-10 16:13   ` Dmitry Osipenko
2020-03-10 16:13     ` Dmitry Osipenko
2020-03-10 16:13     ` Dmitry Osipenko
2020-03-10 16:16     ` Dmitry Osipenko
2020-03-10 16:16       ` Dmitry Osipenko
2020-03-10 16:16       ` Dmitry Osipenko
2020-03-10 17:08       ` Thierry Reding [this message]
2020-03-10 17:08         ` Thierry Reding
2020-03-10 17:08         ` Thierry Reding
2020-03-10 17:06     ` Thierry Reding
2020-03-10 17:06       ` Thierry Reding
2020-03-10 15:19 ` [PATCH v5 3/8] clk: tegra: Implement Tegra210 EMC clock Thierry Reding
2020-03-10 15:19   ` Thierry Reding
2020-03-10 15:19   ` Thierry Reding
2020-03-10 16:26   ` Dmitry Osipenko
2020-03-10 16:26     ` Dmitry Osipenko
2020-03-10 16:26     ` Dmitry Osipenko
2020-03-10 17:10     ` Thierry Reding
2020-03-10 17:10       ` Thierry Reding
2020-03-10 16:29   ` Dmitry Osipenko
2020-03-10 16:29     ` Dmitry Osipenko
2020-03-23 11:06     ` Thierry Reding
2020-03-23 11:06       ` Thierry Reding
2020-03-23 11:06       ` Thierry Reding
2020-03-10 16:55   ` Dmitry Osipenko
2020-03-10 16:55     ` Dmitry Osipenko
2020-03-10 16:55     ` Dmitry Osipenko
2020-03-23 11:05     ` Thierry Reding
2020-03-23 11:05       ` Thierry Reding
2020-03-23 11:05       ` Thierry Reding
2020-03-23 13:14       ` Dmitry Osipenko
2020-03-23 13:14         ` Dmitry Osipenko
2020-03-23 13:14         ` Dmitry Osipenko
2020-03-10 17:03   ` Dmitry Osipenko
2020-03-10 17:03     ` Dmitry Osipenko
2020-03-10 17:03     ` Dmitry Osipenko
2020-03-23 11:02     ` Thierry Reding
2020-03-23 11:02       ` Thierry Reding
2020-03-23 11:02       ` Thierry Reding
2020-03-10 17:44   ` Dmitry Osipenko
2020-03-10 17:44     ` Dmitry Osipenko
2020-03-10 17:44     ` Dmitry Osipenko
2020-03-23 11:00     ` Thierry Reding
2020-03-23 11:00       ` Thierry Reding
2020-03-23 11:00       ` Thierry Reding
2020-03-23 13:21       ` Dmitry Osipenko
2020-03-23 13:21         ` Dmitry Osipenko
2020-03-23 13:21         ` Dmitry Osipenko
2020-03-10 15:19 ` [PATCH v5 4/8] dt-bindings: memory: tegra: Add external memory controller binding for Tegra210 Thierry Reding
2020-03-10 15:19   ` Thierry Reding
2020-03-10 15:19   ` Thierry Reding
2020-03-10 16:35   ` Dmitry Osipenko
2020-03-10 16:35     ` Dmitry Osipenko
2020-03-10 16:35     ` Dmitry Osipenko
2020-03-10 17:12     ` Thierry Reding
2020-03-10 17:12       ` Thierry Reding
2020-03-10 17:12       ` Thierry Reding
2020-03-10 18:38   ` Rob Herring
2020-03-10 18:38     ` Rob Herring
2020-03-10 18:38     ` Rob Herring
2020-03-23 10:35   ` Thierry Reding
2020-03-23 10:35     ` Thierry Reding
2020-03-23 10:35     ` Thierry Reding
     [not found] ` <20200310152003.2945170-1-thierry.reding-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2020-03-10 15:20   ` [PATCH v5 5/8] memory: tegra: Add EMC scaling support code " Thierry Reding
2020-03-10 15:20     ` Thierry Reding
2020-03-10 16:43     ` Dmitry Osipenko
2020-03-10 16:43       ` Dmitry Osipenko
2020-03-10 16:43       ` Dmitry Osipenko
2020-03-10 17:13       ` Thierry Reding
2020-03-10 17:13         ` Thierry Reding
2020-03-10 17:13         ` Thierry Reding
2020-03-11  0:25     ` Dmitry Osipenko
2020-03-11  0:25       ` Dmitry Osipenko
2020-03-11  0:25       ` Dmitry Osipenko
2020-03-10 15:20 ` [PATCH v5 6/8] memory: tegra: Add EMC scaling sequence " Thierry Reding
2020-03-10 15:20   ` Thierry Reding
2020-03-10 15:20   ` Thierry Reding
2020-03-10 15:20 ` [PATCH v5 7/8] arm64: tegra: Add external memory controller node " Thierry Reding
2020-03-10 15:20   ` Thierry Reding
2020-03-10 15:20   ` Thierry Reding
2020-03-10 15:20 ` [PATCH v5 8/8] clk: tegra: Remove the old emc_mux clock " Thierry Reding
2020-03-10 15:20   ` Thierry Reding
2020-03-10 15:20   ` Thierry Reding

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=20200310170832.GC3079591@ulmo \
    --to=thierry.reding@gmail.com \
    --cc=devicetree@vger.kernel.org \
    --cc=digetx@gmail.com \
    --cc=jonathanh@nvidia.com \
    --cc=josephl@nvidia.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-clk@vger.kernel.org \
    --cc=linux-tegra@vger.kernel.org \
    --cc=mark.rutland@arm.com \
    --cc=mturquette@baylibre.com \
    --cc=robh+dt@kernel.org \
    --cc=sboyd@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.