Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp1980915rwe; Fri, 2 Sep 2022 06:57:41 -0700 (PDT) X-Google-Smtp-Source: AA6agR7vn4ago9LCTxfjXpNZuFRXMNqazu+ntetn/SNGbWxdDqaiqPbFr9iynsK06dQEDqmLV7Pq X-Received: by 2002:a17:90b:2496:b0:1ef:a94:7048 with SMTP id nt22-20020a17090b249600b001ef0a947048mr5005375pjb.244.1662127061012; Fri, 02 Sep 2022 06:57:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662127061; cv=none; d=google.com; s=arc-20160816; b=qmuEsK2sEvpgZG961HrpU/eaxBY2/eFNWEJ6Zx5qd4s9jaKcShfXQK/Hs+BQXBCosV dfkMhLRAIx0ac2ZWTsmSXj0xoZVEhrnTdbNMRENCpq3dpsFVqGxK16ZmpVOnunJMsCVE SgFNcIjSAFk3lohSiee9PwsN2TmdZW6vss5jBmCs5xaheLQ3f1xiTEUNcNvznExxESuP Gxh8kjAqhtszH28xBIwzpkU+NOKM49t8ge74Tnbd1S/an+44u7YlPD5T6dLcJM1N9nQn bN8L5EYuSb0jgags4I5CMIzyOxZoBWV2so7t50EXm8KFwnxvM6CsP4KYOKKrooRy4/lf 8IVw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :content-language:references:cc:to:user-agent:mime-version:date :message-id:subject:dkim-signature; bh=nzPUc9EDrOhRtDNeKPMRzpudxcLrf0JAPFl0JHh3d9o=; b=uQ9pCbfBaAPHy4Wvn2ef64skd2Bxm/9u41jHWv67s92MyZPrDQlJwmL9cbBgrMnyaL rSclaHTiQZ61rbWHv99DLF56w+Q9Kj0MPpkfSb7VhjsyYpQ/lEpsCL8bigqVk2JAj+2m q/XhUGkrb+8AIJnlwh/qX6BNwBNBEsabmLj98CXYY6vKju2YmhU5b4R0PeWorJni+0NS /Hzmjyn+/ifY5CMeEwcd3vfDd6jgpgIkVnXpxe+3UuFQ9j7vFri2caN4GPb/syeFWvN9 tOJD9y0eu4czIYj6XnKmPbKY31z+8bXp7uq43gA/+/v7QHunQSUT5mtcKyxoKdz4Nelu q9LQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amazon.com header.s=amazon201209 header.b=DZ2Sxio5; 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 y4-20020a17090322c400b0016bf0216b67si2248007plg.401.2022.09.02.06.57.29; Fri, 02 Sep 2022 06:57:41 -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=DZ2Sxio5; 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 S237984AbiIBNp5 (ORCPT + 99 others); Fri, 2 Sep 2022 09:45:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50458 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237330AbiIBNpS (ORCPT ); Fri, 2 Sep 2022 09:45:18 -0400 Received: from smtp-fw-9102.amazon.com (smtp-fw-9102.amazon.com [207.171.184.29]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D862912EC60; Fri, 2 Sep 2022 06:21:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.com; i=@amazon.com; q=dns/txt; s=amazon201209; t=1662124883; x=1693660883; h=message-id:date:mime-version:to:cc:references:from: in-reply-to:content-transfer-encoding:subject; bh=nzPUc9EDrOhRtDNeKPMRzpudxcLrf0JAPFl0JHh3d9o=; b=DZ2Sxio5il+oQReWjRJLz0mEL7NTc3FEzLKuoGfHG+NNTHSmzgEOS7DZ xcKu9A6lXnc5joQlxm4W3hy8meJCNbRoBzYWkDgjWJkG20XucwkYeOlFS S20HOBJfv/Ndg+MqjWPoSrx1u3YchQD5IkWjXdKn9L67gV/9Ww8J2EKaK c=; X-IronPort-AV: E=Sophos;i="5.93,283,1654560000"; d="scan'208";a="255577710" Subject: Re: [PATCH v3 14/19] dt-bindings: hwmon: (mr75203) add "moortec, ts-series" property Received: from pdx4-co-svc-p1-lb2-vlan2.amazon.com (HELO email-inbound-relay-pdx-2c-388992e0.us-west-2.amazon.com) ([10.25.36.210]) by smtp-border-fw-9102.sea19.amazon.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Sep 2022 13:18:10 +0000 Received: from EX13MTAUWB001.ant.amazon.com (pdx1-ws-svc-p6-lb9-vlan3.pdx.amazon.com [10.236.137.198]) by email-inbound-relay-pdx-2c-388992e0.us-west-2.amazon.com (Postfix) with ESMTPS id C2D51E48AB; Fri, 2 Sep 2022 13:18:09 +0000 (UTC) Received: from EX19D013UWB004.ant.amazon.com (10.13.138.62) by EX13MTAUWB001.ant.amazon.com (10.43.161.207) with Microsoft SMTP Server (TLS) id 15.0.1497.38; Fri, 2 Sep 2022 13:18:09 +0000 Received: from EX13MTAUWB001.ant.amazon.com (10.43.161.207) by EX19D013UWB004.ant.amazon.com (10.13.138.62) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.2.1118.12; Fri, 2 Sep 2022 13:18:09 +0000 Received: from [192.168.149.164] (10.85.143.177) by mail-relay.amazon.com (10.43.161.249) with Microsoft SMTP Server id 15.0.1497.38 via Frontend Transport; Fri, 2 Sep 2022 13:18:03 +0000 Message-ID: <52e48e0a-1369-2c8f-b3e8-c854365384d4@amazon.com> Date: Fri, 2 Sep 2022 16:18:02 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.2.1 To: Philipp Zabel , , , , , , , CC: , , , , , , , , , , , , "Farber, Eliav" References: <20220830192212.28570-1-farbere@amazon.com> <20220830192212.28570-15-farbere@amazon.com> <89806ee9a80652d5877ef5c4a86574e82af48da4.camel@pengutronix.de> <4ab6f79f54ad975d7c21c86c57fa2defbb8c98c0.camel@pengutronix.de> Content-Language: en-US From: "Farber, Eliav" In-Reply-To: <4ab6f79f54ad975d7c21c86c57fa2defbb8c98c0.camel@pengutronix.de> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-14.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_HI,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 On 8/31/2022 12:42 PM, Philipp Zabel wrote: > On Mi, 2022-08-31 at 12:23 +0300, Farber, Eliav wrote: >> On 8/31/2022 11:23 AM, Philipp Zabel wrote: >> > On Di, 2022-08-30 at 19:22 +0000, Eliav Farber wrote: >> > > Add optional "moortec,ts-series" property to define the temperature >> > > equation and coefficients that shall be used to convert the digital >> > > output to value in milli-Celsius. >> > > Supported series: 5 (default) and 6. >> > >> > Is this the difference between mr75xxx and mr76xxx series? >> > If so, should be a compatible "moortec,mr76006" instead? >> > If the temperature equation could be derived from the compatible, this >> > property would not be necessary. >> The PVT (Process, Voltage, Temperature) monitoring logic can be >> constructed from many different sub-blocks: >> *) CONTROLLER (mr75203) - controlling TS, PD and VM. >> *) TS (mr74137) - for measuring temperature in ring. >> *) PD (mr74139) - for measuring IO based transistors. >> *) VM (mr74138) - for measuring voltage rails across the SoC. >> *) Ring oscillators (mr76007/mr76008) >> *) Pre-scalers (mr76006) >> >> Besides mr75203 which is digital all other IPs are analog. >> There is a single mr75203 and there can be several or none of the other >> units. > > Thank you for the explanation, I think this information would be nice > to have in a description in moortec,mr75203.yaml. For v4 I added a new patch which adds this description in moortec,mr75203.yaml: description: |   A Moortec PVT (Process, Voltage, Temperature) monitoring logic design can   include many different units.   Such a design will usually consists of several Moortec's embedded analog IPs,   and a single Moortec controller to configure and control the IPs.   Some of the Moortec's analog hard IPs that can be used in a design:   *) Temperature Sensor (TS) - used to monitor core temperature (e.g. mr74137).   *) Voltage Monitor (VM) - used to monitor voltage levels (e.g. mr74138).   *) Process Detector (PD) - used to assess silicon speed (e.g. mr74139).   *) Delay Chain - ring oscillator connected to the PD, used to measure IO      based transistors (e.g. mr76008 ring oscillator at 1.1V, mr76007 ring      oscillator at 1.8V).   *) Pre Scaler - provides divide-by-X scaling of input voltage, which can then      be presented for VM for measurement within its range (e.g. mr76006 -      divide by 2 pre-scaler).   TS, VM & PD also include a digital interface, which consists of configuration   inputs and measurement outputs.   The mr75203 binding describes configuration for the controller unit, but also   for some of the analog IPs. -- Regards, Eliav