Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp2123343pxb; Thu, 11 Feb 2021 05:08:16 -0800 (PST) X-Google-Smtp-Source: ABdhPJxxRdR+JmL3/Pq01tIIeLkvxvavtX5Q9oIjBzQLPE+1xA58JVn2tUiVH0FsnQlJJoRi9+HK X-Received: by 2002:aa7:cd62:: with SMTP id ca2mr8289583edb.94.1613048896242; Thu, 11 Feb 2021 05:08:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1613048896; cv=none; d=google.com; s=arc-20160816; b=ZI7z3cUWYTGCjiJDMMOCbIhmHLMjH1UeWEt0cdpJDgI2Ca5TqqWTx8ERElZnDy2Xdo 9BDEEDDE20lkVOS9nqmBLReiqt17E2bqvH2ktL4dUlZWKi7TtNn0mSGXX+CAVOmdLUbp EPPXMIacqqzz5dyR6Zpz7G40wkGBsHpU95C0n1O1aPj14ZBe+bRI9RRkVcCoqIpUVTdX d2XQ77TWK3jAU/eQfIwn3c2R0jWRf1Ij6fUzKERoZmlO4gg2dBEwhqJF4PurBuiUeIvN pRUQbNwBUa24zZOJc92L9EF+3/Nvr55Yhb3IPcC4eu32YxCqqMtH7H82NhWWSQqX+p5N nbKw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=NPjb16F/Enmos5BdXGztjXZs5CJCxN0wXp5AiXsE5FM=; b=p/I8nGxqjMX7ogj/VAQJJ+R+Pqy/pdfI88qZM9BDJr/OC6Pxj1x+I4YpP9J563eK4c LTpTMN+zuQofE2IRyp/jpbb8Yre22GkeT1k3P7a5Qxfu5WBmlkuy3wtRRD/ovo9DT+1x evkci3IUyvCRYzMhAEtyGvSJMls80+gPzJYMsLfjo7iPm/5/er6XxYa4OIIXG1WeCmgQ 8Tf/S39yzcxItjehrVhSF68ltcVSmViSa8igVB2GWisMMZ/r1M6I/a0w6AcgYmNvvux/ wSPrG049AnqhE05b1mMVm/PxOUBQqO21MC2g4vDrr5zXkfjAyNxYfrgjbunqZcyqkjle R+Gw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r11si5027924edc.353.2021.02.11.05.07.50; Thu, 11 Feb 2021 05:08:16 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231150AbhBKNE3 (ORCPT + 99 others); Thu, 11 Feb 2021 08:04:29 -0500 Received: from mail-lf1-f42.google.com ([209.85.167.42]:43524 "EHLO mail-lf1-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229845AbhBKMge (ORCPT ); Thu, 11 Feb 2021 07:36:34 -0500 Received: by mail-lf1-f42.google.com with SMTP id d3so7811776lfg.10; Thu, 11 Feb 2021 04:36:13 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=NPjb16F/Enmos5BdXGztjXZs5CJCxN0wXp5AiXsE5FM=; b=LzCWrBu9qKDT9oP5u0Ie+I/kjjHSYbZy/kH69OcFuEasyWp6sqmGsZQLtOfYVZlfJZ Kxf9bLiFz+/+sqgP/069dEzl2cK0ncpyAj34dHNBUcHIEl0TAp0ZD/6EUdD6pAzDTAIz YNx1Kc5+DIjALiO3Ynj6kq18zEM0I7GiDXBeM/pVZSalD/x0+g7Ai7OIcoX44dSGQkkp iLZLVcIbdtuEDlVljRotceLUlemTagWcpDuaLvQxmJCy7zI19gGBmiOgcWYVIpPKDHNM nTrNiiUSjJXxevKrNs7RXw0M4L1pnYKyBIO4AbppSrdupAfspIGZM+r662m9EeolBWbG c+HA== X-Gm-Message-State: AOAM532dMZPQswrG9gQXCA67UmKFbuOlnXMpBRnQw1DVbV1hZzLLKWxG 7Aadl6NDRKl3NYcTJkAtolk= X-Received: by 2002:ac2:5df1:: with SMTP id z17mr4107208lfq.124.1613046948259; Thu, 11 Feb 2021 04:35:48 -0800 (PST) Received: from localhost.localdomain (62-78-225-252.bb.dnainternet.fi. [62.78.225.252]) by smtp.gmail.com with ESMTPSA id n7sm631989lfu.123.2021.02.11.04.35.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Feb 2021 04:35:47 -0800 (PST) Date: Thu, 11 Feb 2021 14:35:41 +0200 From: Matti Vaittinen To: mazziesaccount@gmail.com, matti.vaittinen@fi.rohmeurope.com Cc: Liam Girdwood , Mark Brown , Rob Herring , Matti Vaittinen , Andy Gross , Bjorn Andersson , linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-power@fi.rohmeurope.com, linux-arm-msm@vger.kernel.org, linux-renesas-soc@vger.kernel.org Subject: [RFC PATCH 5/7] dt-bindings: regulator: bd9576 add FET ON-resistance for OCW Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org BD9576MUF provides over-current protection and detection. Current is measured as voltage loss over external FET. Allow specifying FET's on resistance so current monitoring limits can be converted to voltages. Signed-off-by: Matti Vaittinen --- .../devicetree/bindings/regulator/rohm,bd9576-regulator.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Documentation/devicetree/bindings/regulator/rohm,bd9576-regulator.yaml b/Documentation/devicetree/bindings/regulator/rohm,bd9576-regulator.yaml index b6515a0cee62..ad3f57e9cd9b 100644 --- a/Documentation/devicetree/bindings/regulator/rohm,bd9576-regulator.yaml +++ b/Documentation/devicetree/bindings/regulator/rohm,bd9576-regulator.yaml @@ -27,6 +27,11 @@ patternProperties: Properties for single regulator. $ref: "regulator.yaml#" + properties: + rohm,ocw-fet-ron-milliohms: + description: External FET's ON-resistance. Required if VoutS1 OCP/OCW is + to be set. + required: - regulator-name -- 2.25.4 -- Matti Vaittinen, Linux device drivers ROHM Semiconductors, Finland SWDC Kiviharjunlenkki 1E 90220 OULU FINLAND ~~~ "I don't think so," said Rene Descartes. Just then he vanished ~~~ Simon says - in Latin please. ~~~ "non cogito me" dixit Rene Descarte, deinde evanescavit ~~~ Thanks to Simon Glass for the translation =]