Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp2725159yba; Mon, 8 Apr 2019 03:24:20 -0700 (PDT) X-Google-Smtp-Source: APXvYqzs6C6CepjGoLCOS6EbIJqiiQGt2E/srp8RO55aFZ1X0Shc3tEl/0xHpKbEzCjIbsNA/l57 X-Received: by 2002:a63:ff0f:: with SMTP id k15mr27310633pgi.407.1554719060843; Mon, 08 Apr 2019 03:24:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554719060; cv=none; d=google.com; s=arc-20160816; b=sXZNwwGYBstA3zJnGhlWTT6jGC0AgbBPoAr4ArFdZsynAMPrZ68V5UZb+UN19uQ4Cf nZZztBB+HdzMMnAcahgbEGf89BPYKxdq8IkIQrJzR3pVsBQR2y9khM8QggSXXfvRXxlb f6afOlM9fm2A2ADDvxBnqoMj+kl0o+5oUPKBt3MjOMqrUi9Aq4CcySPe2flsNDVqUFwE yV5OJKoEZPtBpoE9IEJyccnYCa5y5JVo11AUVMec86lPcQUQx2Lco8plAoiZFEIlClI4 Rx5974K0GpLBSgLQIAczoWDVzg2pmMcaxa73ix6ZFTOW9bS7bC3k8Vh6ujhvpdmFI6XB +izQ== 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:mime-version :references:in-reply-to:message-id:cc:to:subject:from:date :dkim-signature; bh=YG2rCSEWGmHwSf0TVaqngGYKpa7LURt8tfGQ+HtEtuE=; b=NvI5SuKJjKHAChU48G8oKosuKEpzEyCXGpnvdAG1wy6ln8f9zdgTl0fz9hHuMIcQee IxgZIHeJqtmNICgoKcoOgUjEqkSIjCuafSO0GNR7A0pBmkqaC/5ZlAxFy19RyntdQqNl cPPqt0i5kJEkxL2pkcZHbs1nUa6BplMGCTeBUW5o2LCzCduqTgSKZxh+tPPBkyJBQlnI matEj6Dq4pJiPtsOJveRa+tWHGLxKEYzxJolTRgF/1j5iSHiuBfIIQ3zjCg83+aTA3DP RF+fA/bSMraSF/I+aIncbzIjoTijJQOtqthbtCwdf6J0Q/PadQ2OXLS3zhxt1l5WSSdg Tgxw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@crapouillou.net header.s=mail header.b=PqoQvzDT; 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=fail (p=NONE sp=NONE dis=NONE) header.from=crapouillou.net Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v6si7784734plp.296.2019.04.08.03.24.05; Mon, 08 Apr 2019 03:24:20 -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=fail header.i=@crapouillou.net header.s=mail header.b=PqoQvzDT; 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=fail (p=NONE sp=NONE dis=NONE) header.from=crapouillou.net Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726606AbfDHKXL (ORCPT + 99 others); Mon, 8 Apr 2019 06:23:11 -0400 Received: from outils.crapouillou.net ([89.234.176.41]:55990 "EHLO crapouillou.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725933AbfDHKXL (ORCPT ); Mon, 8 Apr 2019 06:23:11 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=crapouillou.net; s=mail; t=1554718989; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=YG2rCSEWGmHwSf0TVaqngGYKpa7LURt8tfGQ+HtEtuE=; b=PqoQvzDTSpHGrXTOBPg1fiebnKVNFMbLopVljXEjjz5fDkXbYRggSrJC0k1iYFCyiuy4oZ 32D00htHkAH1EMMH9DVbJoMnOy7tV04CW9YmVNlcBIIANltjH5bb1ZID5DSfpoo37NL62o Xv6/dv6o/UDTEHQdiNGdMIvy4bTv09g= Date: Mon, 08 Apr 2019 12:23:03 +0200 From: Paul Cercueil Subject: Re: [PATCH v2 4/4] power: supply: add Ingenic JZ47xx battery driver. To: Sebastian Reichel Cc: Jonathan Cameron , Artur Rojek , Rob Herring , Mark Rutland , linux-pm@vger.kernel.org, linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Message-Id: <1554718983.1893.0@crapouillou.net> In-Reply-To: <20190408093824.yzpd7mve6df7lpka@earth.universe> References: <20190323172809.14407-1-contact@artur-rojek.eu> <20190323172809.14407-4-contact@artur-rojek.eu> <20190324153137.04857cdf@archlinux> <20190407165234.is66vmnjfc35jnho@earth.universe> <1554664077.4322.0@crapouillou.net> <20190408093824.yzpd7mve6df7lpka@earth.universe> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Le lun. 8 avril 2019 =E0 11:38, Sebastian Reichel a=20 =E9crit : > Hi Paul, >=20 > On Sun, Apr 07, 2019 at 09:07:57PM +0200, Paul Cercueil wrote: >> Hi Sebastian, >>=20 >> Le dim. 7 avril 2019 =E0 18:52, Sebastian Reichel a=20 >> =E9crit : >> > Hi, >> > >> > On Sun, Mar 24, 2019 at 03:31:37PM +0000, Jonathan Cameron wrote: >> > > On Sat, 23 Mar 2019 18:28:09 +0100 >> > > Artur Rojek wrote: >> > > >> > > > Add a driver for battery present on Ingenic JZ47xx SoCs. >> > > > >> > > > Signed-off-by: Artur Rojek >> > > The IIO parts look fine to me. >> > > Reviewed-by: Jonathan Cameron >> > > >> > > Sebastian, assuming you are happy with this version, >> > >> > The driver itself looks ok. I'm a bit unhappy, that we already=20 >> have >> > jz4740-battery. This driver is much cleaner, but does not yet seem >> > to be ready to replace it. Artur Rojek what are your plans=20 >> regarding >> > to the existing driver? Is there currently work going on migrating >> > JZ47xx to DT? >>=20 >> Why do you think it's not ready? Feature-wise, it has everything we >> need to replace jz4740-battery, which will be trashed as soon as the >> LB60 board code is updated to use the new driver. >=20 > jz4740-battery has a few features not provided by your driver. > For example the gpio providing the charging status. Artur sumitted a separate patchset for this functionality: https://lkml.org/lkml/2019/2/26/501 > Assuming you plan to trash the old driver soon: >=20 > Acked-by: Sebastian Reichel >=20 >> We are working on porting the JZ47xx code to devicetree, yes. The >> ultimate goal is to completely get rid of >> arch/mips/jz4740/board-qi_lb60.c and arch/mips/jz4740/platform.c. >=20 > Ok, sounds good. >=20 > -- Sebastian =