From patchwork Tue Feb 5 09:12:29 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartosz Golaszewski X-Patchwork-Id: 10797173 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 01C2B922 for ; Tue, 5 Feb 2019 09:13:53 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E3FE0205F8 for ; Tue, 5 Feb 2019 09:13:52 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D3AA126E54; Tue, 5 Feb 2019 09:13:52 +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 83628205F8 for ; Tue, 5 Feb 2019 09:13:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728586AbfBEJNv (ORCPT ); Tue, 5 Feb 2019 04:13:51 -0500 Received: from mail-wr1-f68.google.com ([209.85.221.68]:43899 "EHLO mail-wr1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728583AbfBEJMs (ORCPT ); Tue, 5 Feb 2019 04:12:48 -0500 Received: by mail-wr1-f68.google.com with SMTP id r2so2703890wrv.10 for ; Tue, 05 Feb 2019 01:12:47 -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=88EGuRhmZ5Mi0OmBRzcZ/azoI1Z+qLZaZYAJ4dxXFVk=; b=eGaMnuND74wXLrIiIsGtmL4V7SyxvgPB1d+lfQlkxRqxrs58oqhLSZKhSU+9SM8Q9e vtqmUbg5PZ5sHOPQncaN4E7YIDdFw7Gdj9YBkZ0nzWYGI6nTMyNZVjWum6uQh/nasRIq SubDIohX7JjH/cY7tW5T43upuqXhLrkVQnARefsp3v/vODJafEQe6pHnKuGzZtDpo7rB XCprgmy7sdzhT+10Fqzyp1zweCeEw3JzEiwJLm8j3ymvwa5AsHGNxpW8VJywLc8cWV6f HLWaTj7YMPedqKPcjDsDyjhjnSwRlMTxUpI+Oe48s8ZLINyAMRbmFcZ3gTDrjsG7wTq4 8sIw== 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=88EGuRhmZ5Mi0OmBRzcZ/azoI1Z+qLZaZYAJ4dxXFVk=; b=egpAU7gMG40sB0eWeyo4W3yBNzb8Kug2OIeTWgfUCvFdCpBQQWFQVsPJ9NSJxvb5Lh yZQyqmvBt56y0VBVPVj7DvEU22LysYmhusuqia/UNOwlY6vIlAqy3oHm8SdZsLo58per nCieD3hB8iCFF36Zcb60PTETFFCaVo4hU8zcyZuOdf0Bi7l3W1PS8JHYh8IOa/PtIcGI TW7QblUKPPJTLcUVAWGYmfJG2QflQnP1cYXuhPjTrpxK/cd7Ub8/RBF9l6VFabgR+oBi FmHOOat+RiH8fcOJyB9umpv5riXasPWavmzYeEArVMKW59DiaUpOIauxhQHo08x2OzBa yxCQ== X-Gm-Message-State: AHQUAuadN0AeapFgnCfUbep0BWKzHOS62VfhpGVTEkuKip9U+WI56zeg zQAgLmxAaSo5eSOK8u6AFxNFnQ== X-Google-Smtp-Source: AHgI3IbPG3QH2iFJBcBEE9dnz0DCsRdmGeX6TdvxMGeaEnwpcopAVpWc/DuoHe1b6o5Ny1bzD9L9Vw== X-Received: by 2002:a05:6000:8a:: with SMTP id m10mr2716027wrx.79.1549357966521; Tue, 05 Feb 2019 01:12:46 -0800 (PST) Received: from debian-brgl.home ([2a01:cb1d:af:5b00:6d6c:8493:1ab5:dad7]) by smtp.gmail.com with ESMTPSA id s5sm10433657wmh.37.2019.02.05.01.12.45 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 05 Feb 2019 01:12:45 -0800 (PST) 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 v4 02/10] dt-bindings: power: supply: add DT bindings for max77650 Date: Tue, 5 Feb 2019 10:12:29 +0100 Message-Id: <20190205091237.6448-3-brgl@bgdev.pl> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190205091237.6448-1-brgl@bgdev.pl> References: <20190205091237.6448-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>; + };