From patchwork Wed Feb 13 13:43:26 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartosz Golaszewski X-Patchwork-Id: 10809941 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 4EAB2139A for ; Wed, 13 Feb 2019 13:45:11 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3E0612582C for ; Wed, 13 Feb 2019 13:45:11 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 316012CFA6; Wed, 13 Feb 2019 13:45:11 +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 DC85C2CF17 for ; Wed, 13 Feb 2019 13:45:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387917AbfBMNpK (ORCPT ); Wed, 13 Feb 2019 08:45:10 -0500 Received: from mail-wm1-f68.google.com ([209.85.128.68]:37451 "EHLO mail-wm1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2391063AbfBMNnx (ORCPT ); Wed, 13 Feb 2019 08:43:53 -0500 Received: by mail-wm1-f68.google.com with SMTP id x10so2450625wmg.2 for ; Wed, 13 Feb 2019 05:43:52 -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=l4b9AHscYwHc4AK+X4761NE8PqFk+QkjrMOkHjgIcbc=; b=yLwNqsg0RZWMjaf7xvR7gdoH7WAt1qd3NZAPvdNWCc/v8qGemCvXSW4ClKZLMMXs/w ++TExscX046KdVzvmZdRj1TSGf3h6JiP+yvxz6XMg3gIlWfeCcNUJT9fdxVD6YbbOPEm vkujhqB1yi0y1ce5bJWN24Ii7XiTGIxDNuYipZJXLHv2fonCrMA0BD+LcWLq82UQUn61 Uxfgl8U2odOKTFloiHr9vpygSfsr7M8KRm7ASqxSf0Q70FxuIg66oHqtnOA9xKzpaTu7 XFcphjmXqBmdF4Xyqazge6cXaV3twknJh6ZEhzsSe7viOPSyHeZCNfwPbyTKvaYzTtPV J8Bg== 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=l4b9AHscYwHc4AK+X4761NE8PqFk+QkjrMOkHjgIcbc=; b=VVaVeOll1k4mJ2dg/lfUIjCp1xZymlNgQJTbnLWNPj4UoFdUbCaskbKFJf9y/DllOu c6Hvo+7KRCYXAB/5atDu733UKsVko8Uvq+/MpftW4LRy+ezSmFX1cO1pDZZ1pyVPYLea CX4h7dT9vUxuN08UmxNiXfzbS+vg+R+cOXN91H8unA7qLZZ+SH/TXvNnV9Ox/tF+4yGh I7MgtE5CVAgbbU1mgzoFka+XoOsWBDh/Sn2i73jSmS182LAYWnZSBQdGfgeJ3G7EFVO+ ZgBuYDne9N7dgDmhXy4Cn3Ryy2X8Y/qvt9ISxIxvHkFCWouij70hFF9kihwplVt4grGv cKWg== X-Gm-Message-State: AHQUAua0fgEEJVpnQbomNjmrZjz68kae+kKLLVXh/7xBC2EXhAnIMLfh kOZ+70M9S9PkzKTi5EZ+zhglzQ== X-Google-Smtp-Source: AHgI3IY6HBskRoYDWoYvrYczkpFcgHLUGZkGVX1N0eWAk0J/2GOt5GdKqDbSR0lFn9qiMXURt8yg+A== X-Received: by 2002:a1c:47:: with SMTP id 68mr347390wma.89.1550065431794; Wed, 13 Feb 2019 05:43:51 -0800 (PST) Received: from debian-brgl.home (amontpellier-652-1-54-116.w109-210.abo.wanadoo.fr. [109.210.45.116]) by smtp.gmail.com with ESMTPSA id e7sm2046720wrw.35.2019.02.13.05.43.50 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 13 Feb 2019 05:43:51 -0800 (PST) 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 v5 02/11] dt-bindings: power: supply: add DT bindings for max77650 Date: Wed, 13 Feb 2019 14:43:26 +0100 Message-Id: <20190213134335.10838-3-brgl@bgdev.pl> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190213134335.10838-1-brgl@bgdev.pl> References: <20190213134335.10838-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..16e24173c80e --- /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-input-voltage: Minimum CHGIN regulation voltage (in microvolts). Must be + one of: 4000000, 4100000, 4200000, 4300000, 4400000, + 4500000, 4600000, 4700000. +- current-limit: 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>; + };