devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Roger Quadros <rogerq@ti.com>
To: Keerthy <a0393675@ti.com>, Mugunthan V N <mugunthanvnm@ti.com>,
	linux-omap@vger.kernel.org
Cc: Tony Lindgren <tony@atomide.com>, Keerthy <j-keerthy@ti.com>,
	Tero Kristo <t-kristo@ti.com>,
	devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH 1/1] arm: dts: am43xx-clock: Add qspi clock node.
Date: Fri, 26 Jun 2015 10:33:05 +0300	[thread overview]
Message-ID: <558D0031.1090501@ti.com> (raw)
In-Reply-To: <558CEF2E.3050202@ti.com>

On 26/06/15 09:20, Keerthy wrote:
>
>
> On Wednesday 24 June 2015 11:15 PM, Mugunthan V N wrote:
>> From: Sourav Poddar <sourav.poddar@ti.com>
>>
>> Add clock node for qspi controller driver on am437x.
>>
>> Cc: Keerthy <j-keerthy@ti.com>
>> Cc: Tero Kristo <t-kristo@ti.com>
>> Signed-off-by: Sourav Poddar <sourav.poddar@ti.com>
>> Signed-off-by: Mugunthan V N <mugunthanvnm@ti.com>
>> ---
>>   arch/arm/boot/dts/am4372.dtsi        | 2 ++
>>   arch/arm/boot/dts/am43xx-clocks.dtsi | 8 ++++++++
>>   2 files changed, 10 insertions(+)
>>
>> diff --git a/arch/arm/boot/dts/am4372.dtsi
>> b/arch/arm/boot/dts/am4372.dtsi
>> index 649e7b9..8ab7831 100644
>> --- a/arch/arm/boot/dts/am4372.dtsi
>> +++ b/arch/arm/boot/dts/am4372.dtsi
>> @@ -903,6 +903,8 @@
>>               #address-cells = <1>;
>>               #size-cells = <0>;
>>               ti,hwmods = "qspi";
>> +            clocks = <&qspi_fclk>;
>> +            clock-names = "fck";
>>               interrupts = <0 138 0x4>;
>>               num-cs = <4>;
>>               status = "disabled";
>> diff --git a/arch/arm/boot/dts/am43xx-clocks.dtsi
>> b/arch/arm/boot/dts/am43xx-clocks.dtsi
>> index cc88728..1506585 100644
>> --- a/arch/arm/boot/dts/am43xx-clocks.dtsi
>> +++ b/arch/arm/boot/dts/am43xx-clocks.dtsi
>> @@ -763,4 +763,12 @@
>>           ti,bit-shift = <8>;
>>           reg = <0x8a68>;
>>       };
>> +
>> +    qspi_fclk: qspi_fclk {
>> +        #clock-cells = <0>;
>> +        compatible = "ti,fixed-factor-clock";
>> +        clocks = <&dpll_per_m2_div4_ck>;
>
>  From the clock tree this does not seem to be sourced from dpll_per_m2.
> I guess this needs to be changed.

Right. We need to have a mux and divider.

cheers,
-roger

>
>> +        clock-mult = <1>;
>> +        clock-div = <1>;
>> +    };
>>   };
>>

      reply	other threads:[~2015-06-26  7:33 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-24 17:45 [PATCH 1/1] arm: dts: am43xx-clock: Add qspi clock node Mugunthan V N
     [not found] ` <1435167933-5249-1-git-send-email-mugunthanvnm-l0cyMroinI0@public.gmane.org>
2015-06-26  6:20   ` Keerthy
2015-06-26  7:33     ` Roger Quadros [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=558D0031.1090501@ti.com \
    --to=rogerq@ti.com \
    --cc=a0393675@ti.com \
    --cc=devicetree@vger.kernel.org \
    --cc=j-keerthy@ti.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-omap@vger.kernel.org \
    --cc=mugunthanvnm@ti.com \
    --cc=t-kristo@ti.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;
as well as URLs for NNTP newsgroup(s).