Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S936183AbcCQNup (ORCPT ); Thu, 17 Mar 2016 09:50:45 -0400 Received: from mail-wm0-f54.google.com ([74.125.82.54]:33009 "EHLO mail-wm0-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S936109AbcCQNum (ORCPT ); Thu, 17 Mar 2016 09:50:42 -0400 Subject: Re: Nokia N900 - audio TPA6130A2 problems To: Tony Lindgren References: <56E68B71.2030202@ti.com> <20160316133319.GR8413@pali> <20160316144709.GA3389@earth> <56E9A42B.3010209@gmail.com> <56E9A6D9.7000003@ti.com> <56E9B910.7000904@gmail.com> <20160317004917.GA6750@earth> <56EA6326.4000702@gmail.com> <20160317130115.GU8413@pali> <56EAACF4.2040005@gmail.com> <20160317133313.GL9329@atomide.com> Cc: =?UTF-8?Q?Pali_Roh=c3=a1r?= , Sebastian Reichel , Grygorii Strashko , Peter Ujfalusi , Jarkko Nikula , Lars-Peter Clausen , linux-kernel@vger.kernel.org, linux-omap@vger.kernel.org, Pavel Machek , Aaro Koskinen , Nishanth Menon , merlijn@wizzup.org From: Ivaylo Dimitrov Message-ID: <56EAB62D.80803@gmail.com> Date: Thu, 17 Mar 2016 15:50:37 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 In-Reply-To: <20160317133313.GL9329@atomide.com> 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 Content-Length: 639 Lines: 19 Hi, On 17.03.2016 15:33, Tony Lindgren wrote: > > Check the schematics. If the hardware has external pull-ups on a > line then don't enable the internal pull-ups. Otherwise both the > external and intenal pulls are parallel the pull value will be > wrong. My guess is that on n900 all the i2c lines have external > pulls. There are, 1k connected to VIO_18, but still, stock Nokia kernel enables the internal pull-ups as well. I doubt Nokia devs did that by mistake. Could it be that VIO_18 is disabled by the time TPA6130A2 is probed? Also, what is the problem to have both internal and external pull-ups in parallel? Regards, Ivo