Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp2312415imw; Sun, 10 Jul 2022 03:22:20 -0700 (PDT) X-Google-Smtp-Source: AGRyM1t4aqQPJ+iv6k0SutnPCEV5fh9t6o6VjHD1qf9JtC3xB53a8B2SD6StQ7X5S6Gho0pG95sd X-Received: by 2002:a05:6402:248d:b0:437:dd4c:e70e with SMTP id q13-20020a056402248d00b00437dd4ce70emr17129542eda.75.1657448539922; Sun, 10 Jul 2022 03:22:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657448539; cv=none; d=google.com; s=arc-20160816; b=q4wRWd0bz9uJMffMBqvarET/CkIrTMzAuzxMhd9O89ZJYH7MYDEXpFX81oAIhWXFRe HZSDO/oDXRWuYNILZ/ErYrHZjOqsvb3zbidrXK9/qx3DwPQPVKIgbowM5DJKRXdIHv6V VTkerK4ggLm9h1r/+mkf7UjxY65jpnKG0jQp9WmBG/fx+Ci668RZIRsm1GgvhR7ypW/e jwWKM5LnhYLai1hqu0ydynhP51zC1noBWpuOUufKsopre3XW8U8sYmBIPVkABaQ8o2h5 GiVGT1QfXXwh5UD0489++fCLh2RfG+xE/PrrDqWPL8CICedQhPwPD3Cy2kUxQbmIUUXL KUlQ== 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-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:dkim-signature; bh=rEJybCJet2Hivh6qA8E5QBR15vMK+Pp+penGzDCE/gA=; b=mcJ7HMMh44T0gExipkShf83B0q6abPWB/+rg8rYTZ4qyWrHlGI0GBXnEyrArWcjCPf 11bVnXS1vj26HjBBhxPD+JeiUKX86/sjfJlPofke948z9z1cuDAO7PIBxAOXJbbgZ4W/ mMMsP3mZFhzQPT8fi+VT/p8j2y4Q/pUyq/X7ErR61Rv0ZBinRn+ERYiMlWgD9u4gPuJ+ 9ghYXeJbI+3JCNjDOX7QR5BvgUrGpd5kenVWJ67F/SXjXdrNF5f3LYAtg6VNQpswSHmE P2yh2F5YCpZeANBq1xk09lqt7GMqA2FrIRxQrDOlttaiohqITazuhsZ/H297voH95/mA xhRw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ravnborg.org header.s=rsa1 header.b="b0/nmvN7"; dkim=neutral (no key) header.i=@ravnborg.org; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l19-20020a056402255300b00437afe78154si6383523edb.232.2022.07.10.03.21.54; Sun, 10 Jul 2022 03:22:19 -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=@ravnborg.org header.s=rsa1 header.b="b0/nmvN7"; dkim=neutral (no key) header.i=@ravnborg.org; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229543AbiGJKNm (ORCPT + 99 others); Sun, 10 Jul 2022 06:13:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33414 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229579AbiGJKNh (ORCPT ); Sun, 10 Jul 2022 06:13:37 -0400 Received: from mailrelay4-1.pub.mailoutpod1-cph3.one.com (mailrelay4-1.pub.mailoutpod1-cph3.one.com [46.30.210.185]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C1F7F25FF for ; Sun, 10 Jul 2022 03:13:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ravnborg.org; s=rsa1; h=in-reply-to:content-transfer-encoding:content-type:mime-version:references: message-id:subject:cc:to:from:date:from; bh=rEJybCJet2Hivh6qA8E5QBR15vMK+Pp+penGzDCE/gA=; b=b0/nmvN7DqiX0kkiYxY04bD70tMgShZfdVC9ZJajky7kFm6oMYGrw9ktIezVyQs2+8E4/UZfrKTZY EgAn0iCUHct+pl3z5C8FcUpzhgINhlhnEb0lf20zi9BLshv9OYSLNtm3XVvBe7zNHQ4G1KmOAIi1LS NwnSWdozaKCagsnN85fpy4NWwNyJWxz01jdMaHPDzUm6pvUQ2+58/pmRZVqZ/1Uy3JHjUBZQ43LNMm rxOxzHa6Q1U5odiIYxfS8LvBnVyo+NDQvj8q1PpF6/sXWvy1+e2/9ftqQzVTsUxzDx6rWccZ0wiOlH JCHtPfotFyQzC7EL/6WtRy1uhTRFulg== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ravnborg.org; s=ed1; h=in-reply-to:content-transfer-encoding:content-type:mime-version:references: message-id:subject:cc:to:from:date:from; bh=rEJybCJet2Hivh6qA8E5QBR15vMK+Pp+penGzDCE/gA=; b=zhj7p1kncuTVyhNq25SboIi49TZRRb2yMqScN0famvosUjKTzDGPhMgzllTAHyuGU0B6+UIUM/zKT Z/HbU6wBA== X-HalOne-Cookie: c2ff1fd2e92b6addf632218b96cffdd31ae2ce00 X-HalOne-ID: f17ef01f-0038-11ed-823d-d0431ea8bb10 Received: from mailproxy4.cst.dirpod3-cph3.one.com (2-105-2-98-cable.dk.customer.tdc.net [2.105.2.98]) by mailrelay4.pub.mailoutpod1-cph3.one.com (Halon) with ESMTPSA id f17ef01f-0038-11ed-823d-d0431ea8bb10; Sun, 10 Jul 2022 10:13:29 +0000 (UTC) Date: Sun, 10 Jul 2022 12:13:27 +0200 From: Sam Ravnborg To: Molly Sophia Cc: Thierry Reding , David Airlie , Daniel Vetter , Rob Herring , Krzysztof Kozlowski , dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, linux-arm-msm@vger.kernel.org Subject: Re: [PATCH v2 1/2] dt-bindings: display: panel: Add Novatek NT35596S panel bindings Message-ID: References: <20220709141136.58298-1-mollysophia379@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: 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_PASS,SPF_NONE,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 Hi Molly, On Sun, Jul 10, 2022 at 02:19:41PM +0800, Molly Sophia wrote: > Hi Sam, > > Thanks for your suggestions. > > Sam Ravnborg 于 2022年7月10日周日 上午4:47写道: > > > Hi Molly, > > > > thanks for the quick response to the review comments. > > > > On Sat, Jul 09, 2022 at 10:11:35PM +0800, MollySophia wrote: > > > Add documentation for "novatek,nt35596s" panel. > > > > > > Signed-off-by: MollySophia > > The s-o-b needs your real name - guess the above is a concatenation of > > first name and surname. > > > > The binding included in this patch fails the check: > > $ make DT_CHECKER_FLAGS=-m dt_binding_check > > > > You may need to run: > > $ pip3 install dtschema --upgrade > > > > Or you may have to install some dependencies first. > > The problem is that the patch is missing a "reset-gpios: true" > > > > On top of this I looked at the binding - and the description > > this is copied from is almost identical. > > So another approach would be to extend the existing binding like > > in the following. > > > > And this also gives a good hint that maybe this can be embedded in > > the existing driver - and there is no need for a new driver. > > Could you try to give this a spin and get back on this. > > > > That's reasonable. Actually, this driver was modified from > novatek,nt35596s, with different panel initialization commands, and it > seems easy to be embedded in > the existing driver. However, I wonder what the driver file name would > be...? "panel-novatek-nt35596s-nt36672a.c" or something else? Just keep the current driver name - we cannot embed all the supported HW in one driver name anyway. And then you do not break currents users in case they have hardwired the current driver name. Sam