From patchwork Tue Mar 26 17:31: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: 10871763 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 DFC0D1390 for ; Tue, 26 Mar 2019 17:33:55 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D26A228AB0 for ; Tue, 26 Mar 2019 17:33:55 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C6F2C28D25; Tue, 26 Mar 2019 17:33:55 +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 7FACF28AB0 for ; Tue, 26 Mar 2019 17:33:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726266AbfCZRdx (ORCPT ); Tue, 26 Mar 2019 13:33:53 -0400 Received: from mail-wm1-f67.google.com ([209.85.128.67]:55826 "EHLO mail-wm1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732003AbfCZRcZ (ORCPT ); Tue, 26 Mar 2019 13:32:25 -0400 Received: by mail-wm1-f67.google.com with SMTP id o25so13539974wmf.5 for ; Tue, 26 Mar 2019 10:32:24 -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=W6m6QUwPm95HDuN9+yw7fF14rWdHdRE1dw7z5w3mpl8=; b=ElefbW/ArTJWxjb/ix+I51tTnryYGOefPEiSyeObwOnkED5d1dSIgi2CXxn56X2Gw+ 5NfCl2nEKl9Gvt4k9ttcSa3RTGi6Xi/EaNXEB4sp5uo5yS7YdX5J3aiBbhzNjnag2jZs Of5m3UJNhj3UHAtbQfLN/h/IvjD7Zz10tTGEhSNFKtDSd3sxRidUyEXtPCPt8OlMCWej QhfpxJc439aSW00kaSUCyZch8Y2MDAbrSJ0u6rHsbAOOkL3636GhjtHPukgwgeTyVt28 7tV994xx4ZVPCmk3sVjMOyeFDQ0Sb1hSSSdbeo++rRfxYV973OZQ8Jx5cEctKPKo1G3Z 9+7A== 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=W6m6QUwPm95HDuN9+yw7fF14rWdHdRE1dw7z5w3mpl8=; b=g3LSBKNUrjq0dX1ghgmhlviuPltPYei36Q9HY22mvWVDlFb2jnatF7SYjzl5E097MG UGzZudnQqK1/XpsOx/KSEzO07eJBCUcUXhmfSg4xAtxKIiTnhuz/ErvUTDQsY2AuZLP/ ZMlPeaV09OfnxQRS8hwSr9Y4Xb9pYGyEdX5001c1cKzyfMyTH7lPDUV674+Fqqx5dCj8 +e0vgz0WRtGFJmniU7z3ZyYlQUwqpKdZ444Hp93RWRUS2vJe7NBkKM4WvFso3JQJKBVc aXZfLjIpHsmnHxcqwQ2ApOjWn4NfG5xVJkW1XV6RwQxPOzDRRTWqnNkH5vkgv2+zPWW3 XpsA== X-Gm-Message-State: APjAAAUrB45BHdp9a7Oq84RnXkpXdPX7VQX2itH5BJTZ5zdtwKDMdnHS TJC4ak+JvGZI8Idc+Vpqb4GogQ== X-Google-Smtp-Source: APXvYqxk5XkIUE4KtdY1xdlnW976IqAEcWOy5gCTeaLs6LmyTpUQoAnq5VtUrxSYOmicCtvZoOX2Zw== X-Received: by 2002:a1c:9c14:: with SMTP id f20mr9809480wme.16.1553621543712; Tue, 26 Mar 2019 10:32:23 -0700 (PDT) Received: from debian-brgl.home ([2a01:cb1d:af:5b00:6d6c:8493:1ab5:dad7]) by smtp.gmail.com with ESMTPSA id 4sm2534541wmg.12.2019.03.26.10.32.22 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 26 Mar 2019 10:32:23 -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 v7 02/11] dt-bindings: power: supply: add DT bindings for max77650 Date: Tue, 26 Mar 2019 18:31:59 +0100 Message-Id: <20190326173208.30614-3-brgl@bgdev.pl> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190326173208.30614-1-brgl@bgdev.pl> References: <20190326173208.30614-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>; + };