Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp2813473pxp; Tue, 22 Mar 2022 06:37:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyqxEFlUJ5BnHvne9H0aN0hTDCRNk5zdu48ZYhpmqduqiaaozXQW8ijPbAaQkj7w0zZ1ca6 X-Received: by 2002:a05:6402:42d4:b0:416:5cac:a9a0 with SMTP id i20-20020a05640242d400b004165caca9a0mr29335072edc.86.1647956242474; Tue, 22 Mar 2022 06:37:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647956242; cv=none; d=google.com; s=arc-20160816; b=dtuBbnaI/YED89GcT968zNAwOnbrG3eP5i2m+DXZAxAph4h1NNAcVYknD5dR1m/3L2 zij9lBXJVr1oy18SxZzYhC5VXENL1YTAv2aKf4qRgiUEAsyajC4XqZl5qy3drO4s2XF4 v1T0T0BKe9KVLGuIn9MpfJOgI9CoSZUpIIcbmExr+75+stPQi3i1CoA9vQmCfY2XIFP8 R+X489L7FHXuQojvxmQq39YeTnL7qjyqcYbRUbSJEpom52MZ6ssdcOhUCf6owI9Byzqp JIYFkwMWHKXhEicBoV+/QIN793vby5sDpcX6YdZPjM6XG5Ypbmkq3NwUkjr9ZDMyFckS k7bg== 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=yUV+b/24xEACk54GkH3HnyPW/i5kMSOMbJxcMoEhFbg=; b=HqOgT1b9voXNtAL9Ujuzjyl99E5GAriSkXqJVsBXZF/ztIP3/9zOeZ9RrBhV1KNUqr DGndQiA/dkuEGzTCpd7Vv/3xvR1+F5FugwxM/P+wH5QJa5jTLML3ypz91aeJvjXDltGJ nzqD03Id5wRaYOG/weUhu9OmfOrxZs8rRBSCzrfZoTOTfMnng5IafmJ+g7LO3sbbFRqa Np10B+L4F+VxL3YtHsy7IZovB4V2VZ3g4DG8wePeJub+GSAQ7pdJeGTBDrttfG0pz2nA RgrKOVhzAfEuKHVkqValcQ8S0iqflT+sYC7pqyVWv57yFE+IpfqfD8OEwyLicV4G5XRr FQhw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sartura-hr.20210112.gappssmtp.com header.s=20210112 header.b=z3cIP7tD; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d21-20020a50f695000000b00418c2b5befdsi10171750edn.479.2022.03.22.06.36.27; Tue, 22 Mar 2022 06:37:22 -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=@sartura-hr.20210112.gappssmtp.com header.s=20210112 header.b=z3cIP7tD; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233780AbiCVLAh (ORCPT + 99 others); Tue, 22 Mar 2022 07:00:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42444 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233788AbiCVLAf (ORCPT ); Tue, 22 Mar 2022 07:00:35 -0400 Received: from mail-ej1-x630.google.com (mail-ej1-x630.google.com [IPv6:2a00:1450:4864:20::630]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DD7996A05A for ; Tue, 22 Mar 2022 03:59:07 -0700 (PDT) Received: by mail-ej1-x630.google.com with SMTP id pv16so35424714ejb.0 for ; Tue, 22 Mar 2022 03:59:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sartura-hr.20210112.gappssmtp.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=yUV+b/24xEACk54GkH3HnyPW/i5kMSOMbJxcMoEhFbg=; b=z3cIP7tDUi1vx9Prw83mi0aKnubO4pri0gwbgIZWm590raPVm+XW30qFK9B4C7e1Ml MY+B3vpgNc+ZVqMTXMCdQq4CEy39Ue5KVRbaRpN8urimYzSZdgQAGkKNFxxax9a1+Up4 AkOTXmQ70aPVUy0z4572x+EXH9Zv7PPO4Y/bt9YYgkjc+QnTBt7WvnYOevY5rwqkgNIN BTltRkACgOlvpV60U3rzJ2e1Pa2vL+GCaEE+3R9QFE/jbop04N5/fW02Q1oFN8wckNDF hQxmpxIIhX01aigTA/FJAEDcfAYZogZpPCqMERliAZ37NY9fbKrGGd29qglVvsAddpll lfPg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=yUV+b/24xEACk54GkH3HnyPW/i5kMSOMbJxcMoEhFbg=; b=04AwltltvyywdRDaILJS9R3n2LMTKb23cMDcIuLfpyJsXpoR3hiiM1XudgS4Z+rdd3 0+5SHnl5c9yduHkwZ1zV+V7KsQp/FgsuO1+mlAljYz9doBTK3B/IcWq4m/pxF5iaFGku Ox61QOyN/IFvVN34c+nga6ZNAQu38JJ6XMA8EImrckzilGdig7zoxf5ydHiV1juViT8F /tupw/buqQPIKuKJZshTwychbJvAnRz8EnCmAOdllLc0oOpQYw0bij7xIyjbWR2CRW6o 1uALXIXRHszumydscdZXST7SWMNc/v3Uf6JUn6ylHstcNpEmoiWEMfBKaEl2n8ujGlnF rf5g== X-Gm-Message-State: AOAM530ly/a0Oz+J2zuL6a9BA1eYaPCvmoLj/IWCbnJksq9m8YGXIx5o O5uudI65XikvvidYGOczAFjn/A== X-Received: by 2002:a17:906:dc95:b0:6df:d2cf:4d93 with SMTP id cs21-20020a170906dc9500b006dfd2cf4d93mr14794452ejc.66.1647946746489; Tue, 22 Mar 2022 03:59:06 -0700 (PDT) Received: from fedora.robimarko.hr (cpezg-94-253-144-57-cbl.xnet.hr. [94.253.144.57]) by smtp.googlemail.com with ESMTPSA id b7-20020a056402084700b004190d2fc521sm6150240edz.89.2022.03.22.03.59.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 22 Mar 2022 03:59:06 -0700 (PDT) From: Robert Marko To: 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, pali@kernel.org, marek.behun@nic.cz Cc: Robert Marko Subject: [PATCH v2 2/2] arm64: dts: uDPU: correct temperature sensors Date: Tue, 22 Mar 2022 11:58:57 +0100 Message-Id: <20220322105857.1107016-2-robert.marko@sartura.hr> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220322105857.1107016-1-robert.marko@sartura.hr> References: <20220322105857.1107016-1-robert.marko@sartura.hr> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,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 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 --- 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