From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id AB549F47CB0 for ; Thu, 5 Mar 2026 18:37:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=Q9OWyN362dTwO3+Y396nV/INStikutfAmF60zBKv2XQ=; b=tTS4H67HzJqWQy jB04HkjUqKl8/iFax3RCH1cV3zoV2fgrHxD9e6skYRVOhsy3Knm6Hn8YlvgVNOmaPHmaofB+jqeTo b05NXwnHesMSTHo45nRrOTcnn+GDjt43zRU+mLi5DbI/DOFy2PqStYAMVmwfoiSDdz3Ks/QVH4tlh p66vHWtGM8aiO3QPfwZjzutNjT1TJ6ZpN8T5HIDP8duwuggG090Hwdr2eZBR+Q6wKLcBvuPB8Pglh TAE6ffUrf9wI5yWS5k1lO1N78/zWtaqyoGhaQUMzAShDPM6GfAWvODdpM9OZrr8kq99W6aKikvvYw UvmNZR92bJpYX1nGAiIA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1vyDZA-00000002OX4-2vTL; Thu, 05 Mar 2026 18:36:56 +0000 Received: from sea.source.kernel.org ([2600:3c0a:e001:78e:0:1991:8:25]) by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1vyDZ7-00000002OWh-2rLZ for linux-riscv@lists.infradead.org; Thu, 05 Mar 2026 18:36:54 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sea.source.kernel.org (Postfix) with ESMTP id EF816443CE; Thu, 5 Mar 2026 18:36:51 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A1AE2C116C6; Thu, 5 Mar 2026 18:36:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1772735811; bh=Whg/hIZbOF6tXEF4F3csQFFHoNwEtpzfdvQw9QJy3NE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=A3yBbqKf8hHOCrLK69AVcL1vK6nXN29SSQUXo5wfitwELGJyX4BZj9LUIAhvvLnLM Y9PONmBhNFlj/eIQO9KVF6FJfA1HKBOnh3+1qW3yrIXYzEyR0pnbrx+BWPcFLi8jFF CagB9g4Rr9ivGLeL4HgS7MF87CWfLGUL4AYRB6UJfkQ64rsp8j4Wf77d6PwnRDOB2p 6lJXzZ0KjZqHjwaQqgdBQn+7eQcghrjC0t3g7xKRKcKLD0fFKHhzuUYmPpq7dpwRn5 tJ9oGRQAZ3DyoKUZ4OlC4vuJni6Vq9124loHGOeevn0qarbDqbxLl6m93fmyrLCkLx lX3YA2+Rp/EoA== Date: Thu, 5 Mar 2026 10:36:49 -0800 From: Drew Fustini To: Icenowy Zheng Subject: Re: [PATCH v2 1/2] dt-bindings: hwmon: moortec,mr75203: adapt multipleOf for T-Head TH1520 Message-ID: References: <20260305144044.44208-1-zhengxingda@iscas.ac.cn> <20260305144044.44208-2-zhengxingda@iscas.ac.cn> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20260305144044.44208-2-zhengxingda@iscas.ac.cn> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20260305_103653_760358_229786AA X-CRM114-Status: GOOD ( 17.17 ) X-BeenThere: linux-riscv@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-hwmon@vger.kernel.org, Rob Herring , Conor Dooley , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Rahul Tanwar , Guo Ren , Krzysztof Kozlowski , linux-riscv@lists.infradead.org, Guenter Roeck , Fu Wei Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-riscv" Errors-To: linux-riscv-bounces+linux-riscv=archiver.kernel.org@lists.infradead.org On Thu, Mar 05, 2026 at 10:40:43PM +0800, Icenowy Zheng wrote: > The G and J coefficients provided by T-Head TH1520 manual (which calls > them A and C coefficients and calls H coefficient in the binding as B) > has the 1/100 degree Celsius bit (the values are 42.74 and -0.16 > correspondingly), however the binding currently only allows cofficients > as precise as 100 milli-Celsius (1/10 degree Celsius). > > Change the multipleOf value of these two cofficients to 10 (in the unit > of milli-Celsius) to satisfy the need of TH1520. > > Signed-off-by: Icenowy Zheng > --- > New patch in v2. > > Documentation/devicetree/bindings/hwmon/moortec,mr75203.yaml | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/Documentation/devicetree/bindings/hwmon/moortec,mr75203.yaml b/Documentation/devicetree/bindings/hwmon/moortec,mr75203.yaml > index 56db2292f062d..7d57c2934a8a1 100644 > --- a/Documentation/devicetree/bindings/hwmon/moortec,mr75203.yaml > +++ b/Documentation/devicetree/bindings/hwmon/moortec,mr75203.yaml > @@ -105,7 +105,7 @@ properties: > G coefficient for temperature equation. > Default for series 5 = 60000 > Default for series 6 = 57400 > - multipleOf: 100 > + multipleOf: 10 > minimum: 1000 > $ref: /schemas/types.yaml#/definitions/uint32 > > @@ -131,7 +131,7 @@ properties: > J coefficient for temperature equation. > Default for series 5 = -100 > Default for series 6 = 0 > - multipleOf: 100 > + multipleOf: 10 > maximum: 0 > $ref: /schemas/types.yaml#/definitions/int32 > > -- > 2.52.0 > I am wondering if there is any backwards compatibility issue but there are no other users of this compatible in mainline other than th1520. There is also the precendent 030d2a0ce5dc ("dt-bindings: hwmon: moortec,mr75203: fix multipleOf for coefficients") having change the property. I suppose it is a not a problem unless other people on the list raise an objection. Thanks, Drew _______________________________________________ linux-riscv mailing list linux-riscv@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-riscv