From mboxrd@z Thu Jan 1 00:00:00 1970 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 94959C3DA4A for ; Thu, 8 Aug 2024 22:41:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Type:MIME-Version: Message-ID:Date:References:In-Reply-To:Subject:Cc:To:From:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=vnFFKslAyQCvTlzcAGgFXS35aWJRluBhjxEK1S5MBPE=; b=uSpvvw+oKHId2L1Nx8/OKgR2Cl DUGlNa9iHVhUYAqGsCVI1yd8UJw/+sxeFmc7t/l2DfW2amTF6s589SRKqbaiKUCvJrc1r1OZQTuXY P4h5zl9U/jJgPKgKXR/O0cPjmifLXP/BO1D4MZt1jWMeBxziQjBP0sDi96IX69WWO9xQ92SSMZM8d a3d6/8HqcYl9tEHuUq+ZO92nNHQYTsBQn03PaikzsoEanDoowhRLr79lpUHn518qpLuh920vL5aQE FnFKfeiGioJa3YGgC7tm1H3b/aiQY+WsfAjyuaaujSLB8cUn6DfZ4mFow01y+FZkSd8qHKWAeaibz 98UsopcA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1scBog-00000009eKP-1eg0; Thu, 08 Aug 2024 22:41:06 +0000 Received: from mail-pl1-x636.google.com ([2607:f8b0:4864:20::636]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1scBo6-00000009eFo-3Aue for linux-arm-kernel@lists.infradead.org; Thu, 08 Aug 2024 22:40:32 +0000 Received: by mail-pl1-x636.google.com with SMTP id d9443c01a7336-1fc4fcbb131so11590395ad.3 for ; Thu, 08 Aug 2024 15:40:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20230601.gappssmtp.com; s=20230601; t=1723156829; x=1723761629; darn=lists.infradead.org; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:from:to:cc:subject:date:message-id:reply-to; bh=vnFFKslAyQCvTlzcAGgFXS35aWJRluBhjxEK1S5MBPE=; b=e1OsxyOKc8ds35cudOMU/zusUuDSqUQ4RzixfETostZxkgtj9bFN1stt8WAI3PFah1 JLZaAU6/Hdxy7lAqdkPaIQPyHFCdnCoUDJxkr3qtXjxMzP+npxIA8fgIgl5Z4/x2iM/H Zg3LS97nDJoLUOKvlwqKl8lKVXnqW0u5b3SmzotmAg2neATV6aYqzjbg6ojewNY/qD0v YmAqo0gt1BMQnLU+TE9d8WH8KOC7la+l/UjAW39gEYeqTIoMSfZvNj0BUNcDISrNaCXV llsokh+AOllnopmP9SLwiERfCKK11OlZVc9n+Zai2HmAipdFriHWiRpi2NcmzpqF/gz4 /YNQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1723156829; x=1723761629; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=vnFFKslAyQCvTlzcAGgFXS35aWJRluBhjxEK1S5MBPE=; b=oOru5wzXAxRtRWJcJA2DxFaG7nQ97+in9v6cdKmqezr0lcukvjITssSeyKrQ9879If R7dqWijbLDfGChg/fEcPvBZRKF4uczcmBy4XL5Vmv+LBHqXQK0A2PEhIFhUILwsFEYTP 6c+9CcyG7hanjDo9IYXwXSiQz/bSA2uSnwZf3MkLBzo2t6SyQA4vM1frEdb0CbpADpn4 Mbv0QkS5KM/EsbGXS6iMYEovwZ8+I3c8VyqtoSpQc5zQC+c1przVY0elScAsB83fylxu DN4X4KG9bfSKU2yOOStIfyMyu4ShkiRd2Lvg8LhgDMHAHUUet0KTXtCHAzSTCOiZP0US 7vuQ== X-Forwarded-Encrypted: i=1; AJvYcCVfsUsYoYM96Jqe3JpoB9jrFTcUrmCpBYa8QDMVL0AKJmzDwBrAPCtiwYn6NXxRsk7FsYbEoxKZhVeea5AS7jiqMF3m+2/H9BfNEjWjLOVvn7rIHog= X-Gm-Message-State: AOJu0Yw2DQE56hGkc/Xiu0Nm0ZTIpAsbNIBQeGD+/jbNyCWTk9bxS0TH i9No+BslaNre6qeVTIrwh4WNGRLay5Onz5Cft3kqupTb2pxG5FUdLScF208CdbI= X-Google-Smtp-Source: AGHT+IFuozGVpD2S8JcbyZGe128XhqnFMQbDl0tXLzyrxRy3snyF4waOTyuxeRGS6PqrGLYA3KLmIg== X-Received: by 2002:a17:903:228c:b0:1ff:4d4f:d819 with SMTP id d9443c01a7336-200952633e7mr47633515ad.34.1723156829035; Thu, 08 Aug 2024 15:40:29 -0700 (PDT) Received: from localhost ([71.212.170.185]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-200668fc398sm85768725ad.207.2024.08.08.15.40.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Aug 2024 15:40:28 -0700 (PDT) From: Kevin Hilman To: "Rob Herring (Arm)" , soc@kernel.org, Krzysztof Kozlowski , Conor Dooley , Joel Stanley , Andrew Jeffery , Dinh Nguyen , Andrew Lunn , Gregory Clement , Sebastian Hesselbarth , Avi Fishman , Tomer Maimon , Tali Perry , Patrick Venture , Nancy Yuen , Benjamin Fair , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Vladimir Zapolskiy , Mark Jackson , Tony Lindgren , Michal Simek Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org, openbmc@lists.ozlabs.org, imx@lists.linux.dev, linux-omap@vger.kernel.org Subject: Re: [PATCH] ARM: dts: Fix undocumented LM75 compatible nodes In-Reply-To: <20240808164941.1407327-1-robh@kernel.org> References: <20240808164941.1407327-1-robh@kernel.org> Date: Thu, 08 Aug 2024 15:40:27 -0700 Message-ID: <7hcymir63o.fsf@baylibre.com> MIME-Version: 1.0 Content-Type: text/plain X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240808_154030_972507_935D8401 X-CRM114-Status: GOOD ( 17.11 ) 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 "Rob Herring (Arm)" writes: > "lm75" without any vendor is undocumented. It works with the Linux > kernel since the I2C subsystem will do matches of the compatible string > without a vendor prefix to the i2c_device_id and/or driver name. > > Mostly replace "lm75" with "national,lm75" as that's the original part > vendor and the compatible which matches what "lm75" matched with. In a > couple of cases the node name or compatible gives a clue to the actual > part and vendor and a more specific compatible can be used. In these > cases, it does change the variant the kernel picks. > > "nct75" is an OnSemi part which is compatible with TI TMP75C based on > a comparison of the OnSemi NCT75 datasheet and configuration the Linux > driver uses. Adding an OnSemi compatible would be an ABI change. > > "nxp,lm75" is most likely an NXP part. NXP makes a LM75A and LM75B. > Both are 11-bit resolution and 100ms sample time, so "national,lm75b" is > the closest match. > > While we're here, fix the node names to use the generic name > "temperature-sensor". > > Signed-off-by: Rob Herring (Arm) > --- > SoC maintainers, Please take this directly. [...] > arch/arm/boot/dts/ti/omap/am335x-nano.dts | 2 +- For this one... Reviewed-by: Kevin Hilman