Received: by 2002:ab2:6309:0:b0:1fb:d597:ff75 with SMTP id s9csp987634lqt; Fri, 7 Jun 2024 05:07:13 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVTiPav6+gfpKp3SegH5+SYx12QmaXbZBCwnBEnufXGLesar8GqwNh4DqKV7dEIsZCsbFsWU35XLxtCE52h2JAqPVULc8hc+E8uLud/+A== X-Google-Smtp-Source: AGHT+IEfe7Rep8N6RDYk2SqU2i5XthWII3DLaPF53izAPSlxjIVHmj8cx7YD57dGpTz45yerZDFG X-Received: by 2002:a17:90a:6447:b0:2ae:b8df:89e7 with SMTP id 98e67ed59e1d1-2c2bcc633aamr2301052a91.38.1717762033554; Fri, 07 Jun 2024 05:07:13 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717762033; cv=pass; d=google.com; s=arc-20160816; b=pVj08pjRQ4htjMwgIPVtG3cdLqb5NGc0m4WTwr2RcDq/tUySp0vFYZ1lwsXl2Va3Yw eqO+6UcyvyMLglbEYgZm6ggsUl/FDTizLzQdWEDMpUHXb0A5STgZzcdF9TX6YN1oJhCR mu3i1DFraoiRfbKo4iQAtYO6+4o8nu0QrgNuZGv/jFMjtBTvuzstxbTEnqvy3vGpETfx Kk/Oxm19vSUj++ciQPmdWrHWKTOFHa5Ejx2stMukS2Pv50awOIJERj8RyTPTeMAgm8x1 0WLuyK3sOx2MO1fej2NIx0G5WeTvQ9wFqeXcNw12+fUXONpFcu0ScCNcfmpCazp7P0Mg upqA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=aaxauWMNivX2Xh96RfVBzt0WPh7okmPnKiLgSACVt0o=; fh=t+ht0eKfoehPWu9rJWrkD5fJRGjDfamw6afTORjm90Y=; b=oZZz/NWj+y1L5z0NhzuXidavDzfW3rJjDSiMNg18Ch/m4tirphtcFTagTgt9mJo21y ceoy2bMgWrw6n1XLHR9KreiNCu/wFsUYKbdtb2h60juHpcgN7/N+dyTlYMCfG2MJXqKk xyu21pPG0fix4peUMsqM4SpmTslagrgJfMcuV5grjRNnQvwhJNPMbgGt3ek1tBkBbUdT UMS/QChmw6nyex/EIppnPxc0uVGnf+fx97ebUwlXF3mQR7sqbvAcfnmDBlbW4lBF2NHV v2WwIn7F4HCyybgpV7yHagWYUEhb9wZ8mEOb9q+5jmtc28wZwxdI1oKHkQEhUOfeoA9x Bwdg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=oHKUKYSz; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-205956-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-205956-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id 98e67ed59e1d1-2c2806bcbbdsi584639a91.112.2024.06.07.05.07.13 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 07 Jun 2024 05:07:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-205956-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=oHKUKYSz; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-205956-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-205956-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id E4FE028BA9D for ; Fri, 7 Jun 2024 11:49:10 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id CF92918C35E; Fri, 7 Jun 2024 11:49:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="oHKUKYSz" Received: from mail-yb1-f169.google.com (mail-yb1-f169.google.com [209.85.219.169]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6EDDB18C328 for ; Fri, 7 Jun 2024 11:49:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.219.169 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717760943; cv=none; b=srcrVpU5M7m7yoo0+8kOUjrkXIg36kS8UjSxPvZvDvW6boqabcXRdULwkdr4chqj16CGqV8VeD70T0q2+r2mMwpUGsloeX0+UF4dLCuOSvXj2WWN/HA4WeJnSW+tPiIeAswmUjuHURpNluD2te2zq/M/EmxnBdBLIZTGmbjNMb8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717760943; c=relaxed/simple; bh=9RBdun848oyGcaKII1pvPRbUGsBtrYjKBBsCinPoZw8=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=LCxJKGUa1C7un/uagionjhLb5OnCYE+2cIclOpb6LRUSsiJVKe04abZNAxB/aRhRln1K0s2JrqIN946Lih+yXcQ5jg/ATbpEStISouI7Iti4bleBd57JXY7eVczX7BvsCoCeooMcTRmVoy7gXAkjmjQpMVH9wnHCKtMoLRCWUPo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=oHKUKYSz; arc=none smtp.client-ip=209.85.219.169 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-yb1-f169.google.com with SMTP id 3f1490d57ef6-dfa67a3e702so2112241276.1 for ; Fri, 07 Jun 2024 04:49:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1717760941; x=1718365741; darn=vger.kernel.org; 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=aaxauWMNivX2Xh96RfVBzt0WPh7okmPnKiLgSACVt0o=; b=oHKUKYSzjMck6aSSnYbg+mwHDVzlENejPoIFx7zkvcBgmSSm/0X0NdcHF8TCTg4cMR 43d6FC3LUUY0lMJn+ZzOeUJ2ua3yqS+lN8o1IUCUvQ0zyQuXPDmnZZIR7Xs1hZpRaCpH GAHsREap8PMid8xvr5ed0QcW6nReMHWnNhdYrLKXZqRlYRoxwEAMb7SSroNKtJhIjEo4 mxTiEhUQMiLueOgqKw1685hmH5Om8fjsyQ/GmUhIJ8T/wPj6Ix6Xl+JEYqmHhWBZzqM4 i9Z+zfldwpS49MxVtUbzZoAG+9jH1fS/F69r/+vsUV+TnjwsLF6vsT2+LOSYAbpzlXhE 7ylA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717760941; x=1718365741; 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=aaxauWMNivX2Xh96RfVBzt0WPh7okmPnKiLgSACVt0o=; b=RN9GjpeYblKyUQjAAL7vc2Iw1CdYc1K+hn7VRdmOYK5c2fxBVmby9rIZgGWZ2ZgvUW H/TmVB092v0ofb+mUsbRiGqSLav61DF0Yktngwrp0VhcYlzpqlq8Unj/7hM6mYwVzX8q fB/FHxLowmHR3si5S/2CcbwPHvMvVHdDST2jO+9Lz7+qKX6MyRqDPdf+MbXo0Bj21nAD Q0w8i+YMMRH1zeGI3IWJLA+zKRUPCT6m3N1TqASJxraloc8Fi6JzqZTgqICAUknbuFH2 sruJJaKebTfzMWT31rvEsEz8PfOfS/X8wOrVuPkfwN6RMWC8AZm5SX/lf5Lo2w07c+1p W/Vg== X-Forwarded-Encrypted: i=1; AJvYcCXyL+IwI0zsZrQfYnJ1gsZUJcvZ5nvyk65F798spzlxAx+5e3t1xze0lWfMyFDqNl8F55Y+GedvMWTfX06SaoSCNV9OgiRgnrt0rnt+ X-Gm-Message-State: AOJu0Yxux4ZTW/i7qSQphkeMf/Ekn2933Mv83rOYXsFaeEJeBQPGRJeN uG/aaqK0n0Ux6Nw2oTOgR/5c/iMBoTGYqho/RjAkT8eCwwqEjicaIDMEUokr1z+fGUWE6PeKIyK +NOyGs2yMOHzCDI2IX75P/oJrUfqIRGQMTZEn8w== X-Received: by 2002:a25:d648:0:b0:dfa:7ac9:fad1 with SMTP id 3f1490d57ef6-dfaf663d8a9mr2327430276.24.1717760941376; Fri, 07 Jun 2024 04:49:01 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240601084528.22502-1-lvzhaoxiong@huaqin.corp-partner.google.com> <20240601084528.22502-2-lvzhaoxiong@huaqin.corp-partner.google.com> In-Reply-To: From: Dmitry Baryshkov Date: Fri, 7 Jun 2024 14:48:50 +0300 Message-ID: Subject: Re: [PATCH v2 1/4] dt-bindings: display: panel: Add KD101NE3-40TI support To: zhaoxiong lv Cc: dmitry.torokhov@gmail.com, robh@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, jikos@kernel.org, benjamin.tissoires@redhat.co, dianders@google.com, hsinyi@google.com, dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Fri, 7 Jun 2024 at 14:38, zhaoxiong lv wrote: > > hi Dmitry Baryshkov > > Because this is a separate mipi dsi driver, I did not put it in > panel-sample-dsi.yaml. Driver and bindings are two separate things. Bindings describe the hardware. If there is no other reason to have a separate bindings document, please use panel-simple-dsi.yaml. Also please don't top-post in public mailing lists. > > > On Sun, Jun 2, 2024 at 12:28=E2=80=AFAM Dmitry Baryshkov > wrote: > > > > On Sat, Jun 01, 2024 at 04:45:25PM +0800, Zhaoxiong Lv wrote: > > > Create a new dt-scheam for the kd101ne3-40ti. > > > The bias IC of this kindisplay-kd101ne3 panel is placed > > > on the panel side, so when the panel is powered on, > > > there is no need to control AVDD and AVEE in the driver. > > > > > > Signed-off-by: Zhaoxiong Lv > > > --- > > > > > > Chage since V2: > > > > > > - Drop some properties that have already been defined in panel-commo= n. > > > - The header file 'dt-bindings/gpio/gpio.h' is not used, delete it > > > > > > V1: https://lore.kernel.org/all/20240418081548.12160-2-lvzhaoxiong@hu= aqin.corp-partner.google.com/ > > > > > > --- > > > .../panel/kingdisplay,kd101ne3-40ti.yaml | 59 +++++++++++++++++= ++ > > > 1 file changed, 59 insertions(+) > > > create mode 100644 Documentation/devicetree/bindings/display/panel/k= ingdisplay,kd101ne3-40ti.yaml > > > > > > diff --git a/Documentation/devicetree/bindings/display/panel/kingdisp= lay,kd101ne3-40ti.yaml b/Documentation/devicetree/bindings/display/panel/ki= ngdisplay,kd101ne3-40ti.yaml > > > new file mode 100644 > > > index 000000000000..b0cf12bb727d > > > --- /dev/null > > > +++ b/Documentation/devicetree/bindings/display/panel/kingdisplay,kd1= 01ne3-40ti.yaml > > > @@ -0,0 +1,59 @@ > > > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > > > +%YAML 1.2 > > > +--- > > > +$id: http://devicetree.org/schemas/display/panel/kingdisplay,kd101ne= 3-40ti.yaml# > > > +$schema: http://devicetree.org/meta-schemas/core.yaml# > > > + > > > +title: Kingdisplay KD101NE3-40TI based MIPI-DSI panels > > > + > > > +maintainers: > > > + - Zhaoxiong Lv > > > > Any reason for using a separate bindings instead of extending > > panel-simple-dsi.yaml ? > > > > > + > > > +allOf: > > > + - $ref: panel-common.yaml# > > > + > > > +properties: > > > + compatible: > > > + items: > > > + - enum: > > > + - kingdisplay,kd101ne3-40ti > > > + > > > + reg: > > > + description: the virtual channel number of a DSI peripheral > > > + > > > + pp3300-supply: > > > + description: core voltage supply > > > + > > > +required: > > > + - compatible > > > + - reg > > > + - pp3300-supply > > > + - enable-gpios > > > + - backlight > > > + - port > > > + > > > +unevaluatedProperties: false > > > + > > > +examples: > > > + - | > > > + dsi { > > > + #address-cells =3D <1>; > > > + #size-cells =3D <0>; > > > + panel: panel@0 { > > > + compatible =3D "kingdisplay,kd101ne3-40ti"; > > > + reg =3D <0>; > > > + enable-gpios =3D <&pio 98 0>; > > > + pinctrl-names =3D "default"; > > > + pinctrl-0 =3D <&panel_pins_default>; > > > + pp3300-supply =3D <&en_pp6000_mipi_disp>; > > > + backlight =3D <&backlight_lcd0>; > > > + rotation =3D <90>; > > > + port { > > > + panel_in: endpoint { > > > + remote-endpoint =3D <&dsi_out>; > > > + }; > > > + }; > > > + }; > > > + }; > > > + > > > +... > > > -- > > > 2.17.1 > > > > > > > -- > > With best wishes > > Dmitry --=20 With best wishes Dmitry