linux-omap.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [am33xx-clocks.dtsi] move ieee5000 ti,gate-clock to a ti,clkctrl?
@ 2020-12-30 11:12 Oskar Holmlund
  2021-01-18  7:48 ` Tony Lindgren
  0 siblings, 1 reply; 2+ messages in thread
From: Oskar Holmlund @ 2020-12-30 11:12 UTC (permalink / raw)
  To: linux-omap; +Cc: tony

Hi,

Is it possible to move
&prcm_clocks {
...
	ieee5000_fck: ieee5000_fck@e4 {
		#clock-cells = <0>;
		compatible = "ti,gate-clock";
		clocks = <&dpll_core_m4_div2_ck>;
		ti,bit-shift = <1>;
		reg = <0x00e4>;
	};

to something like this to better correlate to the TRM 8.1.12.1.40 
CM_PER_IEEE5000_CLKCTRL Register(offset= E4h) ?
Or is there any reason the ieee5000 is a ti,gate-clock?

&prcm {
	per_cm: per-cm@0 {
		compatible = "ti,omap4-cm";
		reg = <0x0 0x400>;
		#address-cells = <1>;
		#size-cells = <1>;
		ranges = <0 0x0 0x400>;
...
                 ieee5000_clkctrl: ieee5000_clkctrl@e4 {
                         compatible = "ti,clkctrl";
                         reg = <0xe4 0x4>;
                         #clock-cells = <2>;
                 };

		pruss_ocp_clkctrl: pruss-ocp-clkctrl@e8 {
			compatible = "ti,clkctrl";
			reg = <0xe8 0x4>;
			#clock-cells = <2>;
		};

-- 
Bästa Hälsningar
Oskar Holmlund
Tel 070-3220292

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [am33xx-clocks.dtsi] move ieee5000 ti,gate-clock to a ti,clkctrl?
  2020-12-30 11:12 [am33xx-clocks.dtsi] move ieee5000 ti,gate-clock to a ti,clkctrl? Oskar Holmlund
@ 2021-01-18  7:48 ` Tony Lindgren
  0 siblings, 0 replies; 2+ messages in thread
From: Tony Lindgren @ 2021-01-18  7:48 UTC (permalink / raw)
  To: Oskar Holmlund; +Cc: linux-omap

Hi,

* Oskar Holmlund <info@ohdata.se> [201230 11:05]:
> Hi,
> 
> Is it possible to move
> &prcm_clocks {
> ...
> 	ieee5000_fck: ieee5000_fck@e4 {
> 		#clock-cells = <0>;
> 		compatible = "ti,gate-clock";
> 		clocks = <&dpll_core_m4_div2_ck>;
> 		ti,bit-shift = <1>;
> 		reg = <0x00e4>;
> 	};
> 
> to something like this to better correlate to the TRM 8.1.12.1.40
> CM_PER_IEEE5000_CLKCTRL Register(offset= E4h) ?
> Or is there any reason the ieee5000 is a ti,gate-clock?

For the clkctrl clocks, we should just use cm base + offset. But
somehow we don't have this for ieee5000_clkctrl defined in the
include/dt-bindings/clock/am3.h.

Regards,

Tony

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-01-18  7:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-30 11:12 [am33xx-clocks.dtsi] move ieee5000 ti,gate-clock to a ti,clkctrl? Oskar Holmlund
2021-01-18  7:48 ` Tony Lindgren

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).