From mboxrd@z Thu Jan 1 00:00:00 1970 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=ham 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 2B58BC433B4 for ; Tue, 6 Apr 2021 11:20:47 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id E5BA9613C6 for ; Tue, 6 Apr 2021 11:20:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236085AbhDFLUw (ORCPT ); Tue, 6 Apr 2021 07:20:52 -0400 Received: from mail-lf1-f43.google.com ([209.85.167.43]:46973 "EHLO mail-lf1-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233073AbhDFLUv (ORCPT ); Tue, 6 Apr 2021 07:20:51 -0400 Received: by mail-lf1-f43.google.com with SMTP id 12so21975220lfq.13; Tue, 06 Apr 2021 04:20:41 -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=Wy+8bgk2mbDfD+oNkltaE1Rj5kfXGJ0enYfD+V2dU40=; b=cmlQFibvE25jaSc4hKulgWvFpO9VqZuVmJbbPYACh8X36JkqRcBL0yxmIGvlVS+Ltc CYXWAwJv0XaerrOkml74TIjQSfnvFNTLn2/56L8kGC20ni78qfb//MR0kl02vubVw9Jk 8Zxb5cvbh/8u1IqQTPihsBcyXQjnfzyX0LeOTaguen3AQwfyBHNG7PJn7g1n0iV9MSar iybWpC3bZtcmtJT/Ks7DTDm22cCazzoae8bF+yCBF6MywufdfORLNRy+X6H3luRxeht3 uaAaYYxR79+shsjpIjHKOgUinQuexH8wfiUmEKNbf7FcawTLtMkEOQNxLLF1NW2W2zJc puhg== X-Gm-Message-State: AOAM533zmRa6yO/9p0mwHLIM91JneYqmyxvvZj7e2m67L/LBFg8Tetby 4PRK/Vzw6I0/pHRRtjzrkJA= X-Google-Smtp-Source: ABdhPJzJfSkDziKyjphTUFNUjWVOIsju/sH92ZtxzIVHzewsBwIP6HNdvyCFTiW8feZe7xRYxe1dvA== X-Received: by 2002:ac2:5bcb:: with SMTP id u11mr19600255lfn.603.1617708040820; Tue, 06 Apr 2021 04:20:40 -0700 (PDT) Received: from localhost.localdomain (dc7vkhyyyyyyyyyyyyydy-3.rev.dnainternet.fi. [2001:14ba:16e2:8300::6]) by smtp.gmail.com with ESMTPSA id h206sm2125050lfd.4.2021.04.06.04.20.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Apr 2021 04:20:40 -0700 (PDT) Date: Tue, 6 Apr 2021 14:20:33 +0300 From: Matti Vaittinen To: Matti Vaittinen , Matti Vaittinen 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: [PATCH v5 5/7] dt-bindings: regulator: bd9576 add FET ON-resistance for OCW Message-ID: <3629967021c734d4ffac4d2863c1edcb5fad9c31.1617707724.git.matti.vaittinen@fi.rohmeurope.com> 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-renesas-soc@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 --- v5: - 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 -- 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 =]