From patchwork Mon Mar 18 15:38:34 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kousik Sanagavarapu X-Patchwork-Id: 13595464 Received: from mail-pf1-f174.google.com (mail-pf1-f174.google.com [209.85.210.174]) (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 63974524BD; Mon, 18 Mar 2024 15:46:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.174 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710776778; cv=none; b=CbLm6VIvv4uNfLIflLScc5XoBJBl5knCammUHouMLQQFjrtPdWDPFsTutylh2zbW9dKasC0vNEuOFHYtYV9f1py1LLhZacrzP4U06qFJu9KOe0pRuDSlOBR2jV49Rxv8gfh827I3FjbXobp7rMu1NO6NWKAr1f2rglZym/e0Mpc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710776778; c=relaxed/simple; bh=pN6gBHQH+U7zmnj05igyF+tWRAWUqSXcl7RJeV4tZUg=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=KavqKZz75sejX3Ovu1/GAoIXSCuRxMOWpEphisfdr4KZ94Nvo8XaXGLelMjyQKeS8MPn80XdBRlsDNcw3YZGIvsYw4OMTWmEDB1/Fpiqv98yy1wY/gkW3nOWBJ4IPoMYvOM+xXujjv36QyW/UZhpCQJmmPJRHsExz6L8c4la7gk= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=O/RbE34u; arc=none smtp.client-ip=209.85.210.174 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="O/RbE34u" Received: by mail-pf1-f174.google.com with SMTP id d2e1a72fcca58-6e7224cb3f2so838757b3a.1; Mon, 18 Mar 2024 08:46:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1710776776; x=1711381576; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=//cjIHsLGxZvDadUYfdQ9t2weBDzGP5AK8GunubsHTs=; b=O/RbE34uovB005TYKXuwHpxMEOWoAQ7F5Bbme8pjEbscvEPJfcGsg6flE6rQUsaQv1 2h29EfeSB2o30Au4MwSnIk42cL6y63/eCj2LeH/xyP39Em8bsPMrDYyQDdJg2s2TBxSA f2ZQpaGyFcp+v7i5YYI5aXnSkpTuV2zLoF8IHNpJkN4Odmn1dIdyko89t+KiNSdkXE0t YxXXO0fukrgx5LezoCMkKKEae/VFFT/kkQUxn61zFmktzqbeSR2qel/usfXKkOtieQkD aR5txXgqKc20sH2zWRNlP5Oid+Ti5kRRXdz/P6ECWZp5inCIvNLLV/LT3VVHui0P6kC0 AfvQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710776776; x=1711381576; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=//cjIHsLGxZvDadUYfdQ9t2weBDzGP5AK8GunubsHTs=; b=WERRwRGcp/L1I0FDBSL17ELc75Fk7ahgnhIdpbKo8ZOG9iC6fw92BvXTPQPxUH2nPx PbZheFA5v6AhYf+u58d3fvFFl+t4zXcPx2uCOpLBo6u8ZRYdAVBiWN02XWfhQ+7ZGJJO XmiUN8U2Zyh8vg74bL6tgQM6t4Cdn9HQMjzKMWSmOOCpiX2IeFoedzSmGMVpa7IAL5GO uS0+olox49jN2GfzE8s6KE4MZ47GbeBAXgY+tDXLfd2qEQPW8IXy3axntjzkIKJSxHsV tBVOc1Ng5lwqnSgyaoSgEGLibFdXvpgqBXcRhnlDkskL1VjeBQFdYGashtpJmgVdQcW7 QZEQ== X-Forwarded-Encrypted: i=1; AJvYcCUA9Wb005BVf0n7Jm1t1a0F+BJucaAMf8ZKW/Y3za2DRYS6E6qHDLwl9H5SErFm3BRCQ2vl5JXo5i7Z1T71EoDOHpi1vAdTeTNfUiw= X-Gm-Message-State: AOJu0YyEMB4yWhOZOTISY2k0w2mahbvbGjoGuqA7kJ11p92YSQkB25cO LuQPcA8f3NVr1GR1L8XOqIn5OnS3lZYgrSEY7wOBhAdvjHyHgA7WDUJVkB5IIzk= X-Google-Smtp-Source: AGHT+IH/S0D3hlf/DZm4yR8jlYMf0YKTmf3rxwefTnyvdsjrPuq3YbxvTRjevTKhL1GuZNQMQHGDFw== X-Received: by 2002:a05:6a21:3a83:b0:1a3:63cd:5262 with SMTP id zv3-20020a056a213a8300b001a363cd5262mr5436677pzb.26.1710776776230; Mon, 18 Mar 2024 08:46:16 -0700 (PDT) Received: from kousik.local ([2405:201:c006:31f8:807c:8911:659b:1495]) by smtp.gmail.com with ESMTPSA id u8-20020a6540c8000000b005e840ad9aaesm2400080pgp.30.2024.03.18.08.46.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Mar 2024 08:46:15 -0700 (PDT) From: Kousik Sanagavarapu To: linux-kernel@vger.kernel.org Cc: linux-spi@vger.kernel.org, linux-hwmon@vger.kernel.org, Mark Brown , Jean Delvare , Guenter Roeck , Shuah Khan , Javier Carrasco , Kousik Sanagavarapu Subject: [PATCH v2 1/2] spi: lm70llp: fix links in doc and comments Date: Mon, 18 Mar 2024 21:08:34 +0530 Message-ID: <20240318154540.90613-2-five231003@gmail.com> X-Mailer: git-send-email 2.44.0.273.g4bc5b65358.dirty In-Reply-To: <20240318154540.90613-1-five231003@gmail.com> References: <20240318130840.74589-1-five231003@gmail.com> <20240318154540.90613-1-five231003@gmail.com> Precedence: bulk X-Mailing-List: linux-spi@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Update links in the documentation and in-code comments which point to the datasheet and schematic. The current links don't work because National Semiconductor (which is the manufacturer of this board and lm70) has been a part of Texas Instruments since 2011 and hence http://www.national.com/ doesn't work anymore. Fixes: 78961a574037 ("spi_lm70llp parport adapter driver") Fixes: 2b7300513b98 ("hwmon: (lm70) Code streamlining and cleanup") Signed-off-by: Kousik Sanagavarapu --- Documentation/spi/spi-lm70llp.rst | 4 ++-- drivers/spi/spi-lm70llp.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Documentation/spi/spi-lm70llp.rst b/Documentation/spi/spi-lm70llp.rst index 2f20e5b405e6..ff98ddc76a74 100644 --- a/Documentation/spi/spi-lm70llp.rst +++ b/Documentation/spi/spi-lm70llp.rst @@ -6,7 +6,7 @@ Supported board/chip: * National Semiconductor LM70 LLP evaluation board - Datasheet: http://www.national.com/pf/LM/LM70.html + Datasheet: https://www.ti.com/lit/gpn/lm70 Author: Kaiwan N Billimoria @@ -28,7 +28,7 @@ Hardware Interfacing The schematic for this particular board (the LM70EVAL-LLP) is available (on page 4) here: - http://www.national.com/appinfo/tempsensors/files/LM70LLPEVALmanual.pdf + https://download.datasheets.com/pdfs/documentation/nat/kit&board/lm70llpevalmanual.pdf The hardware interfacing on the LM70 LLP eval board is as follows: diff --git a/drivers/spi/spi-lm70llp.c b/drivers/spi/spi-lm70llp.c index f982bdebd028..3c0c24ed1f3d 100644 --- a/drivers/spi/spi-lm70llp.c +++ b/drivers/spi/spi-lm70llp.c @@ -29,10 +29,10 @@ * * Datasheet and Schematic: * The LM70 is a temperature sensor chip from National Semiconductor; its - * datasheet is available at http://www.national.com/pf/LM/LM70.html + * datasheet is available at https://www.ti.com/lit/gpn/lm70 * The schematic for this particular board (the LM70EVAL-LLP) is * available (on page 4) here: - * http://www.national.com/appinfo/tempsensors/files/LM70LLPEVALmanual.pdf + * https://download.datasheets.com/pdfs/documentation/nat/kit&board/lm70llpevalmanual.pdf * * Also see Documentation/spi/spi-lm70llp.rst. The SPI<->parport code here is * (heavily) based on spi-butterfly by David Brownell. From patchwork Mon Mar 18 15:38:35 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kousik Sanagavarapu X-Patchwork-Id: 13595465 Received: from mail-pf1-f171.google.com (mail-pf1-f171.google.com [209.85.210.171]) (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 B39F3524BD; Mon, 18 Mar 2024 15:46:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.171 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710776784; cv=none; b=kYZ/yEnEAmqdFjaWKOlRTTUqXmt0RLyEjifjZhBwEW9GeY8qIwIbM1szsi/Zm8K8wQSs6dOfNnzW3ICrfyOn3hp/ptWphcKqCy4I063k1/15EoSpUXTiC/uId1kLXGp3sspHRspv52IM1hHAFHheAT1loTwr8LS25BOPXNXhokA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710776784; c=relaxed/simple; bh=WxHwKXMNCGsjAQJ9XWxSYt4pFJRKzmB/HVljAZQq3VY=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=FnlYzlKMmwO7LkXc0hvj/Y3okAtgdEIh4L4okJPSFoz/QP7EVq38Hm5IOj1J8YmaS2opEShfJLYbELh62QLvimOVmtWRaiafDjxL6SZFOzILVwceavjMkq4PvUk7ZMbSgDFlkLFwC9/Mr/lHbKCSN+2lBQMYT7wG/wPZkR2cqzU= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=V0Tr5OJe; arc=none smtp.client-ip=209.85.210.171 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="V0Tr5OJe" Received: by mail-pf1-f171.google.com with SMTP id d2e1a72fcca58-6e6cb0f782bso3777001b3a.1; Mon, 18 Mar 2024 08:46:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1710776782; x=1711381582; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=eWDSD9O32qOZWl7Ul+3Std0rh3NiTvNf73A2v9mV+98=; b=V0Tr5OJeR6QySZHXPh8fQeIgCjXdxO0ojsW0hIDX46GbMsoyABBNBRi5YdHePpizlw usV03aaU9FA0rCBvw2gxT/I2HKl2LR0x1rOgqoe2XNDDiluUI4CZ+G1/ShOZRoiEnO+h sY3yYit2M5Ob26BHiy4ljXGa3H5Rijngn40uzX3IHvuMnzjKEZkmfLVOxD/O06swJLi2 g0sht2Z5reE3Gsgj9/63uhId3o/40n/UrAlAM8zmXr5lDQvhHRKS7PHWP52FIV4zesSF 0zgZgmsR94nxsPvjC7DB461BS2fkRUl8guZbh5rPcy61DvHMeYhCWqksP4magp1+J0HO DwxA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710776782; x=1711381582; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=eWDSD9O32qOZWl7Ul+3Std0rh3NiTvNf73A2v9mV+98=; b=TzorPBEarq2oC/nOANb1utimX8Y6CT93yO0z2i/+zXYWvaajEekOfSLCwoNd+5UoLT 8RbOGdsL4OljfZFI437f8tb+k0d0Dq2TkJjq7u7Xc2CO6h3H/lDtSTSxE7ilhW8szYT+ /x5lka0QUoA15muKdOdVopBhekaelZOdPmKlOtTWdaSDsbJMPknocY+BYloGJr5j3tGF IH6+D3tnQcX01Aw72hLMfKGSgPlc5lchIV3BQ2da2ICgfYrMuMa5rom47EiH88L4cZ1A FJ/+a20V5CSRRmGIHzHCxxsvAtwwThsA64xYmvWD1ESmLJsiZyZQH3+z/sR7HQDBuann Hu9w== X-Forwarded-Encrypted: i=1; AJvYcCXakiQu3QvYbSEZnNAlMdkea0hw61Ghxc94d8aaDuhKbDPk26gFAF7CfY06ArWOPEj0c3bF+n1YE/+wl/BmVi9bqT9eBL55JnHwTpA= X-Gm-Message-State: AOJu0YyXaDf0WEI9GU58S3y5zPAduxCN+pSmKw7L88iVk2lj6CiTen50 XBGlSqqwulY4wmmL3iu9InkA6Y2J8SUsihSIxi7N6rTrb6TM4dEFGoGoVTUtRDU= X-Google-Smtp-Source: AGHT+IF9ezMFrgmg81YnnlBQ5XtkvSji7s6rZhcEn39FQIiZxnqwEtV7xv/hjiJy3hhnovoustu1TA== X-Received: by 2002:a05:6a20:72ab:b0:1a3:409f:b9a3 with SMTP id o43-20020a056a2072ab00b001a3409fb9a3mr12468512pzk.23.1710776781794; Mon, 18 Mar 2024 08:46:21 -0700 (PDT) Received: from kousik.local ([2405:201:c006:31f8:807c:8911:659b:1495]) by smtp.gmail.com with ESMTPSA id u8-20020a6540c8000000b005e840ad9aaesm2400080pgp.30.2024.03.18.08.46.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Mar 2024 08:46:21 -0700 (PDT) From: Kousik Sanagavarapu To: linux-kernel@vger.kernel.org Cc: linux-spi@vger.kernel.org, linux-hwmon@vger.kernel.org, Mark Brown , Jean Delvare , Guenter Roeck , Shuah Khan , Javier Carrasco , Kousik Sanagavarapu Subject: [PATCH v2 2/2] hwmon: lm70: fix links in doc and comments Date: Mon, 18 Mar 2024 21:08:35 +0530 Message-ID: <20240318154540.90613-3-five231003@gmail.com> X-Mailer: git-send-email 2.44.0.273.g4bc5b65358.dirty In-Reply-To: <20240318154540.90613-1-five231003@gmail.com> References: <20240318130840.74589-1-five231003@gmail.com> <20240318154540.90613-1-five231003@gmail.com> Precedence: bulk X-Mailing-List: linux-spi@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Update links in the documentation and in-code comments which point to the datasheet. The current links don't work because National Semiconductor (which is the manufacturer of this board and lm70) has been a part of Texas Instruments since 2011 and hence http://www.national.com/ doesn't work anymore. Fixes: e1a8e913f97e ("[PATCH] lm70: New hardware monitoring driver") Signed-off-by: Kousik Sanagavarapu --- Documentation/hwmon/lm70.rst | 2 +- drivers/hwmon/lm70.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Documentation/hwmon/lm70.rst b/Documentation/hwmon/lm70.rst index 11303a7e16a8..02ed60dddffb 100644 --- a/Documentation/hwmon/lm70.rst +++ b/Documentation/hwmon/lm70.rst @@ -5,7 +5,7 @@ Supported chips: * National Semiconductor LM70 - Datasheet: http://www.national.com/pf/LM/LM70.html + Datasheet: https://www.ti.com/product/LM70 * Texas Instruments TMP121/TMP123 diff --git a/drivers/hwmon/lm70.c b/drivers/hwmon/lm70.c index c20a749fc7f2..481e4e1f8f4f 100644 --- a/drivers/hwmon/lm70.c +++ b/drivers/hwmon/lm70.c @@ -6,9 +6,9 @@ * Copyright (C) 2006 Kaiwan N Billimoria * * The LM70 communicates with a host processor via an SPI/Microwire Bus - * interface. The complete datasheet is available at National's website + * interface. The complete datasheet is available at TI's website * here: - * http://www.national.com/pf/LM/LM70.html + * https://www.ti.com/product/LM70 */ #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt