Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp3830283pxp; Wed, 23 Mar 2022 06:38:51 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzAc1FTD3gEf9OL0jpkHIhdbQxYY11hC7MTu3/GuamwJnUsmeHi9/E7rGk/v2jfuVdyBJWv X-Received: by 2002:a17:90a:b10c:b0:1c7:2461:89ff with SMTP id z12-20020a17090ab10c00b001c7246189ffmr11632779pjq.163.1648042731760; Wed, 23 Mar 2022 06:38:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1648042731; cv=none; d=google.com; s=arc-20160816; b=U21nOrqVTscmRn6tby1odAJVtSl8Oq/LCab0rPzFxOM4XIxEx8O3PiEQzS/bIYqAES whpP/9qqGn8JUU7VNEZNg2XINhr6ZpMHEDD8E6QgiQTY35cvjfOnOIgNqaxHXOm2zPs5 +2GNwZRiyfriT0rj8XrdANTjd8ki/I9rJx6uAj1eofZBqJ7ig0WLqn7p2BjdniYnmTdA N+aCRtZUNlnQ2zqSC2kSJ+2dybyoNtc6Ba+Wmw8mD7cQSHCkU3ejgCZOQWtEoG2ytMVD SSZFTR09gD1igifRIQ35WxPlOhEYO+e+qhG+RAXXmtRNPpqo57uyiHErruxLb93PzOTs YvYA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=NTR1NLcdsoYXuHQr038y5i3k/++8XMMxDpK6bvv+eyQ=; b=WMEMMU9CAQqq59mq50b5EGVIq+oEQMK8K6SBMiZoWoQ/KhL7kJ/1/dsZFDVzP/+lIA q4OuxUsboN9yUB6FqVc3iLWsvyW4YFC1H5N5UveJUwRoQygJaawBI0quk10IB7tsYY5q XxGL5JJJIVbS7fRbxIvZTI8LXdVUGexpih6fb8XXrlGtjtEv4YWLzEdAITmfbtkmOU9E LNwf8hnni7brw7QBsKlXj6NuwE0gLHl0gwtj1bAYgBi7+5RkzlKrK+9oo3TPftWKjwHW N86Ba2fZy2R9jdL51bMUyZBXcmk9KJlIpe7Sa3MzQmvpWpNpJpixF4hwBkXrlZxoRi8M k0tg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=EW+Tezg6; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c15-20020a17090aa60f00b001bd14e01f8bsi5146971pjq.121.2022.03.23.06.38.37; Wed, 23 Mar 2022 06:38:51 -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=@kernel.org header.s=k20201202 header.b=EW+Tezg6; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229883AbiCVSuc (ORCPT + 99 others); Tue, 22 Mar 2022 14:50:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52608 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229542AbiCVSub (ORCPT ); Tue, 22 Mar 2022 14:50:31 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D00E85AEE5; Tue, 22 Mar 2022 11:49:03 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 895B1B81D12; Tue, 22 Mar 2022 18:49:02 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2CAEDC340F2; Tue, 22 Mar 2022 18:49:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1647974941; bh=GezTty0jPoyFJLxyLQyA1KLxy9CHoc9y6yF+W6ZDHqI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=EW+Tezg6MJ9CTsRF6nd9zHrO+NTai3t2i/r0wNX+SmIk4nwkXW3F6qYcbpKGfUtf2 dPqN26kOslkDv4aMn04gojtLkrs9JRyTgm5Plb08K62SA9p2C2fD1EWmtifhpiecQr jQYHBUrvv5U9tsooAE7+FZLlZPFq4JBY+LbON2jJaS+9nZMM7x/gILPa7IPRZv4HiI 1u5sE6zMSzdbQaK9Dwq7RHd0WS5dbuhmEB7Z0cSEVIZzjEox89xm81M4kZ7YpqvUK2 Mhf23Ai+eTH+ecbhQVTNeDVQmjFbnxfOwm28NDFkxNavND8WbjebUXh6jSruGY5TvF bkww2lHfjGDQw== Received: by pali.im (Postfix) id C113E843; Tue, 22 Mar 2022 19:48:58 +0100 (CET) Date: Tue, 22 Mar 2022 19:48:58 +0100 From: Pali =?utf-8?B?Um9ow6Fy?= To: Robert Marko Cc: andrew@lunn.ch, gregory.clement@bootlin.com, sebastian.hesselbarth@gmail.com, robh+dt@kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, marek.behun@nic.cz Subject: Re: [PATCH v2 2/2] arm64: dts: uDPU: correct temperature sensors Message-ID: <20220322184858.irr5p75tdu4mths3@pali> References: <20220322105857.1107016-1-robert.marko@sartura.hr> <20220322105857.1107016-2-robert.marko@sartura.hr> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20220322105857.1107016-2-robert.marko@sartura.hr> User-Agent: NeoMutt/20180716 X-Spam-Status: No, score=-7.9 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 Tuesday 22 March 2022 11:58:57 Robert Marko wrote: > uDPU has a pair of NCT375 temperature sensors, which are TMP75C compatible > as far as the driver is concerned. > > The current LM75 compatible worked as all of the LM75 compatible sensors > are backwards compatible with the original part, but it meant that lower > resolution and incorrect sample rate was being used. > > The "lm75" compatible has been deprecated anyway and is meant as fallback > in order to keep older DTS-es working. > > Signed-off-by: Robert Marko Reviewed-by: Pali Rohár > --- > Changes in v2: > * None > --- > arch/arm64/boot/dts/marvell/armada-3720-uDPU.dts | 8 ++++---- > 1 file changed, 4 insertions(+), 4 deletions(-) > > diff --git a/arch/arm64/boot/dts/marvell/armada-3720-uDPU.dts b/arch/arm64/boot/dts/marvell/armada-3720-uDPU.dts > index ac64949bb53e..1f534c0c65f7 100644 > --- a/arch/arm64/boot/dts/marvell/armada-3720-uDPU.dts > +++ b/arch/arm64/boot/dts/marvell/armada-3720-uDPU.dts > @@ -153,15 +153,15 @@ &i2c1 { > scl-gpios = <&gpionb 2 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; > sda-gpios = <&gpionb 3 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; > > - lm75@48 { > + nct375@48 { > status = "okay"; > - compatible = "lm75"; > + compatible = "ti,tmp75c"; > reg = <0x48>; > }; > > - lm75@49 { > + nct375@49 { > status = "okay"; > - compatible = "lm75"; > + compatible = "ti,tmp75c"; > reg = <0x49>; > }; > }; > -- > 2.35.1 >