Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp6084195rdb; Mon, 18 Sep 2023 03:52:24 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEtxzCGzf/4u0an1MV+974AVwAhNx8IWxVlKE+45HNI6dVZlw0/8FStMSgckBZhdQ0H43M2 X-Received: by 2002:a05:6a21:3299:b0:159:c07d:66f0 with SMTP id yt25-20020a056a21329900b00159c07d66f0mr11173891pzb.6.1695034344043; Mon, 18 Sep 2023 03:52:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695034344; cv=none; d=google.com; s=arc-20160816; b=FZwBmyFQxfQKgdL/IcNjXQtF8JtMOax23fXnqQXF1xMye2RUNzLDrF25IeXhmYWt9c eeRykfbEnVQwBM96l4L6qIOu8YOVUvGIKAgM7qlKQd/bqCC2VJJS0rEbH1tRAzHh057c 8p/8wkeQqCtcrfNvSquaCe9MOPQ9BpqNtk22GFMcqhAvHQmvbPFP6KNhkiBDXvw5wopE q6IR4QEgfmqhVsNGFsi52jf5/TSvsx+bZ0Xe5NUhmAG4856jpGE7DUo7pUrWnzeKDGsP CekJSPzHJueNP1MRgkt+3DtUtldzfemqhSTgGVjlyd6WPUGXMyMHnDwCClpJET5qxrZp HEEQ== 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=1h0mfMJN8y2Fpx6TXWBnY89WoQ3bNceAgBMQh6Df+ag=; fh=MiBlpE3Jb5j7gopYr3sZ3cHhGlgu/rlJercmH7sUAJk=; b=EAqUmuLTJ5BCrfQY6Z87GNrA0CJ/7VkF6GnAga5/96HzJb9L769YoyeHBQbmW0XF+P 0vvUZ4vrnai9zIsFkSECV+shnWSVD2SjFamDjeZx2aOXdMIvuIe7QB6pg9E84tp2Gvds S8qq1/75rnbjMKSbfe27Ek+sRVmzMMaWt1re0pLSlO6dDFbNSO1P4tnxZxi5q5qgvQ22 3uJeiB3832eb+aPWpjwhb+z3fi13yzCMOqS8STuuOsLW2NCpTyRp5cByHpRYsBYHlPCm T4dfSteXJFbtuaDe0CGgip3nFNE0DalM8xMIthOs4+gXf6EoANMEqmOtuQlrnn9Nrzm1 eE+A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=BKGppC06; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 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 pete.vger.email (pete.vger.email. [2620:137:e000::3:6]) by mx.google.com with ESMTPS id k3-20020a6568c3000000b0054fe6b9502esi7927237pgt.687.2023.09.18.03.52.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Sep 2023 03:52:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) client-ip=2620:137:e000::3:6; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=BKGppC06; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 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 pete.vger.email (Postfix) with ESMTP id 5ADBE81A7BE9; Mon, 18 Sep 2023 01:04:59 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240556AbjIRIEa (ORCPT + 99 others); Mon, 18 Sep 2023 04:04:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51948 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240785AbjIRIDs (ORCPT ); Mon, 18 Sep 2023 04:03:48 -0400 Received: from mail-pl1-x629.google.com (mail-pl1-x629.google.com [IPv6:2607:f8b0:4864:20::629]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AF88010E; Mon, 18 Sep 2023 01:03:20 -0700 (PDT) Received: by mail-pl1-x629.google.com with SMTP id d9443c01a7336-1bf1935f6c2so29574505ad.1; Mon, 18 Sep 2023 01:03:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1695024200; x=1695629000; 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=1h0mfMJN8y2Fpx6TXWBnY89WoQ3bNceAgBMQh6Df+ag=; b=BKGppC06v2V4qMLCVRSGzSDW5CFPqHW6OOBawFOzMQZo4JRb5yfSUUZm9uHDK3xZHb cdM7+6p+h4CG9ODZlU/1ucBsy9VMQeVRYNcXEsmqW1SkHsUnGBHaa3r1ON68U2elT3gd /GD9wHYjHnrYiPOJ3Teh+eOATEM/AJD/RbPSNGUi33jRJkBLOA4iXxtulrL1UtZXjGOv uJ9wfwpDT/TWh3Q/x49ZuxFBmk5BRKyPJ11na1jCNx5LSkh6RhPS+BbldGw8JmT88POe +Sh6nBITR7yvo9WUlR0+meFaYa/2WJjk6yN47iVUg7f6rzdguyh9ZGNpxRDNWcL160bk iGnA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695024200; x=1695629000; 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=1h0mfMJN8y2Fpx6TXWBnY89WoQ3bNceAgBMQh6Df+ag=; b=q0opHk8+efDLhRTqtC92pD/z/KcSbz9+9KA+aFC4N9h7hw+uRIAAvOHTrihrRDFODI cp9N2KR9i+r/zavwmu46CzMRRK6vlt64D1eHpLIXQ2HEN6GRj2oqINwYqd8WAyHMqQUH Gc2/Hf7QcLFNKjztmLkAs6wZYuT4z2lkjSVQUAhiOFuCKDGjeR0ti4Eep+dirqHlbp7C YzfUhiuoYg9DvJME0+n/XIPi8QPJok70JclCb4KiASdfN6mm4PpUJ0nG1WEe5fp60+TF lsk5De0/PiZFO/SSDn5wpz3eHvPS1omj0l+EOakB6kmMkkNkSM1a95OWrrrJTa7ec93g /AfA== X-Gm-Message-State: AOJu0YytOmKm8TNTHNlhtC7HAjVbVBlJC9TS9evHyPoc2Jh1MUtQlGWj zcPLUcRU+FZMPngGeOzwgZ2ox54ZPNrYMw== X-Received: by 2002:a17:902:d2c1:b0:1bb:d586:d29a with SMTP id n1-20020a170902d2c100b001bbd586d29amr17077910plc.34.1695024199947; Mon, 18 Sep 2023 01:03:19 -0700 (PDT) Received: from localhost.localdomain ([115.96.179.37]) by smtp.gmail.com with ESMTPSA id w18-20020a1709029a9200b001bde877a7casm7716161plp.264.2023.09.18.01.03.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Sep 2023 01:03:19 -0700 (PDT) From: Jagath Jog J To: jic23@kernel.org, andriy.shevchenko@linux.intel.com, lars@metafoo.de, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org Cc: linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [RFC 0/2] iio: imu: Add driver and dt-bindings for BMI323 Date: Mon, 18 Sep 2023 13:33:12 +0530 Message-Id: <20230918080314.11959-1-jagathjog1996@gmail.com> X-Mailer: git-send-email 2.20.1 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 pete.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 (pete.vger.email [0.0.0.0]); Mon, 18 Sep 2023 01:05:00 -0700 (PDT) Add dt-bindings and IIO driver for Bosch BMI323 a 6 axis IMU. Jagath Jog J (2): dt-bindings: iio: imu: Add DT binding doc for BMI323 iio: imu: Add driver for BMI323 IMU .../bindings/iio/imu/bosch,bmi323.yaml | 81 + MAINTAINERS | 7 + drivers/iio/imu/Kconfig | 1 + drivers/iio/imu/Makefile | 1 + drivers/iio/imu/bmi323/Kconfig | 33 + drivers/iio/imu/bmi323/Makefile | 7 + drivers/iio/imu/bmi323/bmi323.h | 198 ++ drivers/iio/imu/bmi323/bmi323_core.c | 2260 +++++++++++++++++ drivers/iio/imu/bmi323/bmi323_i2c.c | 115 + drivers/iio/imu/bmi323/bmi323_spi.c | 106 + 10 files changed, 2809 insertions(+) create mode 100644 Documentation/devicetree/bindings/iio/imu/bosch,bmi323.yaml create mode 100644 drivers/iio/imu/bmi323/Kconfig create mode 100644 drivers/iio/imu/bmi323/Makefile create mode 100644 drivers/iio/imu/bmi323/bmi323.h create mode 100644 drivers/iio/imu/bmi323/bmi323_core.c create mode 100644 drivers/iio/imu/bmi323/bmi323_i2c.c create mode 100644 drivers/iio/imu/bmi323/bmi323_spi.c -- 2.20.1