Re: OMAP: clock DT conversion issues with omap36xx

2014-02-13 Thread Christoph Fritz
On Thu, 2014-02-13 at 12:05 +0200, Tomi Valkeinen wrote: > On 13/02/14 11:03, Tomi Valkeinen wrote: > > On 12/02/14 15:18, Tomi Valkeinen wrote: > > > >> However, I hacked together the patch below, which "fixes" the issue for > >> 96m and dss fclk. It sets the clock parents so that the x2 clocks

Re: OMAP: clock DT conversion issues with omap36xx

2014-02-13 Thread Tomi Valkeinen
On 13/02/14 11:03, Tomi Valkeinen wrote: > On 12/02/14 15:18, Tomi Valkeinen wrote: > >> However, I hacked together the patch below, which "fixes" the issue for >> 96m and dss fclk. It sets the clock parents so that the x2 clocks are >> skipped, and makes the x2 clock nodes compatible with

Re: OMAP: clock DT conversion issues with omap36xx

2014-02-13 Thread Tomi Valkeinen
On 12/02/14 15:18, Tomi Valkeinen wrote: > However, I hacked together the patch below, which "fixes" the issue for > 96m and dss fclk. It sets the clock parents so that the x2 clocks are > skipped, and makes the x2 clock nodes compatible with "unused", making > them effectively disappear. I only

Re: OMAP: clock DT conversion issues with omap36xx

2014-02-13 Thread Tomi Valkeinen
On 12/02/14 15:18, Tomi Valkeinen wrote: However, I hacked together the patch below, which fixes the issue for 96m and dss fclk. It sets the clock parents so that the x2 clocks are skipped, and makes the x2 clock nodes compatible with unused, making them effectively disappear. I only verified

Re: OMAP: clock DT conversion issues with omap36xx

2014-02-13 Thread Tomi Valkeinen
On 13/02/14 11:03, Tomi Valkeinen wrote: On 12/02/14 15:18, Tomi Valkeinen wrote: However, I hacked together the patch below, which fixes the issue for 96m and dss fclk. It sets the clock parents so that the x2 clocks are skipped, and makes the x2 clock nodes compatible with unused, making

Re: OMAP: clock DT conversion issues with omap36xx

2014-02-13 Thread Christoph Fritz
On Thu, 2014-02-13 at 12:05 +0200, Tomi Valkeinen wrote: On 13/02/14 11:03, Tomi Valkeinen wrote: On 12/02/14 15:18, Tomi Valkeinen wrote: However, I hacked together the patch below, which fixes the issue for 96m and dss fclk. It sets the clock parents so that the x2 clocks are

Re: OMAP: clock DT conversion issues with omap36xx

