Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp2603011pxb; Sat, 6 Feb 2021 01:55:53 -0800 (PST) X-Google-Smtp-Source: ABdhPJyQ6ZChMVIVzgxH+0oqOCyCyG9XAm0if2m5to+iwvdKurdZ4QWzaNLmCwiSLjXfCumHNjGt X-Received: by 2002:a17:907:3e1b:: with SMTP id hp27mr7823522ejc.506.1612605352822; Sat, 06 Feb 2021 01:55:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612605352; cv=none; d=google.com; s=arc-20160816; b=f+a/CKbg5JI+XWAyqwa4VlxNMFXlc6vps9uGHVvJhBi9hi0dxqCfn0B6pbuvcfvg/1 0eRMTsXNSDmcvaJ/QrszTKkXXMRu5jelUk9GoMD18oMZqBKJg/xbfKY7qTGlNaut2gwE qbD2d9ct88JDiSTTEuZcK4Dd5/101CfCFoBa0YYUp50uChzLIFuLQZj2+8llDV4VCzHh EG1UCA6wXwVePCfqzB44PiToXLYh5KLOIpGSNq73037gBtNT1ClN0BcEGXHKaSYMeAzW CVWHRLmBldPlf7sia6TbcKuT8wSblv2yJ+qha8AQKMSwjL8U51wGR/2sBDAZRwmU5Rd9 7Mwg== 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=jWn0QM13IbDanHQG9rvu1MPk8IR/DDlIlR9mAkAwPCU=; b=xEhVQAQPJ7/sPvu2P2Gxc/7XfSOgQmeq9e86tLAePE0Qepp4nXqfofPE8CipXD1IGD dIapp0C6gge1g2Gq5xG9nrH+QF3TyXC0ywQX6awBlC4/PqFbnYmaXl2DV5Ax1jcoVb5r TBotQJHzA3SHYT59KCsd5/o6hU68Rt1ZpToMEVa9D+1v+K+ZVge7Nvf6wEALHfrVrTx5 TihafCfPtZrBEcYJnwrHvLVvSms+vNWIV5BSHs+lK0GugZHeBiFcizSYgb2FPykaPpnu YImF73vx+ddofJFe6nta+sIBf+TSxfojT+lRzl7P05WtrUFJKQO1uvEmq2+UA+aE0SV5 7stQ== 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 g7si6789865ejh.224.2021.02.06.01.55.29; Sat, 06 Feb 2021 01:55:52 -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 S229683AbhBFJxP (ORCPT + 99 others); Sat, 6 Feb 2021 04:53:15 -0500 Received: from lnfm1.sai.msu.ru ([93.180.26.255]:39747 "EHLO lnfm1.sai.msu.ru" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229587AbhBFJxB (ORCPT ); Sat, 6 Feb 2021 04:53:01 -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 1169pgBO029781; Sat, 6 Feb 2021 12:51:47 +0300 Received: from oak.local (unknown [83.167.113.121]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by dragon.sai.msu.ru (Postfix) with ESMTPSA id 72B5A6D827; Sat, 6 Feb 2021 12:51:43 +0300 (MSK) From: "Matwey V. Kornilov" To: Jean Delvare , Guenter Roeck , Rob Herring , linux-hwmon@vger.kernel.org (open list:HARDWARE MONITORING), devicetree@vger.kernel.org (open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS), linux-kernel@vger.kernel.org (open list) Cc: linux-hwmon@vger.kernel.org, linux-kernel@vger.kernel.org, "Matwey V. Kornilov" , devicetree@vger.kernel.org (open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS) Subject: [PATCH v4 3/4] hwmon: lm75: Add ti,lm75 to of_match list Date: Sat, 6 Feb 2021 12:51:20 +0300 Message-Id: <20210206095121.20625-4-matwey@sai.msu.ru> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20210206095121.20625-1-matwey@sai.msu.ru> References: <2588ea5c-630e-6509-689d-4c8fea358e9b@roeck-us.net> <20210206095121.20625-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 Currently, armada-388-helios4.dts and nuvoton-npcm730-kudo.dts use "ti,lm75" compatible string. TI LM75A/B are compatible with original LM75A https://www.ti.com/lit/ds/symlink/lm75a.pdf https://www.ti.com/lit/ds/symlink/lm75b.pdf Signed-off-by: Matwey V. Kornilov --- Documentation/devicetree/bindings/hwmon/lm75.yaml | 1 + drivers/hwmon/lm75.c | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/Documentation/devicetree/bindings/hwmon/lm75.yaml b/Documentation/devicetree/bindings/hwmon/lm75.yaml index 8c3848f4c277..721e77ce4390 100644 --- a/Documentation/devicetree/bindings/hwmon/lm75.yaml +++ b/Documentation/devicetree/bindings/hwmon/lm75.yaml @@ -32,6 +32,7 @@ properties: - st,stds75 - st,stlm75 - microchip,tcn75 + - ti,lm75 - ti,tmp100 - ti,tmp101 - ti,tmp105 diff --git a/drivers/hwmon/lm75.c b/drivers/hwmon/lm75.c index 9c54c7d86771..3e4374aa2f99 100644 --- a/drivers/hwmon/lm75.c +++ b/drivers/hwmon/lm75.c @@ -750,6 +750,10 @@ static const struct of_device_id __maybe_unused lm75_of_match[] = { .compatible = "microchip,tcn75", .data = (void *)tcn75 }, + { + .compatible = "ti,lm75", + .data = (void *)lm75a + }, { .compatible = "ti,tmp100", .data = (void *)tmp100 -- 2.26.2