From patchwork Tue Jan 29 13:35:35 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartosz Golaszewski X-Patchwork-Id: 10786301 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 E644813B4 for ; Tue, 29 Jan 2019 13:37:19 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D6ECA2AA14 for ; Tue, 29 Jan 2019 13:37:19 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C828A2B111; Tue, 29 Jan 2019 13:37:19 +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 7D5B12AA14 for ; Tue, 29 Jan 2019 13:37:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727897AbfA2NhS (ORCPT ); Tue, 29 Jan 2019 08:37:18 -0500 Received: from mail-wm1-f66.google.com ([209.85.128.66]:35845 "EHLO mail-wm1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727895AbfA2Nf6 (ORCPT ); Tue, 29 Jan 2019 08:35:58 -0500 Received: by mail-wm1-f66.google.com with SMTP id p6so17786300wmc.1 for ; Tue, 29 Jan 2019 05:35:57 -0800 (PST) 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=88EGuRhmZ5Mi0OmBRzcZ/azoI1Z+qLZaZYAJ4dxXFVk=; b=l3RpApoT4APiZ7Cw5LpJ/itCPkfvh70uCXirMHVDI5BLUAdZNBpyUqScq7lReJLVFR 3A3XJbr22mg+/1IchSCpQi7QIX4NFQ55RQnGTvk9xAXbeREq9/V72vS09QNmwXyL+3YN /KtDgMaiO+/vFVTbvCNPW7jUv4jND3BYCQHMebwquDxtoV5midRcdLulhQl8sArRiyZF a+MCpsm5UWt2NGD8NY8CbT+jZpmHGW1Kfs3xocl06V3aXhw+EhzKCzAMArsoz/1hN/0N Upqez+DL0gg1kvoN0sm84WvfOKgvXmuSFSClLzYBOTbrcsrQWzV58cjMG8QWBIZpEcqZ ES/w== 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=88EGuRhmZ5Mi0OmBRzcZ/azoI1Z+qLZaZYAJ4dxXFVk=; b=QJdu0pBgfHa/MV826vtJ4HYYyg6eI4vRYE/igBf2NZXFreQ79K4p8uz7Zt77BZY5Wh R8bJO+nPB0eRAOFZ3UQSXtJB/e3Wxrt8NxDlUOoKV1hIX06Bp+aparmbFYfEFSv+br16 pqZVqtq9uV9cdHLdJq94CTH4uli+YubV85IyUYWWDD1VS9vM6wseCxS+YLGM8THS+EXi AnABsbplVhw0cokAwS21O+tN6+ekNb1BCHWMNXv4jjml6T4rtJUzEFHAfaI3HJTbC9o4 jD4K+wFd7xTdj4py4cpe/J9aOaLoEHkj5UYBR7vrlE7GrpmhGIp3Zqrl4x2H3ddj1AbM na1A== X-Gm-Message-State: AJcUukcQ6kdnJOMOIM1tz6HdPF/9eosqNDB1ww66k+qLZQy1F/QzLnvi YyCEHmf2UmUZv/WBVqFKdXhjaQ== X-Google-Smtp-Source: ALg8bN6EhWzbvygw8pteP0XUbWsmKCXcyIG0Jw4vPolZwKEv7IBaqMwg316ipbf/EhwLWojaRF2F8g== X-Received: by 2002:a7b:c04e:: with SMTP id u14mr19776466wmc.133.1548768956501; Tue, 29 Jan 2019 05:35:56 -0800 (PST) Received: from debian-brgl.home ([2a01:cb1d:af:5b00:6d6c:8493:1ab5:dad7]) by smtp.gmail.com with ESMTPSA id k128sm4367891wmd.37.2019.01.29.05.35.55 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 29 Jan 2019 05:35:55 -0800 (PST) From: Bartosz Golaszewski To: Rob Herring , Mark Rutland , Linus Walleij , Dmitry Torokhov , Jacek Anaszewski , Pavel Machek , Lee Jones , Sebastian Reichel , Liam Girdwood , Mark Brown , 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: [PATCH v2 03/13] dt-bindings: power: supply: add DT bindings for max77650 Date: Tue, 29 Jan 2019 14:35:35 +0100 Message-Id: <20190129133545.1931-5-brgl@bgdev.pl> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190129133545.1931-1-brgl@bgdev.pl> References: <20190129133545.1931-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..f3e00d41e299 --- /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: +-------------------- +- maxim,vchgin-min: Minimum CHGIN regulation voltage (in microvolts). Must be + one of: 4000000, 4100000, 4200000, 4300000, 4400000, + 4500000, 4600000, 4700000. +- maxim,ichgin-lim: CHGIN input current limit (in microamps). Must be one of: + 95000, 190000, 285000, 380000, 475000. + +Example: +-------- + + charger { + compatible = "maxim,max77650-charger"; + maxim,vchgin-min = <4200000>; + maxim,ichgin-lim = <285000>; + };