From patchwork Thu Jun 3 05:42:30 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Vaittinen, Matti" X-Patchwork-Id: 12296333 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=-13.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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 66399C47096 for ; Thu, 3 Jun 2021 05:42:54 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 5143B61360 for ; Thu, 3 Jun 2021 05:42:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229738AbhFCFoh (ORCPT ); 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-Google-Smtp-Source: ABdhPJye5e4taiwb7yC1UDWzASCM389rnsa+2zifOInTT9R47QJE8wLkuY4cvCqQFCu2ZTTpN1STKw== 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-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@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 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-regulator.yaml b/Documentation/devicetree/bindings/regulator/rohm,bd9576-regulator.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#" + 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