Received: by 2002:ab2:7b86:0:b0:1f7:5705:b850 with SMTP id q6csp142589lqh; Fri, 3 May 2024 16:46:15 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVTHzUix7tyzQKbKuug6pOy4GvCZhofM7pmo4jb4qk3Hy8LKWTiG5DY1fWv0Fx0LHMg34QzMtSCy9jbYhdhC70o7shrudtQso+gKPstRQ== X-Google-Smtp-Source: AGHT+IGQ5FCqKEWltHEcmtHSxmCfSyiRi5mMyqfu1HUjxt2bmTBCZ+uZHXXQyl9e6vOIvnvjirx0 X-Received: by 2002:a50:aad5:0:b0:572:a089:75cc with SMTP id r21-20020a50aad5000000b00572a08975ccmr3636091edc.5.1714779974809; Fri, 03 May 2024 16:46:14 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714779974; cv=pass; d=google.com; s=arc-20160816; b=iJfFztOZwbmwvucm1aiG2sG2u+0no/MJj3X2kijn5TlN1kEQuiKlESmNf+JFsAMW3p fVrQEcKnRQHXTynqqFK5yPKJbfaTo6djCTm6V5/BRg/rLiqfN4ZpZ+w0mlgquBhGbbXY kjUMohVz16XFctiujwOQd7G4cSWvHHuE4KMaNMu2KwKvgJi7kwmc0g5sezzvmvjDFAOp to2ZsCkKFITkBHsH9UfDTpyezBE6/9bvnA2Q7RhGKNUbfha+TjgsQgVfcOqbZ5mJHuZy UBfJOHF1O0Pya5gZ7ePpDA1LxyFfk3Dn1sdehhi9qKTcihrVyQRP9oOqYWU/DF/Afm/2 7n5g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:from :dkim-signature; bh=qAc6sj8C7qiSk0zYfab9+Z9vgRlgyh/FLkZdDSR9ImY=; fh=KvHXFGUM36xVdTHYp0p4lBcEzEcoRvGmeqWJ9QWbSk8=; b=yHc7itak2nZ4oA65bBOawvR/uc2vyoHN8SvFDg0pINcppcFBOc+dL7sdaELHwmiydq PKUONjxR7ylz8ZMy+iSWXzyL+raXr93jQTV1tBqJRCs8l79e+MX21/Ztv1p3HnGBpaYD En2Z/FkQMtZ7gkz1vsiWS1+bBvEQLKkKPMf24jNiL9ZbPYiDDZxU9yS20sJ/y4vXd5Kw jpXWYWTX4khPjQBy6dyLTIL7ZeIMhEtVz4pn6ei7UVNfl+bmu7QAjUtEkW+BLMLL0xLR LD95OLp6+aKFHzMVO8254ly4t8b3m728ZFxqKwGn5BXGqyhlCzQhC3XZGko4xs4Hk3P4 69DA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=jgNVtoTM; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-168426-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-168426-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id ca18-20020aa7cd72000000b00572a9746c46si844155edb.401.2024.05.03.16.46.14 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 May 2024 16:46:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-168426-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=jgNVtoTM; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-168426-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-168426-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 891EA1F22141 for ; Fri, 3 May 2024 23:46:14 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 32C0084FDD; Fri, 3 May 2024 23:46:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="jgNVtoTM" Received: from mail-wm1-f52.google.com (mail-wm1-f52.google.com [209.85.128.52]) (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 DA84B50297; Fri, 3 May 2024 23:46:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.52 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714779965; cv=none; b=pwCIzWF5JV9UOQ+zCQv3elg+T+MR8ty7WvygUqGxn7Ysn8WNk8sPyanQ2uarYLuZe1+msSs6dxJUCoGY6lsx/b64MokY6aTY6Jf8scDZVCCB2ooZKWB4xVG0e/krmnqDU/YRgwTNNdqpnbJMoKYX+KkYoTotXR6VMXK4v6Cs+0I= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714779965; c=relaxed/simple; bh=5K0UI727ZGH1My2g+t7Ps9iz2NzNhaFP6vQrhdlsX0U=; h=From:Subject:Date:Message-Id:MIME-Version:Content-Type:To:Cc; b=RHBik1mfE/SeXba805bB+vOAomHInqZ3AncvTwctTAURqdj+kiMHcTu0q6Y+0nsGrrlvIxqDxwRQId3Fu955dEe92YRqc6Bdq1ar/4anWdvbuqGpg7PpIkjye2ry7nRZdQ/orhv2gjHe8SFTdJmQJyJ9U1WCXOJyzZtAkmO4o4Q= 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=jgNVtoTM; arc=none smtp.client-ip=209.85.128.52 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 Received: by mail-wm1-f52.google.com with SMTP id 5b1f17b1804b1-41b782405d5so2439815e9.2; Fri, 03 May 2024 16:46:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1714779962; x=1715384762; darn=vger.kernel.org; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:from:to:cc:subject:date:message-id:reply-to; bh=qAc6sj8C7qiSk0zYfab9+Z9vgRlgyh/FLkZdDSR9ImY=; b=jgNVtoTMFyJvz0sYJB2c04dPOLItfDzndvYtsgqelwDBAZ7GZWC6lxq/gm9/LeWsNM xCi4fqHaVZiAHY8eIFsHO8J3+jyihPHiHol3DB5S0+bWVGwVPKo1ipslK7/HxG+fTeFd 0ZX/Mnw3K8I0SDTm31Cq5H63NjeND6AjY4Wb5X7gnYCGXtEcAIK/mRxpyieLJF4ihJZn keXva7vOJh69PffjaWSDZwEsQAWAFkgQW3EKjgvx/+UWD7wgUJ+D/9czOM0b9CSoRbSN Ad4DiBAfVf9oln2PNBPblMONqjBgkFN7CEj0tzmyIIBEyvIqfuzGjzfEpVjX/1nbxmju uQoQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714779962; x=1715384762; 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=qAc6sj8C7qiSk0zYfab9+Z9vgRlgyh/FLkZdDSR9ImY=; b=cGkPDhxka08+r82ibi564F3tIgLc9fsQvKrt+H0jgIBIsem/2R8vvKPx+wZhkqSJpt mzRQ4QMUZCyu3tAg5/7EM2OH6VaQnlwNbHSqsDjA5jb93arw+Mf3uPIdMmKAQV64DYV1 c+hzG/kfoBD75YPh+eHdxi0N2BKxRVV5GlbaDyGC0bH+OksRFLGBMbvbC9fSXVHNdiHs 10QWgC3SNNjpwWEVSXJXPlTIgnFMD0qLv2z+pT8VjWquUiDgU/eGpLuK0IRXsaeaTaH+ I7x4Xg0NtvtPVyr4ckLtvWdzBZiQtZAt0oFyasCfMVm494ahN06W55XVNjasthtlgrgn nRkA== X-Forwarded-Encrypted: i=1; AJvYcCUYxfBPfT9Cu96q6s7kC/H8rc4UyTG9DS3FfKsGM8f1hgN9N55y992WJha6fJOpgcn8gOAUSVuXWdhAhAdfkLNNNcii+SJKGQ4gUV9YgoqahqhXpOf9ODYi4xA9BC03kl/K20VUVRwKYA== X-Gm-Message-State: AOJu0Yz5i/ES5Dx94ikGGYihDTT/jc1fPdKsVyIBGcjqelgjOPmlgBkK TNo4L7khM9wRclfO2XMJGgMzeY6QOC/J7vC2POf1+LcPinX9NoAy1GrRhS+5 X-Received: by 2002:a05:600c:4593:b0:41b:d85c:d3e2 with SMTP id r19-20020a05600c459300b0041bd85cd3e2mr3942192wmo.38.1714779962077; Fri, 03 May 2024 16:46:02 -0700 (PDT) Received: from [192.168.1.130] (BC24954B.unconfigured.pool.telekom.hu. [188.36.149.75]) by smtp.gmail.com with ESMTPSA id v6-20020a5d6106000000b0034d743eb8dfsm4819405wrt.29.2024.05.03.16.46.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 May 2024 16:46:01 -0700 (PDT) From: =?utf-8?q?Barnab=C3=A1s_Cz=C3=A9m=C3=A1n?= Subject: [PATCH 0/2] Add support for bosch bmi120 Date: Sat, 04 May 2024 01:45:23 +0200 Message-Id: <20240504-bmi120-v1-0-478470a85058@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-B4-Tracking: v=1; b=H4sIABR3NWYC/6tWKk4tykwtVrJSqFYqSi3LLM7MzwNyDHUUlJIzE vPSU3UzU4B8JSMDIxMDUwMT3aTcTEMjA90U42QLi5TkJGMDc2MloOKCotS0zAqwQdGxtbUA0yU zAVgAAAA= To: Jonathan Cameron , Lars-Peter Clausen , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, =?utf-8?q?Barnab=C3=A1s_Cz=C3=A9m=C3=A1n?= , Danila Tikhonov X-Mailer: b4 0.13.0 Add support for bosch bmi120. BMI120 is an energy-efficient version of BMI160. Despite having a different CHIPID value, this variant seems to be fully compatible with BMI160. It could be find in many phones like xiaomi-vince or xiaomi-tissot. Signed-off-by: Barnabás Czémán --- Danila Tikhonov (2): iio: imu: bmi160: add support for bmi120 dt-bindings: iio: imu: bmi160: add bmi120 .../devicetree/bindings/iio/imu/bosch,bmi160.yaml | 4 +++- drivers/iio/imu/bmi160/bmi160_core.c | 24 ++++++++++++++++++---- drivers/iio/imu/bmi160/bmi160_i2c.c | 3 +++ drivers/iio/imu/bmi160/bmi160_spi.c | 3 +++ 4 files changed, 29 insertions(+), 5 deletions(-) --- base-commit: 9221b2819b8a4196eecf5476d66201be60fbcf29 change-id: 20240504-bmi120-d3c88dcb3073 Best regards, -- Barnabás Czémán