Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp2440859pxb; Sat, 30 Jan 2021 02:43:27 -0800 (PST) X-Google-Smtp-Source: ABdhPJz+Osnn7GPj4psIpNegIfhjGkVKCP8R9QWiqNmnvBUaygOudbbrN8vJmG3yKw1ZS8alz09x X-Received: by 2002:a50:fb04:: with SMTP id d4mr9332340edq.315.1612003406900; Sat, 30 Jan 2021 02:43:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612003406; cv=none; d=google.com; s=arc-20160816; b=Kg4tDQw/aMJeJH+A1+vb351nPt1mq7hAKpQNI67YPgh8YsDJ7Xp4QZocLEASKCh1wA tvxGkvg7KjCy2ydjluWtW2utoCSNpoDO0elQ43/uHxlvfAe3Ma+Wrmzp/pVhfhjaNAFE k/QDH5IZt+RqvGu2vluVK1CgHD2y6dsFsuXXqtc9hLCTHISUGMXxwZOOU3byCxY50ESi HrXSXd/GUHUMaBbKkRHQ9xPXTkiL/g7ijDA2s+EhuGh+YbWIO0MeGsY6I++YmDn1lEti qO5srSKYLVecRXGeohESXtoeVY0TUK2ZeImVkfhI9Gw5N7dDWUWEjUcKQPYhWhsFhlcM wTVA== 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 :message-id:date:subject:cc:to:from; bh=BcSXq1Dyc2+GH4pTL4/9CMfWdEhtRET00kBoT7ehbmE=; b=tyqPLrb6EugmVNC1pgb67/zzX26YPADQoIUNbFG3c3ViBswQ0vggWZyO8VMg1CWlVa 90LJdEGm0KKXBg683CzRE9vm5soYuP3cvcwVWrj4dMtdVtXu5dPpC2q6E1kl1M0ahqgs 36DChz38hKRriwn2bHPwTnlRfGzJhI1ik0SmwrDHKcdq5SkSDCHRsdadcy3GUrwaLsLR 6ShcvguT5mkIrv95FOJ4zdofsuh6CZ23bzBHFYCFi+cVvdpTuh93iLCB+h2cZGIP8mUm C0qxNe8Vm8J1CEK/eHWo0ThAOSHm/c+JAPkLhPHDxZx3PaGicz2NXJeQ3KK+9cxMUX+/ dr1w== 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 t24si6258164ejr.255.2021.01.30.02.43.02; Sat, 30 Jan 2021 02:43:26 -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 S231235AbhA3KkZ (ORCPT + 99 others); Sat, 30 Jan 2021 05:40:25 -0500 Received: from lnfm1.sai.msu.ru ([93.180.26.255]:57730 "EHLO lnfm1.sai.msu.ru" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231179AbhA3KkY (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 10UAd7B7015772; Sat, 30 Jan 2021 13:39:12 +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 308AA508A; Sat, 30 Jan 2021 13:39:08 +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 1/2] hwmon: lm75: Add NXP LM75A to of_match list Date: Sat, 30 Jan 2021 13:38:22 +0300 Message-Id: <20210130103823.28914-1-matwey@sai.msu.ru> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org NXP LM75A is compatible with original LM75A while it has improved 11-bit precision. https://www.nxp.com/docs/en/data-sheet/LM75A.pdf 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 3aa7f9454f57..37dc903ebf54 100644 --- a/drivers/hwmon/lm75.c +++ b/drivers/hwmon/lm75.c @@ -699,6 +699,10 @@ static const struct of_device_id __maybe_unused lm75_of_match[] = { .compatible = "national,lm75b", .data = (void *)lm75b }, + { + .compatible = "nxp,lm75a", + .data = (void *)lm75b + }, { .compatible = "maxim,max6625", .data = (void *)max6625 -- 2.26.2