Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp2739274imj; Mon, 18 Feb 2019 11:15:18 -0800 (PST) X-Google-Smtp-Source: AHgI3Iald4W5hAOb3pfzq3+lqhOxlrwtfWUZputazr4gRi4FiQLXnMcU0+KKjdUaKwWP5M6d4zCc X-Received: by 2002:a17:902:346:: with SMTP id 64mr27299975pld.337.1550517318404; Mon, 18 Feb 2019 11:15:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550517318; cv=none; d=google.com; s=arc-20160816; b=RSkRut1MapPY3yIXyf8NKXgHVeLz/Yudr6QMO/6HLlCi0TAEZq1eUzD3dWp2IghVRj k/4VBlAcnapnzlUiFm5pqIvr/f0ACovpcIEQwWsRIcL/XECixYtl98Y4doDJOLBjUpCL vKcZEXcSwvS7fCy14I76kQo68gatLEubVsdTC7yqQUL0Vf9NiBDiaTPYxE+4ctqMkgi+ lMmB2becWX5RTABemiv2O037uRZ7gx8m+NZEAcINuzPrdtuYg+wJjnPT1qW4VL4oXc/F pAkciOXBEliziwo7GZXLFsc0YGof3KM06G57rD7/lxYD9C3FUdLRLKOa2Hr7mlklD2Sx 6z2w== 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=o/NaM4fDXgryO5OUMNI5Ip3AVorw7G9X0E0F6k/66OE=; b=PbkXU2FQ8aGdC6qQLFedJc9qxLFFTvsw4xrGuFcsiq6zNMtQPDA0tSfOTt/RLxOmvc rMrJdNgNKmRxtUj58zacnfcwyK4KqGjDm6QxeTgQlpLE3Dw6WAr/QSkTM+wsyPFg8m7l wkvsQKkBb0xYv3tfVp4fBu18LHeoNpPfFbFTRnAxkOHFhnElWDEQFwIldjltsz+nT61M eB/ZcUI1HPeiLnZlDotaVkByJwFserknYJ0Kd6xVI6RRcVZyEyiBqr5Zu8BnzJo6NsuP qT7o4TU4Vungc0k/zxrnWo/uMmX3ryXudQ6NpNj9XFNHG8Ytat8Unr7dwUMM1ZrEPv6a 9EGQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=tGaH5Ktr; 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 i33si14629385pld.329.2019.02.18.11.15.02; Mon, 18 Feb 2019 11:15:18 -0800 (PST) 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=tGaH5Ktr; 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 S2390031AbfBRSG0 (ORCPT + 99 others); Mon, 18 Feb 2019 13:06:26 -0500 Received: from mail.kernel.org ([198.145.29.99]:33836 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388802AbfBRSG0 (ORCPT ); Mon, 18 Feb 2019 13:06:26 -0500 Received: from mail-qt1-f175.google.com (mail-qt1-f175.google.com [209.85.160.175]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id C696F21736; Mon, 18 Feb 2019 18:06:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1550513184; bh=RuvwR1R55a5KW4teZl2ytprZ3Iq1pui/zuuVf2V8r44=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=tGaH5Ktr/8S3qarWMNhlszrDjcbbLkejGoNV15Z0lOo3veLgDxnIe4UJvp09e0fdI F0fa0/aabiWNeZ3E9JxkaVx80J/e6VLZqq8G8pRo6YZVe7iFmShkUh/xZH/eIt5ojI +0QftJymQMqA4/TtCGqFMTp3+npZjI6MauEZHHNM= Received: by mail-qt1-f175.google.com with SMTP id a48so20191763qtb.4; Mon, 18 Feb 2019 10:06:24 -0800 (PST) X-Gm-Message-State: AHQUAubHbWGcb/kKNRgNGFtlVki/5aLkKgOJBWEbmus25amj1N+nvOD1 o5fz2UPwllrFQk96ouKF3iSAWibdiihMN6y3pg== X-Received: by 2002:ac8:2f4e:: with SMTP id k14mr19041781qta.76.1550513184002; Mon, 18 Feb 2019 10:06:24 -0800 (PST) MIME-Version: 1.0 References: <20190212064353.7451-1-markz@nvidia.com> <20190212064353.7451-3-markz@nvidia.com> In-Reply-To: <20190212064353.7451-3-markz@nvidia.com> From: Rob Herring Date: Mon, 18 Feb 2019 12:06:12 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v3 2/4] mfd: max77620: add documentation for backup battery charging To: Mark Zhang , Bartosz Golaszewski Cc: Lee Jones , Mark Rutland , devicetree@vger.kernel.org, "linux-kernel@vger.kernel.org" , linux-tegra@vger.kernel.org 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 Tue, Feb 12, 2019 at 12:44 AM Mark Zhang wrote: > > Adding documentation for 3 new backup battery charging dts > properties: > - maxim,charging-current-microamp > - maxim,charging-voltage-microvolt > - maxim,output-resister-ohms What's the difference between the 77620 and 77650 as there's patches on the list for the 77650 too. The properties are similar, but seems to be main vs. backup battery charger. We should have common properties for this. > Signed-off-by: Mark Zhang > --- > .../devicetree/bindings/mfd/max77620.txt | 20 +++++++++++++++++++ > 1 file changed, 20 insertions(+) > > diff --git a/Documentation/devicetree/bindings/mfd/max77620.txt b/Documentation/devicetree/bindings/mfd/max77620.txt > index 9c16d51cc15b..88825eaf2567 100644 > --- a/Documentation/devicetree/bindings/mfd/max77620.txt > +++ b/Documentation/devicetree/bindings/mfd/max77620.txt > @@ -122,6 +122,26 @@ For DT binding details of different sub modules like GPIO, pincontrol, > regulator, power, please refer respective device-tree binding document > under their respective sub-system directories. > > +Backup Battery: > +============== > +This sub-node configure charging backup battery of the device. Device has > +support of charging the backup battery. The subnode name is "backup-battery". > +The property for backup-battery child nodes as: > +Presence of this child node will enable the backup battery charging. > + > +Optional properties: > + -maxim,charging-current-microamp: Charging current setting. > + The device supports 50/100/200/400/600/800uA. > + If this property is unavailable then it will > + charge with 50uA. > + -maxim,charging-voltage-microvolt: Charging Voltage Limit Setting. > + Device supports 2500000/3000000/3300000/350000uV. > + Default will be set to 2500mV. The voltage will be roundoff > + to nearest lower side if other than above is configured. > + -maxim,output-resister-ohms: Output resistor on Ohm. > + Device supports 100/1000/3000/6000 Ohms. > + Default will be set to 1000 Ohm. > + > Example: > -------- > #include > -- > 2.19.2 >