Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp2993930rdh; Wed, 27 Sep 2023 21:58:16 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHBT/Ly7tVFKm9hM+6h0uU4PHoq+eXLfUSnQHhudtYsyfvB3k6FI1qbZYl5jCIA339+xwDN X-Received: by 2002:a05:6a20:914d:b0:133:1d62:dcbd with SMTP id x13-20020a056a20914d00b001331d62dcbdmr241999pzc.28.1695877096231; Wed, 27 Sep 2023 21:58:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695877096; cv=none; d=google.com; s=arc-20160816; b=ClTQ9bAwQFAO7LIcONvTqR/cIsalyJF3e1d7J13XJZXHn1B3GjsTMbGL6EPRByL5BT hIup0CL6gRVLSQXkj4aKCtGGKyxosyBdFKN7/8a7Tzo9EfbgMVvaq57d+2rSI9ubt5gC MH6w0Dl8vHz2HzCRsQ/r2K/OJ8HFgsKBTC3OFkjbq6m0FnDd1ERDPa5mCyXEtyW2lsf1 EfWwrHVZuGllt4vYoEy0EteX3DQ8IlKSOWGTp1gtww7Bw9AkS1ueaSu1WukSWBxtwrY9 UGIXH83vVahhhB7ZbVI0kk7KKe5SwtvN9FNOpIAfys6h+0NDfwdjongsHQJh9LdqoN5m ekBA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=+XcH3Kg4tqaXqUqMGIX62DqKGdxuMvU3zUQWNdRoSWU=; fh=8r2PcBJs4lZfENax3kbBaWpbuzXSVWW6tLQ4b/WQoX4=; b=pjhqUaG8UkCsPRaDU2P0A5t0YSuqW9Y5QlYEvPPQHLSEF0VwvNUOiIDINZGVnqEN8U FlU9v11o4cr+LHSlAFTaPuiPh3d4Wvwopcu7DPZV81Qvlv2PNU0xacTspOdomi+NjTYB ccI47JznECYVkR2B0KzAPDXqMJbetU170UZrXc/DDofHyo+uRdH2ffOIt+KzBYfKkSSX HLnBmP936e3rAcBlhSGhd+wNWyqR29k5GZKZSjLVrG74qmjzr+0EiznalDxrYXuRDXvA 6dVSn9bTYzUAIJgWiku65zgnn40Ea3k/zyQDkZ6XPsQ6z412Wycm3w56xM6LcbkAhfs5 HwKw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=TX5h1zCn; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 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 morse.vger.email (morse.vger.email. [2620:137:e000::3:1]) by mx.google.com with ESMTPS id j191-20020a6380c8000000b00578e153c979si17198418pgd.740.2023.09.27.21.58.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Sep 2023 21:58:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) client-ip=2620:137:e000::3:1; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=TX5h1zCn; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 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 morse.vger.email (Postfix) with ESMTP id 6463E805C3C0; Wed, 27 Sep 2023 07:31:22 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232119AbjI0ObP (ORCPT + 99 others); Wed, 27 Sep 2023 10:31:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33612 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232073AbjI0ObM (ORCPT ); Wed, 27 Sep 2023 10:31:12 -0400 Received: from mail-yb1-xb29.google.com (mail-yb1-xb29.google.com [IPv6:2607:f8b0:4864:20::b29]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 82BA1CC7; Wed, 27 Sep 2023 07:31:04 -0700 (PDT) Received: by mail-yb1-xb29.google.com with SMTP id 3f1490d57ef6-d865685f515so11845303276.1; Wed, 27 Sep 2023 07:31:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1695825063; x=1696429863; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=+XcH3Kg4tqaXqUqMGIX62DqKGdxuMvU3zUQWNdRoSWU=; b=TX5h1zCnWPGDjUTUVKGIHt4DhaM6dHet5po93pn0BPDwOjnwPUpalc1uJlGHbWNQdN jFKDIuNI6tQn2RWyK/mZkm3YMPXgSbnFSKpRyULidm6fDGplVMfyWhHTB+72szsvi4FJ c/qUA1AY0Cw6kcdaNiluEoBRVy1HYyByfg54mYqk/O3pflvJk/PJPrI0DLTf74HWCbZL b618avgu/o1Yam3gn7nYi+lIsj334ytyGWGgwrn2wynsgyMDFiBKm8JtMvVXe1KEJaYj KJcDDklazDhYTxHnC0um+TCJdbApUBE6IgNTMIzi5nw9Bu6CgKqZTzNqmMeTaOzIK7Iu DW5Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695825063; x=1696429863; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=+XcH3Kg4tqaXqUqMGIX62DqKGdxuMvU3zUQWNdRoSWU=; b=Tgd1faJawegb3CXuE+EUNRmKIPl9QFzNYLXyuuz3rilyO4ag676TxxjEQgwv+UPWOp xtNPIIoZIkkdx9cFcaiywS2Ajl2RD5L+6Yrmlp5T0jPFuXfg2NdxdL+XnxDi/gQUybBp lQ+LZ3sj5nw2Cb6QmSdH6L/mIxPyPXM6mae8RgSe94igkGZAwW7f7qH08UWkyE/m7HZt a8PlBfylXNiSbMaUioB1SM3VjunwSEUqe1k6sjxz51QPlT4F+D7LwTr+wBw57IR2cOER 8NnYw7449YI3JLJNTWxeuPsHvCEXZQ0ehQNxoCj3PXwEoAk8u2IJ2ISP3SKNxcly7scA B8wQ== X-Gm-Message-State: AOJu0YwcqQ88sbpUt8Z+M/vABcLSxvjwp1w9aM25ctriu8Skcs+UMRnD eLFQe1NyzCaJP7yoMzscRvtRipZB9k5YgqmWwDE= X-Received: by 2002:a25:688d:0:b0:d47:3fcc:9911 with SMTP id d135-20020a25688d000000b00d473fcc9911mr1867935ybc.2.1695825063536; Wed, 27 Sep 2023 07:31:03 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Mehdi Djait Date: Wed, 27 Sep 2023 16:30:52 +0200 Message-ID: Subject: Re: [PATCH 0/2] Support ROHM KX132ACR-LBZ Accelerometer To: Matti Vaittinen Cc: Matti Vaittinen , Jonathan Cameron , Lars-Peter Clausen , Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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 morse.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 (morse.vger.email [0.0.0.0]); Wed, 27 Sep 2023 07:31:22 -0700 (PDT) Hello Matti, On Wed, Sep 27, 2023 at 2:56=E2=80=AFPM Matti Vaittinen wrote: > > The ROHM KX132ACR-LBZ is an accelerometer for industrial applications. > It has a subset of KX022A (NOTE: Not KX132-1211) functionalities, droppin= g > 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. > > 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/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 ++ > 5 files changed, 47 insertions(+), 7 deletions(-) > You could also mention this device in the list of supported devices under drivers/iio/accel/Kconfig -- Kind Regards Mehdi Djait