Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp7560pxj; Wed, 2 Jun 2021 22:46:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxw5CC3OryQwXgMQ3ylSZtxESTLyEYRo/nNM6eYfu6anjU2M1TfS5Z9WmZLaMZJRZpSvg0u X-Received: by 2002:a05:6402:2686:: with SMTP id w6mr42527390edd.80.1622699206974; Wed, 02 Jun 2021 22:46:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622699206; cv=none; d=google.com; s=arc-20160816; b=GX9YFELTN7jKl9+4PLuYbKj6fQ3YPO0NTs6Qu+Jb0Apige9t8ZtadqSIL5FfkR8FT6 uuIIcnPjmf7b7i8VhTGxt5hJREC2yaH/Xk+sGq15hVd4yfDaQWC7TqbBiKWHZ+bfLqbq g3X8hcyfNgCVlFU6z2FmYEU7mgqSKqSSZokLFQP7TizCJEfl5w04O7TuSb/SFzatjrRm xlUKW+BYUr6OsRxW89zqmJGTAUlhj8z96MzZ5hMYJYe86byIi1LVEfChICEBUjRi2NQu cLRaLyW50nhPwseyBmOjdPiVlQE7u+uutU/PcD1pKPW4z29cpRdTtVFuwu3r+x1egsCw ggFg== 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=GmQChLFQPkkLEuM3wwQNXLDAlDpU960H+8gaxRMHHiA=; b=yM4VQboH6SRc7KjrFgA/WBFhSl67gPpIpO0om6foEjX8zIK2x4hIlZXrLQR/5T0FKn mOkPMWCXJpu0NlXg5Ook6f6FP4AxVxBue/5PrUUHma6RSF6mJbC+u47iydDP1TmFWzvY x5JxmWRALQHoS5AbdBZc7gQyOrjLJjET0qsi9xhxvaDl+7cjdnYRNT9CaUj6XrSf6rx+ gaRCiCTmIrNqWYltobZfmwzp8SXy9bpTsJq1O47oZy2fZv6DDku38NwEZLgRuvuCIbi5 ASSzyfJQ8kx8w4Z/9D+YUrJJlvNII6ZFIy2OqK05MKluYIkW+DhfH9CrQOgmnrLVLf+W 2swg== 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 n16si1532401edt.262.2021.06.02.22.46.24; Wed, 02 Jun 2021 22:46:46 -0700 (PDT) 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 S229956AbhFCFoh (ORCPT + 99 others); Thu, 3 Jun 2021 01:44:37 -0400 Received: from mail-lj1-f182.google.com ([209.85.208.182]:44575 "EHLO mail-lj1-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229823AbhFCFoh (ORCPT ); Thu, 3 Jun 2021 01:44:37 -0400 Received: by mail-lj1-f182.google.com with SMTP id d2so1438313ljj.11; Wed, 02 Jun 2021 22:42:37 -0700 (PDT) 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=GmQChLFQPkkLEuM3wwQNXLDAlDpU960H+8gaxRMHHiA=; b=FE6hN27CHqEbepn1N4uI0SB6xcL1wtCxKq4WC0QSN23eQATfYQuuM3ztmPLoIZwMNm 2/XXCB9od4lB8zzyyNS0rwcTwkwBWWfOCJDS/fWjzRLJHOPMpu+RjzePsXcxZi3PY3RH 6mfmdz1Aac2qT3q+IcOCcgNfNavieuBqdZ07tWBoogXhgs4t7+JAigDURnkBjUBOtFeh psl8DVgYSQNgpxyG/VKJarR9oVjIWwln7aGTjcRuuf6UfmoYgT586BsmdCXMZmYDKU/X LyFXw0ZZcdsXpVIIa204PBWfMmswcRAp0Zp7gD2vCdlrLt281vL88eKxc0KgfSBMbVib KnZw== X-Gm-Message-State: AOAM533hgle2GsXKu4Nvg6YnxBQrdb4cuRQqxTer+gW6PVrwliXFMudb HygzVEtQ2mkwLVKqrPwowuYdwzcwOpM= X-Received: by 2002:a2e:9098:: with SMTP id l24mr9531841ljg.383.1622698956480; Wed, 02 Jun 2021 22:42:36 -0700 (PDT) Received: from localhost.localdomain (dc7vkhyyyyyyyyyyyyycy-3.rev.dnainternet.fi. [2001:14ba:16e2:8300::4]) by smtp.gmail.com with ESMTPSA id j4sm204417lfg.124.2021.06.02.22.42.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 02 Jun 2021 22:42:35 -0700 (PDT) Date: Thu, 3 Jun 2021 08:42:30 +0300 From: Matti Vaittinen To: Matti Vaittinen , Matti Vaittinen Cc: Mark Brown , Kees Cook , Andy Shevchenko , Zhang Rui , Guenter Roeck , "agross@kernel.org" , "devicetree@vger.kernel.org" , linux-power , "linux-kernel@vger.kernel.org" , "linux-renesas-soc@vger.kernel.org" , "linux-arm-msm@vger.kernel.org" , "bjorn.andersson@linaro.org" , "lgirdwood@gmail.com" , "robh+dt@kernel.org" Subject: [PATCH RESEND v10 08/11] dt-bindings: regulator: bd9576 add FET ON-resistance for OCW Message-ID: References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="7JfCtLOvnd9MIVvH" Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --7JfCtLOvnd9MIVvH Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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 Reviewed-by: Rob Herring --- v5 onwards: - No changes v4: - Fixed the description indentiation --- .../bindings/regulator/rohm,bd9576-regulator.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Documentation/devicetree/bindings/regulator/rohm,bd9576-regula= tor.yaml b/Documentation/devicetree/bindings/regulator/rohm,bd9576-regulato= r.yaml index b6515a0cee62..7cb74cc8c5d9 100644 --- a/Documentation/devicetree/bindings/regulator/rohm,bd9576-regulator.yaml +++ b/Documentation/devicetree/bindings/regulator/rohm,bd9576-regulator.yaml @@ -27,6 +27,12 @@ patternProperties: Properties for single regulator. $ref: "regulator.yaml#" =20 + properties: + rohm,ocw-fet-ron-micro-ohms: + description: | + External FET's ON-resistance. Required if VoutS1 OCP/OCW is + to be set. + required: - regulator-name =20 --=20 2.25.4 --=20 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 =3D]=20 --7JfCtLOvnd9MIVvH Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEIx+f8wZb28fLKEhTeFA3/03aocUFAmC4a8UACgkQeFA3/03a ocXMUAf7BxtsqI+CKL4wnQqBE+hAz56T4lPZgbqT/en6XPysiPzIky3ddOXopfxq UvWEXxfMQ5ku0za2qZnVJiJzrsmYhTaZ2X466wdSUKF2IWj8mjIhSEF38KVFx0iq dUyFHd3NAR/rjpuhkBwJXbmektSzwWM3mY2x9PX7p9Oo2GqdgE1I6e/FwQnmbryl DXfmHxjinGuaAwILjqIJ2q9P6als2JiNx0xAg7fWI/uQV42xL6OSPaTYvOMfZgGg nYWR4SEuS8g5tQ10pPhOEbZf9jJPHShzL85yS2z4wMwV0RecAfKsUXNmobwgsOHD gbO5T+NnHihI9br16GlyYZG8M7hH+w== =Sg+5 -----END PGP SIGNATURE----- --7JfCtLOvnd9MIVvH--