From patchwork Thu Feb 14 14:00:13 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartosz Golaszewski X-Patchwork-Id: 10812779 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 AC09E13B5 for ; Thu, 14 Feb 2019 14:01:53 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9BAAF2E631 for ; Thu, 14 Feb 2019 14:01:53 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 908C62E682; Thu, 14 Feb 2019 14:01:53 +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 2CD222E65A for ; Thu, 14 Feb 2019 14:01:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731104AbfBNOBw (ORCPT ); Thu, 14 Feb 2019 09:01:52 -0500 Received: from mail-wm1-f66.google.com ([209.85.128.66]:52266 "EHLO mail-wm1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2395083AbfBNOAm (ORCPT ); Thu, 14 Feb 2019 09:00:42 -0500 Received: by mail-wm1-f66.google.com with SMTP id m1so6412162wml.2 for ; Thu, 14 Feb 2019 06:00:40 -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=KouBHCieDSV7idkFJwAAq2H7EglJYSpQY5o99NkrtdQ=; b=HVqgYLXvPJPcpIoBiW40YjVbYUeYGMMBLaPYTxQDS1iNsho/7p7VRhfZJauap0YgPJ +41lFayAOTi5T/wbEyUpFKAeNzVIsdWU0ORhsNPWNPnhkc652759e5zMGe5e8j/72SOo cVKb09atQBxRIk2bO1u3XgRXybH8CrEZrY8A16sQc6tnpNbMdQB9ftLV4YG227/3bhu6 6HjsvMiizLy8Im4ZsAG+24Veyj7EXO9k4/ty42utwJbrQfTWHL7Zrh+TZV5VXBQydJ6z R7YbKch9mFEO1oIn8z2fvNbP1BxojHSJpJ4cfEK5Uw7Pq1GScKegrQ5EkqPLYb1oo2SX N50w== 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=ggUgi/Nzdbuug3RfCroDGLnhn7cft3tKYS7wrYo4FGOxOKuF291M2hk1RMlHJXIkIy oCIqVjZAL2lMVOB0ApZLRBYF27AupgEoNy7G7xiyl4T9PtNUCknsD64mRoufgSTJ430r 0XAr6W102Je7TYfCItCgrIh4t8FmLJxXai47HWAkuTbHwNzMYviYSrSNvIJJtVy/9c7a qPAG4GR49Ua8uehAw3NiUAY6u6b/xIh9O9To2//2rEMcsIcSpWHUee8lJHkNMkEVDL1r ljbeGtOfWmsnW7ajVopmWATeFlZEpTS+OZNVSaK5h+AB+2kessBdfWTSrze+2SrAB7jk yIdg== X-Gm-Message-State: AHQUAuacXklUVg/RRsCITyYi2wxYM3aE5ZHRzPWlzARqSjZOdimPe5fW WoZ5mQOfDOYzYGxZtXNMh8aLcg== X-Google-Smtp-Source: AHgI3IYoOwzAI3EqqjaUJafuaJu68nQAAx9lDeBKFSa0iZXYTN3HUkWXbd9Jum2ZmJI4liXu/+NYhw== X-Received: by 2002:a1c:6788:: with SMTP id b130mr3065123wmc.102.1550152839793; Thu, 14 Feb 2019 06:00:39 -0800 (PST) Received: from debian-brgl.home ([2a01:cb1d:af:5b00:6d6c:8493:1ab5:dad7]) by smtp.gmail.com with ESMTPSA id h142sm3395677wme.33.2019.02.14.06.00.38 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 14 Feb 2019 06:00:39 -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 v6 02/11] dt-bindings: power: supply: add DT bindings for max77650 Date: Thu, 14 Feb 2019 15:00:13 +0100 Message-Id: <20190214140022.19201-3-brgl@bgdev.pl> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190214140022.19201-1-brgl@bgdev.pl> References: <20190214140022.19201-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>; + };