2014-02-12 Thread Belisko Marek
Hi Tomi, On Wed, Feb 12, 2014 at 2:18 PM, Tomi Valkeinen wrote: > Hi Tero, Christoph, > > On 07/02/14 12:12, Christoph Fritz wrote: >> On Tue, 2014-02-04 at 17:50 +0200, Tero Kristo wrote: >>> On 01/29/2014 01:21 PM, Christoph Fritz wrote: > Currently I only analyzed sys_clkout2 (see

Re: OMAP: clock DT conversion issues with omap36xx

2014-02-12 Thread Tomi Valkeinen
Hi Tero, Christoph, On 07/02/14 12:12, Christoph Fritz wrote: > On Tue, 2014-02-04 at 17:50 +0200, Tero Kristo wrote: >> On 01/29/2014 01:21 PM, Christoph Fritz wrote: Currently I only analyzed sys_clkout2 (see attachments for full clk_summary files):

Re: OMAP: clock DT conversion issues with omap36xx

2014-02-12 Thread Tomi Valkeinen
Hi Tero, Christoph, On 07/02/14 12:12, Christoph Fritz wrote: On Tue, 2014-02-04 at 17:50 +0200, Tero Kristo wrote: On 01/29/2014 01:21 PM, Christoph Fritz wrote: Currently I only analyzed sys_clkout2 (see attachments for full clk_summary files):

Re: OMAP: clock DT conversion issues with omap36xx

2014-02-12 Thread Belisko Marek
Hi Tomi, On Wed, Feb 12, 2014 at 2:18 PM, Tomi Valkeinen tomi.valkei...@ti.com wrote: Hi Tero, Christoph, On 07/02/14 12:12, Christoph Fritz wrote: On Tue, 2014-02-04 at 17:50 +0200, Tero Kristo wrote: On 01/29/2014 01:21 PM, Christoph Fritz wrote: Currently I only analyzed sys_clkout2 (see

Re: OMAP: clock DT conversion issues with omap36xx

2014-02-11 Thread Tomi Valkeinen
On 10/02/14 22:54, Christoph Fritz wrote: >> I wonder if I'm still missing some patch? > > Is beagle-xM using DSI? Because here the LILLY-A83X board is not. The > clock registers are all fine now as before the dt clock conversion > patches. No, Beagle xM doesn't use DSI, plain DPI. Tomi

Re: OMAP: clock DT conversion issues with omap36xx

2014-02-11 Thread Tomi Valkeinen
On 10/02/14 22:54, Christoph Fritz wrote: I wonder if I'm still missing some patch? Is beagle-xM using DSI? Because here the LILLY-A83X board is not. The clock registers are all fine now as before the dt clock conversion patches. No, Beagle xM doesn't use DSI, plain DPI. Tomi

Re: OMAP: clock DT conversion issues with omap36xx

2014-02-10 Thread Christoph Fritz
On Fri, 2014-02-07 at 15:49 +0200, Tomi Valkeinen wrote: > On 07/02/14 12:12, Christoph Fritz wrote: > > > Yes, your patch fixes the issues for sys_clkout2. Thanks! If you want, > > you can add my: > > Tested-by: Christoph Fritz > > > > Below is my clock fix for dss: > > > > From

Re: OMAP: clock DT conversion issues with omap36xx

2014-02-10 Thread Christoph Fritz
On Fri, 2014-02-07 at 15:49 +0200, Tomi Valkeinen wrote: On 07/02/14 12:12, Christoph Fritz wrote: Yes, your patch fixes the issues for sys_clkout2. Thanks! If you want, you can add my: Tested-by: Christoph Fritz chf.fr...@googlemail.com Below is my clock fix for dss: From

Re: OMAP: clock DT conversion issues with omap36xx

2014-02-07 Thread Tomi Valkeinen
Hi, On 07/02/14 12:12, Christoph Fritz wrote: > Yes, your patch fixes the issues for sys_clkout2. Thanks! If you want, > you can add my: > Tested-by: Christoph Fritz > > Below is my clock fix for dss: > > From b90a62128068e1b6b0ba2a11c5cc0c8e587cf301 Mon Sep 17 00:00:00 2001 > From: Christoph

Re: OMAP: clock DT conversion issues with omap36xx

2014-02-07 Thread Christoph Fritz
On Tue, 2014-02-04 at 17:50 +0200, Tero Kristo wrote: > On 01/29/2014 01:21 PM, Christoph Fritz wrote: > >> Currently I only analyzed sys_clkout2 (see attachments for full > >> clk_summary files): > >> > >> clk_summary__next-20140115__works_as_expected: > >> dpll4_m2_ck1

Re: OMAP: clock DT conversion issues with omap36xx

2014-02-07 Thread Christoph Fritz
On Tue, 2014-02-04 at 17:50 +0200, Tero Kristo wrote: On 01/29/2014 01:21 PM, Christoph Fritz wrote: Currently I only analyzed sys_clkout2 (see attachments for full clk_summary files): clk_summary__next-20140115__works_as_expected: dpll4_m2_ck1 1

Re: OMAP: clock DT conversion issues with omap36xx

2014-02-07 Thread Tomi Valkeinen
Hi, On 07/02/14 12:12, Christoph Fritz wrote: Yes, your patch fixes the issues for sys_clkout2. Thanks! If you want, you can add my: Tested-by: Christoph Fritz chf.fr...@googlemail.com Below is my clock fix for dss: From b90a62128068e1b6b0ba2a11c5cc0c8e587cf301 Mon Sep 17 00:00:00 2001

Re: OMAP: clock DT conversion issues with omap36xx

2014-02-04 Thread Tero Kristo
On 01/29/2014 01:21 PM, Christoph Fritz wrote: On Tue, 2014-01-28 at 18:02 +0100, Christoph Fritz wrote: On Tue, 2014-01-28 at 15:40 +0200, Tero Kristo wrote: Due to a regression since next-20140122 the following errors are present: - pin sys_clkout2, which gets configured to 24 Mhz by

Re: OMAP: clock DT conversion issues with omap36xx

2014-02-04 Thread Tero Kristo
On 01/29/2014 01:21 PM, Christoph Fritz wrote: On Tue, 2014-01-28 at 18:02 +0100, Christoph Fritz wrote: On Tue, 2014-01-28 at 15:40 +0200, Tero Kristo wrote: Due to a regression since next-20140122 the following errors are present: - pin sys_clkout2, which gets configured to 24 Mhz by

Re: OMAP: clock DT conversion issues with omap36xx

2014-02-02 Thread Christoph Fritz
On Sat, 2014-02-01 at 19:52 +0100, Christoph Fritz wrote: > On Wed, Jan 29, 2014 at 01:03:52PM -0600, Nishanth Menon wrote: > > To help us debug similar problems, I wrote a tool today: > > https://github.com/nmenon/ctt-dump - it is a simple memory read utility, > > Input file is CTT dump-out > >

Re: OMAP: clock DT conversion issues with omap36xx

2014-02-02 Thread Christoph Fritz
On Sat, 2014-02-01 at 19:52 +0100, Christoph Fritz wrote: On Wed, Jan 29, 2014 at 01:03:52PM -0600, Nishanth Menon wrote: To help us debug similar problems, I wrote a tool today: https://github.com/nmenon/ctt-dump - it is a simple memory read utility, Input file is CTT dump-out For

Re: OMAP: clock DT conversion issues with omap36xx

2014-02-01 Thread Christoph Fritz
On Wed, Jan 29, 2014 at 04:57:00PM +0200, Tero Kristo wrote: > > Hmm, well, the omap96m_alwon_fck rate is still wrong. Try adding > ti,min-div = <2>; and ti,max-div = <4>; to properties of the clock > node. Hmm, doesn't change anything here. Thanks -- Christoph -- To unsubscribe from this

Re: OMAP: clock DT conversion issues with omap36xx

2014-02-01 Thread Christoph Fritz
On Wed, Jan 29, 2014 at 01:03:52PM -0600, Nishanth Menon wrote: > To help us debug similar problems, I wrote a tool today: > https://github.com/nmenon/ctt-dump - it is a simple memory read utility, > Input file is CTT dump-out > For example: 3630 CTT is here: >

Re: OMAP: clock DT conversion issues with omap36xx

2014-02-01 Thread Christoph Fritz
On Wed, Jan 29, 2014 at 01:03:52PM -0600, Nishanth Menon wrote: To help us debug similar problems, I wrote a tool today: https://github.com/nmenon/ctt-dump - it is a simple memory read utility, Input file is CTT dump-out For example: 3630 CTT is here:

Re: OMAP: clock DT conversion issues with omap36xx

2014-02-01 Thread Christoph Fritz
On Wed, Jan 29, 2014 at 04:57:00PM +0200, Tero Kristo wrote: Hmm, well, the omap96m_alwon_fck rate is still wrong. Try adding ti,min-div = 2; and ti,max-div = 4; to properties of the clock node. Hmm, doesn't change anything here. Thanks -- Christoph -- To unsubscribe from this list: send

Re: OMAP: clock DT conversion issues with omap36xx

2014-01-29 Thread Nishanth Menon
On 01/29/2014 05:21 AM, Christoph Fritz wrote: > On Tue, 2014-01-28 at 18:02 +0100, Christoph Fritz wrote: >> On Tue, 2014-01-28 at 15:40 +0200, Tero Kristo wrote: >>> > Due to a regression since next-20140122 the following errors are present: > > - pin sys_clkout2, which gets

Re: OMAP: clock DT conversion issues with omap36xx

2014-01-29 Thread Tero Kristo
On 01/29/2014 01:21 PM, Christoph Fritz wrote: On Tue, 2014-01-28 at 18:02 +0100, Christoph Fritz wrote: On Tue, 2014-01-28 at 15:40 +0200, Tero Kristo wrote: Due to a regression since next-20140122 the following errors are present: - pin sys_clkout2, which gets configured to 24 Mhz by

OMAP: clock DT conversion issues with omap36xx

2014-01-29 Thread Christoph Fritz
On Tue, 2014-01-28 at 18:02 +0100, Christoph Fritz wrote: > On Tue, 2014-01-28 at 15:40 +0200, Tero Kristo wrote: > > > > >> Due to a regression since next-20140122 the following errors are present: > > >> > > >> - pin sys_clkout2, which gets configured to 24 Mhz by the fourth patch > > >>

OMAP: clock DT conversion issues with omap36xx

2014-01-29 Thread Christoph Fritz
On Tue, 2014-01-28 at 18:02 +0100, Christoph Fritz wrote: On Tue, 2014-01-28 at 15:40 +0200, Tero Kristo wrote: Due to a regression since next-20140122 the following errors are present: - pin sys_clkout2, which gets configured to 24 Mhz by the fourth patch in this set,

Re: OMAP: clock DT conversion issues with omap36xx

2014-01-29 Thread Tero Kristo
On 01/29/2014 01:21 PM, Christoph Fritz wrote: On Tue, 2014-01-28 at 18:02 +0100, Christoph Fritz wrote: On Tue, 2014-01-28 at 15:40 +0200, Tero Kristo wrote: Due to a regression since next-20140122 the following errors are present: - pin sys_clkout2, which gets configured to 24 Mhz by

Re: OMAP: clock DT conversion issues with omap36xx

2014-01-29 Thread Nishanth Menon
On 01/29/2014 05:21 AM, Christoph Fritz wrote: On Tue, 2014-01-28 at 18:02 +0100, Christoph Fritz wrote: On Tue, 2014-01-28 at 15:40 +0200, Tero Kristo wrote: Due to a regression since next-20140122 the following errors are present: - pin sys_clkout2, which gets configured to 24 Mhz by the