Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp2863100rwd; Mon, 29 May 2023 01:55:46 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4UHnw+KsjVl5FYAUIZRP5EpwUcPL4HewFgAoKRsVJuRpiF7SIxKQ8AswD90pj4R1+1Zu93 X-Received: by 2002:a05:6a20:4286:b0:110:f65a:139d with SMTP id o6-20020a056a20428600b00110f65a139dmr3709866pzj.44.1685350546603; Mon, 29 May 2023 01:55:46 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1685350546; cv=pass; d=google.com; s=arc-20160816; b=MtSG0aSlkUEIAdgfs29jDqffTC47gn1pf4RHPlHI6bu9uYpX6w3N0xkpD7RkuTfzdj 3BVOv6wSiO21q5zElwe/YU/BvypkLwA/EfK485HK3RbnL+Sv8siYxfGCLDIsdvGbPIrs E9ML8csaDocIrEnNsfTawndles313rddj/H5ukR/55GHJPFhIUge0UGEPxjfFlX182ha JFVlKwdLe0U4HC/W4aCciMrfASwralpKGSBEOJgocaKDyzsJC6a4bF3rR/d3dc8W/6su gsNX0EUumgzUbdMjdemU53U4a3jUkuvA+gIVVDnlCcGEvrpxJRsBO7ByYZIfsbNLmK/D Z/gw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent :content-transfer-encoding:organization:references:in-reply-to:date :cc:to:from:subject:message-id:dkim-signature; bh=rN6UaHs4ggHcS2A5CJI/CPXVvIQe2q2wnZMpU72p46E=; b=MLbN+GitbI2sIX3pNgfkuXwCVDzvID0STm+QI1qwuxbzTIH84fEzDWgo8gntZ8uV+J qEGTTdpRqG8Kked5V/bDE8Hf+GjAlDmYmhk4STCyv7r8N5/SBsJgC27iqJWYVCPaM2JK jbFVPODCtag3jCafwUP6lPvUxK6fz8H5eb8k7Tdz1gFnGshqMRAIuzWeHmiVYrdvEcYV AsH0pd9a7O9znFZ1Lzh5lZfdDb99pRdug02jNApyOHWqG4Z2VmlK2a4gIlrEKVswTkT0 7HVmqvRJBsYIcl6GEebsjv/SMTbjEMHJtcioAleCBMadGnTITYk9xH2oQ47x+iyAY8+n PYlQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@icenowy.me header.s=zmail2 header.b=nvT+YTQt; arc=pass (i=1 spf=pass spfdomain=icenowy.me dkim=pass dkdomain=icenowy.me dmarc=pass fromdomain=icenowy.me>); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=icenowy.me Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 186-20020a6306c3000000b0051ba2478f50si6763424pgg.511.2023.05.29.01.55.32; Mon, 29 May 2023 01:55:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@icenowy.me header.s=zmail2 header.b=nvT+YTQt; arc=pass (i=1 spf=pass spfdomain=icenowy.me dkim=pass dkdomain=icenowy.me dmarc=pass fromdomain=icenowy.me>); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=icenowy.me Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231573AbjE2IqS (ORCPT + 99 others); Mon, 29 May 2023 04:46:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48112 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229512AbjE2IqQ (ORCPT ); Mon, 29 May 2023 04:46:16 -0400 Received: from sender4-op-o15.zoho.com (sender4-op-o15.zoho.com [136.143.188.15]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B60CFAC; Mon, 29 May 2023 01:46:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685349926; cv=none; d=zohomail.com; s=zohoarc; b=UWDchVkEZiy1zgz7GOmGojV4k3GBe6B0J98/o/8VuWZImfM7kKhp+evlWTG/+wbLdsJ48ehE9ywSCra0uNGxZbhwSl3fLDHhXabD1T+CchT4/ig6hwhab1nphrL3/I0E12AZ2RpofM1EBRjZ32Q9nwPOuEvqeMp8sKfs81zSCMI= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1685349926; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=rN6UaHs4ggHcS2A5CJI/CPXVvIQe2q2wnZMpU72p46E=; b=U04yBJ6K+7f3xyXrBevDloZNd20L0TVYYzAqNYVrSiz8sVrOFzu3DZjl2EEZiWPS2lVH4b3ZGnChjhL01ZEiQQCcyAkFDh9Ryo0Rdax72hKpjRcDHPGP+vbTPke5Jv6nVSskWfo2pFFWE7v4uTPIPvchEk0fN831fpgDl5dUdNQ= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=icenowy.me; spf=pass smtp.mailfrom=uwu@icenowy.me; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1685349926; s=zmail2; d=icenowy.me; i=uwu@icenowy.me; h=Message-ID:Subject:Subject:From:From:To:To:Cc:Cc:Date:Date:In-Reply-To:References:Content-Type:Content-Transfer-Encoding:MIME-Version:Message-Id:Reply-To; bh=rN6UaHs4ggHcS2A5CJI/CPXVvIQe2q2wnZMpU72p46E=; b=nvT+YTQtDXzEyPmjNP5ayAWvRISvccnkg/aNGQk5OBtQBsDatWrwkwNIH8NFyyYe CDhzWq1bPZCMZaIOaHP8fdoHlYicWGzCQxWWX2WGSHrS8q8zn0wYWQJD/AdSSwEZMcI eZzcFClARRmsJ8lxp/drRGTeX1hYnaKjzEZ23cCEqJIHx0Kp/poS1sRQMGm+Qsl9yNA D4bvTBgIyB4jyxuDObQs0jbB52KfE7lYdTRRfS5Og/u33ie3XdY1GxnVHz7vP1rQz6K /nGacoEHLUEQr2uviIIn8ALAL50ucCBD8iPWtPazpAfij2ZYeKmLDXA6U8KXpe0DPwy 2QvW3gZizw== Received: from edelgard.fodlan.icenowy.me (120.85.97.71 [120.85.97.71]) by mx.zohomail.com with SMTPS id 1685349925541243.71967151550905; Mon, 29 May 2023 01:45:25 -0700 (PDT) Message-ID: <6996788b112f4795d2930a6664b3152cd9a380a8.camel@icenowy.me> Subject: Re: [PATCH] arm64: dts: mediatek: mt8173-elm: remove panel model number in DT From: Icenowy Zheng To: AngeloGioacchino Del Regno , Doug Anderson , Pin-yen Lin Cc: Rob Herring , Krzysztof Kozlowski , Matthias Brugger , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, dri-devel@lists.freedesktop.org Date: Mon, 29 May 2023 16:45:20 +0800 In-Reply-To: References: <20230526100801.16310-1-uwu@icenowy.me> Organization: Anthon Open-Source Community Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.44.4 MIME-Version: 1.0 X-ZohoMailClient: External X-Spam-Status: No, score=-0.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLACK autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org =E5=9C=A8 2023-05-29=E6=98=9F=E6=9C=9F=E4=B8=80=E7=9A=84 10:02 +0200=EF=BC= =8CAngeloGioacchino Del Regno=E5=86=99=E9=81=93=EF=BC=9A > Il 26/05/23 16:24, Doug Anderson ha scritto: > > Hi, > >=20 > > On Fri, May 26, 2023 at 3:09=E2=80=AFAM Icenowy Zheng > > wrote: > > >=20 > > > Currently a specific panel number is used in the Elm DTSI, which > > > is > > > corresponded to a 12" panel. However, according to the official > > > Chrome > > > OS devices document, Elm refers to Acer Chromebook R13, which, as > > > the > > > name specifies, uses a 13.3" panel, which comes with EDID > > > information. > > >=20 > > > As the kernel currently prioritizes the hardcoded timing > > > parameters > > > matched with the panel number compatible, a wrong timing will be > > > applied > > > to the 13.3" panel on Acer Chromebook R13, which leads to blank > > > display. > > >=20 > > > Because the Elm DTSI is shared with Hana board, and Hana > > > corresponds to > > > multiple devices from 11" to 14", a certain panel model number > > > shouldn't > > > be present, and driving the panel according to its EDID > > > information is > > > necessary. > > >=20 > > > Signed-off-by: Icenowy Zheng > > > --- > > > =C2=A0 arch/arm64/boot/dts/mediatek/mt8173-elm.dtsi | 2 +- > > > =C2=A0 1 file changed, 1 insertion(+), 1 deletion(-) > >=20 > > We went through a bunch of back-and-forth here but in the end in > > the > > ChromeOS tree we have "edp-panel" as the "compatible" here in the > > ChromeOS 5.15 tree and this makes sense. > >=20 > > Reviewed-by: Douglas Anderson > >=20 > > ...in theory one would wish for a "Fixes" tag, but I think in > > previous > > discussions it was decided that it was too complicated. Hardcoding > > the > > other compatible string has always been technically wrong, but I > > guess > > it worked at some point in time. The more correct way (as you're > > doing > > here) needs the DP AUX bus support and the generic eDP panels, both > > of > > which are significantly newer than the elm dts. So I guess leaving > > no > > "Fixes" tag is OK, or perhaps you could do the somewhat weak: > >=20 > > Fixes: c2d94f72140a ("arm64: dts: mediatek: mt8173-elm: Move > > display > > to ps8640 auxiliary bus") >=20 > I remember I didn't change the compatible to panel-edp because it > didn't > work at that time, but it does now... I'm not sure what actually > fixed that > and if the commit(s) was/were backported to that suggested point, so > I > would leave the Fixes tag out, as that may break older kernel. Well at least I developed this patch on v6.3. (In fact the same kernel config do not boot to system at all on v6.0/v6.1 when I do make olddefconfig then build) >=20 > Anyway, for this commit: >=20 > Reviewed-by: AngeloGioacchino Del Regno >