From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark Brown Subject: Re: [PATCH v2] MAX8952 PMIC Driver Initial Release Date: Wed, 1 Sep 2010 12:16:02 +0100 Message-ID: <20100901111602.GF17548@opensource.wolfsonmicro.com> References: <1282283036-12641-1-git-send-email-myungjoo.ham@samsung.com> <20100820095351.GD13668@rakim.wolfsonmicro.main> <1282301229.3084.152.camel@odin> <011b01cb496a$cfa773d0$6ef65b70$%kim@samsung.com> <20100901091519.GA17032@opensource.wolfsonmicro.com> <000801cb49ba$3e1e50f0$ba5af2d0$%kim@samsung.com> <001101cb49c0$3fd715c0$bf854140$%kim@samsung.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from opensource.wolfsonmicro.com ([80.75.67.52]:59037 "EHLO opensource2.wolfsonmicro.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752379Ab0IALPp (ORCPT ); Wed, 1 Sep 2010 07:15:45 -0400 Content-Disposition: inline In-Reply-To: Sender: linux-samsung-soc-owner@vger.kernel.org List-Id: linux-samsung-soc@vger.kernel.org To: Kyungmin Park Cc: Kukjin Kim , Liam Girdwood , linux-samsung-soc@vger.kernel.org, MyungJoo Ham , myungjoo.ham@gmail.com, linux-arm-kernel@lists.infradead.org, Changhwan Youn On Wed, Sep 01, 2010 at 07:36:40PM +0900, Kyungmin Park wrote: > As your word, first check the ID1 to detect the 8649 and 8952 and read > ID2 again to distinguish it. But actually we pass the max8952 as > platform device, so don't need to read ID2. If you can read the ID from the chip it's always good to do so in order to verify that the user has supplied accurate information. From mboxrd@z Thu Jan 1 00:00:00 1970 From: broonie@opensource.wolfsonmicro.com (Mark Brown) Date: Wed, 1 Sep 2010 12:16:02 +0100 Subject: [PATCH v2] MAX8952 PMIC Driver Initial Release In-Reply-To: References: <1282283036-12641-1-git-send-email-myungjoo.ham@samsung.com> <20100820095351.GD13668@rakim.wolfsonmicro.main> <1282301229.3084.152.camel@odin> <011b01cb496a$cfa773d0$6ef65b70$%kim@samsung.com> <20100901091519.GA17032@opensource.wolfsonmicro.com> <000801cb49ba$3e1e50f0$ba5af2d0$%kim@samsung.com> <001101cb49c0$3fd715c0$bf854140$%kim@samsung.com> Message-ID: <20100901111602.GF17548@opensource.wolfsonmicro.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Wed, Sep 01, 2010 at 07:36:40PM +0900, Kyungmin Park wrote: > As your word, first check the ID1 to detect the 8649 and 8952 and read > ID2 again to distinguish it. But actually we pass the max8952 as > platform device, so don't need to read ID2. If you can read the ID from the chip it's always good to do so in order to verify that the user has supplied accurate information.