From patchwork Wed Dec 23 13:42:43 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Timon Baetz X-Patchwork-Id: 11988317 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-10.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id AAA57C433E0 for ; Wed, 23 Dec 2020 13:44:14 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 730F722D57 for ; Wed, 23 Dec 2020 13:44:14 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 730F722D57 Authentication-Results: mail.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=protonmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:Reply-To:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-ID: Subject:From:To:Date:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=flhTLaENmENu+tNnUxnuGs77W4T4XCcb7gr3Gm7Sw0w=; b=0yMr8iAYnf5ubriKx+uKfBGpbT plHOT/+NEO0TwW46IA+JMd0nXw+MVXchiq2yKcCK09NGDraOUXBgQvoe9TMtjq5HnAxIWNzU4YyLm 7KXYqdW5tFrkpoad7uTkzw4DT3ofqvXtHejQAGhiuSXw9Tegm9WeYmHEIBQbfMPTxjDPkNjrskWt8 rG6hJUHRBKqEmrHWiwVOQTjsnLMvgmo9hNq4832yK23VDr32LOho4PtY5azSaabmmdpQtJd7V1ptq R5itBs+ahApXzJ8tONhQIbi1g05rkIQjP/+Q083vqOB1Gd/43be1mczd2d8KYGajPL/S3jazpMrIf WvtUuuow==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1ks4Ps-0005r7-3D; Wed, 23 Dec 2020 13:43:00 +0000 Received: from mail2.protonmail.ch ([185.70.40.22]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1ks4Pp-0005qh-5x for linux-arm-kernel@lists.infradead.org; Wed, 23 Dec 2020 13:42:58 +0000 Date: Wed, 23 Dec 2020 13:42:43 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail; t=1608730975; bh=aKEZ6Y7hUJjLgA6UhaG9WsQDLOLZhvYODKCTOR/CdWg=; h=Date:To:From:Cc:Reply-To:Subject:In-Reply-To:References:From; b=aI7F5P6rOTd2EZnyyFWVpr4Rg7nqWUKDMsBU7uDXgclISt+DVRCaawPBgeFJiU9CZ gnvZaOSWyRnLnRcucLqSOeNbiTJbziko1JwblTe03cgL2LDC0Z8hoke0I5ZB6Gvs4+ tQALQ3dKSOIMeJDx+nTcvtUE1fd7Ne0R7XcPvhtA= To: Krzysztof Kozlowski From: Timon Baetz Subject: [PATCH v4 2/7] regulator: dt-bindings: Document max8997-pmic nodes Message-ID: <20201223134221.804943-2-timon.baetz@protonmail.com> In-Reply-To: <20201223134221.804943-1-timon.baetz@protonmail.com> References: <20201223134221.804943-1-timon.baetz@protonmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201223_084257_352908_3B3992BF X-CRM114-Status: UNSURE ( 8.29 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Timon Baetz Cc: devicetree@vger.kernel.org, linux-samsung-soc@vger.kernel.org, Timon Baetz , linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, Mark Brown , Liam Girdwood , Rob Herring , Sebastian Reichel , Chanwoo Choi , MyungJoo Ham , ~postmarketos/upstreaming@lists.sr.ht, Lee Jones , linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add maxim,max8997-battery and maxim,max8997-muic optional nodes. Signed-off-by: Timon Baetz --- .../bindings/regulator/max8997-regulator.txt | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/Documentation/devicetree/bindings/regulator/max8997-regulator.txt b/Documentation/devicetree/bindings/regulator/max8997-regulator.txt index 6fe825b8ac1b..faaf2bbf0272 100644 --- a/Documentation/devicetree/bindings/regulator/max8997-regulator.txt +++ b/Documentation/devicetree/bindings/regulator/max8997-regulator.txt @@ -53,6 +53,18 @@ Additional properties required if either of the optional properties are used: - max8997,pmic-buck125-dvs-gpios: GPIO specifiers for three host gpio's used for dvs. The format of the gpio specifier depends in the gpio controller. +Optional nodes: +- charger: Node for configuring the charger driver. + Required properties: + - compatible: "maxim,max8997-battery" + Optional properties: + - extcon: extcon specifier for charging events + - charger-supply: regulator node for charging current + +- muic: Node used only by extcon consumers. + Required properties: + - compatible: "maxim,max8997-muic" + Regulators: The regulators of max8997 that have to be instantiated should be included in a sub-node named 'regulators'. Regulator nodes included in this sub-node should be of the format as listed below.