From patchwork Thu Apr 11 12:42:03 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartosz Golaszewski X-Patchwork-Id: 10895885 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 4DA00922 for ; Thu, 11 Apr 2019 12:42:27 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3022128D09 for ; Thu, 11 Apr 2019 12:42:27 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2CF9F28D11; Thu, 11 Apr 2019 12:42:27 +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 BCC7C28D09 for ; Thu, 11 Apr 2019 12:42:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726808AbfDKMmZ (ORCPT ); Thu, 11 Apr 2019 08:42:25 -0400 Received: from mail-wm1-f68.google.com ([209.85.128.68]:35707 "EHLO mail-wm1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726789AbfDKMmY (ORCPT ); Thu, 11 Apr 2019 08:42:24 -0400 Received: by mail-wm1-f68.google.com with SMTP id y197so6514751wmd.0 for ; Thu, 11 Apr 2019 05:42: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=thktmtrBxCOzAR5GwyGXSpdkH1/7+Qf2imSJbDAJhEo=; b=jI/91yI3JR7wB3EdmgFz0vMNuocykerMGWB49lRaDKaO7vFd3Lglu9tXlOVvXxMxfs Y/Cw4MJGM7tZLECX03/M4MLQERdnuWJUybZaiE6Hb4xRD54XfXY+/asMx8Y2E4nP8W82 oNrL6Q7jQcNON21vfL6KFu1jPKg4htdUTuHDflGaNnQSzWyHE8fOR+efj+sq4R+MPTB5 KZDBgIqeAQ1cTAyKwPffCS5bqdjBno/DANqjD3XZXQ1qSkNVnz3uU8HnX3T+Fs9Y/zfx 5WWKm/ESljDk/vdSQSpF409DP2JTR0CAE6hrGKpUucR1nnLWrwJrsUJ3JoakrYPNTCqr BTZQ== 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=thktmtrBxCOzAR5GwyGXSpdkH1/7+Qf2imSJbDAJhEo=; b=jSEkXUCaOXs6NZ+oXsgXE69cRHNW9xUDdWkuUry3YINJnkhRT+T0GW1kYhnKBhnIx4 R161pAtb9pWKeze8CQn3c0ef0AOF9X43rYUwCDrKdzm0phkwYPCPKJq1k6fso6sscOAe wHp/Iwjj7hEhlC48bJ/H/P7S/msztbmRfyeO9I9hRk+hBZLDVrvknvPJ2bbVCCnkJdRf 0RwO3ERHCJZZpqiJ/qU8bEGqMEE0pWVKYgaYDjyNdJ5HtydLIBwSpQMDBbbCzQTJL4Fy 69K3ckuyWPQ4CYDEJVk7/UY2iI/2jciF7WmutpQsBbJR/bTO/6Zp7J5PDhjRS1QgsxWT TNyA== X-Gm-Message-State: APjAAAUyInHm1NzPA1MT/qVsbSFBSNSRzu0r6W4f9soGlviK1YTcrBM4 Ar1VZlIpe5fTPmPt1H3r8+D86g== X-Google-Smtp-Source: APXvYqxsFyI0BkvQcC7kZTrnrKzM5dpg0VvpNJzhKOOqlnn3UNp0/BucnlztwvyCdY24UfJU29BJfQ== X-Received: by 2002:a1c:4d12:: with SMTP id o18mr6185849wmh.81.1554986542736; Thu, 11 Apr 2019 05:42:22 -0700 (PDT) Received: from debian-brgl.home ([2a01:cb1d:af:5b00:6d6c:8493:1ab5:dad7]) by smtp.gmail.com with ESMTPSA id d4sm32894510wrv.42.2019.04.11.05.42.20 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 11 Apr 2019 05:42: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 v9 02/11] dt-bindings: power: supply: add DT bindings for max77650 Date: Thu, 11 Apr 2019 14:42:03 +0200 Message-Id: <20190411124212.7612-3-brgl@bgdev.pl> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190411124212.7612-1-brgl@bgdev.pl> References: <20190411124212.7612-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 | 28 +++++++++++++++++++ 1 file changed, 28 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..821a2240e70f --- /dev/null +++ b/Documentation/devicetree/bindings/power/supply/max77650-charger.txt @@ -0,0 +1,28 @@ +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: +-------------------- +- input-voltage-min-microvolt: Minimum CHGIN regulation voltage. Must be one + of: 4000000, 4100000, 4200000, 4300000, + 4400000, 4500000, 4600000, 4700000. +- input-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>; + };