Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp2037434rdg; Sun, 15 Oct 2023 08:18:13 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFJuLa/WkGIzYlZQyq6t8MSg5/FbhX7uJSkgoMmT414QMvkkN3G5EEof7tCQIDvsVAa3gvK X-Received: by 2002:a17:902:cf46:b0:1c9:dee4:87ec with SMTP id e6-20020a170902cf4600b001c9dee487ecmr6803038plg.39.1697383092826; Sun, 15 Oct 2023 08:18:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697383092; cv=none; d=google.com; s=arc-20160816; b=SBeeZFyiUEVH+2iiNblTTMJUXkYFGgTm3IH9/qbvlGiYGgx+AQQlzrIsizxPFguZrp N2Vlq2OoHqnNA+SapN8zfFCeys7ab9kPjN5xZnEI5uFwEDMKzQQBwO5VjkEUJdCWGrc4 DbJvi8j/Xo+OD8XHOkWZUBArUCxVkmTBZN2qJ20W2BElkCt60+/XxPekhgDwZvwcTgpP bO2eua9sTHa5MFc5RApb1j4dzDObLXVqMaVHWA6eWS+J79wKWRhQunXfEyHJhVu1TK2v D2hGly22k8tBSnrrwWxNL1wLxeWTfDthISpR0Owaxhp82+lUW7flTsRgqAmPJliIq/D8 NFlw== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=6hN8/T5csc2eyAKIgjmzBuDVcsX2FfoJF5gsqGYHVrY=; fh=7iFVCHvh+AM/6broDGlcTK1nrHuSVLQyXB5ocMqSQw4=; b=ahyaV8JM0xsYX6Ky2H+A1yHlaj9b1mz7TJp1ZBGvP9V6/xMuJWFz+ECp8BtYQwMsn/ HXARwxCwHREiJn4boxiihgRVdRIX0XvGgGT6VtYMRkvg56dDGjxuvFbtgUZUQ+Gb2kmz Qx5mLsgFCkeWhsQEnzCgKunLvsjTvGjOxbVb6zNKd5Ayblc9cTZqdljSQaida0y9qdVY 3Geyc9dH9YCn0u3zOcbqIhL35JomLTSk5llQWIhOh0zWb+JfyCHAr+ykQO7afCfCc+7J ZE+NGULobApE/8fvius5EL543yMM80OzZzVroMqpU7tS38xKZPlz5DZlD1jVg/8QXcJM pnOQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=Zu1Ch5oR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 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 fry.vger.email (fry.vger.email. [2620:137:e000::3:8]) by mx.google.com with ESMTPS id i16-20020a17090332d000b001b8b437b01esi9362185plr.350.2023.10.15.08.18.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 15 Oct 2023 08:18:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) client-ip=2620:137:e000::3:8; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=Zu1Ch5oR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 35931809FA66; Sun, 15 Oct 2023 08:18:10 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229839AbjJOPRs (ORCPT + 99 others); Sun, 15 Oct 2023 11:17:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48986 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229522AbjJOPRs (ORCPT ); Sun, 15 Oct 2023 11:17:48 -0400 Received: from mail-wm1-x32b.google.com (mail-wm1-x32b.google.com [IPv6:2a00:1450:4864:20::32b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 93B28AB; Sun, 15 Oct 2023 08:17:46 -0700 (PDT) Received: by mail-wm1-x32b.google.com with SMTP id 5b1f17b1804b1-4054f790190so40398715e9.2; Sun, 15 Oct 2023 08:17:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1697383065; x=1697987865; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=6hN8/T5csc2eyAKIgjmzBuDVcsX2FfoJF5gsqGYHVrY=; b=Zu1Ch5oRW/nXMpVrHjew6ctZC9ImgIEDPWXNjW5kW28G0iNxzny87sODhi4RZS73JI Ekp5T0XJsotSXu3qq8+8GNp3y1hkZj99WMCShJM/0pUukZNr6wnKJM320c+AxnT86aCh v1mBZgiJzMPgUNAyC2hR2Uke8N0UNOg+YrLPQlCGNsZuiii+WavwyIgUM/IouMvTmpQa PQ5CYLND5l3029hhA2jByC+X7ymwQSyNlPPfJnxZYVoiJY3LrE9lgvR1L4onDDM16/kZ ajIAyScGTJDgGxpkCBKrdjmVaGiN/NYMC4or7GHyjLXLUAXeruoMGcgtCmiXKMEQ4JAB vL+Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697383065; x=1697987865; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=6hN8/T5csc2eyAKIgjmzBuDVcsX2FfoJF5gsqGYHVrY=; b=HrQKALdAoVwv8rnPYesDw3JOpfEZHPcU7KYNiSGYywiAXRKzivZniV03aaN87OqLLN 63ulmMTNPXZqpfHbqTyV1K9YcprIyF5y8pgwWs3vXX7kIH0fFfrm9+ruAcVDxScq+1N1 H6yXBxupXx+eWtdImYMGXPImoYo7xWUIrXCFRNTt1DUhqWtX8PQkUesFQaztOhBPPcta q0rYXsBlENA+Id2jRM3HOCBF0VArdm1DcyLYy2EoSo5cwLU+n0Ec6Z5SHYGkG8i7P9wX drA7mMAP7IiZW4DAEdZaRzWasMfa63ZR+iiae9mAsBT0A8uXyxdhHv9ZFs9pLRa1Vcz0 pNIg== X-Gm-Message-State: AOJu0YypsIE761VpN5r74OGSRrKuwUDmgRatIHxdlWQlgq5Dx+68ET89 jBb78MIYXfzYz+AgStZUKcByS6vw19Q= X-Received: by 2002:a05:600c:3b82:b0:407:8317:ad81 with SMTP id n2-20020a05600c3b8200b004078317ad81mr1110252wms.1.1697383064429; Sun, 15 Oct 2023 08:17:44 -0700 (PDT) Received: from localhost.localdomain (13.red-83-35-58.dynamicip.rima-tde.net. [83.35.58.13]) by smtp.gmail.com with ESMTPSA id n35-20020a05600c3ba300b003fc16ee2864sm4712455wms.48.2023.10.15.08.17.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 15 Oct 2023 08:17:43 -0700 (PDT) From: Angel Iglesias To: linux-iio@vger.kernel.org Cc: Biju Das , linux-kernel@vger.kernel.org, Angel Iglesias , Jonathan Cameron , Lars-Peter Clausen , Andy Shevchenko , =?UTF-8?q?Uwe=20Kleine-K=C3=B6nig?= Subject: [PATCH 0/5] Add support for BMP390 and various driver cleanups Date: Sun, 15 Oct 2023 17:16:22 +0200 Message-ID: X-Mailer: git-send-email 2.42.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Sun, 15 Oct 2023 08:18:10 -0700 (PDT) Add support for the Bosch BMP390 pressure sensors and includes minor driver code cleanups. Patches 1 and 2 update I2C and SPI driver matching logic using newer helper functions available. Patch 3 fixes minor coding style incoherences. Patches 4 and 5 introduce support for the new BMP390 sensor allowing sensor families to have a list of known device IDs to improve detection This patch series is aggregates patches from various series: https://lore.kernel.org/all/20230812175808.236405-1-biju.das.jz@bp.renesas.com/ https://lore.kernel.org/all/cover.1691952005.git.ang.iglesiasg@gmail.com/ https://lore.kernel.org/all/cover.1692805377.git.ang.iglesiasg@gmail.com/ Angel Iglesias (4): iio: pressure: bmp280: Use spi_get_device_match_data() iio: pressure: bmp280: Rearrange vars in reverse xmas tree order iio: pressure: bmp280: Allow multiple chips id per family of devices iio: pressure: bmp280: Add support for BMP390 Biju Das (1): iio: pressure: bmp280: Use i2c_get_match_data() drivers/iio/pressure/bmp280-core.c | 56 ++++++++++++++++++++++++------ drivers/iio/pressure/bmp280-i2c.c | 8 ++--- drivers/iio/pressure/bmp280-spi.c | 10 ++---- drivers/iio/pressure/bmp280.h | 4 ++- 4 files changed, 54 insertions(+), 24 deletions(-) base-commit: 73006239ef2313f1986f86af86f8b06150a807e9 -- 2.42.0