From patchwork Tue Apr 23 09:04:42 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartosz Golaszewski X-Patchwork-Id: 10912393 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 5DC1D922 for ; Tue, 23 Apr 2019 09:05:06 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4F81B28735 for ; Tue, 23 Apr 2019 09:05:06 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 42D182837D; Tue, 23 Apr 2019 09:05:06 +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=ham 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 D98D42837D for ; Tue, 23 Apr 2019 09:05:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726890AbfDWJFE (ORCPT ); Tue, 23 Apr 2019 05:05:04 -0400 Received: from mail-wr1-f67.google.com ([209.85.221.67]:37276 "EHLO mail-wr1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727174AbfDWJFE (ORCPT ); Tue, 23 Apr 2019 05:05:04 -0400 Received: by mail-wr1-f67.google.com with SMTP id t17so7433398wrr.4 for ; Tue, 23 Apr 2019 02:05:02 -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=MedpQw8DFsDt3V/ORD2drjMi3LvgLvtlXtjB66si/QY=; b=cqy4uiJoGch/a9yBruv3xx6f57TeqskU5aF0iQBzIBHcEOCuC71DDV1W4uJarfunmC gXKEkDFJF2R4YSI8IrH7l3I/uzHfPdEc+hXWKL89nvGfnVzahINSlqLNLUiMNY48DT9P jY/oKgKcO6Mqtwrkkg6TIegemNWSa9KkknYIPv50odQFhqX9U7i9TQFE0d1y8F4bhMQZ 8n+vZpKfL8cgKc3rUc/Snt5K0zTiRzPA35YDoYVZ6JPJV2/9yhJ4UfGsZFbJnI4UtHcM FoOOQUj0l3EM+FrdTdFL6iLYbvZaplVr0TMmxAFuSewNJX3KkKXMX66J1OTwDV3U3ZB/ NMKA== 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=MedpQw8DFsDt3V/ORD2drjMi3LvgLvtlXtjB66si/QY=; b=Gjcfy9G5QTbMHzszjD5aOAN8/hqvHkFrOPPXTfOuqyBGNnREv/6WjLhaipiQhTEvvX 1lT+8rohR01sW4qiFos4v6iLbFibfu43T2JELv5UtLvm4k7fc0+6Ien5nZiYZVLchcG7 k4oO+LZ3FwZpx/X2uxjRciTXP9WATn7E9YhaYvL6HbSwfZhnz7QN28vbdMnD+Z7JiWs8 ne4CN2mkpXam5ucFAxoKUlv2fqQfXe/q4NPHITg1NhPRuDQGctpKdmeMD4DRdBR9Y4AT ewe1OOJdQxbTixQeaMYaJuUhJT77XHDjv/rcLsZIPW/6HSHDwy5muowQJiFoSH+qo/J7 TUxw== X-Gm-Message-State: APjAAAUePGIvbwPnuKyMqZL05zJKfYyUQT8q1tt6EJtqYdN5727KgI09 uMgEl+pLWow7HlXhgpZXyqEryA== X-Google-Smtp-Source: APXvYqzg7hz8sx+qK/JUcn5kAB6BZih/qY9QgDprH/MpI5/1qsS/2vb/Ouszgak4Fst3yVrog3Dpkw== X-Received: by 2002:adf:f390:: with SMTP id m16mr2420365wro.25.1556010301888; Tue, 23 Apr 2019 02:05:01 -0700 (PDT) Received: from localhost.localdomain (aputeaux-684-1-25-101.w90-86.abo.wanadoo.fr. [90.86.250.101]) by smtp.gmail.com with ESMTPSA id v190sm15360434wme.18.2019.04.23.02.05.00 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 23 Apr 2019 02:05:01 -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: [PATCH v10 02/11] dt-bindings: power: supply: add DT bindings for max77650 Date: Tue, 23 Apr 2019 11:04:42 +0200 Message-Id: <20190423090451.23711-3-brgl@bgdev.pl> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190423090451.23711-1-brgl@bgdev.pl> References: <20190423090451.23711-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 Reviewed-by: Sebastian Reichel Reviewed-by: Rob Herring --- .../power/supply/max77650-charger.txt | 28 +++++++++++++++++++ 1 file changed, 28 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..e6d0fb6ff94e --- /dev/null +++ b/Documentation/devicetree/bindings/power/supply/max77650-charger.txt @@ -0,0 +1,28 @@ +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: +-------------------- +- input-voltage-min-microvolt: Minimum CHGIN regulation voltage. Must be one + of: 4000000, 4100000, 4200000, 4300000, + 4400000, 4500000, 4600000, 4700000. +- input-current-limit-microamp: CHGIN input current limit (in microamps). Must + be one of: 95000, 190000, 285000, 380000, + 475000. + +Example: +-------- + + charger { + compatible = "maxim,max77650-charger"; + input-voltage-min-microvolt = <4200000>; + input-current-limit-microamp = <285000>; + };