linux-tegra.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Peter De Schrijver <pdeschrijver@nvidia.com>
To: Jon Hunter <jonathanh@nvidia.com>
Cc: linux-tegra@vger.kernel.org, linux-clk@vger.kernel.org
Subject: Re: [PATCH v2 1/4] clk: tegra: Add la clock for Tegra210
Date: Thu, 21 Dec 2017 11:00:52 +0200	[thread overview]
Message-ID: <20171221090052.GR29417@tbergstrom-lnx.Nvidia.com> (raw)
In-Reply-To: <01f6a806-362e-1276-07d7-dfe439e92034@nvidia.com>

On Tue, Dec 19, 2017 at 11:00:52PM +0000, Jon Hunter wrote:
> 
> On 16/11/17 14:28, Peter De Schrijver wrote:
> > This clock is needed by the memory built-in self test work around.
> > 
> > Signed-off-by: Peter De Schrijver <pdeschrijver@nvidia.com>
> > ---
> >  drivers/clk/tegra/clk-tegra210.c         | 12 ++++++++++++
> >  include/dt-bindings/clock/tegra210-car.h |  2 +-
> >  2 files changed, 13 insertions(+), 1 deletion(-)
> > 
> > diff --git a/drivers/clk/tegra/clk-tegra210.c b/drivers/clk/tegra/clk-tegra210.c
> > index 6d7a613..55a5b7f 100644
> > --- a/drivers/clk/tegra/clk-tegra210.c
> > +++ b/drivers/clk/tegra/clk-tegra210.c
> > @@ -40,6 +40,7 @@
> >  
> >  #define CLK_SOURCE_CSITE 0x1d4
> >  #define CLK_SOURCE_EMC 0x19c
> > +#define CLK_SOURCE_LA 0x1f8
> >  
> >  #define PLLC_BASE 0x80
> >  #define PLLC_OUT 0x84
> > @@ -2628,6 +2629,13 @@ static int tegra210_init_pllu(void)
> >  	return 0;
> >  }
> >  
> > +static const char * const la_parents[] = {
> > +	"pll_p", "pll_c2", "pll_c", "pll_c3", "pll_re_out1", "pll_a1", "clk_m", "pll_c4_out0"
> > +};
> > +
> > +static struct tegra_clk_periph tegra210_la =
> > +	TEGRA_CLK_PERIPH(29, 7, 9, 0, 8, 1, TEGRA_DIVIDER_ROUND_UP, 76, 0, NULL, 0);
> > +
> 
> The above are over 80 characters. I know we already have some in this
> file that are, but we should avoid it where we can.

la_parents could be split, but I don't think it's any more clear if tegra210_la is split.

Peter.

  reply	other threads:[~2017-12-21  9:00 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-16 14:28 [PATCH v2 0/4] MBIST work around (WAR) for Tegra210 Peter De Schrijver
2017-11-16 14:29 ` [PATCH v2 3/4] clk: tegra: MBIST work around " Peter De Schrijver
     [not found]   ` <1510842542-16451-4-git-send-email-pdeschrijver-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2017-12-20 10:03     ` Jon Hunter
     [not found]       ` <3d7f4e84-af44-ba3d-7910-a51a0abce136-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2017-12-21  9:40         ` Peter De Schrijver
     [not found]           ` <20171221094049.GX29417-Rysk9IDjsxmJz7etNGeUX8VPkgjIgRvpAL8bYrjMMd8@public.gmane.org>
2017-12-21 11:08             ` Jon Hunter
2018-01-22 15:29         ` Peter De Schrijver
     [not found] ` <1510842542-16451-1-git-send-email-pdeschrijver-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2017-11-16 14:28   ` [PATCH v2 1/4] clk: tegra: Add la clock " Peter De Schrijver
     [not found]     ` <1510842542-16451-2-git-send-email-pdeschrijver-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2017-12-19 22:27       ` Jon Hunter
     [not found]         ` <47980cf0-8837-bff1-a25a-1287dd96b689-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2017-12-21  8:55           ` Peter De Schrijver
2017-12-19 23:00     ` Jon Hunter
2017-12-21  9:00       ` Peter De Schrijver [this message]
2017-11-16 14:29   ` [PATCH v2 2/4] clk: tegra: add fence_delay for clock registers Peter De Schrijver
2017-12-19 23:04     ` Jon Hunter
2017-12-21  9:01       ` Peter De Schrijver
     [not found]       ` <9026e3d1-26aa-28fc-6098-60484957da48-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2017-12-21  9:02         ` Peter De Schrijver
     [not found]     ` <1510842542-16451-3-git-send-email-pdeschrijver-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2017-12-19 23:14       ` Jon Hunter
2017-11-16 14:29   ` [PATCH v2 4/4] soc/tegra: pmc: apply MBIST work around fo Tegra210 Peter De Schrijver
     [not found]     ` <1510842542-16451-5-git-send-email-pdeschrijver-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2017-12-20 10:06       ` Jon Hunter
2017-12-21  9:05         ` Peter De Schrijver
2017-12-21 11:08           ` Jon Hunter
2017-12-19  8:53   ` [PATCH v2 0/4] MBIST work around (WAR) for Tegra210 Peter De Schrijver
     [not found]     ` <20171219085346.GK29417-Rysk9IDjsxmJz7etNGeUX8VPkgjIgRvpAL8bYrjMMd8@public.gmane.org>
2017-12-19  9:40       ` Jon Hunter
2017-12-20 10:12   ` Jon Hunter
     [not found]     ` <83325ffd-5b85-6288-63ac-5a938b948300-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2017-12-21  9:37       ` Peter De Schrijver
     [not found]         ` <20171221093742.GW29417-Rysk9IDjsxmJz7etNGeUX8VPkgjIgRvpAL8bYrjMMd8@public.gmane.org>
2017-12-21 11:11           ` Jon Hunter
  -- strict thread matches above, loose matches on Subject: below --
2017-11-16 15:29 Peter De Schrijver
     [not found] ` <1510846195-28555-1-git-send-email-pdeschrijver-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2017-11-16 15:29   ` [PATCH v2 1/4] clk: tegra: Add la clock " Peter De Schrijver

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=20171221090052.GR29417@tbergstrom-lnx.Nvidia.com \
    --to=pdeschrijver@nvidia.com \
    --cc=jonathanh@nvidia.com \
    --cc=linux-clk@vger.kernel.org \
    --cc=linux-tegra@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;
as well as URLs for NNTP newsgroup(s).