Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp27325650rwd; Tue, 4 Jul 2023 01:06:06 -0700 (PDT) X-Google-Smtp-Source: APBJJlH7zbGN50cQfasntaPIDFhBNbYSQq2iLroPnRlqzVCqBUbgnD+tfbdt7CQSGjAgdF5Q95CE X-Received: by 2002:a05:6a20:2450:b0:12d:bdc1:a3fd with SMTP id t16-20020a056a20245000b0012dbdc1a3fdmr10507321pzc.46.1688457965907; Tue, 04 Jul 2023 01:06:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688457965; cv=none; d=google.com; s=arc-20160816; b=QI8ZydayEDG2udz7woyEy5K43FC8Z7LBxC1r9E5cQBoHG/VxhKirkJapIGSGDCpgRT KcLO8n8bynpcKEdgX1CML+Xq9z/YUwBBmJY6Fv3dApWwoM/JT3XOsb+urqJb14Vpt+wN OZAgsDFLD3saxXHSYY4jsdCcDe9f4Mh22M/L+ELvCD46PEGQ6c54gRF2sOQBI2OEBBWO fIuyZSayhRW+iVdndSfLZ6cJffdbedEesHZmEBfQNHdrl90GnPfxom+yZYzHZNLyWt46 ZuifnUilFUu3VyPlmBC08POu8q0TPkCTXCjafOL/2rT0VrmpiPHUrAmRZvSSesMlT/lE Stmw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=mRkvpRfMuOlSLRipkiu8Jze1f6nATDLcC9Hl3jUoeDQ=; fh=mE0CJmNIPXoUDVUI21wnJATb+rarGvxw8+qsmifMqKA=; b=poSF/a7La++KEPUS/ygPe/5LHThs85YMYplJA88F/gD1CYDK4MPFd31vsZxIRii4At FX5jkQL4EyYzhYSxYeLAtjff0iioUsqz7G5iJm5yRG2/sSzDsv5jN9W4NQaqbF2JNdqv peW2kHcY3cS+seTgePR8auEyHDy7tCCDoymA3aTop+Qwhd6dDyuulWjL1ltyFkP72Ch/ qcYwd9s0fEl5GBgEWsPnIIAp152jbBUe4TJHm+Gxmvj4Gkg/VJni+9UhXaiQyh38D9qZ h4+c+faC3rkgoPKLVi0xCrMAcFu7E6UKwJmbwBr33BqUAh5Ei2pY2zYn0ewKBVHqVl8o SWqQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Cqx18F0N; 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=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c7-20020a170902b68700b001b3cf7eb499si18981118pls.633.2023.07.04.01.05.53; Tue, 04 Jul 2023 01:06:05 -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=@linaro.org header.s=google header.b=Cqx18F0N; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231607AbjGDHrn (ORCPT + 99 others); Tue, 4 Jul 2023 03:47:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55918 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231602AbjGDHrT (ORCPT ); Tue, 4 Jul 2023 03:47:19 -0400 Received: from mail-yb1-xb2b.google.com (mail-yb1-xb2b.google.com [IPv6:2607:f8b0:4864:20::b2b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 993D410D9 for ; Tue, 4 Jul 2023 00:47:01 -0700 (PDT) Received: by mail-yb1-xb2b.google.com with SMTP id 3f1490d57ef6-bb3a77abd7bso5902176276.0 for ; Tue, 04 Jul 2023 00:47:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1688456820; x=1691048820; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=mRkvpRfMuOlSLRipkiu8Jze1f6nATDLcC9Hl3jUoeDQ=; b=Cqx18F0N47ar3DMEAXrXv9rl0+r4nk7G3XIVZRj+2UatRbWk2pkiJ9fKNXd1oP8qjq 4XGs4CS5/ocs96OdReTui+io6Q2RUlZ2xxAxeEfoNbFw56P4i3S1lZhx6voqo8pd4ZdQ b/z4MqyLg8Lk25P+fCUbRY5CLKhcdCYyP1VaofG31awCT1pligE7xlPpR9vrV2FAtAB8 hrTY3OLE3iGxJDe19xFGHJKZrbGQbgeVnZQZ1LO88hXcP8k+t1rKS1uSbiU2YmEBku1z zhrV/EdGR6Ifa04qAC0UcP4bA69IZzAjaNuqfw6hl7caT3ETmaYRF7TCVLwGVDifp70u 65rQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688456820; x=1691048820; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=mRkvpRfMuOlSLRipkiu8Jze1f6nATDLcC9Hl3jUoeDQ=; b=YeOsxsx9dN0gy5yRop+pfbynYg4rovO0aOYIWDiR6pt1O7QGyrwrIRjuBqCzWK5j48 v9L4MdpNyXGWdXmTXtDUU8N2n4jX225RtezMtCUtQFY4GxXOikGekJvUtaDzWTX+tN/K dbWiX9wxVi9tE8UZvhCuBBqulhoKuYxK7hVGZUZnHTDouoEk9jJxIlOpJIZE5WlMJrpk 2Zaz4HgWJrUea8RroTK3lZyeVs5AUJ4dvkwcyBS6+pyejZ4MpNaMNj2gJ/mjqap3A4Ke yfpQ1zQ1mFgpO3JRUO/CJzYP26lfLIgchUunwiteKOvQHcfaMw18YJi+dVSgKfqGimZ5 6l1A== X-Gm-Message-State: ABy/qLbmCx/QnAnacek3NnQ3TfE5CkJiQ5DZ6VCWZwBsSHQ27+4JlJys 5+z0CP+u1072zkH+4TpHdmoVlUXaTU1yZ8+1KF+f6g== X-Received: by 2002:a25:a8a:0:b0:bcb:9b43:5a89 with SMTP id 132-20020a250a8a000000b00bcb9b435a89mr11258112ybk.61.1688456820597; Tue, 04 Jul 2023 00:47:00 -0700 (PDT) MIME-Version: 1.0 References: <1adda828-cf35-fb2c-6db5-f9ca91b5b62a@linaro.org> <20230525093151.2338370-1-yangcong5@huaqin.corp-partner.google.com> <20230525093151.2338370-5-yangcong5@huaqin.corp-partner.google.com> In-Reply-To: From: Linus Walleij Date: Tue, 4 Jul 2023 09:46:49 +0200 Message-ID: Subject: Re: [v4 4/4] drm/panel: Support for Starry-ili9882t TDDI MIPI-DSI panel To: Doug Anderson Cc: Cong Yang , neil.armstrong@linaro.org, conor+dt@kernel.org, devicetree@vger.kernel.org, sam@ravnborg.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, hsinyi@google.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.1 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_BLOCKED autolearn=unavailable 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 On Thu, Jun 1, 2023 at 5:55=E2=80=AFPM Doug Anderson = wrote: > On Thu, May 25, 2023 at 2:32=E2=80=AFAM Cong Yang > wrote: > > > > The Starry-ili9882 is a 10.51" WUXGA TFT panel. which fits in nicely wi= th > > the existing panel-boe-tv101wum-nl6 driver. From the datasheet,MIPI nee= d > > to keep the LP11 state before the lcm_reset pin is pulled high. So add > > lp11_before_reset flag. > > > > Signed-off-by: Cong Yang > > Reviewed-by: Douglas Anderson > > --- > > .../gpu/drm/panel/panel-boe-tv101wum-nl6.c | 371 ++++++++++++++++++ > > 1 file changed, 371 insertions(+) > > Applied to drm-misc-next: > > 8716a6473e6c drm/panel: Support for Starry-ili9882t TDDI MIPI-DSI panel Sorry for noticing too late and coming after the fact and complaining. We must stop using the panel-boe-tv101wum-nl6.c driver as a one-stop-shop for Chromium panels. The Starry panel in particular hardware-wise has nothing in common with the other panels in this driver and I'm suspicious about patch 3/4 as well. Please check my patch breaking it out to a separate driver, and if you could check internally if you have a datasheet for Ilitek ILI9882t or can use your vendor leverage to get one to improve on the driver (such as define the DCS commands...) that would be great. There are good reasons for grouping the panel drivers into respective display controller such as fixing bugs in one place and if we ever want to properly support things such as gamma correction it will provide the proper per-display-controller approach. Yours, Linus Walleij