Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp689417ybz; Fri, 17 Apr 2020 08:18:40 -0700 (PDT) X-Google-Smtp-Source: APiQypLPemGWOvQvp75Cy3xCR6FllnqRTaUOb0KWhpHwzYkOT+zoR9/fd7FUN0i00ST/VOg5P4hZ X-Received: by 2002:a50:a9c5:: with SMTP id n63mr3497285edc.312.1587136720263; Fri, 17 Apr 2020 08:18:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587136720; cv=none; d=google.com; s=arc-20160816; b=h9NkV2/OnuRUzM3krukLoARHDxglJXrnSZxYxjf3Oztx4VracVIdKnEofj6vM6SfcB y0VeXZpLjqEHvbnwagxhqjxBXGF2cDs/FxV8s68uDG4CgW8VwmZExa1/IEZ/afsso84i +IB0/RB/iBVysM/ApeDKw1EtVDOWZqT3j3tq41cd9G2dQArQ21F1zj1KJJRQg8G6n7dM NrpcD7/HsveuYXxbk8NNrDooUx7Ju2MDHHkJKj2baX33z0gzdWqHIGu+fQoEA3cVmhzk cCcVZVIdXIK5eawI90FD/2J6npFbF+wiQsO8SXEizMCYELORz76+IScl4dMoKnDX3b68 yWnQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=YfcdpQWtKsaw+yPCSMjyubrORmj0oCIV+0oQZL7RWS0=; b=QG618xZWsE95SMQSykFGSo72i8EQXUCxFU4IhlTi+3qQNLJHulrLLL9wWaX03J2WX5 33kJR4Wtdm3WNFSBpMEZjwkXOShwZNUypvVPvGX/BSPf/XZZ0J4+E1634Z5za31H7poe qLBDlBiq7arvkCzd52QAVgfYzjGcjVFx7vcX5KhCsnPaoNax48TBrCvrf9pdwgfy8FPE YO4fw/z4jJhRfmdApYfXX7TAdnTiKS/BzF1L5RI8JXp7pBbaPRupVS7aBlVtoiQCLQka Bz5PNaFPpw1SBUXtWu70c8eCbrRy8LT+m5Cf+XSJunLzDUDot8pYhbF07IfkDOyCh4lg z64w== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=XASgXQK5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d6si15601578ejy.428.2020.04.17.08.18.15; Fri, 17 Apr 2020 08:18:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=XASgXQK5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728901AbgDQPOw (ORCPT + 99 others); Fri, 17 Apr 2020 11:14:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42338 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1728272AbgDQPOu (ORCPT ); Fri, 17 Apr 2020 11:14:50 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E655FC061A0C; Fri, 17 Apr 2020 08:14:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=Content-Transfer-Encoding: Content-Type:In-Reply-To:MIME-Version:Date:Message-ID:From:References:Cc:To: Subject:Sender:Reply-To:Content-ID:Content-Description; bh=YfcdpQWtKsaw+yPCSMjyubrORmj0oCIV+0oQZL7RWS0=; b=XASgXQK5pLpEHZkviFU71mEj+0 yWwsFWDyefLn55gU9UbpLBPsyW8Ga+ODuvzm67RJRnuJeBJWZ6BOJG+XY28jwGaWYaSSRdysqksNm CQisXfnjZsko3uHUDiHf89Cq6+IFII07ctHPYxMGo6/g/4wsHNmPnqMAj0idTtunEMmeUegwel1pf NWZ66er5+AXg1u1yPuWfuTW28JZUAthvPg31VhS95B4j/szxhSNeEn914yeLudR3FISpqCOvWPXfo aB/D7f6MQv2ooen6IA56FniP1G0WLD2NAKAI91alpDt6PK7IbxQ3bllskHnmtpPiz1hcLxBSvot1h IylDvzeQ==; Received: from [2601:1c0:6280:3f0::19c2] by bombadil.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1jPShe-0006IA-Mv; Fri, 17 Apr 2020 15:14:50 +0000 Subject: Re: [PATCH v10 3/6] iio: adc: mp2629: Add support for mp2629 ADC driver To: saravanan sekar , lee.jones@linaro.org, andy.shevchenko@gmail.com, robh+dt@kernel.org, jic23@kernel.org, knaack.h@gmx.de, lars@metafoo.de, pmeerw@pmeerw.net, sre@kernel.org Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-iio@vger.kernel.org, linux-pm@vger.kernel.org References: <20200417085003.6124-1-sravanhome@gmail.com> <20200417085003.6124-4-sravanhome@gmail.com> <2b4c7de2-aa85-65aa-be5e-3daed689c44d@gmail.com> From: Randy Dunlap Message-ID: Date: Fri, 17 Apr 2020 08:14:49 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.6.0 MIME-Version: 1.0 In-Reply-To: <2b4c7de2-aa85-65aa-be5e-3daed689c44d@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 4/17/20 7:51 AM, saravanan sekar wrote: > Hi Randy, > > On 17/04/20 4:35 pm, Randy Dunlap wrote: >> Hi-- >> >> On 4/17/20 1:50 AM, Saravanan Sekar wrote: >>> diff --git a/drivers/iio/adc/Kconfig b/drivers/iio/adc/Kconfig >>> index 82e33082958c..ef0c0cd31855 100644 >>> --- a/drivers/iio/adc/Kconfig >>> +++ b/drivers/iio/adc/Kconfig >>> @@ -680,6 +680,16 @@ config MESON_SARADC >>>         To compile this driver as a module, choose M here: the >>>         module will be called meson_saradc. >>>   +config MP2629_ADC >>> +    tristate "Monolithic MP2629 ADC driver" >>> +    depends on MFD_MP2629 >>     depends on I2C >> ? > > Made "depends on I2C" in MFD_MP2629, hope not needed becomes redundant here > > Thanks, > Saravanan I see. Thanks for explaining. >>> +    help >>> +      Say yes to have support for battery charger IC MP2629 ADC device >>> +      accessed over I2C. >>> + >>> +      This driver provides ADC conversion of system, input power supply >>> +      and battery voltage & current information. >>> + >>>   config NAU7802 >>>       tristate "Nuvoton NAU7802 ADC driver" >>>       depends on I2C >> thanks. -- ~Randy