Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp6593225imu; Wed, 30 Jan 2019 18:27:19 -0800 (PST) X-Google-Smtp-Source: ALg8bN58+NWn56WQ/YPCpJgik6gSJurC09cp++gzS+6Izgo/ls0zZ/TukEeS+YkqBRtkeKK6hnGw X-Received: by 2002:a17:902:5066:: with SMTP id f35mr33052280plh.78.1548901639346; Wed, 30 Jan 2019 18:27:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548901639; cv=none; d=google.com; s=arc-20160816; b=U72CmPhlqXnfm3g4Ih8UXeUgNV1wmy2IMlKYD024hdjyNlFa2LJ81MFbtmvCx/JXw3 4JJKIxfQt3eu/Sg9NpOdRFKiE1Qv7L4MSt2bUQYyZ3B1Ov4EWrsU5fdjulr6SvT9fNNI sZvHiIt0i7oZKJuvikdsIctuvgREbL6uADxuPQWjHBBmUqCBLw2yzjc/6m8gWODSQXK5 9W008B5C0dyGkONKhB31YtcJSDg7uPvnfr7J6htFU9rPLVnDZYqNGlAT2oeq2Gtyi0wW Cf+GkwjHXDK35OVGz/2Gy+G1B2zaFB5qebrePqYlqr060wuginmZSLsljz2W62KzupxP ccdw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:dkim-signature:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=TDEQSDMtsbxRVVviDpShfWae/R5jEPcR04nyGJeCKRg=; b=v3Fln4mfvEk4Ang2KXq5VgC4643HCITRbg56v5cyaZBCVGZd5MTBF15rkrlHUlrqLP LQfkWK7DymDul/hK27OQ9rzx04XPIWp6gZHwAl4sXdk12he+dCLDzI8P7P41eyrxBD9Z KQkyoA5M/0Wjn7yDGLqXiG+vI/2hgtiK3Oq+7Vx74WyHKem7CjTfTzwUqPgfn6ioXHJH ifqxhi9pdypH57ARN2vMn4pEeJLNyvQtkV//IxCkOqaEFXdSgcQnNYnrSYvhiR1vOqqW X+kzccVGXBoiWHeJkeQ14kmh/fQNMOc50+t/3DCpz1Bm8hMwZNZzxmbnjiUKUX8ndJK7 80pg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nvidia.com header.s=n1 header.b=Dwmu10gz; 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=nvidia.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l59si2750937plb.154.2019.01.30.18.27.03; Wed, 30 Jan 2019 18:27:19 -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=@nvidia.com header.s=n1 header.b=Dwmu10gz; 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=nvidia.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726906AbfAaC06 (ORCPT + 99 others); Wed, 30 Jan 2019 21:26:58 -0500 Received: from hqemgate14.nvidia.com ([216.228.121.143]:10256 "EHLO hqemgate14.nvidia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725535AbfAaC06 (ORCPT ); Wed, 30 Jan 2019 21:26:58 -0500 Received: from hqpgpgate101.nvidia.com (Not Verified[216.228.121.13]) by hqemgate14.nvidia.com (using TLS: TLSv1.2, DES-CBC3-SHA) id ; Wed, 30 Jan 2019 18:26:59 -0800 Received: from hqmail.nvidia.com ([172.20.161.6]) by hqpgpgate101.nvidia.com (PGP Universal service); Wed, 30 Jan 2019 18:26:57 -0800 X-PGP-Universal: processed; by hqpgpgate101.nvidia.com on Wed, 30 Jan 2019 18:26:57 -0800 Received: from [192.168.88.246] (172.20.13.39) by HQMAIL101.nvidia.com (172.20.187.10) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Thu, 31 Jan 2019 02:26:55 +0000 Subject: Re: [PATCH v2 2/4] mfd: max77620: add documentation for backup battery charging To: Rob Herring CC: , , , , , References: <20190129085531.32364-1-markz@nvidia.com> <20190129085531.32364-3-markz@nvidia.com> <20190130195154.GA30939@bogus> From: Mark Zhang Message-ID: <068e92a6-716c-8144-d504-3e8236dbf591@nvidia.com> Date: Thu, 31 Jan 2019 10:26:51 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0 MIME-Version: 1.0 In-Reply-To: <20190130195154.GA30939@bogus> X-Originating-IP: [172.20.13.39] X-ClientProxiedBy: HQMAIL106.nvidia.com (172.18.146.12) To HQMAIL101.nvidia.com (172.20.187.10) Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 7bit DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nvidia.com; s=n1; t=1548901619; bh=TDEQSDMtsbxRVVviDpShfWae/R5jEPcR04nyGJeCKRg=; h=X-PGP-Universal:Subject:To:CC:References:From:Message-ID:Date: User-Agent:MIME-Version:In-Reply-To:X-Originating-IP: X-ClientProxiedBy:Content-Type:Content-Language: Content-Transfer-Encoding; b=Dwmu10gzU8Jx0smBXe2hVSqQapp89NB2jOAGAT0rZPG+JcE2s0zg2fYfasC/6FiO8 QGkN9a/3GVJ9Dv5kPnUgu/9HZgRSo4JP/VxpsiFCh8wwodX9Vx0QTUC2gNIErGa5y+ VtX14U2s8KBdjobnB/Z5p+YpDNzAPKbeQiFJa2mahcSrYljenQYePLRjg/u+yXJN5v prVnJvs+zx/M2rjbLn1h1ihSSfIS7dmD5z76JALQIwZmiKZYw4EOR8x6F2CBCrovtQ OA1qHvKcgygxrd46xncKRry3PR1zoQRMp9Y/K3VN1HOovvSD6U3fQu1MJVSNUp6wG7 qNwcq5D0OHDxQ== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 1/31/2019 3:51 AM, Rob Herring wrote: > On Tue, Jan 29, 2019 at 04:55:29PM +0800, Mark Zhang wrote: >> Adding documentation for 3 new backup battery charging dts >> properties: >> - maxim,backup-battery-charging-current >> - maxim,backup-battery-charging-voltage >> - maxim,backup-battery-output-resister >> >> 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..484b17e4fba5 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,backup-battery-charging-current: Charging current setting. >> + The device supports 50/100/200/400/600/800uA. >> + If this property is unavailable then it will >> + charge with 50uA. >> + -maxim,backup-battery-charging-voltage: 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,backup-battery-output-resister: Output resistor on Ohm. >> + Device supports 100/1000/3000/6000 Ohms. >> + Default will be set to 1000 Ohm. > > These need property unit suffixes as defined in property-units.txt. The > names are kind of long, so perhaps shorten them a bit. > Thanks Rob. Given these properties will be under "backup-battery" section, so how about changing them to: - maxim,charging-current-microamp - maxim,charging-voltage-microvolt - maxim,output-resister-ohms Mark >> + >> Example: >> -------- >> #include >> -- >> 2.19.2 >>