Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755590AbbGTHJN (ORCPT ); Mon, 20 Jul 2015 03:09:13 -0400 Received: from mail-pd0-f182.google.com ([209.85.192.182]:34702 "EHLO mail-pd0-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755127AbbGTHJJ (ORCPT ); Mon, 20 Jul 2015 03:09:09 -0400 Message-ID: <55AC9E8E.8080708@linaro.org> Date: Mon, 20 Jul 2015 12:39:02 +0530 From: Vaibhav Hiremath User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: Robert Jarzmik CC: Wolfram Sang , linux-i2c@vger.kernel.org, robh+dt@kernel.org, yizhang@marvell.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH-v4 00/11] i2c: pxa: Fixes, cleanup and support for pxa910 family References: <1436859410-28878-1-git-send-email-vaibhav.hiremath@linaro.org> <20150714113436.GD1517@katana> <55A4F434.9080407@linaro.org> <87d1zqimyc.fsf@belgarion.home> <55AC9E05.7040308@linaro.org> In-Reply-To: <55AC9E05.7040308@linaro.org> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1654 Lines: 59 On Monday 20 July 2015 12:36 PM, Vaibhav Hiremath wrote: > > > On Saturday 18 July 2015 01:19 AM, Robert Jarzmik wrote: >> Vaibhav Hiremath writes: >> >>>> So, I applied patches 1-6 to for-next to make some progress. >>>> >>>> The others need more thought because of the bindings which shall be >>>> discussed replying to the patches in question. >>>> >>>> Thanks for the updated work with lots of proper references. >>>> >>> >>> OK, Thanks and no issues. >>> >>> Lets discuss more on the bindings. >> >> I made a simple try on my reference platform with the whole patchset. >> It oopses on a NULL dereference. >> >> The stack is in [1]. >> I think it boils down to : >> - i2c_pxa_do_sclk_adj() >> - reg_ilcr = readl(_ILCR(i2c)); >> >> I also think the faulty patch is : >> - i2c: pxa: Add ILCR (tLow & tHigh) configuration support >> >> My case, an I2C master case, I'd like you to find the issue and fix it. >> > > Which is this reference platform? > Can you share few details - > > - reference Platform? > - DT file if you could > - Boot log (if you could) > > > I am using pxa1928 based platform, and I do not see any issues. > Having said that, I see issues in the patch for non PXA910 platform, where i2c_pxa_do_sclk_adj() will be called unconditionally and obviously reg_ilcr and reg_wcr are not set. I will fix this and send the patch. Thanks, Vaibhav -- 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/