From nobody Thu Apr 9 13:32:15 2026 Received: from mail-ej1-f45.google.com (mail-ej1-f45.google.com [209.85.218.45]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3F0392BD11 for ; Fri, 27 Feb 2026 07:15:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.45 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772176513; cv=none; b=Mrno4/mNdjnImDpbUWEkY3fepyEr0we2/UnswiV9dYiw8zYvsyFCDHeaV0oPgfmjhfhMWL6jykYE46EsKtTKoktHdhjGJGDOms9SWU13ZWjztMx3+44vHfj7II91si8cQieAH+bBlK6rSIuRzR1bSsrSrt4CjL6zc9KJ5OwUBuA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772176513; c=relaxed/simple; bh=3JVAjTwT3ohLd4vEPh2z093Td9rgxW04VPfzBtVCgZw=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=h5JhDPPh0e5gjvG0XEryjpKI7m5/fjRboilbp3tPoxE2g6RRUzaWzR6ozA2yiOSn8TpNYNXrjFEuPgLYoif+HZ9UnBUJOO1rO/HoG/9tFr6yBkAmG4xBdkbET2LdrwmZ9CjCXc3kaR+Qw1kkSbX3J5iJjGEWBBzwdOd+JhaISsQ= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=O0xMzaZc; arc=none smtp.client-ip=209.85.218.45 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="O0xMzaZc" Received: by mail-ej1-f45.google.com with SMTP id a640c23a62f3a-b9361c771e9so225289766b.3 for ; Thu, 26 Feb 2026 23:15:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1772176511; x=1772781311; darn=vger.kernel.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=cVZfNr8fycE2VrenjkdzC65ZyvHlcR25n7A+WBQPeq0=; b=O0xMzaZcya6f9y+Bm3XLvOVDdnIz/z9Eu2xZzHFYTDkXYHSKknvXyfHwK9OwJ8UEEE mcXtNSasw0aqtsk9EfuWfzkIF2Cr8RQST9S5qfOmVN5n3lGKAOg+ZrXUc/bHcylqFs/X u/k3hAbjVHLEwv5DQrD/LGtk2LazPm8669zSHfIt+29xBfPmYQPOcDoaRxuSiohAZh+b FlWy49/D+J+f4w9yVfdtDLvOpeXzt3/55o7/x9smLnMGpg9lngSVcTEwLWz48CR0zloj N+A8dNXwXtj/Fvf/qkFVj1kBz7kAtEodlognniKd88Wgy6POH5QkF1TRbDgGBFuepHN0 h/iA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1772176511; x=1772781311; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=cVZfNr8fycE2VrenjkdzC65ZyvHlcR25n7A+WBQPeq0=; b=H4O2CsElE+Tz3yYa7DQYUHHKTOmJEdfCVDGuAlQ49fLq7V6f3lm9WkDz6RAcZ96SVB N/b1tqWcmQfk1Bb8CzQhBKqPxDYDlP+uRKNr/3A2RqwUGHZ3jf8KQnpIUvLQnS3bexjJ B+eGhLwTJdOCm55FdLcTyyjHN33/V6fkZvaxjVnBjaHf86TuGCXAmWKZ5kdaimCpJx+3 iJaF3o2vCqUsIvJEuLpw9Cppaz3VoteoinGDQoCks9k8HHgCxfmlTIXLh7maop1htDIr TbfHkpYukN7JIpFe0xsgzlg4hIhBux1YZ/JSD9+e8gZfP4jH6VkKAQkgx0SeZyR2K5O2 7qmg== X-Forwarded-Encrypted: i=1; AJvYcCWf4MV5QX+4yRZQVPEeE36GbNWimPCu0T0dxtU2gCaJ6MTj8TUY9zhg2XDPk3kGgwHPkUZ4AT6IpvoUM0E=@vger.kernel.org X-Gm-Message-State: AOJu0Yzf3wyPCtGV8iSMw3JA7jlr3ZYrtnFCOaunGI5uMsmVjRBN4hSI hyt+0TSElUlyHEjJ3IRXrpQWmnUYGLxt9jTfpXFAWbsPNoeP4q1cMqiYiEakNKD5eaM= X-Gm-Gg: ATEYQzwWnuF3oBr3rYI9/To/b7UdOs9AdTydWQPjR/Br7UiQhJIoapMjNfAZf2wEbzr aWpuKnGEgBZEHYI+vRhmD13X2nRgZIyRX4HzoHIuW62PlpFXwY3ODK8jUtADWk0hyBXRqskEZzo o6eTPllDhYCG8WlNVe1WfzFNGexsVfklKFtBSKk10EqghjNiJ0t3la+2MEsjEtqHnr4TdCH0DS4 dhmrglJ8amUZ9w0HjM2aW8jj3wphc0n/O10nANH5o/wHurKetqVcun1QafDvqhB4zunaXwsMEhz riz9pljTvcXUqyW1dbM/ScEHpjAq11hfblkVh/hB662VXjzhGQ1nKJ+zEuhkVJT0J/Ie+1Pf5d8 DzMb5MSLkebpGspdEKtqcJXvbsyCrG9SDtAPBkBPNccYrbQky8W9cAoowkFtEbNbRhx0Ywytp0U 44rGyc1VLJNjVIizRGcVeucYwSzmQG/qhmzHMVua3Ufn4tpWSscHoQDCoBd/D58oOeGr3WEQp5z 36F7oHK2H94b/jXkQ== X-Received: by 2002:a17:907:3e9c:b0:b8e:7d43:edd7 with SMTP id a640c23a62f3a-b9376510131mr98725866b.30.1772176510504; Thu, 26 Feb 2026 23:15:10 -0800 (PST) Received: from puffmais2.c.googlers.com (244.175.141.34.bc.googleusercontent.com. [34.141.175.244]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-b935aeee867sm124205066b.66.2026.02.26.23.15.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Feb 2026 23:15:10 -0800 (PST) From: =?utf-8?q?Andr=C3=A9_Draszik?= Date: Fri, 27 Feb 2026 07:15:07 +0000 Subject: [PATCH v2 02/11] dt-bindings: power: supply: max17042: support shunt-resistor-micro-ohms Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20260227-max77759-fg-v2-2-e50be5f191f0@linaro.org> References: <20260227-max77759-fg-v2-0-e50be5f191f0@linaro.org> In-Reply-To: <20260227-max77759-fg-v2-0-e50be5f191f0@linaro.org> To: Hans de Goede , Krzysztof Kozlowski , Marek Szyprowski , Sebastian Krzyszkowiak , Purism Kernel Team , Sebastian Reichel , Rob Herring , Conor Dooley Cc: Peter Griffin , Tudor Ambarus , Juan Yescas , Amit Sunil Dhamne , kernel-team@android.com, linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, =?utf-8?q?Andr=C3=A9_Draszik?= , Conor Dooley X-Mailer: b4 0.14.3 This binding supports the vendor-specific property maxim,rsns-microohm to describe the value of a shunt resistor required when measuring currents. shunt-resistor-micro-ohms is a standard property with the same meaning. Standard properties should be used instead of vendor- specific ones of similar intention when possible. Allow this standard property here, while also deprecating the existing vendor-specific property maxim,rsns-microohm. Acked-by: Conor Dooley Signed-off-by: Andr=C3=A9 Draszik --- Documentation/devicetree/bindings/power/supply/maxim,max17042.yaml | 6 +++= +++ 1 file changed, 6 insertions(+) diff --git a/Documentation/devicetree/bindings/power/supply/maxim,max17042.= yaml b/Documentation/devicetree/bindings/power/supply/maxim,max17042.yaml index 055d1f2ee0ba..25ea8e19b980 100644 --- a/Documentation/devicetree/bindings/power/supply/maxim,max17042.yaml +++ b/Documentation/devicetree/bindings/power/supply/maxim,max17042.yaml @@ -31,7 +31,13 @@ properties: description: | The ALRT pin (or FG_INTB pin on MAX77759), an open-drain interrupt. =20 + shunt-resistor-micro-ohms: + description: + Resistance of rsns resistor in micro Ohms (datasheet-recommended val= ue is 10000). + Defining this property enables current-sense functionality. + maxim,rsns-microohm: + deprecated: true $ref: /schemas/types.yaml#/definitions/uint32 description: | Resistance of rsns resistor in micro Ohms (datasheet-recommended val= ue is 10000). --=20 2.53.0.473.g4a7958ca14-goog