Received: by 2002:a05:7412:3784:b0:e2:908c:2ebd with SMTP id jk4csp446800rdb; Sat, 30 Sep 2023 10:33:26 -0700 (PDT) X-Google-Smtp-Source: AGHT+IH+gQJm9LM7W7VQKAZUZqXM6H2GMDDjC4MCGp559YQWj5aqQmD5SbUYYB13B1uhhRdzBrED X-Received: by 2002:a05:6a00:1a8f:b0:68a:5e5b:e450 with SMTP id e15-20020a056a001a8f00b0068a5e5be450mr8142439pfv.26.1696095206062; Sat, 30 Sep 2023 10:33:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696095206; cv=none; d=google.com; s=arc-20160816; b=drzsteAX7Wm7fwNKMBmJ5KXnVHM1KarE8/4JObXq7fp+ARZYUn7W3VzghsoJd2UlVT bFqBefGbRyDgWiZKYCMW/q3+rbD/pY92y4JabQzxgaOHzPD/VFLkk5/Mcq9624HeGOBc CY47tVnF0qZUqg/xSI8swTnLuPYwGD059aF+RnQf3RxP/yMdCjRB3tVGK0hT7wy+VqIP pbT2NzDjbvWhk6zWlxTaAtkG1a3Q1YpAiZkWtY5aSSX5z5MqSknvB1skwKzYBQBSh7XO rP4LeSxX6mI076ivfrEpVJtJTURQ3trBX3Pz5yzI4tZKM/aFN8vb2b3En5vSouNEeFwc 8kVw== 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:subject:cc:to:from:date :dkim-signature; bh=OvPEvfGRZOKAFyS8SCdoh4Xs3dBHotrjjdEU9OmgV7k=; fh=tYPTaf7WrCM/yPgwK0KpCIf+LBfFlNS4OxrTZzOQzeA=; b=b2lWLTod0J+EKBgw2NaHBC/OeN1Rz6KZn/bF/NYDdIv5F5YElcrZS+cq0Kjl2k8eJ0 oH0DPXsu2nOLk74nzQB1g/SDeSBrrhCSSR45v1MQBflbfCw6YRzl7ZM/kF8nGXjXwhTa 7NXv7xQfrfGvgFpCJRJ6DfIizVCmkpFk9jVuvgk2XBKvr2w+k014iXp2iV2aynk/w8B/ sHS7n3h6oa2XNpmc0XnQzOnEYV9DJQdYo29hze2UavYPAF8XUilNqJlEA59qaytFCBxy nHIiviC/Dt8L5mSZzKoPkAlfXrd0sAIYTVnk0sBXDAYAVS1C3ybFQ0ZGwJhe4AVJF35Z 4D6g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=HBvyHVEQ; 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=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from pete.vger.email (pete.vger.email. [2620:137:e000::3:6]) by mx.google.com with ESMTPS id cr7-20020a056a000f0700b0069353ac3d43si5974357pfb.79.2023.09.30.10.33.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 30 Sep 2023 10:33:26 -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=@kernel.org header.s=k20201202 header.b=HBvyHVEQ; 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=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id B0F2A817DD06; Sat, 30 Sep 2023 10:33:23 -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 S234679AbjI3RdJ (ORCPT + 99 others); Sat, 30 Sep 2023 13:33:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55206 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233050AbjI3RdI (ORCPT ); Sat, 30 Sep 2023 13:33:08 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CC8D89F; Sat, 30 Sep 2023 10:33:06 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 68BC6C433C7; Sat, 30 Sep 2023 17:33:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1696095186; bh=wfe2jZDfRl3xOtOaf/KeGCUyo4RmUvmbixP/hqEpGHk=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=HBvyHVEQ6nHs0YSsMfCuYnDqp1A4CSmRIYN/HudBTZbbfIDR515k4pNotLi2gnFxl 4vGrhn9paUQ6qjAU/OxRHl3TrtV60MAeg3a+8hqfIJ5VaNqQLiNuk1VrZZIbQiqgso X4Gy/trGhiKySx02sdfU4jWpwJ86pJjaAK82DPyvImWvz/ZikuBhTRXEOJaC0ow1ow Z6fdUJjX7sMItjxdeyn2VVRZfvoZRonkwRwrSkiJQ+rKQfH/TrIplxsRjU3WvkxCtX AXHAoSHnwFvaqJT2DUWbb9s8BR7bAS8KN79wTnlqOm+Fd+U1UYZbxUGI3A7e0LkXuD 5zUfWztelAkVA== Date: Sat, 30 Sep 2023 18:33:05 +0100 From: Jonathan Cameron To: Matti Vaittinen Cc: Matti Vaittinen , Lars-Peter Clausen , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Mehdi Djait , linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 0/2] Support ROHM KX132ACR-LBZ Accelerometer Message-ID: <20230930183305.51622a49@jic23-huawei> In-Reply-To: References: X-Mailer: Claws Mail 4.1.1 (GTK 3.24.38; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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]); Sat, 30 Sep 2023 10:33:23 -0700 (PDT) On Thu, 28 Sep 2023 11:45:00 +0300 Matti Vaittinen wrote: > The ROHM KX132ACR-LBZ is an accelerometer for industrial applications. > It has a subset of KX022A (NOTE: Not KX132-1211) functionalities, dropping > support for tap, free fall and tilt detection engines. Also, the register > interface is an exact subset of what is found on KX022A (except the > WHO_AM_I register value). > > This series adds own DT compatible for the KX132ACR-LBZ and also own > chip-info in driver to allow handling the different 'WHO_AM_I' value. > The separation of the Kionix KX022A and ROHM KX132ACR-LBZ does also > allow adding support for the KX022A tilt/free fall/tap engines which are > not present on KX132ACR-LBZ. > > Revision history: > v1 => v2: > - Add KX132ACR-LBZ into list of the supported ICs in Kconfig Series applied to the togreg branch of iio.git and pushed out as testing. Thanks, Jonathan > > Matti Vaittinen (2): > dt-bindings: iio: Add KX132ACR-LBZ accelerometer > iio: kx022a: Support ROHM KX132ACR-LBZ > > .../bindings/iio/accel/kionix,kx022a.yaml | 10 +++--- > drivers/iio/accel/Kconfig | 4 +-- > drivers/iio/accel/kionix-kx022a-i2c.c | 4 ++- > drivers/iio/accel/kionix-kx022a-spi.c | 4 ++- > drivers/iio/accel/kionix-kx022a.c | 34 ++++++++++++++++++- > drivers/iio/accel/kionix-kx022a.h | 2 ++ > 6 files changed, 49 insertions(+), 9 deletions(-) > > > base-commit: 5e99f692d4e32e3250ab18d511894ca797407aec