Received: by 2002:a05:6358:489b:b0:bb:da1:e618 with SMTP id x27csp5862879rwn; Mon, 12 Sep 2022 16:00:40 -0700 (PDT) X-Google-Smtp-Source: AA6agR7zEK2LNLUMOG2xoH6NxWiIrJJFACctcx2pyLj88WaDBcOXodzuOvH3/q6PGyWS+VvAU+p3 X-Received: by 2002:a05:6402:84c:b0:451:a99b:f74a with SMTP id b12-20020a056402084c00b00451a99bf74amr6973337edz.100.1663023640098; Mon, 12 Sep 2022 16:00:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663023640; cv=none; d=google.com; s=arc-20160816; b=ptFsRyv+SLj9xdQhFx2ZiVpu0SdbSsgJe4C2qUSuOFPkuBcWzq6OTQiF9VHQctuE5D FDWeMkr/1McJmrKzwiWHYV+GB/qFSiplUKnys5OCLWTRiW+F1TNsfX66aXycXxxGkqPQ 417WEZ0JwGmrwu/fyAtdEBQokWyUn4pBCYZVGe4ziV4QxWdueCyD7deXwcNw6dSnIxwU nD58ro8eX6wOM8uHBHJKxbs59Bz5kM3R/xcB8WCI/GXLCGr+S/ZxbMxkaPoU9h4Fx05S bYTSF3BwHMpJ+Fo0DU0jtESBv1qHcLUPOObsklYogC8fvvryde5aSi/h4zG2rSXz/Wbc 6INg== 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 :dkim-signature; bh=W9K0Nbt/PATc7AYj/Tml8RmmX7jWgySUjWvxLIPI9Hs=; b=sYex6TynR6AvdljD+ZKw6jV8VKZamwca3pzgX+plb0D1Yq/cl380mJBVWZKSxHIH5i UH9f+dp3YO2N05RBe4LVoGuQbzxDvykIoSI4LdE/iTjEERYHtQKS0DvJhSwP1FdFUR0H XEwbmWzrXdUhBVpc0V075bbeG4OUuOGrZwjA+WfFQZDtlrfGoSjA/Dh8UfLC1M8TdR3N VH4fSZsaz5XfvCTGD32HvIw9HuIzNHJSOwVPYGg+L3wDwD+ezha3ylWvBH/Qa4SYhTnI hC7dJ2AHkxM1+fZhAGf0UJ0W3BICRj2IvQbsnfEOXXaTHIkbjvXgZfG1rskLbRCvycs8 JkNQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=OPQqp90X; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id p7-20020a05640243c700b00451624f2f0asi4864627edc.17.2022.09.12.16.00.14; Mon, 12 Sep 2022 16:00:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=OPQqp90X; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230243AbiILW10 (ORCPT + 99 others); Mon, 12 Sep 2022 18:27:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56264 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229945AbiILW1Y (ORCPT ); Mon, 12 Sep 2022 18:27:24 -0400 Received: from mail-wr1-x431.google.com (mail-wr1-x431.google.com [IPv6:2a00:1450:4864:20::431]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B15EF205D2; Mon, 12 Sep 2022 15:27:22 -0700 (PDT) Received: by mail-wr1-x431.google.com with SMTP id b5so17778592wrr.5; Mon, 12 Sep 2022 15:27:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date; bh=W9K0Nbt/PATc7AYj/Tml8RmmX7jWgySUjWvxLIPI9Hs=; b=OPQqp90XxQK8MNhCyZoOlB+WrzpdCGgXnFA/R5DjvJaGBHJm4UEwGxwqHJQNkKNiZI YFTR9ACJo8zLkhPIoZiE0/Y5V83TVrqbFIqmcEEpynmAg6cZCQoa1O7lBU/69WWUm6Pg Y5J4fVXZ53akuJRe0UxiG8kwxWzWspUmBiceMW/GiAnEF32IO2izerYbStj5DfCHmW6/ L8Fg0UpFn5HN/8lSahK7yCPjJLaYTBfhBXbIUNnFFTeT0q23Dl9WHyZ5TIfsh12t8bEX Pau5H9DBHmjl6CYkpi129TjS3SOKJY3Hip4zBTmu3zmVgVtc4S+dnkLkv1wbYq+Cb4/E rA5g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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; bh=W9K0Nbt/PATc7AYj/Tml8RmmX7jWgySUjWvxLIPI9Hs=; b=ICYamR3BClZ6nvUnlDTyLdl7mpoRU9TEB5LKsnegFjAQknqgLezQE9AN9LKc/O7Mr5 khkMAoox9uchUQQkAEOlCB3oNX0cSB/HiZLtBEXM0l7HPcd8glw0t2EwvjrXLZ4iBnXB GSsWcQG0N02hb24xSYczKV++s0t7ihtv5KUr4bsOfpMzdbEVPgivr48iPpr02VZt8UYZ cgDxqSvE79plIm8rmPfO2Q+QSQTaMLDRzgrVTBH+ytYcrmjXjsr4EgeFLAW4cBsoveaK qd6BRfuFb4940Zd7sVYh140uiHcNx3Ewudt4etfuQ2wC2SlVKqFQuUDiVTpnRWxJu/Tu K1sw== X-Gm-Message-State: ACgBeo1lS+zszAbNEy3zltIbEXetFprIpI02r1zNvKm4J1HMBXzl4jCf SsxCQOmQv7ukXz28++1ap5cAFggvSBs= X-Received: by 2002:a05:6000:1561:b0:22a:72a1:e3f1 with SMTP id 1-20020a056000156100b0022a72a1e3f1mr5392788wrz.456.1663021640859; Mon, 12 Sep 2022 15:27:20 -0700 (PDT) Received: from localhost.localdomain (188.red-83-35-57.dynamicip.rima-tde.net. [83.35.57.188]) by smtp.gmail.com with ESMTPSA id n186-20020a1ca4c3000000b003b47b80cec3sm7067940wme.42.2022.09.12.15.27.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Sep 2022 15:27:20 -0700 (PDT) From: Angel Iglesias To: linux-iio Cc: Angel Iglesias , Andy Shevchenko , Jonathan Cameron , Lars-Peter Clausen , Paul Cercueil , "Rafael J. Wysocki" , Ulf Hansson , linux-kernel@vger.kernel.org Subject: [PATCH v2] iio: pressure: bmp280: fix datasheet links Date: Tue, 13 Sep 2022 00:26:44 +0200 Message-Id: <20220912222645.377874-1-ang.iglesiasg@gmail.com> X-Mailer: git-send-email 2.37.3 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Updated links for BMP280 and BME280 datasheets on Bosch website. Datasheet of BMP180 is no longer available on the manufacturer's website, changed the link to a copy hosted by a third party. Changelog in v2: * Added a notice about the situation with bmp180 datasheet and list missing changes from newer versions. Reported-by: Andy Shevchenko Signed-off-by: Angel Iglesias --- drivers/iio/pressure/bmp280-core.c | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/drivers/iio/pressure/bmp280-core.c b/drivers/iio/pressure/bmp280-core.c index fe7aa81e7cc9..01cd32003ca8 100644 --- a/drivers/iio/pressure/bmp280-core.c +++ b/drivers/iio/pressure/bmp280-core.c @@ -9,9 +9,15 @@ * Driver for Bosch Sensortec BMP180 and BMP280 digital pressure sensor. * * Datasheet: - * https://ae-bst.resource.bosch.com/media/_tech/media/datasheets/BST-BMP180-DS000-121.pdf - * https://ae-bst.resource.bosch.com/media/_tech/media/datasheets/BST-BMP280-DS001-12.pdf - * https://ae-bst.resource.bosch.com/media/_tech/media/datasheets/BST-BME280_DS001-11.pdf + * https://cdn-shop.adafruit.com/datasheets/BST-BMP180-DS000-09.pdf + * https://www.bosch-sensortec.com/media/boschsensortec/downloads/datasheets/bst-bmp280-ds001.pdf + * https://www.bosch-sensortec.com/media/boschsensortec/downloads/datasheets/bst-bme280-ds002.pdf + * + * Notice: + * The link to the bmp180 datasheet points to an outdated version missing these changes: + * - Changed document referral from ANP015 to BST-MPS-AN004-00 on page 26 + * - Updated equation for B3 param on section 3.5 to ((((long)AC1 * 4 + X3) << oss) + 2) / 4 + * - Updated RoHS directive to 2011/65/EU effective 8 June 2011 on page 26 */ #define pr_fmt(fmt) "bmp280: " fmt base-commit: 2f61ff8272967c9bdcba810aa978170814b08f7c -- 2.37.3