From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 77A32C4167B for ; Wed, 6 Dec 2023 09:48:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:From:References:CC:To: Subject:MIME-Version:Date:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=42lfW6hfo6Ltv0ImVK7f05+YUH7Kt6KFXsdxVtW7YeQ=; b=og+7OcCQSSHJV2 rw/BrhHeWqP30XWSo1lcqWxtJaYuxoHTFZMw6Cn3/HEx91X7gdK32jJnfGDPjgscNJ5iCsN3SUdP+ Zt1ZBrgHHE4ZAul7VWwivA3ZD68xjvslRG5AX/jUJYwNjMNMcomGqrcMB4f9kOzZWYyffhEj/vZ94 GIY1Iabhv3ZNGCuM3nSyItaMBzUaG7lf6n9gBJj+xHZm1AlCiTOLYQ2u2ZbLQWt4C5eMvr2I0sOmC qNynD556T7HPcvDzm5rHjp+IZ6WFeFv6dsccCOXoT4A7Aca3u9NIDZJlJ1QoRWsfbvznxYarSWXGY 3U48119EyrAniZ3Jdv6g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rAoVd-009bOM-1U; Wed, 06 Dec 2023 09:48:01 +0000 Received: from fd01.gateway.ufhost.com ([61.152.239.71]) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rAoVZ-009bLR-11; Wed, 06 Dec 2023 09:47:59 +0000 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> 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-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231206_014757_713151_1B9B74E6 X-CRM114-Status: GOOD ( 16.93 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel