From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pl1-f178.google.com (mail-pl1-f178.google.com [209.85.214.178]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B151C12E1EE for ; Thu, 8 Aug 2024 22:40:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.178 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1723156831; cv=none; b=Svj4ajHlw12M3qdZpNarG3tgauiyukkVibNDR/JaAZCHXZqNCNNlqX4jz4i6QYFhPJvpGNyhEFJwjk9ecwun83Ia9qr79cqywhjsf4uitBA8lhEbqZrtb7cLNSGsx3pX6p+aCMsmeWwDqiQ8JsGO3AiUWY9pddLNN3LAW4vzsBs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1723156831; c=relaxed/simple; bh=7/Yd8Now2RzaC2ZgU+e9VQMlAhXQP/Qjwowv4hiEQSU=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=lUTH79nFlVFGNwHgbSrkuYAOZRFFEnNaMMdCmnP1ODaBZENanoPLgjB3zyjnVUO03yRGf8SzHu40sedcW5DpJcYI9oUKCH7u+0DZkCK7CJIVtwXa8s5Jq766fRLJg34YAjiJCmmW4w16EB3Z1xvNk/IMuzcvbwxaVu3/czlZTWI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com; spf=pass smtp.mailfrom=baylibre.com; dkim=pass (2048-bit key) header.d=baylibre-com.20230601.gappssmtp.com header.i=@baylibre-com.20230601.gappssmtp.com header.b=1L0ZSaVt; arc=none smtp.client-ip=209.85.214.178 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=baylibre.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=baylibre-com.20230601.gappssmtp.com header.i=@baylibre-com.20230601.gappssmtp.com header.b="1L0ZSaVt" Received: by mail-pl1-f178.google.com with SMTP id d9443c01a7336-1fc65329979so14581805ad.0 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=vger.kernel.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=1L0ZSaVtrhfAxqmgFoX/SaX84/InIEcAQbcWyRhvvzxvQYyQHyx7ccst501jnMEjt/ nUtfmSxqHPc4j7FQyygEzZ1vhTwOBsnT7kbzz3DGZQRyaLrNgZXZnNAbKj72jwOyGMaS q9+o3atrqE1RcUy+k1pl++gsDnKIuOUomT7NRLflsWjLLN626OvABh/zb01UsOGSmAf2 uk9JTxTp/5qCBYivpJAKiT1gdKdUGQTxjxliGAMx8WxI5l8NzfYhCtuqj37FecTSuHXa tU85TrFJaXou51bFrRUl00BX47IQG1i1hFl0oBfofD9ZCfSjYIvW84ozdu8A880PoR8Q UJCw== 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=Xs6P+B+BoDZu6UJENX2AizO3Avv45bFPfTLE3CWCFfe0m59hVDPzPDhKsu0O+4V6vU pyLjyy0HxOLgSe18mrm53ThaKmzq+sJg7JYa1j6OVCLYsvbMs89PpN7h0hg0W4nhduEt Oy1Jqwn5x4p1yQfiyhxCoUlyslD2Jkg5lZyxlcsUmTW0innzjDM00HSnj00J/oUMXa59 paZ4p8Lwv+vdcQD/oc3hQwY3DhyK6csYYDTlpH4PjEymPRvEDZ8w1d27ODNahr3x/b3u zajZWbOCZ0HMn8VrhQBhBzJNmzFZlja5Q0kYBLctoo9zH76CcHbTTKtQ+UbcuXKOfer5 oLsQ== X-Forwarded-Encrypted: i=1; AJvYcCWDdxFlhoxEYkfIwRWWVXgbPsmZAWL1O4guujm7Nyi28FO6uobwfQsLL2wveoisx8HdHPXLulBc5t3swvtuHdWcRyVsmh0ZwSBMpm7K X-Gm-Message-State: AOJu0Yx+Na3BfBV+HoaucWuTjBY40CJqVLt9kmbSBfVWnfyP6NYWpIsT okIYhn3uzcXI5kcxtxRNvhxWWF4kw8Dr0+wU+4iUGqwBbhi5XMSBe4aPnDqzfH4= 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> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain "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