Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp4453048rwb; Tue, 16 Aug 2022 23:26:01 -0700 (PDT) X-Google-Smtp-Source: AA6agR7vLDntAh6CYJogGrAMZywsMJqW8LyGqADC9sQNCSOAguihQ5ick0yTwvCVgBEQYciZBhEH X-Received: by 2002:a17:907:94ca:b0:731:8395:d526 with SMTP id dn10-20020a17090794ca00b007318395d526mr15262114ejc.389.1660717561235; Tue, 16 Aug 2022 23:26:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660717561; cv=none; d=google.com; s=arc-20160816; b=olvLqplHPYBjVaxkMcjQkQ4qEFhWDjekSy9pzTAjXiELp8XhHw4zCJW7yWal3Vnvpm vVEcFZyU0xSxeWomBeaYh81sxtkAXjNccdu8omGSciMZMEIXqemKIzhQZOftMvZR+pYS U/SRrXjb7yy8E6gmLhwIjRF46PKQob5x2hfDhAaIuQuoKG0BQVpYT+rHAxYZSv3R/1fr 2QYEZbKwVyDTYbF1C0G2t3SC0FTu2O/fAm0W0Jv2MU0aLluyEVZoj7VFDyNtxFV0sTB1 JU6Q1RKc1odi6A9ereTDPdQvF3CjdQq6L581nsBxLCgMC5S0tokAJAMqiJHvo9282Lp6 6c1A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=hL47Mt4NCN4uw7YbFIII+nlUX4qr86MJ2L/tI0qq6tE=; b=f/hPzgmKHzOk37EahuPX4G/GsHaFwuw8LaRCxyhC/5vPSuGHUH4OcZ4MChGOZBkgc3 GUj64Vb1NDIQwtY1SH9QwDOHzPHsQUVw5sa3fOnHdqpt0tK/DErBqf7vC5GtWcBbTew6 9lhUYgj4QnXEjpaJ+CuCW9ohn4D4vhdhWJmn4wrDQuJiYSEB9/MV8kOsAZ2wDhtGNVTx tqQUrmCd9VCTppgYb3jzqBrbik2HK4DkLBbu061PqgmamMI8CKbXOawI9OB8v9PpTvje kOzdgnvaL16A290vZb1uzj5WJRD7v2KVUoxckTUwKOTGa4/38djvxDHQ2PcR6xATGXru QSRg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amazon.com header.s=amazon201209 header.b=TP3TzdOk; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amazon.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ga39-20020a1709070c2700b0072f22713af6si813342ejc.666.2022.08.16.23.25.34; Tue, 16 Aug 2022 23:26:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@amazon.com header.s=amazon201209 header.b=TP3TzdOk; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amazon.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238684AbiHQFoE (ORCPT + 99 others); Wed, 17 Aug 2022 01:44:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35368 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238640AbiHQFnx (ORCPT ); Wed, 17 Aug 2022 01:43:53 -0400 Received: from smtp-fw-33001.amazon.com (smtp-fw-33001.amazon.com [207.171.190.10]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 659047C193; Tue, 16 Aug 2022 22:43:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.com; i=@amazon.com; q=dns/txt; s=amazon201209; t=1660715023; x=1692251023; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=hL47Mt4NCN4uw7YbFIII+nlUX4qr86MJ2L/tI0qq6tE=; b=TP3TzdOkzw1CGhrp92nvqv74WwNtrlgxKW+AXMGfazZFjZKb4FhMxfOy abF7gNexm2gbbdB9zufu+dqEQAxSDp0xr0ECzS5mkL8AZRUw+XiAu/Sme ERic/RE5+x/zDUxak/3uUBhX/q0lMjo0wIUAAha8yAzSlFr+qWBJCQVrb M=; X-IronPort-AV: E=Sophos;i="5.93,242,1654560000"; d="scan'208";a="218561708" Received: from iad12-co-svc-p1-lb1-vlan3.amazon.com (HELO email-inbound-relay-iad-1e-41c1ef8b.us-east-1.amazon.com) ([10.43.8.6]) by smtp-border-fw-33001.sea14.amazon.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Aug 2022 05:43:26 +0000 Received: from EX13MTAUEE001.ant.amazon.com (iad12-ws-svc-p26-lb9-vlan3.iad.amazon.com [10.40.163.38]) by email-inbound-relay-iad-1e-41c1ef8b.us-east-1.amazon.com (Postfix) with ESMTPS id 418A4162673; Wed, 17 Aug 2022 05:43:22 +0000 (UTC) Received: from EX13D08UEE004.ant.amazon.com (10.43.62.182) by EX13MTAUEE001.ant.amazon.com (10.43.62.226) with Microsoft SMTP Server (TLS) id 15.0.1497.38; Wed, 17 Aug 2022 05:43:22 +0000 Received: from EX13MTAUEA001.ant.amazon.com (10.43.61.82) by EX13D08UEE004.ant.amazon.com (10.43.62.182) with Microsoft SMTP Server (TLS) id 15.0.1497.38; Wed, 17 Aug 2022 05:43:22 +0000 Received: from dev-dsk-farbere-1a-46ecabed.eu-west-1.amazon.com (172.19.116.181) by mail-relay.amazon.com (10.43.61.243) with Microsoft SMTP Server id 15.0.1497.38 via Frontend Transport; Wed, 17 Aug 2022 05:43:22 +0000 Received: by dev-dsk-farbere-1a-46ecabed.eu-west-1.amazon.com (Postfix, from userid 14301484) id 86CA54C67; Wed, 17 Aug 2022 05:43:21 +0000 (UTC) From: Eliav Farber To: , , , , , , CC: , , , , , , , , , , , , Subject: [PATCH v2 09/16] hwmon: (mr75203) add VM pre-scalar property for Moortec PVT controller Date: Wed, 17 Aug 2022 05:43:14 +0000 Message-ID: <20220817054321.6519-10-farbere@amazon.com> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20220817054321.6519-1-farbere@amazon.com> References: <20220817054321.6519-1-farbere@amazon.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Spam-Status: No, score=-11.9 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE, USER_IN_DEF_SPF_WL autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org vm-pre-scalar-ch# is a per channel optional parameter that can be used to normalzie the voltage output results. Signed-off-by: Eliav Farber --- .../devicetree/bindings/hwmon/moortec,mr75203.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Documentation/devicetree/bindings/hwmon/moortec,mr75203.yaml b/Documentation/devicetree/bindings/hwmon/moortec,mr75203.yaml index 6111b5069b3c..e2a55001eefc 100644 --- a/Documentation/devicetree/bindings/hwmon/moortec,mr75203.yaml +++ b/Documentation/devicetree/bindings/hwmon/moortec,mr75203.yaml @@ -56,6 +56,12 @@ properties: A value of 0 means that the entire VM sensor is nou used. $ref: /schemas/types.yaml#definitions/uint8-array + vm-pre-scalar-ch#: + description: + vm-active-channels defines the pre-scalar per channel value + used to normalzie the voltage output results. + $ref: /schemas/types.yaml#definitions/uint32 + required: - compatible - reg @@ -68,6 +74,7 @@ additionalProperties: - intel,vm-map - reset-control-skip - vm-active-channels + - vm-pre-scalar-ch# examples: - | @@ -82,5 +89,6 @@ examples: clocks = <&osc0>; resets = <&rcu0 0x40 7>; vm-active-channels = [08 10 02]; + vm-pre-scalar-ch5 = <2>; #thermal-sensor-cells = <1>; }; -- 2.37.1