From patchwork Tue May 18 11:28:04 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Vaittinen, Matti" X-Patchwork-Id: 441392 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 95D22C433B4 for ; Tue, 18 May 2021 11:28:15 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 7A1A56124C for ; Tue, 18 May 2021 11:28:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233672AbhERL3c (ORCPT ); Tue, 18 May 2021 07:29:32 -0400 Received: from mail-lj1-f178.google.com ([209.85.208.178]:35820 "EHLO mail-lj1-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234445AbhERL3b (ORCPT ); Tue, 18 May 2021 07:29:31 -0400 Received: by mail-lj1-f178.google.com with SMTP id f12so11129031ljp.2; Tue, 18 May 2021 04:28:12 -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=DD57W8lOf9lLSMwdxcpJLV8r8bFNOb5J/N5EEn/FNhQ=; b=r+dg0jxdJcy28rEW1tmNILB5ipfQlxe8RnhaHjmuICEEDrmXbR+3AGQt8PiCc+L3J2 lSPn7wOj07Sw337CXey8j2EK9BGNNvGIz8i/md8lUQ4bz1QOte0iYua+uvm3MngGwpkq 0aeIqRJJvfGWAua5Nx2FXQfbIxlFamsmDmQ3e/3vQQz5SFne+HTAsDagOkkn3Xv2z5tq Ab6UljwsNtnJD1Hcty7DcSO+uf+8xqvzIhQAGddh74t8YGrFOsuqEaWeNLrdbZm8I+IV Py6F+OVheqnEobfzrspQa0Vz/pPiLwK98tTQbmJZ6N9UZvSCeq9bDWo5l7VdhYeMZDmw 0GWg== X-Gm-Message-State: AOAM530gwETJNc8FHUVgX1eUCYkoRlOpAk35Mg/O09IaSCLOba0vhSZ8 7urZR48qztJaNnQ1BBx4gyA= X-Google-Smtp-Source: ABdhPJyT0GstYTQBHjmA1S8oWU5Yvd8Lf50VDyELwUS4dMpaDSXx7blTFsUAb9wjeJNFIXAuTMSA0w== X-Received: by 2002:a2e:b524:: with SMTP id z4mr3710482ljm.62.1621337292354; Tue, 18 May 2021 04:28:12 -0700 (PDT) Received: from localhost.localdomain (dc7vkhyyyyyyyyyyyyyyt-3.rev.dnainternet.fi. [2001:14ba:16e2:8300::1]) by smtp.gmail.com with ESMTPSA id s9sm577396lfr.231.2021.05.18.04.28.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 18 May 2021 04:28:11 -0700 (PDT) Date: Tue, 18 May 2021 14:28:04 +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 v10 08/11] dt-bindings: regulator: bd9576 add FET ON-resistance for OCW Message-ID: <5f12c473d6264ce66b598ac13c7ae2ce516e4483.1621333893.git.matti.vaittinen@fi.rohmeurope.com> References: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: devicetree@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