Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp999484ybh; Wed, 11 Mar 2020 15:19:47 -0700 (PDT) X-Google-Smtp-Source: ADFU+vvUU5/xHy22DnbCyUJFimvZSwRSVpZmhILgsp7Xi23Gx6Bsr9LfDi7Rc+pN/4zc+bXAGfAI X-Received: by 2002:a05:6830:4038:: with SMTP id i24mr1006144ots.0.1583965187397; Wed, 11 Mar 2020 15:19:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1583965187; cv=none; d=google.com; s=arc-20160816; b=d2kI42l+C5ITOtvaMvVkBihkYnJa1cIp9UPmuCNtHMeFBD2MZtjtMVnbxPB+Pcy98l O81FQ1Mml8SvkAIDCDUFar4A+SVsc1WrGGT/LhLKaiZTpRDdssE+GVOS4Zu8zdeUZEF7 t/FhHvSSZcif8+ek3NPTsb01j6e8xwsvMlDM/HR2HjaTyUt7/30Q4xQdQJtLoa8QaPMt lcVR1MHlp4N1bjEUe+skbGVVXRNmkKOEjvNDkBN4a7/Aq5SGmOxWFFoFueTurWrZ/+gB i8B6IkyL2nbpXRknR2uGXQ95/BOHXUR7R3TPHbuZ1a2/Qw1t/+eO2HynXrxEG5MEMCTz RZHA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=oWXlRqs+KaE5GAQfuxrF3vEuzQdOm43Dz7UKDi+oHaI=; b=BiLq9GvBj8XMStGZuFf43+3akQFD5ng+VfRE4bxeB0bVK6h/gXGmP8KiT6V++Cakbj Hf9J4UURDSR190AqFSSmeE02VYXE4PPeh+soKLOpcYGh/K+KfTewr8ZLgib//+Lp6scZ NfoL4HJzpCI2fWL/AWObqYftsv8/heo2gFGvQqAFWUNz2xP5tlo6fGd2/dcJsVKm+MeW AqUfGgxK69C2LqHD3edzEkIr5rFoDzjfvqRmtoOjVOnYt2eU9gP0T4VUoGnDyhw63uzv YKOMaeeVTBCtRN0C0mcpJ+SzMTkgsrfDdbFcDETK0WT8AVOLzqioJv8oAEJ4prWz1sEY +5Iw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=vvmzBbVC; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w4si1624383oih.231.2020.03.11.15.19.34; Wed, 11 Mar 2020 15:19:47 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=vvmzBbVC; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729733AbgCKWS7 (ORCPT + 99 others); Wed, 11 Mar 2020 18:18:59 -0400 Received: from mail.kernel.org ([198.145.29.99]:53112 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729328AbgCKWS7 (ORCPT ); Wed, 11 Mar 2020 18:18:59 -0400 Received: from jupiter.universe (dyndsl-037-138-186-138.ewe-ip-backbone.de [37.138.186.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id B08C520575; Wed, 11 Mar 2020 22:18:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1583965138; bh=uN0EJfxB926vAIL9U8wcBm3Xwf+Zv5Hg2uC/q6DUe9I=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=vvmzBbVCrsuXf7GEoXVgARY7+LxGRp6ukQN+JzzKg+RfYKTd7NDdV6fbJGD4Q+4Zb xWKdD5CeKU42P2oeJ1nj+Ky/9eean8XAc1UuHq81tXfBQe94lqBOkB91NzAvkiiJ/B bV9uPoi7/fHACmzCs5MJdM5Mudlvm61dEvlufJJs= Received: by jupiter.universe (Postfix, from userid 1000) id CD0E24800FC; Wed, 11 Mar 2020 23:18:56 +0100 (CET) Date: Wed, 11 Mar 2020 23:18:56 +0100 From: Sebastian Reichel To: Baolin Wang Cc: Orson Zhai , Chunyan Zhang , Saravana Kannan , Android Kernel Team , Linux PM , LKML Subject: Re: [PATCH v2] power: supply: Allow charger manager can be built as a module Message-ID: <20200311221856.yh2vr3fybwm3krfc@jupiter.universe> References: <5e098be25c70e07c37e743f84a901f6f756090e0.1583461755.git.baolin.wang7@gmail.com> <20200306204712.dgomi52jzyakylky@earth.universe> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="ajojohcuwaygc775" Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --ajojohcuwaygc775 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, On Mon, Mar 09, 2020 at 11:20:41AM +0800, Baolin Wang wrote: > On Sat, Mar 7, 2020 at 4:47 AM Sebastian Reichel wrote: > > On Fri, Mar 06, 2020 at 10:34:10AM +0800, Baolin Wang wrote: > > > Allow charger manager can be built as a module like other charger > > > drivers. > > > > > > Signed-off-by: Baolin Wang > > > --- > > > > Thanks, queued. I do not like this driver, but its the best we have > > at the moment. >=20 > Thanks. I understood your concern, do you have any plan to re-design > the charger manager driver in kernel? Or do you have some thoughts > about re-designing it? Now we have some out of tree code to use the > old charger manger, and we'd like to change to the new charger manger > driver and upstream them. I don't have anything ready yet and not enough time unfortunately. The proper way would be to have something equivialent to charger-manager in the power-supply core. The core should be able to monitor batteries and handle connected chargers automatically. Also there shouldn't be any DT entry for the software managing the charger, since DT is about hardware. -- Sebastian --ajojohcuwaygc775 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEE72YNB0Y/i3JqeVQT2O7X88g7+poFAl5pY9AACgkQ2O7X88g7 +pqIIw/+OyAwCPmBxCOrmqKB/CxvHVZgBJCgJXNyVj8tBQHqtteGDqw10tEzpWI1 A3B89gB0j/kEW3REgvzm1L9aFHGPcG6tfjBmnXanaqKgzb4vbZuKwks5g1OwFHsF j06oDex6FQ39W0ve17NG+FUZwVN5v9MvUcKhtJDOnZ6KOqfuZT6cPP8NX5rmTsI/ kDEle70hiAOwxGWC+JPifxtre47NL+OS9J30lw0BULgrs+8lYHIASlfilQE0LI+H gYUcVQdT/zTtFpFjFK8OpGAP2uTYaojx7SISdjR1Wwg7ghZ+t/iyWNIdP0ix0BYZ mx8hPv/8TiIy41hB1Xxyc+q8Vzee7I0P7H3242g3TWYaJYuh7NO9qegNKQaiM0wH O67c1UOz+ausgha/WGO7gZpXpDgBxzUOu4up38O0kAicfhaD0V3l8HTA9AWhcdbh kXpllhDJKEZbTLLOqRQ0scuJWt0IBQ53ES2dh0noV+g4mTCUswsgt+Xxqv5z/+Mx qmU1zEcruMsQvmQ4Lwk7X363INgNDOQSK4cbx8u4iou3VdYICBaah7AKabK1aqCl ZLQ1AP3d3PTUUd9wTGSHIWCpB6Nb8+ZkKKC4T1M6Xf+AUVKSXYOVQMxKWYqpDZAN 7lw4kjR8SFlon0N0s6hOLRcF+B3oRhhtgoWPTFESsti7tEopOUM= =j3t3 -----END PGP SIGNATURE----- --ajojohcuwaygc775--