From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Anson.Huang@freescale.com" Subject: RE: [PATCH 0/3] move gpt per clk parent for ipg_per to OSC Date: Fri, 5 Sep 2014 03:32:14 +0000 Message-ID: <7e5aa554087e4809895cf7648ac224c0@BN1PR0301MB0628.namprd03.prod.outlook.com> References: <1409729805-9741-1-git-send-email-b20788@freescale.com> <20140905003523.GD10809@dragon> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20140905003523.GD10809@dragon> Content-Language: en-US List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=m.gmane.org@lists.infradead.org To: Shawn Guo , Fabio Estevam Cc: "devicetree@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , Sascha Hauer List-Id: devicetree@vger.kernel.org Hi, Shawn and Fabio Thanks for advice, I have sent out V2 patch, please help review. Best regards! Anson Huang -----Original Message----- From: Shawn Guo [mailto:shawn.guo@freescale.com] Sent: 2014-09-05 8:35 AM To: Fabio Estevam Cc: Huang Yongcai-B20788; Sascha Hauer; devicetree@vger.kernel.org; linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH 0/3] move gpt per clk parent for ipg_per to OSC On Thu, Sep 04, 2014 at 07:50:35PM -0300, Fabio Estevam wrote: > This patch series works fine if we use the new dtb and new kernel. > > However, booting a kernel with these series applied and using an old > dtb we get a system with broken timer. > > 'sleep 1' takes something like 20 seconds in this case. Oh, yes. It breaks the compatibility with existing DTB. Dropped the patches for now. Anson, We may need to query the clock rate and then decide how to set up those register bits? Shawn From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anson.Huang@freescale.com (Anson.Huang at freescale.com) Date: Fri, 5 Sep 2014 03:32:14 +0000 Subject: [PATCH 0/3] move gpt per clk parent for ipg_per to OSC In-Reply-To: <20140905003523.GD10809@dragon> References: <1409729805-9741-1-git-send-email-b20788@freescale.com> <20140905003523.GD10809@dragon> Message-ID: <7e5aa554087e4809895cf7648ac224c0@BN1PR0301MB0628.namprd03.prod.outlook.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org Hi, Shawn and Fabio Thanks for advice, I have sent out V2 patch, please help review. Best regards! Anson Huang -----Original Message----- From: Shawn Guo [mailto:shawn.guo at freescale.com] Sent: 2014-09-05 8:35 AM To: Fabio Estevam Cc: Huang Yongcai-B20788; Sascha Hauer; devicetree at vger.kernel.org; linux-arm-kernel at lists.infradead.org Subject: Re: [PATCH 0/3] move gpt per clk parent for ipg_per to OSC On Thu, Sep 04, 2014 at 07:50:35PM -0300, Fabio Estevam wrote: > This patch series works fine if we use the new dtb and new kernel. > > However, booting a kernel with these series applied and using an old > dtb we get a system with broken timer. > > 'sleep 1' takes something like 20 seconds in this case. Oh, yes. It breaks the compatibility with existing DTB. Dropped the patches for now. Anson, We may need to query the clock rate and then decide how to set up those register bits? Shawn