Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp288317rwe; Wed, 31 Aug 2022 02:53:38 -0700 (PDT) X-Google-Smtp-Source: AA6agR7sSgDRq6M0bITwAp4F5NE/Phg55Gih4PkxT4PKbovZo6zhn5En4vGLXJahr60EjFmsR6Y7 X-Received: by 2002:a17:902:ec83:b0:174:ce14:ee4 with SMTP id x3-20020a170902ec8300b00174ce140ee4mr12660420plg.17.1661939618687; Wed, 31 Aug 2022 02:53:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661939618; cv=none; d=google.com; s=arc-20160816; b=L/ImmZC3Rhi6jxPZ3nDpZfaKSLVsKTLf7cLbpb8/I1R+ikvkfkHhpl3c/QNz4I+cPl PbqIJIc47P0XTq7iW6msclIBYl00Mw4vQEwp1YZZhJnPUB5EepstQ+aKqVsbvgGzuNnv GAIcMmv8caI3pjJuQXlrkJ+jhmRf/aGTYhTg6ggGNU+fMRXuMmIvlJJYJBH1Go00fIjt ppzf1DOEPPkw1p5HIsp2WCZfRZ4TPVEunp1rFudY/WvnSMgj7vKo7mO3igtMgic02Fxx /GPCgLwzbJI8KuYz+uVDGKrpduj0uB7IB5puTAyUFlE6eAXhK537gzqXVXWNooJR2KOY UjKQ== 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=OxRHe00tIu+wEnbpDdPcwB/UKvS8htw1fOMgAij8ARk=; b=N3G5WrLC5mhuD2YCpH4MAD8QXMgkhPEQzQbot4pDhdlwWOpX29aRVpsJupoXtgKYGy /p6sZmqLGxXylb4lPeWgtxfX8tZDORu7ZzxvHj8I7e/yL9MEIPqOh11BiflMxSh+baLF eJu4EZAeW6GPsW1SQ2zMNkA8GNN5ujF3ww0RYUtSPFnfMc6G9xmVnm4QNMA8tBzisGvL ITq7b9Wt7pcmyFmwjt5ZKwq0UOqO6xntORHbk33iAU84OkraoUQze36wHr46ueEE3gHv Va470GeKcaTCIgm5/R5zcapIRr+4gq2GYH04o7M8Pbe7SKpJnMuKg351/k6Wq8SighPw gZlA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amazon.com header.s=amazon201209 header.b=tpwZEk2B; 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 17-20020a630311000000b0042b60954b4fsi4492278pgd.324.2022.08.31.02.53.27; Wed, 31 Aug 2022 02:53:38 -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=tpwZEk2B; 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 S231349AbiHaJYK (ORCPT + 99 others); Wed, 31 Aug 2022 05:24:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42846 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231302AbiHaJYF (ORCPT ); Wed, 31 Aug 2022 05:24:05 -0400 Received: from smtp-fw-6001.amazon.com (smtp-fw-6001.amazon.com [52.95.48.154]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CEB76B941B; Wed, 31 Aug 2022 02:24:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.com; i=@amazon.com; q=dns/txt; s=amazon201209; t=1661937845; x=1693473845; h=message-id:date:mime-version:to:cc:references:from: in-reply-to:content-transfer-encoding:subject; bh=OxRHe00tIu+wEnbpDdPcwB/UKvS8htw1fOMgAij8ARk=; b=tpwZEk2Bds5NbQUrZ/uiIoTnMesbKPuXqGBzA6y8xzyOW8wbkjxMRV+e AWlapD/nWUIxcmbgghCDRA+zy7YLQRKJGw8g/qb3c6nzFpjQUo+1c4REX K046vEpnuayCgqh62t9vrFBPmmT9kKVyY4d1rbkgfXdUN0b8K1FPvTNQR w=; Subject: Re: [PATCH v3 14/19] dt-bindings: hwmon: (mr75203) add "moortec, ts-series" property Received: from iad12-co-svc-p1-lb1-vlan2.amazon.com (HELO email-inbound-relay-pdx-2b-d803d33a.us-west-2.amazon.com) ([10.43.8.2]) by smtp-border-fw-6001.iad6.amazon.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 31 Aug 2022 09:23:52 +0000 Received: from EX13D37EUA001.ant.amazon.com (pdx1-ws-svc-p6-lb9-vlan3.pdx.amazon.com [10.236.137.198]) by email-inbound-relay-pdx-2b-d803d33a.us-west-2.amazon.com (Postfix) with ESMTPS id B8C9B8550C; Wed, 31 Aug 2022 09:23:51 +0000 (UTC) Received: from EX13MTAUEB002.ant.amazon.com (10.43.60.12) by EX13D37EUA001.ant.amazon.com (10.43.165.212) with Microsoft SMTP Server (TLS) id 15.0.1497.38; Wed, 31 Aug 2022 09:23:50 +0000 Received: from [192.168.153.206] (10.85.143.179) by mail-relay.amazon.com (10.43.60.234) with Microsoft SMTP Server id 15.0.1497.38 via Frontend Transport; Wed, 31 Aug 2022 09:23:45 +0000 Message-ID: Date: Wed, 31 Aug 2022 12:23:44 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.2.0 To: Philipp Zabel , , , , , , , CC: , , , , , , , , , , , , "Farber, Eliav" References: <20220830192212.28570-1-farbere@amazon.com> <20220830192212.28570-15-farbere@amazon.com> <89806ee9a80652d5877ef5c4a86574e82af48da4.camel@pengutronix.de> Content-Language: en-US From: "Farber, Eliav" In-Reply-To: <89806ee9a80652d5877ef5c4a86574e82af48da4.camel@pengutronix.de> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit 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,NICE_REPLY_A, RCVD_IN_DNSWL_MED,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 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. The kernel driver is only for the controller (mr75203). The series 5 or 6 is relevant for the TS (mr74137) and not for the controller (mr75203). Each of the analog units can have a different series number (for example we use series 3 of the VM). That is why I didn't change the compatible of mr75203, and instead added a TS-series parameter. -- Regards, Eliav