public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
From: Sekhar Nori <nsekhar@ti.com>
To: Alexandre Bailon <abailon@baylibre.com>
Cc: grygorii.strashko@ti.com, sergei.shtylyov@cogentembedded.com,
	tony@atomide.com, khilman@baylibre.com,
	linux-usb@vger.kernel.org, ptitiano@baylibre.com,
	linux-omap@vger.kernel.org, b-liu@ti.com,
	linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH v2] ARM: davinci: Add the clock for the CPPI 4.1 DMA engine
Date: Wed, 12 Apr 2017 16:57:19 +0530	[thread overview]
Message-ID: <5578004a-682f-f135-a03c-eb41fa4d1426@ti.com> (raw)
In-Reply-To: <d73b5bf4-4772-4089-0e04-76275b6a00a3@baylibre.com>

On Friday 07 April 2017 11:01 PM, Alexandre Bailon wrote:
> 
> 
> On 04/07/2017 06:15 PM, Alexandre Bailon wrote:
>>
>>
>> On 04/07/2017 04:36 PM, Sekhar Nori wrote:
>>> On Wednesday 05 April 2017 10:47 PM, Alexandre Bailon wrote:
>>>> The CPPI 4.1 DMA is sharing its clock with the USB OTG,
>>>> and most of the time, the clock will be enabled by USB.
>>>> But during the init of the DMA, USB is not enabled (waiting for DMA),
>>>> and then we must enable the clock before doing anything.
>>>> Add the clock for the CPPI 4.1 DMA engine.
>>>>
>>>> Signed-off-by: Alexandre Bailon <abailon@baylibre.com>
>>>> ---
>>>>   arch/arm/mach-davinci/da830.c | 6 ++++++
>>>>   arch/arm/mach-davinci/da850.c | 6 ++++++
>>>>   2 files changed, 12 insertions(+)
>>>>
>>>> diff --git a/arch/arm/mach-davinci/da830.c
>>>> b/arch/arm/mach-davinci/da830.c
>>>> index 073c458..bd88470 100644
>>>> --- a/arch/arm/mach-davinci/da830.c
>>>> +++ b/arch/arm/mach-davinci/da830.c
>>>> @@ -304,6 +304,11 @@ static struct clk usb20_clk = {
>>>>       .gpsc        = 1,
>>>>   };
>>>>   +static struct clk cppi41_clk = {
>>>> +    .name        = "cppi41",
>>>> +    .parent        = &usb20_clk,
>>>> +};
>>>> +
>>>>   static struct clk aemif_clk = {
>>>>       .name        = "aemif",
>>>>       .parent        = &pll0_sysclk3,
>>>> @@ -413,6 +418,7 @@ static struct clk_lookup da830_clks[] = {
>>>>       CLK("davinci-mcasp.1",    NULL,        &mcasp1_clk),
>>>>       CLK("davinci-mcasp.2",    NULL,        &mcasp2_clk),
>>>>       CLK("musb-da8xx",    "usb20",    &usb20_clk),
>>>> +    CLK("cppi41-dmaengine",    NULL,        &cppi41_clk),
>>> I dont see this device name being used in current linux-next. Is this
>>> name accepted ?
>> There is here a typo. The name should be cppi41-dma-engine.
>> I will fix it.
> Actually, it is not a typo. It would have be more logical to name it
> cppi41-dma-engine
> (like the driver name) but the name is correct.
> The device name is not yet in linux-next as the device is created in
> da8xx driver.
> http://marc.info/?l=linux-usb&m=149080474124498&w=2

Alright, applied this and sent a pull request. Made some minor changes
to commit message text.

Thanks,
Sekhar

      reply	other threads:[~2017-04-12 11:27 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-05 17:17 [PATCH v2] ARM: davinci: Add the clock for the CPPI 4.1 DMA engine Alexandre Bailon
2017-04-07 14:36 ` Sekhar Nori
     [not found]   ` <e941f7f4-1904-a0c5-3ef0-973477087b2b-l0cyMroinI0@public.gmane.org>
2017-04-07 16:15     ` Alexandre Bailon
     [not found]       ` <dade7b1b-af0f-0f3e-26fc-4e845c451330-rdvid1DuHRBWk0Htik3J/w@public.gmane.org>
2017-04-07 17:31         ` Alexandre Bailon
2017-04-12 11:27           ` Sekhar Nori [this message]

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=5578004a-682f-f135-a03c-eb41fa4d1426@ti.com \
    --to=nsekhar@ti.com \
    --cc=abailon@baylibre.com \
    --cc=b-liu@ti.com \
    --cc=grygorii.strashko@ti.com \
    --cc=khilman@baylibre.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-omap@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=ptitiano@baylibre.com \
    --cc=sergei.shtylyov@cogentembedded.com \
    --cc=tony@atomide.com \
    /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