From patchwork Tue Apr 23 09:04:42 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartosz Golaszewski X-Patchwork-Id: 10912431 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 D131D1515 for ; Tue, 23 Apr 2019 09:06:21 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C3D191FE82 for ; Tue, 23 Apr 2019 09:06:21 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B80E7200E5; Tue, 23 Apr 2019 09:06:21 +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 5052C1FE82 for ; Tue, 23 Apr 2019 09:06:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727212AbfDWJGK (ORCPT ); Tue, 23 Apr 2019 05:06:10 -0400 Received: from mail-wr1-f65.google.com ([209.85.221.65]:39492 "EHLO mail-wr1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727170AbfDWJFD (ORCPT ); Tue, 23 Apr 2019 05:05:03 -0400 Received: by mail-wr1-f65.google.com with SMTP id a9so1587728wrp.6 for ; Tue, 23 Apr 2019 02:05:02 -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=MedpQw8DFsDt3V/ORD2drjMi3LvgLvtlXtjB66si/QY=; b=cqy4uiJoGch/a9yBruv3xx6f57TeqskU5aF0iQBzIBHcEOCuC71DDV1W4uJarfunmC gXKEkDFJF2R4YSI8IrH7l3I/uzHfPdEc+hXWKL89nvGfnVzahINSlqLNLUiMNY48DT9P jY/oKgKcO6Mqtwrkkg6TIegemNWSa9KkknYIPv50odQFhqX9U7i9TQFE0d1y8F4bhMQZ 8n+vZpKfL8cgKc3rUc/Snt5K0zTiRzPA35YDoYVZ6JPJV2/9yhJ4UfGsZFbJnI4UtHcM FoOOQUj0l3EM+FrdTdFL6iLYbvZaplVr0TMmxAFuSewNJX3KkKXMX66J1OTwDV3U3ZB/ NMKA== 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=MedpQw8DFsDt3V/ORD2drjMi3LvgLvtlXtjB66si/QY=; b=ekq4Zy4w8bseJ7HL7UgiMmo9hsqTFU46Ltq6P0pjeWl7d+h/AXPUqJt7cNhBLMugwQ QESfcP0kDYXP8vtz6gLtHw1V9C48ll1fy9LLbcs+nC+M6Y+Y+5pQxuIjIg4aLjgjwiNn w0gHRluEw6qrGg6JlsiMg5SVMx9hKAg+jppA5qO8UKu9uYSLJSoddaTqlPXWTYYIxGJa UW4fLK3r/MkYnPPWJaStrHnuZ8NvuD5jgCikjCleOYu4DHoQU3Zx+gbzi3ooH923UYn4 WNuf6vCZx8iNg5numMcAG/YvcPuc+SA3CGMhJz278pP0QW0JeFuyfqfBdwIYNqTF1xnK 3AKg== X-Gm-Message-State: APjAAAX70IvLR2roEGZkxcXXeCHvGLch6dRki6JdaQr/+B+I7pbOiOeN xdUVos76GeV8u785PHxTqhtFkA== X-Google-Smtp-Source: APXvYqzg7hz8sx+qK/JUcn5kAB6BZih/qY9QgDprH/MpI5/1qsS/2vb/Ouszgak4Fst3yVrog3Dpkw== X-Received: by 2002:adf:f390:: with SMTP id m16mr2420365wro.25.1556010301888; Tue, 23 Apr 2019 02:05:01 -0700 (PDT) Received: from localhost.localdomain (aputeaux-684-1-25-101.w90-86.abo.wanadoo.fr. [90.86.250.101]) by smtp.gmail.com with ESMTPSA id v190sm15360434wme.18.2019.04.23.02.05.00 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 23 Apr 2019 02:05:01 -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 v10 02/11] dt-bindings: power: supply: add DT bindings for max77650 Date: Tue, 23 Apr 2019 11:04:42 +0200 Message-Id: <20190423090451.23711-3-brgl@bgdev.pl> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190423090451.23711-1-brgl@bgdev.pl> References: <20190423090451.23711-1-brgl@bgdev.pl> MIME-Version: 1.0 Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@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 Reviewed-by: Sebastian Reichel Reviewed-by: Rob Herring --- .../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..e6d0fb6ff94e --- /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"; + input-voltage-min-microvolt = <4200000>; + input-current-limit-microamp = <285000>; + };