Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp62315pxj; Thu, 13 May 2021 21:08:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwjI+vs+Bj4kI059gFopvZlfnRtSZ9HWFpxApVNWsYpObz4r/tCxQmewjnKpdiM46nz0ALy X-Received: by 2002:a17:906:a39a:: with SMTP id k26mr18821956ejz.350.1620965284437; Thu, 13 May 2021 21:08:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620965284; cv=none; d=google.com; s=arc-20160816; b=HqighkMcekOlA/HP1+XtZnXlHBRRonOhX+ho3CTUrX16f5EuxGPn6XnL57m7aOKmQ1 aydkVOOW9adHPEYpZj+2jqe+Zil4RuzTatfZhqce2hS1t9WiqnVK92gJa/ezrr1zkweW SzGBHSp7IbN8YcC44wQH8imJmBmPf2ZmUWOWd5eH9cWDfDDG/IOv7mggPZCaUY4o0nR6 rYzHFnc1CNWAeXQYJppoULVnNiSB7pluJ6jBbLYnB50pwpTkA8mgRC+AvWwYiGCPbakl FukuQfAXt+3NO+59TnXVwGgYqg8wwJLIN+P8is4dOlIX4wWg229K66w9Towt/V5pj0DO 6AcQ== 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; bh=geS/S5IfOBBwpfZeQw/943fBm8lPu6g3SKbajDMry48=; b=pIL6MG6Q9tqxwts09+kHG+gkLsQAGr8Qk2bz083jxFT804mZNXxlTReFmJK3ar2Sa4 eikrt9fF+cZyB+C9J75EDbHxOGRdxKr2/q1k7djzoFtPi+F7RUSoULyHCHId/EonWu2r 7qQPxjYa5629JG3VvJKoI/T553BOPDMIWbQ2fpla2vv6/xdhtfktp20/LVpiyd7fCTrK ZzLlSIbcGoFpKZpfhxqP7CFY08CGvM/iGhPvHvIplweqdolx9ElfhF1PQwqYHfu0ikxC Gkg9sCbTMZFRUM4KakuPraf4WW3uQzVTYgtsX0pTopOMCtIVqXzbXhuaG7rqPRkOoVeg jD9g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r2si4597586ejh.306.2021.05.13.21.06.40; Thu, 13 May 2021 21:08:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235061AbhEMQOx convert rfc822-to-8bit (ORCPT + 99 others); Thu, 13 May 2021 12:14:53 -0400 Received: from mail.kernel.org ([198.145.29.99]:53910 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234993AbhEMQOb (ORCPT ); Thu, 13 May 2021 12:14:31 -0400 Received: from jic23-huawei (cpc108967-cmbg20-2-0-cust86.5-4.cable.virginm.net [81.101.6.87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id BA3EC6142E; Thu, 13 May 2021 16:13:18 +0000 (UTC) Date: Thu, 13 May 2021 17:14:26 +0100 From: Jonathan Cameron To: =?UTF-8?B?TWljaGHFgiBNaXJvc8WCYXc=?= Cc: Stephan Gerhold , 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: <20210513171426.27dd6533@jic23-huawei> In-Reply-To: <20210511145051.GC4413@qmqm.qmqm.pl> References: <20210511095409.9290-1-stephan@gerhold.net> <20210511142847.GA4413@qmqm.qmqm.pl> <20210511145051.GC4413@qmqm.qmqm.pl> X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 11 May 2021 16:50:51 +0200 Michał Mirosław wrote: > 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. Differ in expected Vdd supply voltage. 3.3 vs 1.8V . Looks like this has knock on effects on things like self test values. So I'd argue it's worth keeping the distinction for device tree. We could do a double compatible compatible = kionix,kx023-1024, konix,kx023; but may be too late to do that now. Jonathan > > Best Regards > Michał Mirosław