From patchwork Fri Jan 18 13:42:34 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartosz Golaszewski X-Patchwork-Id: 10770193 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 018826C5 for ; Fri, 18 Jan 2019 13:44:47 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E4C3F29678 for ; Fri, 18 Jan 2019 13:44:46 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D89AA2A1F5; Fri, 18 Jan 2019 13:44:46 +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 B844F29678 for ; Fri, 18 Jan 2019 13:44:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727680AbfARNoj (ORCPT ); Fri, 18 Jan 2019 08:44:39 -0500 Received: from mail-wm1-f65.google.com ([209.85.128.65]:36047 "EHLO mail-wm1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727657AbfARNnJ (ORCPT ); Fri, 18 Jan 2019 08:43:09 -0500 Received: by mail-wm1-f65.google.com with SMTP id p6so4545251wmc.1 for ; Fri, 18 Jan 2019 05:43:08 -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=dTSndq9JGcH1Dn9M4h6E0lGXK3kJ2m8mtr89zhshVnY=; b=hU3cVi22UjkEgCs923BIv0KFHTZ19zu4QjP9MhjIac+dk4K4d4tJfyod88ng5xVB/U x+Yvm/ynGMcCsVEcdTXKG1wbXVXR5u3LiSRXFsPjvg5Y2KbOygr8DC4JkB9RLs4JnuCh PEz3eeqLvPNp+7jFKCfzcUU97q8BTICmX5yK/ZsvJS3RjAoNo19fE9KJ6V4yKgd2adMZ XsxAhqdqjsoECFxcQslHPthZjVlbUARIgFYle9K5qg8J7yncHDotdCRpBkVK4almGHb9 DVYtS1cXz4pO7tGRXYrF4C1p5EuEfQg7kwi8vpdqFSUHbH8Tz4cIgLYeyp4UbSMCjMcy NKvg== 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=dTSndq9JGcH1Dn9M4h6E0lGXK3kJ2m8mtr89zhshVnY=; b=cDts/QJEkJW48avElr8lAR4UdYaZwVZ29VxQ/n5Q61fKf3Fed5yT4gcgGsIu16LSa7 4vnpX4VFZRcYwUAl1mjnHcOrZpj0c/PCo7qL7gpa0IgGLY1f0oSxyspI5tb/+aTrSAka C+/j5fszKPWrs2ACSOY4BvmBd5imIaY7MfIGtj1V8Noi8XGuT9ehr3yGtGGEoidJIcEw zaVwhHkFrgFd1snu36+emaSmJrKkShbVqEkO/MVXKVbRVudHf13Tefq2YLUtnbD+R//d sws7O/Of23YPHiq/YYhy7atgZcyDpUG1MvB5ahJCxLW2C6kpNgLpKOiHjY9Ni35TVaAt IF1A== X-Gm-Message-State: AJcUukc8BS30xJ/rPb/QOjYiBkGJo8BMWF2LifF+KR6lNiSmnN7qPIqA WhZ8XEsW92vHR7FFQVXn+mw16w== X-Google-Smtp-Source: ALg8bN4BN+uE2HPWfvIuIcY8nRDloRrgnv3ezNiGx9VnouVtpaD0B2z+3ASSBl0vz3BupBm2aMLTPg== X-Received: by 2002:a1c:a895:: with SMTP id r143mr14968529wme.95.1547818987673; Fri, 18 Jan 2019 05:43:07 -0800 (PST) Received: from debian-brgl.home ([2a01:cb1d:af:5b00:6d6c:8493:1ab5:dad7]) by smtp.gmail.com with ESMTPSA id a132sm51033934wmh.5.2019.01.18.05.43.06 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 18 Jan 2019 05:43:07 -0800 (PST) From: Bartosz Golaszewski To: Rob Herring , Mark Rutland , Linus Walleij , Dmitry Torokhov , Jacek Anaszewski , Pavel Machek , Lee Jones , Sebastian Reichel , Liam Girdwood , Mark Brown , 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 03/13] dt-bindings: power: supply: add DT bindings for max77650 Date: Fri, 18 Jan 2019 14:42:34 +0100 Message-Id: <20190118134244.22253-4-brgl@bgdev.pl> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20190118134244.22253-1-brgl@bgdev.pl> References: <20190118134244.22253-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..f3e00d41e299 --- /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: +-------------------- +- maxim,vchgin-min: Minimum CHGIN regulation voltage (in microvolts). Must be + one of: 4000000, 4100000, 4200000, 4300000, 4400000, + 4500000, 4600000, 4700000. +- maxim,ichgin-lim: 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>; + };