Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756185AbbBQINJ (ORCPT ); Tue, 17 Feb 2015 03:13:09 -0500 Received: from mail-out.m-online.net ([212.18.0.9]:57861 "EHLO mail-out.m-online.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752134AbbBQINI (ORCPT ); Tue, 17 Feb 2015 03:13:08 -0500 X-Auth-Info: QYc+JrYDUgBkeANDGpV6mBtc5TDjHn3P8CFDHTdSYrY= From: Marek Vasut To: Stefan Wahren Subject: Re: [PATCH V2 RESEND] clk: mxs: Fix invalid 32-bit access to frac registers Date: Tue, 17 Feb 2015 09:09:02 +0100 User-Agent: KMail/1.13.7 (Linux/3.13-trunk-amd64; KDE/4.13.1; x86_64; ; ) Cc: Fabio Estevam , Sascha Hauer , "linux-kernel" , Shawn Guo , Mike Turquette , "linux-arm-kernel@lists.infradead.org" , Zhi Li References: <1422645610-3052-1-git-send-email-stefan.wahren@i2se.com> <235965536.675649.1424118291283.JavaMail.open-xchange@oxbaltgw06.schlund.de> In-Reply-To: <235965536.675649.1424118291283.JavaMail.open-xchange@oxbaltgw06.schlund.de> MIME-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <201502170909.02767.marex@denx.de> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1994 Lines: 61 On Monday, February 16, 2015 at 09:24:51 PM, Stefan Wahren wrote: > Hi Fabio, > > > Fabio Estevam hat am 12. Februar 2015 um 20:08 > > geschrieben: > > > > > > Hi Stefan, > > > > On Thu, Feb 12, 2015 at 4:59 PM, Stefan Wahren wrote: > > > Hi Fabio, > > > > > >> Fabio Estevam hat am 11. Februar 2015 um 22:10 > > >> geschrieben: > > >> > > >> > > >> On Wed, Feb 11, 2015 at 6:31 PM, Stefan Wahren > > >> > > >> > > >> wrote: > > >> >> I always get 0x5e5b5513 with or without your patch. > > >> > > > >> > very strange. Do you have any idea why IO1_STABLE is permanent low? > > >> > > >> On my case it is always 1. > > > > > > i expected the same behavior on my hardware. > > > > > > Do you use u-boot as bootloader? > > > > Yes, I do. > > i will try to test it with u-boot. > > > >> > Can you confirm the behavior according to your flash issue? > > >> > > >> In my tests IO1_STABLE stays the same. > > > > > > This wasn't the intension of my second question. I wanted to know about > > > the state of the SPI NOR flash detection process. > > > > > > Does it sucessed if you apply the patch, but revert the changes in > > > clk_ref_set_rate() from clk-ref.c? > > > > I don't have my mx28evk setup available at the moment, but when I > > applied your patch and reverted all the changes in clk-ref.c, then the > > SPI flash detection works. > > > > I haven't tested to only reverting the changes inside > > clk_ref_set_rate(), but I can do it tomorrow. > > I think the reason for the problem in the flash detection is caused by the > misaligned access on the frac register. Misaligned ? In which way ? Can you please elaborate on this ? -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/