Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp3018179rdh; Wed, 27 Sep 2023 23:07:34 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGRbr+ZyaUuePrE6SRygyhiX/2sez49eTQaM8wiRk11/eKMHKIYs/l0EyA5fr60Lp6WgoNe X-Received: by 2002:a05:6a20:3c86:b0:13e:90aa:8c8b with SMTP id b6-20020a056a203c8600b0013e90aa8c8bmr522911pzj.4.1695881253977; Wed, 27 Sep 2023 23:07:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695881253; cv=none; d=google.com; s=arc-20160816; b=FwaKE+HL/JfwK1BYtpLND/1sY53CxgITCitHkqX40Js0gyZNCUWcdEwIxbajjoVz1i ajsH9wfRjupwbLoH4olAxeRLqSGNxHq9dOWz8vbufkFygmy5gsgAjA2Iyh+ueKBgxxDp BvwBrubEZf3edTfK1gRld5UgDDK3MPbP5GZej4b1S71HZIxLuOPGOIZ2RUTm1PrJQdg8 mVhkUb19SJmbqlV0uwPXadsx9a0ykRexRzcWLobRI9bOlrtWpA+FyCk//BtXqru46cCV 9zZdkxLKlFXDjs2ZidSUPfA4s/o1pDudFnfThw0k8S5Qe4MVM5Xqp3mSvgV4i2lTBC/i jKUQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=50CeIcBtyDTmcONQhSsmODzCCq0J0/waCFp836ioZfA=; fh=51ZPLcZP0U0dKtRDRcMTcW91EPD35u1pi6NF+/EOWkY=; b=nlSGjmFycJUVF2ydSYvvngWLUPEMgtZ426sG8sa8q6kuozmu1cKpmXeFa5K/6WfG9l g6SuAuDl4Je4Jy1en3HMG3hnIyzvkIFxrvACGMbNZlOF96OuO0pGT1fZiu0v1S+SDMGH K5jS/Hmp4nT+1ydqeNP5oiCNXmK7FFssRDfwFMTXAM9qdHnrIbYLzWwZg7AR1R1yG67x Hl+bq8ETw8qrd71ogHu9BjWvUJmYz7269JVTetAJykB+AvGU/4FjCoewo1lV9CLckuin lupstYaEcVjOgm3KguIN7wRTsOezviTc0ClUOPW+qLhhQLiNMrQFc3vBeu03PawthkXS FMtQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=cxR7ksdC; 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 ca10-20020a056a02068a00b0057800024a67si21386286pgb.257.2023.09.27.23.07.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Sep 2023 23:07:33 -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=cxR7ksdC; 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 6C2A38297C40; Wed, 27 Sep 2023 21:52:33 -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 S230089AbjI1EwP (ORCPT + 99 others); Thu, 28 Sep 2023 00:52:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58596 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229920AbjI1EwN (ORCPT ); Thu, 28 Sep 2023 00:52:13 -0400 Received: from mail-lj1-x22e.google.com (mail-lj1-x22e.google.com [IPv6:2a00:1450:4864:20::22e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 03983121; Wed, 27 Sep 2023 21:52:11 -0700 (PDT) Received: by mail-lj1-x22e.google.com with SMTP id 38308e7fff4ca-2bffa8578feso212458131fa.2; Wed, 27 Sep 2023 21:52:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1695876729; x=1696481529; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=50CeIcBtyDTmcONQhSsmODzCCq0J0/waCFp836ioZfA=; b=cxR7ksdCfDSCYmtYWqK0+53si0DWuCOdgEl9BP2mVllFOdb5VWr9jIw7tj59uA3G5g unDKLX8xLKLvOlpCIQlJz+bwNh0TYkwVou0cfPX6QamUHO9UPmvKxbz3q7e1G/LB9Uq+ mtMKAtQro1ZlJpwVXxgCOLtWsC/BGx144yzNGKTGVjXlDhPGHyHcIKQkXX5t1T3wXSuO 6mgNtlDduj0oH4OwdOLLaB/E+HnFeEhVfii8fuHte54zWs7sRkKCmPx3Cbc1w7Bx6YKN xRc03J/YDVCBnlUwFju6Zvm1N5seWi8Sa+1dD2OAVSy3n2zsqXoxve/5Gz5M/TtE6okC cX6w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695876729; x=1696481529; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=50CeIcBtyDTmcONQhSsmODzCCq0J0/waCFp836ioZfA=; b=JQq34NWucYUAAszmhMRBOU+hIxc7YXW7GezdXk0wahyJt9wmDH3J7vBYb3h4dFLviL uv23pVmmkVWuwNd7KJNg7ODhZ1yBfphMQHh5HjuF+3BvWNW0jw8UlEnfWbaDa5IKX5Gn 2PHscJ55uN222KVqYZeOab7A25wx6icHGHSvm9B6kyUE8JneSubK3aVu3gnw6oC3eaAw iB3DvqAdx3tSqTaoUH6LNxq36/dephRdLKTuGEB7omcg1ZQQcEjRC840M0666qDk8I4w lAfMkeobLPXNbNNqH6GikV2KyQH56twXoe84t9Fk/o87dKYtJO2Ky8UtOlIRLLuMOLuz AlPg== X-Gm-Message-State: AOJu0YxWYU7E+y4KiRd6+9b9PHb8as0z4QZJ/BI7gQVJ5HuQ6pI23rZU dajj/Dy8ArER3Pk/Lyp5jAc= X-Received: by 2002:a2e:9854:0:b0:2bb:78ad:56cb with SMTP id e20-20020a2e9854000000b002bb78ad56cbmr85554ljj.37.1695876728814; Wed, 27 Sep 2023 21:52:08 -0700 (PDT) Received: from ?IPV6:2001:14ba:16f8:1500::7? (dc78bmyyyyyyyyyyyyydt-3.rev.dnainternet.fi. [2001:14ba:16f8:1500::7]) by smtp.gmail.com with ESMTPSA id v21-20020a2e7a15000000b002be5d222c60sm3321524ljc.102.2023.09.27.21.52.07 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 27 Sep 2023 21:52:07 -0700 (PDT) Message-ID: <4f352a44-1fe2-f44a-20ba-efaed874b1b0@gmail.com> Date: Thu, 28 Sep 2023 07:52:06 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Subject: Re: [PATCH 0/2] Support ROHM KX132ACR-LBZ Accelerometer Content-Language: en-US, en-GB To: Mehdi Djait 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 References: From: Matti Vaittinen In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,NICE_REPLY_A, 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 21:52:38 -0700 (PDT) On 9/27/23 17:30, Mehdi Djait wrote: > Hello Matti, > > On Wed, Sep 27, 2023 at 2:56 PM 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. >> >> 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 Oh, indeed. Thanks Mehdi! Yours, -- Matti -- Matti Vaittinen Linux kernel developer at ROHM Semiconductors Oulu Finland ~~ When things go utterly wrong vim users can always type :help! ~~