From patchwork Mon Mar 18 17:42:19 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartosz Golaszewski X-Patchwork-Id: 10858357 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 AE8BC1390 for ; Mon, 18 Mar 2019 17:44:16 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9B9FA2939E for ; Mon, 18 Mar 2019 17:44:16 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9020D293C1; Mon, 18 Mar 2019 17:44:16 +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 2A2822939E for ; Mon, 18 Mar 2019 17:44:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728112AbfCRRoP (ORCPT ); Mon, 18 Mar 2019 13:44:15 -0400 Received: from mail-wr1-f65.google.com ([209.85.221.65]:42643 "EHLO mail-wr1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727850AbfCRRmh (ORCPT ); Mon, 18 Mar 2019 13:42:37 -0400 Received: by mail-wr1-f65.google.com with SMTP id n9so13972529wrr.9 for ; Mon, 18 Mar 2019 10:42:35 -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=KouBHCieDSV7idkFJwAAq2H7EglJYSpQY5o99NkrtdQ=; b=ZPPPvL3sR/4zgjsZNfE25S5k4HFsc8d0UyqcHXUi9IPBJUg8EtyFwqavCwBiZ1jYyj VSPC7d+OFxUcZkEEHs7sG9lXnXKaKNzRjdg1g/zNRrZKQ3o8D/VR7KHKxQiXCIn1TSdG 0YRveVd1Ng88RPNaqpUr/IqY7NhyCvuKsj7Bb9EzyeL0Q9HBEMn7jk5TgdfqdjqnNv43 fjgU6WTHaKuOyfNaqq2ynG8O6o8Fj6wz7ot2IT8vyBjLchSxmxDTmDu0/kI7PW71r7De rcSjpm/Ke1yCzZAnuf0F09OqAh89eAbOeTvms+Y+bX5yrBTDCgoeta9x2cL2CBW77SYc BuPw== 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=GUwdTnTrVdDI0VsbAsFnzbVuNp9MhGItW6ArLEevu1C9bZW+AKM8a7JzazsHb5WD41 H7uQfAcYSCJUhQhZt5Oez1E61SRONn4k8cp/hBj9YI1WiV27NIsjpU+r8mIx6S4XwsIz s23oMmERpQnlthTLvWJvD6zugGNz4ZSzvcOyHEE7dMuFlMejCKsQEdEUtWSDZ7jRze7G 0yXi1lEq1Ww/1DIDqOGfyXoTDU+3GMqaiGu93i0oIOnHk/+6vKSbspiE3daOGOOF05PL +QJjWTvSW7rGfN9+j4BW25PV5vrgMNPKD9agh1SvXYGxpDNE0+n31V9npaU62fYQKY4G c0hQ== X-Gm-Message-State: APjAAAUnKYztUkQTy2m2yqgt/SEotGqgSuvHnFTTS6JiHTXn6CArUdcq Lt97MBiJVsblVRpXvSz3uNgzo+73M7M= X-Google-Smtp-Source: APXvYqxY7VJT4IATEvCgkJ3hr4R5vjIOfQ5r2GtjjltpSGItLoNblyMUYH2oN/16xqZargkaGMXt8w== X-Received: by 2002:adf:dc4d:: with SMTP id m13mr13749090wrj.330.1552930955353; Mon, 18 Mar 2019 10:42:35 -0700 (PDT) Received: from debian-brgl.home ([2a01:cb1d:af:5b00:6d6c:8493:1ab5:dad7]) by smtp.gmail.com with ESMTPSA id g24sm14873909wmh.45.2019.03.18.10.42.33 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 18 Mar 2019 10:42:34 -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: [RESEND PATCH v6 02/11] dt-bindings: power: supply: add DT bindings for max77650 Date: Mon, 18 Mar 2019 18:42:19 +0100 Message-Id: <20190318174228.18194-3-brgl@bgdev.pl> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190318174228.18194-1-brgl@bgdev.pl> References: <20190318174228.18194-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>; + };