From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.3 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7CBCBC433ED for ; Tue, 11 May 2021 14:51:00 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 4BA9561396 for ; Tue, 11 May 2021 14:51:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231916AbhEKOwF (ORCPT ); Tue, 11 May 2021 10:52:05 -0400 Received: from rere.qmqm.pl ([91.227.64.183]:59116 "EHLO rere.qmqm.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231681AbhEKOwB (ORCPT ); Tue, 11 May 2021 10:52:01 -0400 Received: from remote.user (localhost [127.0.0.1]) by rere.qmqm.pl (Postfix) with ESMTPSA id 4FfgpN63yLz9C; Tue, 11 May 2021 16:50:52 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=rere.qmqm.pl; s=1; t=1620744653; bh=gjliWeVMpz7HzCErmhDtjZO93Jbs7epfUkCa8L/Nfog=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=o9IOx1pNvYp8TsGxhQoRt3tr3OmP5ujlR7aPUMao97D2DkJrc8wq9LYR0EytNMd44 MOwu1tzpCrdsyBmLMktr5FfZV//J0Shpgf/RDbGyFlJQQZ3UCu1f3bDHQ9KjlwA/2A TuBDDYgFjwavaOmnA7x16Xx/aVYgMsLibenyeVtmIfp/BRfk5tnqISJETSH2ukd6SA /mhuoaMRTZtIE123Id/FkAukzDk/QpPxPy++mMukeDScbZjjvbsaeflpQcl3mK5Apg kBKCbGcB7aEezKfKcOE8tn6s5hal6K3T8OtEukJZdJn8rhpmILvaaP/IsrNzGHVfd+ 8vD2sQfFXgAAg== X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.2 at mail Date: Tue, 11 May 2021 16:50:51 +0200 From: =?iso-8859-2?Q?Micha=B3_Miros=B3aw?= To: Stephan Gerhold Cc: Jonathan Cameron , Lars-Peter Clausen , Rob Herring , Robert Yang , linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Srinivas Pandruvada , ~postmarketos/upstreaming@lists.sr.ht, Hans de Goede Subject: Re: [PATCH 0/3] iio: accel: kxcjk-1013: Add support for KX023-1025 Message-ID: <20210511145051.GC4413@qmqm.qmqm.pl> References: <20210511095409.9290-1-stephan@gerhold.net> <20210511142847.GA4413@qmqm.qmqm.pl> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, May 11, 2021 at 04:38:06PM +0200, Stephan Gerhold wrote: > Hi Michał, > > On Tue, May 11, 2021 at 04:28:47PM +0200, Michał Mirosław wrote: > > On Tue, May 11, 2021 at 11:54:06AM +0200, Stephan Gerhold wrote: > > > KX023-1025 [1] is another accelerometer from Kionix that has lots > > > of additional functionality compared to KXCJK-1013. It combines the > > > motion interrupt functionality from KXCJK with the tap detection > > > from KXTF9, plus a lot more other functionality. > > When I researched KXTF9 support it occurred to me that the -10xx part is > > duplicating the information in 'KXyyy' - it seems to be a project number > > or something. I would suggest to use just 'kx023' prefix for the code > > and DT but leave the full identification in the comments/description. > There do seem to be two different KXTF9 from Kionix, a KXTF9-4100 [1] > and a KXTF9-2050 [2] with separate datasheets. Have you checked if there > is a meaningful difference between them? I haven't compared them thoroughly, but the versions seem to differ only in power consumption (maybe a different manufacturing process?). The register sets seem the same. Best Regards Michał Mirosław