From patchwork Thu May 30 08:55:51 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Artur Weber X-Patchwork-Id: 13679971 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id CB489C25B74 for ; Thu, 30 May 2024 08:56:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References:Message-Id :MIME-Version:Subject:Date:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=sXkq76VrSOO5VsMPLrqoCtfsxMSFeSuyYpNcyKpd06U=; b=zZ/xXbhT4Gi5e/ gZbn+0jPuZdBCq1C52yfphI6y/yI9HelJdjM6zb9vqlB5UNsXKpxU6mb8qCctOUrkPm7rXpfyNCWA cAC/LcikduySOZBeKLK4HEsDAmP2UBq0hNL31gTv5/LPIiQsYHGc7eU9B2QLqtvcOFY8Ht3yA/M7z RyIrvPt53bfqNWHGu39f28jduwXvrf+nF3zcU+ApcDpfHQ80MWvq/Fwic1aF4lfpioAYZ/fz6Sba1 kBA/JZ23buu4lf/8XehOTMhBFdTBKek7WkcPXcpnQPebVNuyM8aPoK3HqU01G16HD5Igo/AJtR5T4 qy3NUL69YJDRrotwueAA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sCbaT-00000006hd9-2VIX; Thu, 30 May 2024 08:56:41 +0000 Received: from mail-ej1-x630.google.com ([2a00:1450:4864:20::630]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sCbaH-00000006hYR-2UaV for linux-arm-kernel@lists.infradead.org; Thu, 30 May 2024 08:56:30 +0000 Received: by mail-ej1-x630.google.com with SMTP id a640c23a62f3a-a62db0c8c9cso51036266b.2 for ; Thu, 30 May 2024 01:56:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1717059387; x=1717664187; darn=lists.infradead.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=2N+Ye3RWAGURspV1/ZdjrT1yzduMmRZpH0IPoATU19E=; b=BdHGjEy/qkJ/f/lHOPwIcAregG5JH2ZHZPy2XQSGeMb2HuWv9jvZFMo4xlBsssD/Zi DGu2WqzJWCSPws6wHWoDnh6ZQYAtXSGDJ5BLWMsbJ522JA+JJfgrAbZei75rOU1nswLW kyLIKsFc7kNUC2KboHeKxlHbtpSSHcbQuSszo0jk2n+muwKKocfkS3jWsgRuGsEHYumu Qh7bvFhi1r4j5JSPVdyFT7BsKsIe5tKV/ZuW7lkbP/nRb5J4uRnVHbiaO1f8Y2lhBP7F cfsYASIec3RYOszqDBQpYiXmg0EJ8mZhrDxF0aBVJ8OwnhpSJmIfK+zdmAY2fg8Y4hBA 3qRg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717059387; x=1717664187; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=2N+Ye3RWAGURspV1/ZdjrT1yzduMmRZpH0IPoATU19E=; b=AzyGwzn3nOGZ6pr7F0rnqoN5OyH7p7UOj+4HDJHVUtWSU56zUyVnRA2ejNizPLm47D pXagJeCZPHzmwkcfxImh8FdRM+HEi2zuJGzgJQx0zPZswuO3ScEU35GptpzKkiwXpYWG 0YmHzQ3/CTpq/7KajdP5e8wzXEdQQ6g6Iwz/cluNwjEiSKmk6KV573czmFxR+HYSKZv3 jpwv/RF0MD6tKl4trGiQQcCc1a/0LH0FP+1qfg+h699QR8HntuL6au97zSPu2wU2k3kQ 4ZRdPeRpFB258Hjbpr16kMamvaYxfq6XqOz+hmVvtR0Y03lxx6bRxO4Cf6LM/pJlf5/C 6O1g== X-Forwarded-Encrypted: i=1; AJvYcCVWgDlawsdVb/tP7ULiWGBuorzBjfAnLdkrbuGu51c/Qls4XY6xVs6SqsHnlz4rwdXtelIyw2uD1ru6Nm1DKR6kIZEZfDr6oU07eavtUH6A2TyNWrA= X-Gm-Message-State: AOJu0YyYMjlcp5lRA0Tsp0bfjBvKH31WetMa0+CKN6oFJGRkZx48MTkE bJFCt8Ozue4GqWeblxXbJcNSaZ9Ji/sYx/b1JDEXHF42v/8AM9fO X-Google-Smtp-Source: AGHT+IHyS9Qs1kepjHUHXQ9aTRVCxMOeETyLoYnij3nd0Zx182VoZWHIgOSIq7cw0Jq3QCpsyGoctQ== X-Received: by 2002:a17:907:778a:b0:a63:7efd:8ec8 with SMTP id a640c23a62f3a-a65e923ee67mr170948866b.70.1717059387252; Thu, 30 May 2024 01:56:27 -0700 (PDT) Received: from hex.my.domain (83.8.128.191.ipv4.supernova.orange.pl. [83.8.128.191]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a626cc500a1sm798430166b.125.2024.05.30.01.56.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 May 2024 01:56:26 -0700 (PDT) From: Artur Weber Date: Thu, 30 May 2024 10:55:51 +0200 Subject: [PATCH RFC 01/11] dt-bindings: power: supply: max77693: Add fast charge current property MIME-Version: 1.0 Message-Id: <20240530-max77693-charger-extcon-v1-1-dc2a9e5bdf30@gmail.com> References: <20240530-max77693-charger-extcon-v1-0-dc2a9e5bdf30@gmail.com> In-Reply-To: <20240530-max77693-charger-extcon-v1-0-dc2a9e5bdf30@gmail.com> To: Krzysztof Kozlowski , Chanwoo Choi Cc: Sebastian Reichel , Rob Herring , Conor Dooley , Lee Jones , Krzysztof Kozlowski , Alim Akhtar , linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht, Henrik Grimler , Wolfgang Wiedmeyer , Denis 'GNUtoo' Carikli , Artur Weber X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=ed25519-sha256; t=1717059384; l=1078; i=aweber.kernel@gmail.com; s=20231030; h=from:subject:message-id; bh=4/v4Yl10Sn2/85JqCalyxo+mnQfcdDcS7xIXZOrC7ic=; b=sKpGCUSVFKBncgtLjB7f/kEoxXGDMoNCSfXcuMN/D1NHxakSVBPwZ+t+uFWNO/Kj7a08w2LHV JP8o7ylKyIWC+u/A+J9LWEntsVmE7li0U3zho1hqAtywGVb74KMqq0J X-Developer-Key: i=aweber.kernel@gmail.com; a=ed25519; pk=RhDBfWbJEHqDibXbhNEBAnc9FMkyznGxX/hwfhL8bv8= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240530_015629_671125_2D193EAC X-CRM114-Status: UNSURE ( 9.34 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add the maxim,fast-charge-current-microamp property, used to specify the current limit to use for fast charge (when plugged into a wall charger). Signed-off-by: Artur Weber --- Documentation/devicetree/bindings/power/supply/maxim,max77693.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Documentation/devicetree/bindings/power/supply/maxim,max77693.yaml b/Documentation/devicetree/bindings/power/supply/maxim,max77693.yaml index f5fd53debbc8..4f80cc5418f5 100644 --- a/Documentation/devicetree/bindings/power/supply/maxim,max77693.yaml +++ b/Documentation/devicetree/bindings/power/supply/maxim,max77693.yaml @@ -56,6 +56,13 @@ properties: maximum: 3500000 default: 3500000 + maxim,fast-charge-current-microamp: + description: + Current to use for fast charge in uA. + minimum: 60000 + maximum: 2580000 + default: 500000 + maxim,charge-input-threshold-microvolt: description: | Threshold voltage in uV for triggering input voltage regulation loop.