Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp2626647rdb; Fri, 8 Dec 2023 14:01:04 -0800 (PST) X-Google-Smtp-Source: AGHT+IHG6MrY6o8Eubkenjf7kofLZuyrw42cgMP1tA595i2zAdHp8fgcHWsDQKMmW1YK9hO39jV4 X-Received: by 2002:a17:902:6904:b0:1d0:9475:1416 with SMTP id j4-20020a170902690400b001d094751416mr553826plk.14.1702072864640; Fri, 08 Dec 2023 14:01:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702072864; cv=none; d=google.com; s=arc-20160816; b=wEhDhf+xylVf1WYPe3Q01FCePSDi+YNrPHlqKNNKVvPSNBkgvyXfSBhAB5qQQ1kWk7 2moAuCTNtwqSM+s8CPtzoHzX5XDBA5VSDF1UbmHmaiqcfMpKvb7BBuAqNThLIMEEu6Vi F2qF7XUAp2vf4Ig58AYQ27+qJmTDXU2iIqnSzU0KZGvUR5coJ3E9g3JuY8quSxrMofad epVSgnGpZrFsCp5V377Y8e5TlSCZPv2HKUTKY59GzlqN/FQ8tPb0nkKzQsNRkCl+57Pl ldWYETO+xepnSZCjEGQukOPB9577pfmo8awRESXz2HGYtlO0ImWgOcfpKOAupPbAVvtM uV+g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:references:to:subject:cc:from :message-id:date:content-transfer-encoding:mime-version :dkim-signature; bh=u83W/8yCmWL5UJU28TDyjBD3AbDU6kuavr0yrIvTIkc=; fh=UPVXuGZlXsna6K03J1pd6imxyQdJ1XeBwt0PeNk5jA8=; b=fusAmuXnhVn2oQEjdeF0xPVI8vtBOHwo60ZsgFHJhEe+dXNw293LMN9h9U1/UTjqpi VzgE66A1/AGv4lxJ7MoQuCeQ87MwbmhtFiG2W1S3mjAZustxtjP8anyMbdW0SzCD5G6f dWg74fMOZ8j0L+pbTGsgG7txoCicwDX6E3ZF4KH5iTKJDsimEwiqc74BVIg2yK48nf72 ufPWyDAGTOawGzYYkF4Q7nPVnV1TLDbKWx+pEFRlE4dXgvGeiE1djfxfcFw1OX5k8sl7 LH5PIi0dvHwxYC2bBrd2Xybdi1IXLLHgFe+CTswJIOoPX7nkAeclEOh01k0e68AHEyBV CHsQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gimli.ms.mff.cuni.cz header.s=gen1 header.b="Zy/18sre"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gimli.ms.mff.cuni.cz Return-Path: Received: from groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id k17-20020a170902c41100b001cfe100a99fsi2205470plk.487.2023.12.08.14.01.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Dec 2023 14:01:04 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; dkim=pass header.i=@gimli.ms.mff.cuni.cz header.s=gen1 header.b="Zy/18sre"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gimli.ms.mff.cuni.cz Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id B9CFC8077488; Fri, 8 Dec 2023 14:00:11 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1574812AbjLHV74 (ORCPT + 99 others); Fri, 8 Dec 2023 16:59:56 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59254 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229875AbjLHV7z (ORCPT ); Fri, 8 Dec 2023 16:59:55 -0500 Received: from nikam.ms.mff.cuni.cz (nikam.ms.mff.cuni.cz [195.113.20.16]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 88A0D10E0; Fri, 8 Dec 2023 13:59:58 -0800 (PST) Received: from gimli.ms.mff.cuni.cz (gimli.ms.mff.cuni.cz [195.113.20.176]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by nikam.ms.mff.cuni.cz (Postfix) with ESMTPS id DDD1628C0AD; Fri, 8 Dec 2023 22:59:56 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gimli.ms.mff.cuni.cz; s=gen1; t=1702072796; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=u83W/8yCmWL5UJU28TDyjBD3AbDU6kuavr0yrIvTIkc=; b=Zy/18srepZ+soVkgMjGtAo9w1X/GHx4E2fdM1T+P6tSBD2p7YCkNlnbpSGCDlpdqbDwC0Z DQ+mOFlxXyzOG0VrlYWVkxgW6Qq4SFqc5GKxIwxmTjzggrnFtLfdlekIvJE3xo/oXOXXIK ukEt9W5No3f6KnB3Crib1THm6PvJOug= Received: from localhost (internet5.mraknet.com [185.200.108.250]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: karelb) by gimli.ms.mff.cuni.cz (Postfix) with ESMTPSA id B6EE644BE2C; Fri, 8 Dec 2023 22:59:56 +0100 (CET) Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Fri, 08 Dec 2023 22:59:56 +0100 Message-Id: From: "Karel Balej" Cc: =?utf-8?q?Duje_Mihanovi=C4=87?= , <~postmarketos/upstreaming@lists.sr.ht>, , "Karel Balej" Subject: Re: [PATCH v3 5/5] input/touchscreen: imagis: add support for IST3032C To: "Markuss Broks" , "Dmitry Torokhov" , "Rob Herring" , "Krzysztof Kozlowski" , "Conor Dooley" , "Henrik Rydberg" , , , References: <20231202125948.10345-1-karelb@gimli.ms.mff.cuni.cz> <20231202125948.10345-6-karelb@gimli.ms.mff.cuni.cz> <89f7e7de-c574-49ab-885d-c6d4427fe64f@gmail.com> In-Reply-To: <89f7e7de-c574-49ab-885d-c6d4427fe64f@gmail.com> X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.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 (groat.vger.email [0.0.0.0]); Fri, 08 Dec 2023 14:00:12 -0800 (PST) Markuss, thank you for the review. > > diff --git a/drivers/input/touchscreen/imagis.c b/drivers/input/touchsc= reen/imagis.c > > index 84a02672ac47..41f28e6e9cb1 100644 > > --- a/drivers/input/touchscreen/imagis.c > > +++ b/drivers/input/touchscreen/imagis.c > > @@ -35,6 +35,8 @@ > > #define IST3038B_REG_CHIPID 0x30 > > #define IST3038B_WHOAMI 0x30380b > > =20 > > +#define IST3032C_WHOAMI 0x32c > > + > Perhaps it should be ordered in alphabetic/alphanumeric order,=20 > alternatively, the chip ID values could be grouped. Here I followed suit and just started a new section for the new chip, except there is only one entry. I do agree that it would be better to sort the chips alphanumerically and I am actually surprised that I didn't do that - but now I see that the chips that you added are not sorted either, so it might be because of that. I propose to definitely swap the order of the sections, putting 32C first, then 38B and 38C at the end (from top to bottom). The chip ID values could then still be grouped in a new section, but I think I would actually prefer to keep them as parts of the respective sections as it is now, although it is in no way a strong preference. Please let me know whether you agree with this or have a different preference. And if the former, please confirm that I can add your Reviewed-by trailer to the patch modified in such a way. Best regards, K. B.