From patchwork Wed Apr 3 09:00:59 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartosz Golaszewski X-Patchwork-Id: 10883091 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 6C1F713B5 for ; Wed, 3 Apr 2019 09:02:42 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 56EEF289B4 for ; Wed, 3 Apr 2019 09:02:42 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4B63B289B8; Wed, 3 Apr 2019 09:02:42 +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 F385B289B9 for ; Wed, 3 Apr 2019 09:02:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726415AbfDCJCa (ORCPT ); Wed, 3 Apr 2019 05:02:30 -0400 Received: from mail-wr1-f66.google.com ([209.85.221.66]:42231 "EHLO mail-wr1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726388AbfDCJBY (ORCPT ); Wed, 3 Apr 2019 05:01:24 -0400 Received: by mail-wr1-f66.google.com with SMTP id g3so20233429wrx.9 for ; Wed, 03 Apr 2019 02:01:23 -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=HApJK7a6SBb5lOZD3+DMDZ0tOFvNqkBPKDw8GEzYb6w=; b=T8gpEi7O6uybru83C1aNyodNZR4ZJDtmJThrmF+0J3+bnYsBRKTtvLomX+LCi4K9PB bLdSy/5kYffjdJsatmTKW7L9O+80JvfvAQye6f5d3k3Wwc1iunk0S/iGjnK+ojMBgXRm urqB7qILcCbjALENyHWpr0lF5oCKzZNP7ivVaTRJ6wmwM52NmUI2xaAIGk9NwOkOFUG7 Q7bNlGv+rBXtHcF/x5mxOzv1M7pAnbfAfGOUw3sdxtlJ/Z5X3srujWZd/IizyZz29Fzj tTAq9UOIKFnPHcuqlCGytzxNgXPk7WV3cuLoMa3nFvj3Z1ySn1Vuo/grJOdpoqhK7lwV KMtg== 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=HApJK7a6SBb5lOZD3+DMDZ0tOFvNqkBPKDw8GEzYb6w=; b=mpZJSJgOsb4nAZA9v/8w8biT0z2P4E+XR5HVD9UfU3iCrW7BR9xWhB3sajtJzfF8CI f+DhEqwVdcI5IUbcdmUfQGgp3CfLlm9qse+sgJiiErOe5DQq5JR2ZpBbIsi/dzEVt9KQ lMGAtVPqP1fj94EjfX3UMBUxFIF2WlRX5vXgJAvRMWPPR7b/2h9O/6lPiaZkggO5kL4u A6W0pNGJPLe6NGE8GoRLVLc4SalyviizOlgV3A4Ej/HyhiMLxVrbt+hph2yjrquIY5ge 2jCxED02xP0ypEbyUjZ5wkj9Kd+NC5lmxwaKzBjwpZU5hVjNtwcunhvTeKB8ACB4BCF5 z8YA== X-Gm-Message-State: APjAAAXuq5oXsHrV1ut3RJgm4L5bV/qrV/FwVp/puRb8OBZvG9mO8bLj P18sCergaCZu0rerRe/hs10Acg== X-Google-Smtp-Source: APXvYqx9R5uGBv4ItqtCdzdMB3frYw9GuPJFwjXcmP+hQAZt8Bu3keTmhNNoW4liaqZHxzI90Hp5Gg== X-Received: by 2002:adf:f6c8:: with SMTP id y8mr28972088wrp.61.1554282082464; Wed, 03 Apr 2019 02:01:22 -0700 (PDT) Received: from localhost.localdomain (aputeaux-684-1-29-77.w90-86.abo.wanadoo.fr. [90.86.254.77]) by smtp.gmail.com with ESMTPSA id v16sm23981998wru.76.2019.04.03.02.01.21 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 03 Apr 2019 02:01:21 -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 v8 02/11] dt-bindings: power: supply: add DT bindings for max77650 Date: Wed, 3 Apr 2019 11:00:59 +0200 Message-Id: <20190403090108.24788-3-brgl@bgdev.pl> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190403090108.24788-1-brgl@bgdev.pl> References: <20190403090108.24788-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..fef188144386 --- /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. +- current-limit-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>; + };