From patchwork Mon Mar 18 17:40:31 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartosz Golaszewski X-Patchwork-Id: 10858305 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 3906D1390 for ; Mon, 18 Mar 2019 17:41:09 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 24D5428704 for ; Mon, 18 Mar 2019 17:41:09 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 22F4828FD0; Mon, 18 Mar 2019 17:41:09 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=unavailable version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D16E428704 for ; Mon, 18 Mar 2019 17:41:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727743AbfCRRkz (ORCPT ); Mon, 18 Mar 2019 13:40:55 -0400 Received: from mail-wr1-f68.google.com ([209.85.221.68]:33729 "EHLO mail-wr1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727706AbfCRRky (ORCPT ); Mon, 18 Mar 2019 13:40:54 -0400 Received: by mail-wr1-f68.google.com with SMTP id q1so2391849wrp.0 for ; Mon, 18 Mar 2019 10:40:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=KouBHCieDSV7idkFJwAAq2H7EglJYSpQY5o99NkrtdQ=; b=COQ2KIi4u0q4ui0h/1NMXSVjw3UAXP4l0sMFG9Nhfvrdm0UkDRten8x44r8YzO0ks0 tvr7+s2/20GnViY3vPM/mteuATMF+rDu+yFh+lfNVWrFwhnRvDYiTXFJsqLrRX9uAJzl 9JspawxrsHuFdWWDg2V2XwbIp3lamGdQWeKd8yswphQWQ+aqXm2Z96AsiQlOkRBFej2w tx/rbZa/deAEsGFOaGbEOYKRF1u/t7qr/4X8Hryv3sdzRdqbmpoVGESaqC/d+ALzcCRM O8UKLzy6Dkru3ytFiJyVfB6UWPL0gnOfb/in/SwueYsn876O42bdPdoeCp+9Ykq9s1mi tumQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=KouBHCieDSV7idkFJwAAq2H7EglJYSpQY5o99NkrtdQ=; b=b2QciV33jy2IW19OFDv/yQO3pfg3nJL8gC0+avboMQNeLOgqz3G31SkHz4Wlj4oieH +dV4T1wvBvS2S677OGUdEZusn0Of+ojRQd6mJ5RE1QuDlVuo29I1I1834YIZkeJDwfiF DQOFzlDkxeiC0J7kz7rOrzVojdeF2HHkmsUsmUs97OUpBUCTKW/H+hhKX4x06d4F6hd7 A22NsW9vBv2/KJpB+yWMWIprWN8hmLa+4gJHtxP3H8rrZkrRZ175fgXmrcV1wo+H1+np fCaV0VlNov0bgEgCesHK/k0LXmOkz52OWokB3oW1M3iTShU+qjgWJ9ztHwUJ5G2Q9m1d +aPQ== X-Gm-Message-State: APjAAAXPAR+tNBSFTiumUKAL3Zjylue9fXDnszA2XpGgk5FrMm/I5VHg ZLbJLc0ItohJ20c0IYT0KWqz/g== X-Google-Smtp-Source: APXvYqzr3uvH4eJ5lFJKY9Scbm5ob1Q2hDg/2COw838wa05pvk8WpJ6+Y9aLX+i7PLMB/K8KmGal8w== X-Received: by 2002:adf:ba52:: with SMTP id t18mr12434931wrg.73.1552930853097; Mon, 18 Mar 2019 10:40:53 -0700 (PDT) Received: from debian-brgl.home ([2a01:cb1d:af:5b00:6d6c:8493:1ab5:dad7]) by smtp.gmail.com with ESMTPSA id y140sm41436988wmd.18.2019.03.18.10.40.51 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 18 Mar 2019 10:40:52 -0700 (PDT) From: Bartosz Golaszewski To: Rob Herring , Mark Rutland , Linus Walleij , Dmitry Torokhov , Jacek Anaszewski , Pavel Machek , Lee Jones , Sebastian Reichel , Liam Girdwood , Greg Kroah-Hartman Cc: linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-input@vger.kernel.org, linux-leds@vger.kernel.org, linux-pm@vger.kernel.org, Bartosz Golaszewski Subject: [RESEND PATCH v6 02/11] dt-bindings: power: supply: add DT bindings for max77650 Date: Mon, 18 Mar 2019 18:40:31 +0100 Message-Id: <20190318174040.17899-3-brgl@bgdev.pl> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190318174040.17899-1-brgl@bgdev.pl> References: <20190318174040.17899-1-brgl@bgdev.pl> MIME-Version: 1.0 Sender: linux-input-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Bartosz Golaszewski Add the DT binding document for the battery charger module of max77650. Signed-off-by: Bartosz Golaszewski --- .../power/supply/max77650-charger.txt | 27 +++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 Documentation/devicetree/bindings/power/supply/max77650-charger.txt diff --git a/Documentation/devicetree/bindings/power/supply/max77650-charger.txt b/Documentation/devicetree/bindings/power/supply/max77650-charger.txt new file mode 100644 index 000000000000..d25c95369616 --- /dev/null +++ b/Documentation/devicetree/bindings/power/supply/max77650-charger.txt @@ -0,0 +1,27 @@ +Battery charger driver for MAX77650 PMIC from Maxim Integrated. + +This module is part of the MAX77650 MFD device. For more details +see Documentation/devicetree/bindings/mfd/max77650.txt. + +The charger is represented as a sub-node of the PMIC node on the device tree. + +Required properties: +-------------------- +- compatible: Must be "maxim,max77650-charger" + +Optional properties: +-------------------- +- min-microvolt: Minimum CHGIN regulation voltage (in microvolts). Must be + one of: 4000000, 4100000, 4200000, 4300000, 4400000, + 4500000, 4600000, 4700000. +- curr-lim-microamp: CHGIN input current limit (in microamps). Must be one of: + 95000, 190000, 285000, 380000, 475000. + +Example: +-------- + + charger { + compatible = "maxim,max77650-charger"; + min-microvolt = <4200000>; + curr-lim-microamp = <285000>; + };