Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp2441407pxb; Sat, 30 Jan 2021 02:44:19 -0800 (PST) X-Google-Smtp-Source: ABdhPJz8OODYUcnjOgVn0FmHyf0c9hx1o/GIYuAHIJU0FIMWC3PDAWaaSqsjlC8NXxn4C8OSiURA X-Received: by 2002:aa7:d395:: with SMTP id x21mr404032edq.137.1612003459483; Sat, 30 Jan 2021 02:44:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612003459; cv=none; d=google.com; s=arc-20160816; b=YCmSmhD0dpFaV0OTpHuI6cdos6uRWWBIKLRQcsEkJjfF2b9/bralTtu4rr4uP3D5qM J9mEI1daz+46cg/sTJWDANkk6pUi0MNnlwFo64oqBb1e9oINP/ot5uh/b4gRj/gvzpOB BCYyfVq12BLfUNOp+ZPpMxcMXteh/9uHKXPsPBE9O4xgKdlVklHQEZGOSZRJ05mTtWlY qBATJWcxqvowpG2B+LQVLASb9oWtfcUXTOYUCyvqPeh55vFWHmBo5RBH82szWctr76+m tVNz0mYDAShQqeKZyCG1EFBi++WqME2NPjeYjrabJnpWO1ZPlH+lqLOybWOhqH6an8h2 Sg+g== 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; bh=QHNg8AruzMze6tgVZ1FwQxcSQRScmKhoIA72QZ2lZ34=; b=q9TVC6xvFKW6nrtl50JAVLLZ5K6pt1JGt8w0MC392Yhv7AZ34GktZl3g39er1BAz7z zbhFKjhmXsi25vbQWhYzMRVX1u84Pav/0HuwtebNsPXECu53QSyoVgw9eQOuiu7dlJSS 7iFyIFyvqAr1y6fBZqh3kgLy41N5ITwrpan4GDhzSDUSUkxyzwfXptsnsNQy+NdYc/rw x1wn3LBrXaqpJatgeB7o7Uip+JM0s12bA8j3mYuELzy2cmoQWPsTtYpmNqCm29TLCMbl kR8ulHNuvSZnIsV9tItgr/h+duIROGqqq7cuw3d33wkS85Ce1DMhT8j0S4/nYGTSE2ef sD0w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=msu.ru Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l3si7171531ejd.83.2021.01.30.02.43.55; Sat, 30 Jan 2021 02:44:19 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=msu.ru Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231386AbhA3Kk2 (ORCPT + 99 others); Sat, 30 Jan 2021 05:40:28 -0500 Received: from lnfm1.sai.msu.ru ([93.180.26.255]:57731 "EHLO lnfm1.sai.msu.ru" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231184AbhA3KkY (ORCPT ); Sat, 30 Jan 2021 05:40:24 -0500 Received: from dragon.sai.msu.ru (dragon.sai.msu.ru [93.180.26.172]) by lnfm1.sai.msu.ru (8.14.1/8.12.8) with ESMTP id 10UAdAc3015774; Sat, 30 Jan 2021 13:39:15 +0300 Received: from oak.local (unknown [83.167.113.121]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by dragon.sai.msu.ru (Postfix) with ESMTPSA id 0AECEF176; Sat, 30 Jan 2021 13:39:11 +0300 (MSK) From: "Matwey V. Kornilov" To: Jean Delvare , Guenter Roeck , linux-hwmon@vger.kernel.org (open list:HARDWARE MONITORING), linux-kernel@vger.kernel.org (open list) Cc: matwey.kornilov@gmail.com, "Matwey V. Kornilov" , linux-hwmon@vger.kernel.org (open list:HARDWARE MONITORING), linux-kernel@vger.kernel.org (open list) Subject: [PATCH 2/2] hwmon: lm75: Add another name for NXP LM75B to of_match list Date: Sat, 30 Jan 2021 13:38:23 +0300 Message-Id: <20210130103823.28914-2-matwey@sai.msu.ru> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20210130103823.28914-1-matwey@sai.msu.ru> References: <20210130103823.28914-1-matwey@sai.msu.ru> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org NXP LM75B is compatible with original LM75A while it has improved 11-bit precision. https://www.nxp.com/docs/en/data-sheet/LM75B.pdf NXP LM75B support was added in 799fc6021430 ("hwmon: (lm75) Add support for the NXP LM75B") OF compatible string "national,lm75b" for LM75B was created in e97a45f1b460 ("hwmon: (lm75) Add OF device ID table") Since the previous commit introduces "nxp,lm75a" compatible string for LM75A, there is a reason to add another alias for LM75B. Signed-off-by: Matwey V. Kornilov --- drivers/hwmon/lm75.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/drivers/hwmon/lm75.c b/drivers/hwmon/lm75.c index 37dc903ebf54..6cd951e062f0 100644 --- a/drivers/hwmon/lm75.c +++ b/drivers/hwmon/lm75.c @@ -703,6 +703,10 @@ static const struct of_device_id __maybe_unused lm75_of_match[] = { .compatible = "nxp,lm75a", .data = (void *)lm75b }, + { + .compatible = "nxp,lm75b", + .data = (void *)lm75b + }, { .compatible = "maxim,max6625", .data = (void *)max6625 -- 2.26.2