Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp859026rdb; Wed, 6 Dec 2023 01:47:52 -0800 (PST) X-Google-Smtp-Source: AGHT+IGN+KLFemVWZ55II5H1L6+/1+rXcL7cWpUJKrTrekbMKcay0KJtb55re1wxC8MT7VzoKB3A X-Received: by 2002:a17:902:f813:b0:1d0:6ffd:f1fa with SMTP id ix19-20020a170902f81300b001d06ffdf1famr346222plb.80.1701856071865; Wed, 06 Dec 2023 01:47:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701856071; cv=none; d=google.com; s=arc-20160816; b=qxkkkmyOa4L3w3hwPhH1MElTrxAA6sbzq9YVBquv9cGQQA0x0Wp1o458Iuw8s57JEz 1led7AHsztOjNEsIOH6yZew4e3pvRkv9YcP4UnDF+/UkYzEMO4q6y0iMrr5IyHCfhaAl EJ10mb+VW/pCnNIpNRDN6/dqIf55N2w/Rb71je5XOwFyq6ZiokpJGs7oWfQ7AVTjAW2+ gT1Fy4VBHOraJY9C3h7ZqD3lb64/YxBgCJTCyqTwjurMhgAcdxz20f5r/EWH7USg3bVD JzmmJ626Hll2PhVSnVBFoj57KGvkiOCuIQzOMKknO5X95WX/qFknxD4fmHIAc7qK65Oa eCVg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id; bh=YT2Q01eZLeY2bcRh7Umey1WRlR05Re/JzC3LdIpX3yM=; fh=DHLCaZcdnbSlcmLzGB7YGBXVsNoT4UObCd2mAOW/yks=; b=j/DGWdWv6BNMI6GNLLqxiFF09jHy8q4uvLu7osmF7wG+ZVWQ1fIoUdYfNoPcq4m0ey rHi5GJY/P4Hjs8F8LY5cjBa1SEiQxZwSse48MICb9UrHky/jLEz8Z/4zp9LetFn6ZnQ/ /iiWn0DQQZImV0vbI1MKoqWA0reeBZejWV/SuiRbThLoOqgz30xt3578BBxTPKnLzEdx CpnudA0g5PkC9Q04cuyTK5buG3T122SfAkkDIOJKwFD6aN41a/3oG/eATYr3UeUYF6F4 ZyPAwGAxKv68+aCC0b+IFnHg6Ao+iFhEoGR16xj7jpeurmTM8FcljpscLmiIddjro4jZ 3jGg== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id j3-20020a17090276c300b001cfd754d79esi11227060plt.79.2023.12.06.01.47.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Dec 2023 01:47:51 -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; 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 Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id F40B9802F683; Wed, 6 Dec 2023 01:47:41 -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 S1377349AbjLFJr0 (ORCPT + 99 others); Wed, 6 Dec 2023 04:47:26 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41678 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1377303AbjLFJrV (ORCPT ); Wed, 6 Dec 2023 04:47:21 -0500 Received: from fd01.gateway.ufhost.com (fd01.gateway.ufhost.com [61.152.239.71]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1578510C0; Wed, 6 Dec 2023 01:47:03 -0800 (PST) Received: from EXMBX166.cuchost.com (unknown [175.102.18.54]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "EXMBX166", Issuer "EXMBX166" (not verified)) by fd01.gateway.ufhost.com (Postfix) with ESMTP id 2DE3B80C5; Wed, 6 Dec 2023 17:47:02 +0800 (CST) Received: from EXMBX171.cuchost.com (172.16.6.91) by EXMBX166.cuchost.com (172.16.6.76) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Wed, 6 Dec 2023 17:47:02 +0800 Received: from [192.168.125.88] (183.27.97.199) by EXMBX171.cuchost.com (172.16.6.91) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Wed, 6 Dec 2023 17:47:00 +0800 Message-ID: <2d48e460-e46e-431f-bd7b-e34ebe73a40c@starfivetech.com> Date: Wed, 6 Dec 2023 17:43:48 +0800 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v1 1/2] dt-bindings: display: panel: raspberrypi: Add compatible property for waveshare 7inch touchscreen panel Content-Language: en-US To: Conor Dooley CC: , , , , , , , , , , , , , , , , , , , , , , References: <20231124104451.44271-1-shengyang.chen@starfivetech.com> <20231124104451.44271-2-shengyang.chen@starfivetech.com> <20231124-lesser-sinister-7f9cd7b80e35@spud> From: Shengyang Chen In-Reply-To: <20231124-lesser-sinister-7f9cd7b80e35@spud> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Originating-IP: [183.27.97.199] X-ClientProxiedBy: EXCAS066.cuchost.com (172.16.6.26) To EXMBX171.cuchost.com (172.16.6.91) X-YovoleRuleAgent: yovoleflag X-Spam-Status: No, score=-0.8 required=5.0 tests=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]); Wed, 06 Dec 2023 01:47:42 -0800 (PST) Hi, Conor 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 > > 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? > Wareshare panel has same i2c slave address and registers address with 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 pi driver after some change of the code. So I suppose it may be a kind of raspberry pi panel 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 confused. By the way, we will try Stefan's method before next version. The method we used in this patch may be abandoned if Stefan's method is verified in our platform. At that time yaml may also be changed to fit new method. >> and it can be drived by panel-raspberrypi-touchscreen.c. >> Add compatible property for it. >> >> Signed-off-by: Keith Zhao >> Signed-off-by: Shengyang Chen >> --- >> .../bindings/display/panel/raspberrypi,7inch-touchscreen.yaml | 4 +++- >> 1 file changed, 3 insertions(+), 1 deletion(-) >> >> diff --git a/Documentation/devicetree/bindings/display/panel/raspberrypi,7inch-touchscreen.yaml b/Documentation/devicetree/bindings/display/panel/raspberrypi,7inch-touchscreen.yaml >> index 22a083f7bc8e..e4e6cb4d4e5b 100644 >> --- a/Documentation/devicetree/bindings/display/panel/raspberrypi,7inch-touchscreen.yaml >> +++ b/Documentation/devicetree/bindings/display/panel/raspberrypi,7inch-touchscreen.yaml >> @@ -22,7 +22,9 @@ description: |+ >> >> properties: >> compatible: >> - const: raspberrypi,7inch-touchscreen-panel >> + enum: >> + - raspberrypi,7inch-touchscreen-panel >> + - waveshare,7inch-touchscreen-panel >> >> reg: >> const: 0x45 >> -- >> 2.17.1 >> thanks. Best Regards, Shengyang