From patchwork Fri Aug 11 09:08:24 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 13350270 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 53D52C0015E for ; Fri, 11 Aug 2023 09:08:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230009AbjHKJIc (ORCPT ); Fri, 11 Aug 2023 05:08:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55780 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229733AbjHKJIb (ORCPT ); Fri, 11 Aug 2023 05:08:31 -0400 Received: from mail-lf1-x12e.google.com (mail-lf1-x12e.google.com [IPv6:2a00:1450:4864:20::12e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9069D2D6D for ; Fri, 11 Aug 2023 02:08:30 -0700 (PDT) Received: by mail-lf1-x12e.google.com with SMTP id 2adb3069b0e04-4fe82ac3ab4so2670859e87.1 for ; Fri, 11 Aug 2023 02:08:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1691744909; x=1692349709; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:from:to:cc:subject:date:message-id:reply-to; bh=lY+LwKhdiwT5yUuk0pfp4VDPScPM/Qp05zIRykeUedo=; b=Ymm1VEr5VHHuUz1h0+0XGLFthsQ1Rf6B3gZS+Lpm3PWXOMXbVuAXMspHQ2NfZ+IvXK 7YO2Cp1V+hFu44BiVs8JmnR9WyGqm8b47pRH3/zmUnj6meoZi2gPBy/t23j0A9Htdk17 41x6Ipud2ZsqAgi1YleOSLog0zNo+LgL4bsMQhbKcV0tjKUjrpD7TdFBFKRWPeMD5JUh OOpeR51vEF3o/sniMiYFHlpseN/0h87a597AaogHaTTB5Ufbpmi+t/KlmdqXzQdbbQjr xK7/nGXBAARgUld1YIPelNHRgJcMZ1y2EDDh9WFLd+UZBd/ACjTzPcCK2zKRWBEQIGSL XpYg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691744909; x=1692349709; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=lY+LwKhdiwT5yUuk0pfp4VDPScPM/Qp05zIRykeUedo=; b=ESHE4om61fB6TyPlSLsJjU/NM3SsoBaMMMeBiKC4emDDpHRKkIRMLNt9tsNI1tbCc4 4aITp6bzaotd6FaJs0ILngiGrje8GojfxeZYedg5vsSx/t790md4R8DTZZtQg/EMR9MQ T7esTM4cJyDfwyyDCGlRsyy1mFy80nWIdmLip6F2iBCE8TS43zTDReKauyussFLmx12e 7DfM81ZT1g1G9BwDKm9kn2ExxTYmLfVhSxUvj1QAX8zScDn5e5GUTA1ebcLiGIzpLh1I pFvf1b2urDJHTQmXJnE+HnYRpkopLMtTOamg/glZuEnIwAl4jtkCutDnj6ks0+vuIiKi qHFw== X-Gm-Message-State: AOJu0Yza3Fz4kwsgyMoWfvkNrqCCFkOWbzx8i4QPHxbalwiVSgRwerJl H/rFyq7uAV60M3PU9iGDcTpquA== X-Google-Smtp-Source: AGHT+IHGPuOs6tx4yRfVp0Qm9TI8cnImteMDWSv8MiPZfesohXJLwu0z7qx277pTjY90I59383tM1w== X-Received: by 2002:a05:6512:33ca:b0:4fe:8e0:87f3 with SMTP id d10-20020a05651233ca00b004fe08e087f3mr927803lfg.41.1691744908749; Fri, 11 Aug 2023 02:08:28 -0700 (PDT) Received: from [127.0.1.1] ([85.235.12.238]) by smtp.gmail.com with ESMTPSA id w3-20020ac24423000000b004fe2f085d5csm642340lfl.299.2023.08.11.02.08.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 11 Aug 2023 02:08:28 -0700 (PDT) From: Linus Walleij Subject: [PATCH 0/2] iio: imu: lsm6dsx: Support temperature and ism330dhc Date: Fri, 11 Aug 2023 11:08:24 +0200 Message-Id: <20230811-iio-spacex-lsm6ds0-v1-0-e953a440170d@linaro.org> MIME-Version: 1.0 X-B4-Tracking: v=1; b=H4sIAIj61WQC/x3MSQqAMAxA0atI1gY6qKhXERfaRg04lAZEKN7d4 vIt/k8gFJkE+iJBpJuFrzNDlwW4bTpXQvbZYJSxqtUamS+UMDl6cJej8aLQWtfZpqaumhfIYYi 08PNPh/F9P0RtFZtkAAAA To: Lorenzo Bianconi , Jonathan Cameron , Lars-Peter Clausen Cc: Mario Tesi , Miquel Raynal , linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, Linus Walleij X-Mailer: b4 0.12.3 Precedence: bulk List-ID: X-Mailing-List: linux-iio@vger.kernel.org The ISM330DHC is used in the SpaceX Starlink terminals which are running a realtime patched close-to-mainline Linux kernel so let's support it because why not. Signed-off-by: Linus Walleij --- Linus Walleij (2): iio: lsm6dsx: Support temperature channel iio: imu: lsm6dsx: Add support for ism330dhc drivers/iio/imu/st_lsm6dsx/Kconfig | 8 +-- drivers/iio/imu/st_lsm6dsx/st_lsm6dsx.h | 26 ++++++++- drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_buffer.c | 4 ++ drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_core.c | 73 ++++++++++++++++++++++++-- drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_i2c.c | 5 ++ drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_spi.c | 4 ++ 6 files changed, 109 insertions(+), 11 deletions(-) --- base-commit: 06c2afb862f9da8dc5efa4b6076a0e48c3fbaaa5 change-id: 20230811-iio-spacex-lsm6ds0-33c9365e94bf Best regards,