Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp1729011ybz; Thu, 30 Apr 2020 04:35:41 -0700 (PDT) X-Google-Smtp-Source: APiQypIblb2Vz5dwdmKCKNaxnqhp/zrJ3nDSOhdqX8BEcMuzbiiiXSBni8jW/wYiBGBgG2AVZrul X-Received: by 2002:a05:6402:1052:: with SMTP id e18mr2242042edu.63.1588246541668; Thu, 30 Apr 2020 04:35:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588246541; cv=none; d=google.com; s=arc-20160816; b=iImFTbjBocQ8wVWsrir9wWSPTUBQT0nWm2LFYIEYtSSNbL0GbWQc0wcl22Sf1v/m70 UOs+2xGqaq9cnZEwzCrqzd4EHYyx0nxSfQkiwwLAcRY8MxpCUPHkBHQkZqMNAnNleufA czw37pwquEcEAQv3I9j55vgoD+evsF6dgMdNZrL5jTZ/Z2GwXO0E3WAfKrV/ZM6fgYBy r+xiRbLcu5RNvjdX1O3rOuppe3DixgpDX2IYaqEMG/k+j2kb59NbKE4KfpaRfqjSO24R SIiytyCQ1n7EHCfLFcahCufqsDTZTCm/tFbiXC7l937NjoV9Kwfo+lcaHIWFbc55y8Oi jBeQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=3YzQNid97kqBggOZQ18C1LhT5mfiq53k4mzAIfsUnLE=; b=WwY1PpsC/+bRbv88knE9zZseDPezUZMC0Kl6fj9SnnM3paQlopos8N1uQl8eWT5Y9p GAv1jCLQZHNF4eAgsyZgVG8yPp5Yr6mRyLySV9KkhyTynBfD7LTOVfONFwAH0kBmOiOr Heio8LN8dsYVguvvuiGIhip/Pzs96ha0wwOjACYRsWv7gUXtycC1d/8Q6fHcd2SfyEQK rSUKuoEUxciDaGPx4RcsMw+sS1Thzk80ZP7ctpbKo3588b+oxTdGodWQrwvdgViYHLKz EBvG4owNq4l9C+Pq6Zq+Nzq6SHhqaNmJIiuLqIsxjx5TF6OwGvJibBiV/Ved9xqm9dse u6eQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Jh9fqjv2; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g24si5266817edu.104.2020.04.30.04.35.18; Thu, 30 Apr 2020 04:35:41 -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=pass header.i=@gmail.com header.s=20161025 header.b=Jh9fqjv2; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726689AbgD3LIL (ORCPT + 99 others); Thu, 30 Apr 2020 07:08:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57448 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1725280AbgD3LIL (ORCPT ); Thu, 30 Apr 2020 07:08:11 -0400 Received: from mail-pf1-x442.google.com (mail-pf1-x442.google.com [IPv6:2607:f8b0:4864:20::442]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 30DE4C035494; Thu, 30 Apr 2020 04:08:11 -0700 (PDT) Received: by mail-pf1-x442.google.com with SMTP id w65so2704728pfc.12; Thu, 30 Apr 2020 04:08:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=3YzQNid97kqBggOZQ18C1LhT5mfiq53k4mzAIfsUnLE=; b=Jh9fqjv2seVUJxCv/tidEAfVPLwykN/tjVlbnkkjoSUllix6GJx0sA1bkBpuDMvlg8 Q26m7CUN6bKkMgtjL86m1BCF8Gd8EvabNZKCXtk77FTpf/A0sJDw9TKOoYhv7HrHcdJ2 pG4VMzVF899pxXlvXpLkrpZ0IJmjVU7flM6DhEdsEqcahH3ACQD09mK+PVh3Vva4jHFy vzZ/1NlcqM9bMNbr78wcol1D//PW0CV16tqheLsPDJR2f57Ab+trEX4DN2eJi9RugWY8 +7VKtJ+PRVH4wewh/r0X4LgLhMNkxE52CpT0xWSVGt5pSb+QFFkj46k6hYQPtXwxU8hX GG/Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=3YzQNid97kqBggOZQ18C1LhT5mfiq53k4mzAIfsUnLE=; b=ObrWDDR+WW4xbw2vSbnPzz55ywjXzzWZtBjRSk1y3F8BcOjK49wllnay9jPjvztKKG wO2mviefs3xTwCK8T6xzSu/Z/Gq08LM6e+Mfn1wcI5gWe5g+GEYNMATC7OyCEQ9YCPOF hK9JqRv/l0WQmrm7VTGsE12PREVsd5FN3ybbgUPHt1QXxp2kACSVADsXv18TjKLSUflN B97qHz9J5ZflIY06XiSDhn3KP1x3Z4IVOJOWi8Vd6yt2PQGGyPaps0crA2vU31Jn5G9m t0fJBYoi2P/mtx+mc6t6LQu1UiZ407Ijg6ynsUhNy3oQ4QWIxDpgk/f7jzQUKGtG4UIE Inig== X-Gm-Message-State: AGi0PuYqgxFE4b5m2/fkwfzJ5fHKDwLSnCCFZeAgtBjM3SFFoO6vgN+3 VkxepNmlECoAqYtd+03Sa8GwCSNS34k/cuDQShPlZCgW X-Received: by 2002:aa7:8f26:: with SMTP id y6mr3119423pfr.36.1588244890479; Thu, 30 Apr 2020 04:08:10 -0700 (PDT) MIME-Version: 1.0 References: <20200415162030.16414-1-sravanhome@gmail.com> <20200415162030.16414-3-sravanhome@gmail.com> <20200424071822.GM3612@dell> <8ff17d07-8030-fcfe-8d8a-3011e4077778@gmail.com> <20200424093720.GA3542@dell> <864eb6ad-a605-c0a0-c3e7-23c0c70f5ede@gmail.com> <20200424105319.GD8414@dell> <20200427085149.GF3559@dell> <6063ad6e-444c-b905-b858-d8f94d700748@gmail.com> <4585179d-826b-6240-38a2-18fe757bc810@gmail.com> In-Reply-To: <4585179d-826b-6240-38a2-18fe757bc810@gmail.com> From: Andy Shevchenko Date: Thu, 30 Apr 2020 14:07:59 +0300 Message-ID: Subject: Re: [PATCH v9 2/6] mfd: mp2629: Add support for mps battery charger To: saravanan sekar Cc: Lee Jones , Rob Herring , Jonathan Cameron , Hartmut Knaack , Lars-Peter Clausen , Peter Meerwald , Sebastian Reichel , devicetree , Linux Kernel Mailing List , linux-iio , Linux PM Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Apr 30, 2020 at 1:39 PM saravanan sekar wrote: > On 27/04/20 11:30 am, saravanan sekar wrote: > > On 27/04/20 10:51 am, Lee Jones wrote: > >> On Fri, 24 Apr 2020, saravanan sekar wrote: > >>> On 24/04/20 12:53 pm, Lee Jones wrote: > >>>> On Fri, 24 Apr 2020, saravanan sekar wrote: > >>>>> On 24/04/20 11:37 am, Lee Jones wrote: > >>>>>> On Fri, 24 Apr 2020, saravanan sekar wrote: ... > >>>>>> Then how about using 'simple-mfd' and 'syscon'? > >>>>>> > >>>>>> Then you can omit this driver completely. > >>>>> The exception is to support for non device tree platform as well, > >>>>> but I have > >>>>> tested only for ARM device tree platform. > >>>> Is that a reality though? > >>>> > >>>> How else do you see this realistically being registered? > >>>> > >>> I understand that acpi related device table are not covered here, > >>> well I > >>> don't have to platform to test so. > >>> If you ask me to cover acpi related table, I can do but hard to test. > >> I don't know of any reasons why syscon can't be used by ACPI. > >> > >> Please try to solve this issue using 'simple-mfd' and 'syscon'. > > Well the simple-mfd and syscon topic recommended by you when Device > > tree alone is used. > > I wounder still I receive review/improvements comments for this mfd > > patch and also another > > to omit this driver using simple-mfd (rework the series). > > Confused, not sure which is valid and will be accepted at the end. > > I had look into syscon, as far my understanding syscon is supported only > for memory mapped IO. MP2629 > device is over I2C bus, could you share your thought about syscon for > this device? My understanding too, but I didn't dug into it. Something like general regmap support is missing (or I am missing the way how to pass it to syscon). -- With Best Regards, Andy Shevchenko