Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp3421257rwb; Tue, 16 Aug 2022 02:43:16 -0700 (PDT) X-Google-Smtp-Source: AA6agR6k8d8RE4doLGuOju4fBN/l7ScNxezaId73DThR/bJIT5zyZbgwEuFG3Xs2rE3eGCwUVc8+ X-Received: by 2002:a17:907:9627:b0:734:a166:e0c4 with SMTP id gb39-20020a170907962700b00734a166e0c4mr13137158ejc.7.1660642995811; Tue, 16 Aug 2022 02:43:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660642995; cv=none; d=google.com; s=arc-20160816; b=EUPQmxiSr4EL5XzXm920mLDnRhnt3ZX3qUQv22tTWE1ADDkB9hEw4/+ebF1F7GqgPb 8g4G/3HaJUEa8ML39STcRwFDNdWT7LNoOPHBXWrsxk1q9IIJSM7rM1byymVzYyxacHEd VSQ4odP3RQUB4tEN+MrgFCjheMl4xoXcfqtPP5+X2fk2P5RuVhGUWNzM3neulDs6kZqg h5hDxxptxnqOTnggcysQwriJaXx40YzAMgYGMlioRJ6fLuta6HYUme1Efu69FMp3NNI7 rb5EEyQHHlkDO6s0sqqu75NM1OkFLAD6SqorAlMKVj/C8cQqTvQHWQj5SZlxssd4U87B x0Tw== 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=fXUGnXstX6nc+wSDJzIntqE5W4UyLQyC22VUBfJqDskq8DZBxaOk/E13rYmymNGTOy kvnGRu3Gq0iULr75elcQOiX6nYX3ySK9YlVqxpobMFMb8XNN2ZGgIA8Ee7T1vBaHs8v3 E7HjFMMn8VRG1z7xt+rTJlUgy5TqifPQZk3afEH5m0y2s1f24na9qn2PJruvVbP/7WsK wWBSnvMj86ACd7qeubL41WmjkDiZYcHVJL+oMN2wVjLY5jfky4pVFjtljtzr4RAzZ1YE ZJibTfXZXI4l6uuRjEWhCRgoVMH5aOuGsF/NA7GfG8a2xXzPuEfHG4GN4MHbafzF3Pjb V14g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amazon.com header.s=amazon201209 header.b=QbPbuqX5; 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 jt4-20020a170906dfc400b00730822632e8si8471595ejc.535.2022.08.16.02.42.49; Tue, 16 Aug 2022 02:43:15 -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=QbPbuqX5; 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 S233738AbiHPJlS (ORCPT + 99 others); Tue, 16 Aug 2022 05:41:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54224 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233847AbiHPJkQ (ORCPT ); Tue, 16 Aug 2022 05:40:16 -0400 Received: from smtp-fw-80006.amazon.com (smtp-fw-80006.amazon.com [99.78.197.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CEA90139DA1; Tue, 16 Aug 2022 01:28:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.com; i=@amazon.com; q=dns/txt; s=amazon201209; t=1660638501; x=1692174501; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=hL47Mt4NCN4uw7YbFIII+nlUX4qr86MJ2L/tI0qq6tE=; b=QbPbuqX5rCOTab6VhQhxVmcm+RrtwAbgYEIYhAHOxlWEQ4jIAma0WTOD DaKmclEnrv+Sp8XBOTj3KvBdiVVSgqUfeW0PwbZwAk6ik+pmjH2rdqxWa qISYyhZRVz3PIG67FBxxile2ReJmIZlywKvASNVYWOpAA4SJNFGmtp1q4 s=; X-IronPort-AV: E=Sophos;i="5.93,240,1654560000"; d="scan'208";a="119633990" Received: from pdx4-co-svc-p1-lb2-vlan2.amazon.com (HELO email-inbound-relay-pdx-2b-02ee77e7.us-west-2.amazon.com) ([10.25.36.210]) by smtp-border-fw-80006.pdx80.corp.amazon.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Aug 2022 08:28:08 +0000 Received: from EX13MTAUWB001.ant.amazon.com (pdx1-ws-svc-p6-lb9-vlan2.pdx.amazon.com [10.236.137.194]) by email-inbound-relay-pdx-2b-02ee77e7.us-west-2.amazon.com (Postfix) with ESMTPS id BE337449BA; Tue, 16 Aug 2022 08:28:07 +0000 (UTC) Received: from EX19D013UWB001.ant.amazon.com (10.13.138.52) by EX13MTAUWB001.ant.amazon.com (10.43.161.207) with Microsoft SMTP Server (TLS) id 15.0.1497.38; Tue, 16 Aug 2022 08:28:00 +0000 Received: from EX13MTAUWB001.ant.amazon.com (10.43.161.207) by EX19D013UWB001.ant.amazon.com (10.13.138.52) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA) id 15.2.1118.12; Tue, 16 Aug 2022 08:28:00 +0000 Received: from dev-dsk-farbere-1a-46ecabed.eu-west-1.amazon.com (172.19.116.181) by mail-relay.amazon.com (10.43.161.249) with Microsoft SMTP Server id 15.0.1497.38 via Frontend Transport; Tue, 16 Aug 2022 08:27:59 +0000 Received: by dev-dsk-farbere-1a-46ecabed.eu-west-1.amazon.com (Postfix, from userid 14301484) id 642174C21; Tue, 16 Aug 2022 08:27:57 +0000 (UTC) From: Eliav Farber To: , , , , , , CC: , , , , , , , , , , , , Subject: [PATCH 09/16] hwmon: (mr75203) add VM pre-scalar property for Moortec PVT controller Date: Tue, 16 Aug 2022 08:27:50 +0000 Message-ID: <20220816082757.11990-10-farbere@amazon.com> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20220816082757.11990-1-farbere@amazon.com> References: <20220816082757.11990-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