Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp1532722rdb; Thu, 7 Dec 2023 01:36:30 -0800 (PST) X-Google-Smtp-Source: AGHT+IEJlkAFssoD2AWVWOivEDkFGhAgA88SOGQYaLg2etulHy8Se8cwHyfTtSJcc8/X4EmCc5Ls X-Received: by 2002:a17:902:f54e:b0:1d0:8122:9007 with SMTP id h14-20020a170902f54e00b001d081229007mr2068536plf.18.1701941790015; Thu, 07 Dec 2023 01:36:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701941789; cv=none; d=google.com; s=arc-20160816; b=ohsY3gk7WIp3EXMqgweq8ZQpr0htEz28L6oPO1YV7M0+8IlLutl0pol7WmoBBrT0YP W7tcYRlH5WwcHD4NWPUAydzX4D7fSUSBCxh5uhtKVGMK5LVOQzrkiy3UqIaad20AANDd hhWIzj8H22Luf4zFieRklgrca+S4cjlXxUkSHTkCzqVajWcWLovmDyKDtSkyIGuF48S3 1Pd2MiZCvh3P877QZkyjiGQzHClqSFZYyVRJP3yuRBJ7LrKK/Na7zIfePE2FUPnjxS0Z cbpNbJk+nNVRhRUmaa7d4e0Czb70/eQC2xIgkpT84psMbUia1FUBgH3ve92EjTTzPPCC gX1Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=zk1dhT6C/KZSArTdzP/p5wqb9G2bfeL3f7SYtKcXyCo=; fh=0PK8+jFXeNfYYr3vt6Cl/8eSW8pavis1F7zm1QdTSoc=; b=neDKn4NBoxHMgkG7PmNqjUpfyb2/91C7CQiAgAHf0kaCN18fhksLvQ38GkBr3KuPTH jmfprYRGQwtB2sCrXKGslAYnRKcbuZqL/KNVQQmIIu5Yo3RvukaG4NLziy4SgpArpkYw sSETKFlUUj/tTHbVOLREGlZ7CLyCYiwhNk08CsYyhyfJCGb3UTXDA25jC1+73XjcCWd3 KeqVhGKi9/kliVL6awCwNBgjolgFvXbpxGOvrOeBZEABydQHA5i/GW9FnFihWgUytNY+ SE1cbEMcw0IkvPNTSbmdwaEpqKhKDIDIV66Ax3+qKHEEYN8DszklS5U72xhTSvyfQiEu pSwg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=XO5nacc4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id b18-20020a170902d51200b001d0b42fe405si844788plg.303.2023.12.07.01.36.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Dec 2023 01:36:29 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=XO5nacc4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 2D960803956A; Thu, 7 Dec 2023 01:36:27 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1378581AbjLGJgN (ORCPT + 99 others); Thu, 7 Dec 2023 04:36:13 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51754 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1379040AbjLGJfx (ORCPT ); Thu, 7 Dec 2023 04:35:53 -0500 Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.153.233]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7BF68DD; Thu, 7 Dec 2023 01:35:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1701941758; x=1733477758; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=zk1dhT6C/KZSArTdzP/p5wqb9G2bfeL3f7SYtKcXyCo=; b=XO5nacc41r26Idi/nmianp+cUzaFk893BFOyqYjB6mO0xE4U7H6DonqD VFCPPhmpI0yX82UX0nYRn+2zQnMx0LKFJNfFR/GVEsmmnnc5V9RYZukbC 6AZvb3gz+lfYKzBQ8waveLAzUs8Yom1bCreUwdQYtG6+4w0owtwK0y+Ey XkH+uvNY+/F5oamSmMOcAakgQZGLMu04OFaLAFddk5eaBp+9Xg7jfWn5T ATeoKUU4g7QW3cK5zhCLtnqysOPuRUVxARmuRKzN9UgiyEuQrF5ZJxLPl QZQkNatDzNgJtqpuiaDZRqweZ4Wjif1KSO8BXmOui4lm9FVHYzUUBHO/L A==; X-CSE-ConnectionGUID: l1+X6HrHTViYXQWuY+0knA== X-CSE-MsgGUID: 3jqu90UXQHGGuQa2OlUe8A== X-ThreatScanner-Verdict: Negative X-IronPort-AV: E=Sophos;i="6.04,256,1695711600"; d="asc'?scan'208";a="12923027" X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa3.microchip.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES128-GCM-SHA256; 07 Dec 2023 02:35:57 -0700 Received: from chn-vm-ex01.mchp-main.com (10.10.85.143) by chn-vm-ex01.mchp-main.com (10.10.85.143) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Thu, 7 Dec 2023 02:35:33 -0700 Received: from wendy (10.10.85.11) by chn-vm-ex01.mchp-main.com (10.10.85.143) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35 via Frontend Transport; Thu, 7 Dec 2023 02:35:29 -0700 Date: Thu, 7 Dec 2023 09:34:59 +0000 From: Conor Dooley To: Shengyang Chen CC: Conor Dooley , , , , , , , , , , , , , , , , , , , , , , , Subject: Re: [PATCH v1 1/2] dt-bindings: display: panel: raspberrypi: Add compatible property for waveshare 7inch touchscreen panel Message-ID: <20231207-dullness-deprive-ece2d47ff69d@wendy> References: <20231124104451.44271-1-shengyang.chen@starfivetech.com> <20231124104451.44271-2-shengyang.chen@starfivetech.com> <20231124-lesser-sinister-7f9cd7b80e35@spud> <2d48e460-e46e-431f-bd7b-e34ebe73a40c@starfivetech.com> <20231206-isolating-smoked-b490952029d0@spud> <53b992e8-1b36-4540-a993-fde8e550faf9@starfivetech.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="LKkffefepue30ywv" Content-Disposition: inline In-Reply-To: <53b992e8-1b36-4540-a993-fde8e550faf9@starfivetech.com> X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,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 lipwig.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 (lipwig.vger.email [0.0.0.0]); Thu, 07 Dec 2023 01:36:27 -0800 (PST) --LKkffefepue30ywv Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Dec 07, 2023 at 11:48:56AM +0800, Shengyang Chen wrote: > Hi, Conor >=20 > thanks for comment >=20 > On 2023/12/6 23:40, Conor Dooley wrote: > > On Wed, Dec 06, 2023 at 05:43:48PM +0800, Shengyang Chen wrote: > >> Hi, Conor > >>=20 > >> On 2023/11/24 20:31, Conor Dooley wrote: > >> > On Fri, Nov 24, 2023 at 06:44:50PM +0800, Shengyang Chen wrote: > >> >> The waveshare 7inch touchscreen panel is a kind of raspberrypi pi > >> >> panel > >> >=20 > >> > Can you be more specific about what "is a kind of rpi panel" means? > >> > Are they using identical chips as controllers or something like that? > >> >=20 > >>=20 > >> Wareshare panel has same i2c slave address and registers address with= =20 > >> the original raspberry pi panel. They both use Atmel firmware and they > >> got same reg id. It can be operated by using the driver of raspberry p= i driver > >> after some change of the code. So I suppose it may be a kind of raspbe= rry pi panel=20 > >> and discribe it in this way. It's my own judgement. Sorry about that. > >> Maybe just like Dave said, It cloned the behaviour of the raspberri pi= panel. > >> I will change the discribtion in next version to not make other confus= ed. > >>=20 > >> By the way, we will try Stefan's method before next version.=20 > >> The method we used in this patch may be abandoned if Stefan's method i= s verified in our platform. > >> At that time yaml may also be changed to fit new method. > >=20 > > I don't know what Stefan's approach is, but I do not think that a > > bindings patch should be dropped. The waveshare might be a clone, but it > > is a distinct device. If the same driver can control both, then the > > compatible setups that should be permitted are: > > compatible =3D "raspberrypi,7inch-touchscreen-panel"; > > and > > compatible =3D "waveshare,7inch-touchscreen-panel", "raspberrypi,7inch-= touchscreen-panel"; > If we use Stenfan's method, we can reuse the code of panel-simple.c > we may submit our patch to > /Documentation/devicetree/bindings/display/panel/panel-simple.yaml > /drivers/gpu/drm/panel/panel-simple.c > as a new panel porting. That may less confuse. As long as you provide a specific compatible, and not re-use the rpi one, that's fine. It just sounded like you were intending to reuse that here, but from this message it seems like I misunderstood. Thanks, Conor. --LKkffefepue30ywv Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZXGRvwAKCRB4tDGHoIJi 0uepAPsFO121yBy+oxhB7OSau+AELQyXEwausDJX8GujOigD2wD+NWi8eCcUWndt 3hUdUUgCa3P8sLTU12m5hwaHq3cJ9Qo= =bdsy -----END PGP SIGNATURE----- --LKkffefepue30ywv--