* [PATCH 1/1] arm: dts: am43xx-clock: Add qspi clock node.
@ 2015-06-24 17:45 Mugunthan V N
[not found] ` <1435167933-5249-1-git-send-email-mugunthanvnm-l0cyMroinI0@public.gmane.org>
0 siblings, 1 reply; 3+ messages in thread
From: Mugunthan V N @ 2015-06-24 17:45 UTC (permalink / raw)
To: linux-omap
Cc: Tony Lindgren, Keerthy, Tero Kristo, devicetree, linux-arm-kernel,
linux-kernel
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>;
+ clock-mult = <1>;
+ clock-div = <1>;
+ };
};
--
2.4.2.387.gf86f31a
^ permalink raw reply related [flat|nested] 3+ messages in thread[parent not found: <1435167933-5249-1-git-send-email-mugunthanvnm-l0cyMroinI0@public.gmane.org>]
* Re: [PATCH 1/1] arm: dts: am43xx-clock: Add qspi clock node. [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 0 siblings, 1 reply; 3+ messages in thread From: Keerthy @ 2015-06-26 6:20 UTC (permalink / raw) To: Mugunthan V N, linux-omap-u79uwXL29TY76Z2rM5mHXA Cc: Tony Lindgren, Keerthy, Tero Kristo, devicetree-u79uwXL29TY76Z2rM5mHXA, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, linux-kernel-u79uwXL29TY76Z2rM5mHXA On Wednesday 24 June 2015 11:15 PM, Mugunthan V N wrote: > From: Sourav Poddar <sourav.poddar-l0cyMroinI0@public.gmane.org> > > Add clock node for qspi controller driver on am437x. > > Cc: Keerthy <j-keerthy-l0cyMroinI0@public.gmane.org> > Cc: Tero Kristo <t-kristo-l0cyMroinI0@public.gmane.org> > Signed-off-by: Sourav Poddar <sourav.poddar-l0cyMroinI0@public.gmane.org> > Signed-off-by: Mugunthan V N <mugunthanvnm-l0cyMroinI0@public.gmane.org> > --- > 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. -Keerthy > + clock-mult = <1>; > + clock-div = <1>; > + }; > }; > -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH 1/1] arm: dts: am43xx-clock: Add qspi clock node. 2015-06-26 6:20 ` Keerthy @ 2015-06-26 7:33 ` Roger Quadros 0 siblings, 0 replies; 3+ messages in thread From: Roger Quadros @ 2015-06-26 7:33 UTC (permalink / raw) To: Keerthy, Mugunthan V N, linux-omap Cc: Tony Lindgren, Keerthy, Tero Kristo, devicetree, linux-arm-kernel, linux-kernel 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>; >> + }; >> }; >> ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-06-26 7:33 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 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).