From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753577Ab3A3GjS (ORCPT ); Wed, 30 Jan 2013 01:39:18 -0500 Received: from devils.ext.ti.com ([198.47.26.153]:39967 "EHLO devils.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753324Ab3A3GjQ (ORCPT ); Wed, 30 Jan 2013 01:39:16 -0500 Message-ID: <5108C052.3070604@ti.com> Date: Wed, 30 Jan 2013 12:10:18 +0530 From: Sourav User-Agent: Mozilla/5.0 (X11; Linux i686; rv:15.0) Gecko/20120912 Thunderbird/15.0.1 MIME-Version: 1.0 To: Luciano Coelho CC: , , , , , , , Subject: Re: [PATCH] arm: dts: omap4-sdp: Add I2c pinctrl data References: <1359371865-27907-1-git-send-email-sourav.poddar@ti.com> <1359527158.14894.37.camel@cumari.coelho.fi> In-Reply-To: <1359527158.14894.37.camel@cumari.coelho.fi> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Luciano, On Wednesday 30 January 2013 11:55 AM, Luciano Coelho wrote: > Hi Sourav, > > On Mon, 2013-01-28 at 16:47 +0530, Sourav Poddar wrote: >> Booting 3.8-rc4 om omap 4430sdp results in the following error >> >> omap_i2c 48070000.i2c: did not get pins for i2c error: -19 >> [ 1.024261] omap_i2c 48070000.i2c: bus 0 rev0.12 at 100 kHz >> [ 1.030181] omap_i2c 48072000.i2c: did not get pins for i2c error: -19 >> [ 1.037384] omap_i2c 48072000.i2c: bus 1 rev0.12 at 400 kHz >> [ 1.043762] omap_i2c 48060000.i2c: did not get pins for i2c error: -19 >> [ 1.050964] omap_i2c 48060000.i2c: bus 2 rev0.12 at 100 kHz >> [ 1.056823] omap_i2c 4807a000.i2c: did not get pins for i2c error: -19 >> [ 1.064025] omap_i2c 4807a000.i2c: bus 3 rev0.12 at 400 kHz >> >> This happens because omap4 dts file is not adapted to use i2c through pinctrl >> framework. Populating i2c pinctrl data to get rid of the error. >> >> Tested on omap4430 sdp with 3.8-rc4 kernel. >> >> Signed-off-by: Sourav Poddar >> Reported-by: Santosh Shilimkar >> --- > Could you do the same thing for panda? I'm getting the same kind of > errors with it: Sure, I will do that. > [ 0.000000] Machine: Generic OMAP4 (Flattened Device Tree), model: TI OMAP4 PandaBoard > [...] > [ 2.884826] omap_i2c 48072000.i2c: did not get pins for i2c error: -19 > [ 2.890686] omap_i2c 48072000.i2c: bus 1 rev0.11 at 400 kHz > [ 2.892028] omap_i2c 48060000.i2c: did not get pins for i2c error: -19 > [ 2.899047] omap_i2c 48060000.i2c: bus 2 rev0.11 at 100 kHz > [ 2.906677] omap_i2c 48350000.i2c: did not get pins for i2c error: -19 > [ 2.912872] omap_i2c 48350000.i2c: bus 3 rev0.11 at 400 kHz > > -- > Cheers, > Luca. > Thanks, Sourav