Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp4441201rwb; Tue, 16 Aug 2022 23:08:01 -0700 (PDT) X-Google-Smtp-Source: AA6agR6YuYIyWksy4HxzAIkJPlDqvMoiGe4OHT+DO0PCu9pucESJkd0uZZvs0hNJ/NsPe71V6a/x X-Received: by 2002:a17:90b:2685:b0:1fa:b21d:34ce with SMTP id pl5-20020a17090b268500b001fab21d34cemr2219192pjb.188.1660716481112; Tue, 16 Aug 2022 23:08:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660716481; cv=none; d=google.com; s=arc-20160816; b=YIM0OrPX67qeP4A6clxVafhR9fvf+aevJK2MpLfB9V9aTnP3fXo73+6k9/kZBGpqKp VQYsDpCc2yNdVl+qJfAElMkjbmrrj3djIhCQFwZlkh1iAVULKH46wvtcZYtXPRVp1MZc rDNZlKxuRqjOWor0fSjpW7CcxGTmtc6CGnXd27M4hNuDxnZDBvjouYClrXIRJoRJqbag p8fPXRwWlGPb1Rd/tPbfYASSRD+8xApGcosVosCLWMdX43q8DgUZxVnIqMKDjUptiLvi txTgmVj6gsiH/4oe2FWVDhdEnsf7Gtq3E9DzvZxwf7nB9VoTimyl7ZGSy1wPkHY55hDc iavg== 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=aakzTg2DzAex8scIdcsOiBD10Miv0IDo0qf7Et9v8nc=; b=1A32yatYK5UThoss+bHLkz0+JGS9nY5dMYaOvfEIRHFJh/1eOHk7DxaUNsDPX7WPOn 9zAjuazToxXmnDK6HGO5yeP9fFSnriQ+gvleub5m9VCQp3ky5guHKv+lEoBQ2XioKCJx uic4qlfVP7peaB9A/ER5rqmyTkUweSeBEIhbjq3C722G3K0lDXillEbJ2hiu+HJWOr5k 2ROSXs2lI+KLx9TulPTPkQ2cuvi7+RjK/3XR3vx478apY1P/kACZfT1KITWJSUm845p4 yIRwqQNv7a7K8C4jcpladv6t01w/4wLWxRsC+0Iworq5RROWS3QUcKPHre/h6weSQdYH UbRg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amazon.com header.s=amazon201209 header.b=J1zM6S9a; 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 t3-20020a170902e84300b0016ca4b6eaddsi838048plg.122.2022.08.16.23.07.48; Tue, 16 Aug 2022 23:08: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=J1zM6S9a; 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 S238615AbiHQFob (ORCPT + 99 others); Wed, 17 Aug 2022 01:44:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35782 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238639AbiHQFoD (ORCPT ); Wed, 17 Aug 2022 01:44:03 -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 A94DF7A518; Tue, 16 Aug 2022 22:43:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.com; i=@amazon.com; q=dns/txt; s=amazon201209; t=1660715029; x=1692251029; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=aakzTg2DzAex8scIdcsOiBD10Miv0IDo0qf7Et9v8nc=; b=J1zM6S9aSUVDyRWE3s+8ITG9BqCLBg/B6TwnlegeSlGeBRU4pjpkEJKr OfFdZfjYNQVQQYdzinu5Ug3jxxLkyHNRQE8tG0TH1fEXzXrnhGOCskd2a a3rNdTXD0MkkqxIV3SFVQtQrV5UjU87d3MRJq5nKyw/GJkQKHRypmRORq A=; X-IronPort-AV: E=Sophos;i="5.93,242,1654560000"; d="scan'208";a="120059420" Received: from pdx4-co-svc-p1-lb2-vlan2.amazon.com (HELO email-inbound-relay-iad-1a-c92fe759.us-east-1.amazon.com) ([10.25.36.210]) by smtp-border-fw-80006.pdx80.corp.amazon.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Aug 2022 05:43:46 +0000 Received: from EX13MTAUWA001.ant.amazon.com (iad12-ws-svc-p26-lb9-vlan2.iad.amazon.com [10.40.163.34]) by email-inbound-relay-iad-1a-c92fe759.us-east-1.amazon.com (Postfix) with ESMTPS id 42D46C08F4; Wed, 17 Aug 2022 05:43:43 +0000 (UTC) Received: from EX19D013UWA003.ant.amazon.com (10.13.138.202) by EX13MTAUWA001.ant.amazon.com (10.43.160.58) with Microsoft SMTP Server (TLS) id 15.0.1497.38; Wed, 17 Aug 2022 05:43:23 +0000 Received: from EX13MTAUWA001.ant.amazon.com (10.43.160.58) by EX19D013UWA003.ant.amazon.com (10.13.138.202) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA) id 15.2.1118.12; 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.160.118) 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 800C44C5B; Wed, 17 Aug 2022 05:43:21 +0000 (UTC) From: Eliav Farber To: , , , , , , CC: , , , , , , , , , , , , Subject: [PATCH v2 07/16] hwmon: (mr75203) add VM active channels property for Moortec PVT controller Date: Wed, 17 Aug 2022 05:43:12 +0000 Message-ID: <20220817054321.6519-8-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 Add optional "vm-active-channels" property to define the number of active channels per VM. Signed-off-by: Eliav Farber --- .../devicetree/bindings/hwmon/moortec,mr75203.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Documentation/devicetree/bindings/hwmon/moortec,mr75203.yaml b/Documentation/devicetree/bindings/hwmon/moortec,mr75203.yaml index da9c3cdcb6f0..6111b5069b3c 100644 --- a/Documentation/devicetree/bindings/hwmon/moortec,mr75203.yaml +++ b/Documentation/devicetree/bindings/hwmon/moortec,mr75203.yaml @@ -49,6 +49,13 @@ properties: reset-control-skip bool property defines if obtaining a reference to a reset controller should be skipped. + vm-active-channels: + description: + vm-active-channels defines the number of channels per VM + that are actually used and are connected to some source. + A value of 0 means that the entire VM sensor is nou used. + $ref: /schemas/types.yaml#definitions/uint8-array + required: - compatible - reg @@ -60,6 +67,7 @@ required: additionalProperties: - intel,vm-map - reset-control-skip + - vm-active-channels examples: - | @@ -73,5 +81,6 @@ examples: intel,vm-map = [03 01 04 ff ff]; clocks = <&osc0>; resets = <&rcu0 0x40 7>; + vm-active-channels = [08 10 02]; #thermal-sensor-cells = <1>; }; -- 2.37.1