From patchwork Tue Mar 22 10:58:57 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Robert Marko X-Patchwork-Id: 12788256 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 31047C433F5 for ; Tue, 22 Mar 2022 11:00:36 +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=FYQgeWRWlFVl139SW2x0xOXUa0uReQC2gXAWdG/5stE=; b=YvM1Xj1Yt+IQRr Z8p22pMBxxqRAnr5Qi9Vxn4qdcm3gtMk88GJeqfqyIakuVU77HQWbcHO4MZM1MGZgBGvQNOoI8qFL C/5R5FNlPKX4AgcvrLWjx5rBIGP8wzIU1SY4fSU5/r3Ftq/AIEfPL9TD/SFkuybQjcVOEPcgdhslz vUf/6DUVGjTgz8YA0k+jgyEsNYXevLZIQro0cibp6x0lP83LtkCdJsTYcPN1KzkX19NezAMo3aHiR mlYn2sABUTtdTJQLxLCRj+qnktaB/QGmC/BL8khvT2A9He5MyWdKVZRjeJQ3mOXNiIJmDJhUn4UxQ YaWmZDKXifQdoN3Z9WAg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nWcEd-00Al5F-0N; Tue, 22 Mar 2022 10:59:31 +0000 Received: from mail-ej1-x62d.google.com ([2a00:1450:4864:20::62d]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nWcEa-00Akzz-0T for linux-arm-kernel@lists.infradead.org; Tue, 22 Mar 2022 10:59:29 +0000 Received: by mail-ej1-x62d.google.com with SMTP id qa43so35235812ejc.12 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=LXTm5M3x+spJ2Qav81b5QQoca8bWgkzWCxQABZx0SKQXG0RyHRfRmS3KaXoD6v2cGf ZwtZ9QoMhzqrQi7vVC+ry0lvGHmzyZ2u1EKLDQUTa6ljZBO0umcKu6EZSQXmbmKCoK1q NghGIPG6JpXMqCeH8MHfU6yFWbPCN+LIlaJpxsbPZpG/FBNibtkh3LR6YyRArr//w8BV rxjbnuHZsrOS1/eYzGjIhUqX/Qboij4AIbF6BLbvdpy14yUwXH0R4DVBnpmjF03ILh8b MR64N0PQa+JLVreNtOjOqhh9DnawiN+RmZAaTk01l26joAZjcoFqqoxuw6pKInmBBu54 ZH5Q== X-Gm-Message-State: AOAM530MW73/d5ak3MONWYsS5oPekthI+7LP9Gz+a6BQ3ObaQNAJrcla MgAJ61YQRMGSkQiLWtyPXUAP8w== X-Google-Smtp-Source: ABdhPJybvmrftgNEY7e5v4fLGu8QcpLRxL2IW7FJxva/IwfaMih5qFOYP4MyoNCVcUl1M7Tmgy1wsQ== 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220322_035928_057596_DFE86032 X-CRM114-Status: GOOD ( 12.29 ) 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 Reviewed-by: Andrew Lunn 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>; }; };