Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp2844544rdb; Sat, 9 Dec 2023 01:06:17 -0800 (PST) X-Google-Smtp-Source: AGHT+IGCK4sm9XpdhDnDI6AvT26FNvPJWXpDZoU1mjK2KPF3bcjeBKBvZVDoGuLEsaf0xmHC6s5A X-Received: by 2002:a05:6870:3b16:b0:1fb:3a02:2cf8 with SMTP id gh22-20020a0568703b1600b001fb3a022cf8mr1796297oab.29.1702112777650; Sat, 09 Dec 2023 01:06:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702112777; cv=none; d=google.com; s=arc-20160816; b=YleHwJi5R2S0X1D6nKxh5aQR0d4jQAHqr1M3ymcIl7TzvhNg8yzHy78pFAAa8e1cg7 skHesR9lFGOEx6WrWh/aW9erhx0Eeu3aR3YE8p/6CPXbDJtKJf7t0Ooanm1EpL05hm8m 8Z3l4z1dz4blhGG6W1CAAlSFAvxPimPFHGlZN3QCb2+WYTvuqp9C0/Bxne2JlXdItfB4 7o3dF4IMYRRZQKYhy2BdUmatdol6AHHFol4b2vmkwZijGFgHsExbiAS2S4aHG4vVFKgF Ki4D1ej7vk905cJpptTY94DaBrOJcy8EmWew3FwJyfIBEKU54pT37iduidg1nEmh5RJq 7zVg== 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=gbbyqSK5IuL9LoNBL2boJ6tt8JRfQONwCHbN5+ACzYI=; fh=Zh4VQ9CjZV3IdNKQk7tmIDJL6NO5rq/9SA7w5k2hhXU=; b=H3CNEkPYZTOhFVolW+DjHkOlEA195GW/cEPGzcvuMkCPZa7EuUy33tGI5vWjppI7Ex ErNNPwj2/2VX4d7WePkIdUnUOUMK74W6+nF90fHZHjBGYaffnLiO5u0Zh/8EkKGBhF4I CvGZK4K+eRNCF6+2eWda+4FXHh/mQErrLGcJe0XEA93/2l9buYzrLpLI+IhGHk7WFlRw SDpnjqHsxtovqqfMmgEvclA+COjflBLYkfB59tj6uNGWjWrMxTeGqCG1mhTpRdkacsVA 04AtaUNnLln63rrf2K0r0bc+mvFgvqD7f523+VauN2V9zfsSuZrXksk0IuIk/LVB6bc1 u4CQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gimli.ms.mff.cuni.cz header.s=gen1 header.b=OANn2IQI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 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 morse.vger.email (morse.vger.email. [23.128.96.31]) by mx.google.com with ESMTPS id h7-20020a63e147000000b005b915369815si2807033pgk.155.2023.12.09.01.06.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 09 Dec 2023 01:06:17 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) client-ip=23.128.96.31; Authentication-Results: mx.google.com; dkim=pass header.i=@gimli.ms.mff.cuni.cz header.s=gen1 header.b=OANn2IQI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 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 morse.vger.email (Postfix) with ESMTP id 92A7F833AB1F; Sat, 9 Dec 2023 01:06:14 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229543AbjLIJF3 (ORCPT + 99 others); Sat, 9 Dec 2023 04:05:29 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39756 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229464AbjLIJF1 (ORCPT ); Sat, 9 Dec 2023 04:05:27 -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 A69AE10D9; Sat, 9 Dec 2023 01:05:30 -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 11D7328044F; Sat, 9 Dec 2023 10:05:28 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gimli.ms.mff.cuni.cz; s=gen1; t=1702112728; 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=gbbyqSK5IuL9LoNBL2boJ6tt8JRfQONwCHbN5+ACzYI=; b=OANn2IQIc3+GqlzMzkV1EAEHwtDFF+uN0vIv2HceSdMIg2QaJ1wV3aHLzOLot7TaNkrxam sisI3ccxswiMrv1FhgKlKm1B6L/l2RYoR9LSMN3cOWEzN+DMR/a3P2DNx8jjsX8Dg3scXU NsEcTnH/OrasVDRlvmPjaoNRXywOjHI= 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 997E544B369; Sat, 9 Dec 2023 10:05:27 +0100 (CET) Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Sat, 09 Dec 2023 10:05:27 +0100 Message-Id: From: "Karel Balej" Cc: "Conor Dooley" , "Dmitry Torokhov" , "Rob Herring" , "Krzysztof Kozlowski" , "Conor Dooley" , "Henrik Rydberg" , , , , =?utf-8?q?Duje_Mihanovi=C4=87?= , <~postmarketos/upstreaming@lists.sr.ht>, , "Karel Balej" Subject: Re: [PATCH v3 2/5] dt-bindings: input/touchscreen: Add compatible for IST3038B To: "Conor Dooley" , "Markuss Broks" References: <20231202125948.10345-1-karelb@gimli.ms.mff.cuni.cz> <20231202125948.10345-3-karelb@gimli.ms.mff.cuni.cz> <20231203-outskirts-reformat-e0a833903841@spud> <0a035c62-9d35-4f85-b1f3-bcb7dea17d52@gmail.com> <20231204-stooge-impotent-fe8d2d9177e4@wendy> In-Reply-To: <20231204-stooge-impotent-fe8d2d9177e4@wendy> 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 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]); Sat, 09 Dec 2023 01:06:14 -0800 (PST) On Mon Dec 4, 2023 at 1:52 PM CET, Conor Dooley wrote: > On Mon, Dec 04, 2023 at 02:40:44PM +0200, Markuss Broks wrote: > > On 12/3/23 13:20, Conor Dooley wrote: > > > On Sat, Dec 02, 2023 at 01:48:33PM +0100, Karel Balej wrote: > > > > From: Markuss Broks > > > >=20 > > > > Imagis IST3038B is a variant (firmware?) of Imagis IST3038 IC, > > > > add the compatible for it to the IST3038C bindings. > > > This one is better, but would be well served by mentioning what > > > specifically is different (register addresses or firmware commands?) > >=20 > > I don't think anyone knows this other than Imagis itself. I would guess= it's > > different hardware, since register addresses are indeed different, but = on > > the other hand, there is a possibility that firmware on the MCU could b= e > > responding to those commands. I suppose "... IST3038B is a hardware var= iant > > of ... IST3038" would be more correct. > > Only Imagis might know the specifics, but you (plural) have made driver > changes so you know what is different in terms of the programming model. > I'm just asking for you to mention how the programming model varies in > the commit message. Otherwise I can't know whether you should have added > a fallback compatible, without going and reading your driver change. The > commit message for the bindings should stand on its own merit in that > regard. > "Variant" alone does not suffice, as many variants of devices have a > compatible programming model, be that for a subset of features or > complete compatibility. > > > The reason why I think it could be firmware-defined is because we have = a lot > > of variants (30xxA, 30xxB, 30xxC, plain 30xx), and the numbers usually = mean > > feature level/completeness, e.g. some don't support the touch pressure = or > > touchkeys, and we don't know what A/B/C/none means. > > Ultimately whether it is due to firmware or the hardware isn't > particular important, just mention what is incompatibly different. I propose to update the commit description as such: Imagis IST3038B is a variant (firmware?) of Imagis IST3038 IC differing from IST3038C in its register interface. Add the compatible for it to the IST3038C bindings. > > Cheers, > Conor. > > > > > > Signed-off-by: Markuss Broks > > > > Signed-off-by: Karel Balej > > > > --- > > > > .../devicetree/bindings/input/touchscreen/imagis,ist3038c.yaml = | 1 + > > > > 1 file changed, 1 insertion(+) > > > >=20 > > > > diff --git a/Documentation/devicetree/bindings/input/touchscreen/im= agis,ist3038c.yaml b/Documentation/devicetree/bindings/input/touchscreen/im= agis,ist3038c.yaml > > > > index 0d6b033fd5fb..b5372c4eae56 100644 > > > > --- a/Documentation/devicetree/bindings/input/touchscreen/imagis,is= t3038c.yaml > > > > +++ b/Documentation/devicetree/bindings/input/touchscreen/imagis,is= t3038c.yaml > > > > @@ -18,6 +18,7 @@ properties: > > > > compatible: > > > > enum: > > > > + - imagis,ist3038b > > > > - imagis,ist3038c > > > > reg: > > > > --=20 > > > > 2.43.0 > > > >=20 > > - Markuss Kind regards, K. B.