From patchwork Mon Mar 21 12:17:28 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Robert Marko X-Patchwork-Id: 12787174 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 61382C433EF for ; Mon, 21 Mar 2022 12:18:51 +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:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=c8vSaQPoVHv4/eWlbAZHgwc921poViCk1mi0BY6ILxw=; b=Ha10dqgoixfKwr raXaMrGJTosrci2PGaDWgAOc6+J4CILLk9vmuaFSTZ0A3IlWgYI307jU1prm+0kQeMRplL8Osf7Um EtmM//TUIBOkMMpRChL0qwPav37Aax+fesRNwGvaVbg1sVh9X8f9F3mWKtynmmyZdEmEnCI9s7wBH bPPuEZQ1fZYeGIhBS7gVftej8rp/aD8Wet+xfb9BWcoRz2lD6Vpx+ubaMchI/4ebPsbVw/n/8FsHN 7ze6OFrrM6wmU7gBEJxjdRBblYGbbhatB+Or+JmUt4h3e+LjiCeg/lQxOKxOpertjF+fQ1cmpRg0R aYaL8DZuVvhLOCyYrMRA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nWGys-007fTg-2C; Mon, 21 Mar 2022 12:17:50 +0000 Received: from mail-ed1-x534.google.com ([2a00:1450:4864:20::534]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nWGyf-007fOh-81 for linux-arm-kernel@lists.infradead.org; Mon, 21 Mar 2022 12:17:38 +0000 Received: by mail-ed1-x534.google.com with SMTP id w25so17551339edi.11 for ; Mon, 21 Mar 2022 05:17:36 -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=zXQHV7xhs1+qQGzsApkPKomyxdaSi4u+eiszdEIex30=; b=P+B3xRU9nM1ybFEr201qd9Nk4AK511B52XTvQkJZUF8bjNIvLECb6DCJGSk6q5v1eY md25xWrQzfUIH8cQq1QH96WVIYzVeWFbAlGIAmRf4srVC42Xn3wVIVgSjBK0rClKafbC kuImu1VpMQ6HFAyhurx4Dzsiwj7sssXe5eBaBbN7p8TDGoNDT3fNuMxhCa5+mRBdDVa4 XVAd5sPWUCkoScZvD2sODtj5Ymqu3grih5KSUZOn09AOfOswqgVjabDg3lrdErNcx8tL uFKdLx7B29ec+5HfF52T9CvTA2A/gnIqTXtMB0HSvsKwhRaJyEUhpv6xPYFfWfZxphqS 7pfQ== 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=zXQHV7xhs1+qQGzsApkPKomyxdaSi4u+eiszdEIex30=; b=a1Z+FQ6q3REyBj+3e44yrPxu57oz+qZmGr6X0klQb0eqODfo5qHP2kpFzig+ainskk kFV0kyEw8iUuvYRXNF/QoIpj3cKGVqGO8DPbYRTJCS4XfcdLWZgoUrE38retBibUmcUE imzziXili+1wKiJXqORTvD0w/SrBGGeqPI99Aq8UgvUHfIecTfBicwdfAp0IcQ6dQVOv vPdqk7Mmjw1BnT2sFxe8W2BvoyruItcXhjnqkxBJRp6fJEvyyrOYgf5Ol6paaPmL0kLB QpCCszLCY4YfFmfrjoX/UZMpyGgEgj4iykPjjW/y7vKYZc7v0nH2TJ5YIEAJFh9UU/rq Z+dQ== X-Gm-Message-State: AOAM5306TYnvaA2S554ebltqu9BD5gamryQCO51T4QvcEPupRxe/efPX zODwqzywTLrMSj1FN5u0jK5Aog== X-Google-Smtp-Source: ABdhPJwyOOZaHig7gW3+fwhDHOFX6o1eeyAfF9L2Wf6l3aKqXb9eHevOBOSe8B4VZXyd1baYD46rVg== X-Received: by 2002:a05:6402:4396:b0:418:d776:14c1 with SMTP id o22-20020a056402439600b00418d77614c1mr22911214edc.127.1647865055468; Mon, 21 Mar 2022 05:17:35 -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 nc7-20020a1709071c0700b006dfe66694dasm2457100ejc.144.2022.03.21.05.17.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Mar 2022 05:17:35 -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 2/2] arm64: dts: uDPU: correct temperature sensors Date: Mon, 21 Mar 2022 13:17:28 +0100 Message-Id: <20220321121728.414839-2-robert.marko@sartura.hr> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220321121728.414839-1-robert.marko@sartura.hr> References: <20220321121728.414839-1-robert.marko@sartura.hr> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220321_051737_320160_509F5F3B X-CRM114-Status: GOOD ( 11.76 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.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 --- 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>; }; };