Received: by 2002:ab2:6309:0:b0:1fb:d597:ff75 with SMTP id s9csp973335lqt; Fri, 7 Jun 2024 04:39:04 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUUiG2UFVVCpRvtDIsAlr39z9gJhfo2YnqLYHsbV+yNjR7/aKo5ubzbLJkA4Ze6kqgw8kcm7EJTW0MzB72qTK5JRBP3t9JubHCpYEhFng== X-Google-Smtp-Source: AGHT+IExq5Tm0Im1AIthpmahz9Z8nU9liDTpBlH1jBAtrAECHLVV8ZI3VgIjXiU570ocYfbGplal X-Received: by 2002:a17:902:d486:b0:1f6:a506:4be with SMTP id d9443c01a7336-1f6d02d6336mr26206765ad.9.1717760344106; Fri, 07 Jun 2024 04:39:04 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717760344; cv=pass; d=google.com; s=arc-20160816; b=ewrqq2hW628qjoDWcDDeGEF6DO0c2BUWx9rbeRJFkWJzPgQKAKxtL8NpvuyWu3mMYF B3jdnqnX2d8GN/Sj59Gq46HlRtN9LXlz6/FSeV2QtP8IhidCznu7OE3pY0DTxfo8Dt+e A67BUpbUtrOSdM/VxSjwAT+5PUMQyEH5f3PEl5pCDKXQ6OH+yukq+A56hrC80N123xur jh2WtXsiSdlSkfLfDQTe99muTCjNjXEDaNceVPFQF7vsywsbsyP+200EMnHIKJtdfEZC ZektjxLNMvfeFokyKWAQy33zS7Bx2s3NnrHdWrUqiAiuYTeYe6U8kXSMncLBOEEFAfJM i8QA== 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=o8M78VWmRUtxavNJng3PwXKm0bXhbM1TSJ/3rMl6z+Q=; fh=5DnNePUxMcycta0a8ruWe7d8SMwnKt+533ILbfsJOI0=; b=HfqARlyZ6z6A8uD6SazGRh9z4slygptAt8JhP2nj2buEGjVL9RZNazR2qBoUSSCNqA QqmVaYwnkVCIwd8bSlKEFcMBoMKJjIkjFpTI3dmT91OlbtN6JCpZZx384kKZ6CzyWJEV VOOa22RNpg9i4Ne5haXTbN1Lryre6+JdBcJ43LkelUTdjGgJCf5NFe+Wc0sp+6+AdiDk zMcHvqAMHhqy9CaooqCoSlb1alEP7i/Ys4ZSa58bEN7Idpr0jSSZn/He+81cubDBzQpO cGBbTCRX4GR/6HXb5gnZMfIrVqCkWCH886BENM2iYHOXtK719uiqnAswrkxGl+U/txtn TXWA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=q9IuoY5v; arc=pass (i=1 spf=pass spfdomain=huaqin.corp-partner.google.com dkim=pass dkdomain=google.com dmarc=pass fromdomain=huaqin.corp-partner.google.com); spf=pass (google.com: domain of linux-kernel+bounces-205935-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-205935-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id d9443c01a7336-1f6da3a26c4si9031155ad.345.2024.06.07.04.39.03 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 07 Jun 2024 04:39:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-205935-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=q9IuoY5v; arc=pass (i=1 spf=pass spfdomain=huaqin.corp-partner.google.com dkim=pass dkdomain=google.com dmarc=pass fromdomain=huaqin.corp-partner.google.com); spf=pass (google.com: domain of linux-kernel+bounces-205935-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-205935-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com 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 A8BE22892A0 for ; Fri, 7 Jun 2024 11:39:03 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 26DB9188CBB; Fri, 7 Jun 2024 11:38:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="q9IuoY5v" Received: from mail-ed1-f67.google.com (mail-ed1-f67.google.com [209.85.208.67]) (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 94EE918C328 for ; Fri, 7 Jun 2024 11:38:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.67 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717760328; cv=none; b=rWenvMJbj7nglsQFsddlzw5T/mMVWYw6yHXShNyMr4mOExN1W0LN3+qO54BtIxh85eanLcYyiaaXgPQZAoK7q+p7BlkZOm6xjuAvC6mfuHqdRgofm36/y1p4ZQl0uqWx0+VfG/jSNUS4nnXuKqLup3QSu78KyQ6ENHJkf4wh1Tg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717760328; c=relaxed/simple; bh=g5NIzpldAX/x2PqDjE5gpEKwkCFUjBNp6qqB3ZdMf10=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=LwcqlXGjWYORF2WCjQxoV5u2tFcPAazSemd7rl8chOGim37VU3L/2hToNO0/EuE1VCkkuqs+yYJ7MV3X20QU9lGyvByvaNgfl0XMJUAbXz3U0GHDKchsmzk9pZVoFu3h9e/1Pr5hGL2LYSkbs88QxFFXzt6gQ6LScInOZC2hlkk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=huaqin.corp-partner.google.com; spf=pass smtp.mailfrom=huaqin.corp-partner.google.com; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b=q9IuoY5v; arc=none smtp.client-ip=209.85.208.67 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=huaqin.corp-partner.google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=huaqin.corp-partner.google.com Received: by mail-ed1-f67.google.com with SMTP id 4fb4d7f45d1cf-57a30dbdb7fso2665550a12.3 for ; Fri, 07 Jun 2024 04:38:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1717760325; x=1718365125; 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=o8M78VWmRUtxavNJng3PwXKm0bXhbM1TSJ/3rMl6z+Q=; b=q9IuoY5vY8gNZYN/FQrnRdTtxQvoLxDnKqOcqYeNCwfSnBTabpZLPBqHwiTstTGWZZ JlvRaU09E2opPkkr+H2bruKIX+c26pXTSa8vhVx513AIFVL7IeRFeHm94uv0ke+cje5l 0IQ2lSoMXgAXFwpNh2OF2X8SBZjLFqr8115RZZFuwdguAU+AkanIoSuEZkCBvAtU/Jpo JiJ5/L8papYH93tw6FvZ4VmmTbbOhVmV76RCfnNHX9wuzvGOi73sC+HGIm55ifDpGLZI 4FEsxhsdjUl5JzR8t3xnmFvTa5TuxZzeNIDIShj4Ai8+9WQzm7AZUIdI9iNUb2wLQ56d HkuQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717760325; x=1718365125; 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=o8M78VWmRUtxavNJng3PwXKm0bXhbM1TSJ/3rMl6z+Q=; b=STkR6S1SCzYKrN77seZfmyZHPhb0UUYV3luzeqzxJFIREnVcbPUal06G4n6HzOn7wh T2fwhfMlCtPnefq/4q//7anYXHR7Kkb3A7Hdzi9RL0JqllJ76FqFx8dQ5EM8jY+cHWpz IZuDQxUXFDbonu87T1uqoEuc12fQmYttOqkRApmd7Xnar1tGfE9KnUtapo5PPnR4QQj5 WAZownGTUGRdGPM3nZ5tSXBdck14YS/0vgBeWK4BNOCOlEcWUs4GBiQ66UyTpq0s19Yx Nk52+cubbEKzq7xCiGzgo7ePSumU45pAy+06E/E0Hu7MwNrCNQ/Lx3NeKlr3uo3/ccdP 6Emw== X-Forwarded-Encrypted: i=1; AJvYcCVO59Ib0bjdLGliTD40ocCxyaIypzcLWn2U5XZJuiLqQMZ9gVRUVypmY+UzSywUxTUc0c5KSxVpdrrLFBKmWrSVtGNAXBOL5NsmMh7X X-Gm-Message-State: AOJu0Yw+EzFYaXCpuxjPp3DwLlKwI9A2/KeYFPrIHm3kailp0rhZMHU2 Di8FB/r5GpAUkCIX4V+2zU/J1JAVTqhajMN29dkJrgitB8DrnGYkEkz5HE4KMFkAld+rJ9fk8pP 94EmiqmIzDTU8ULAWcx7jqhzE/lJJFahPi2wz5g== X-Received: by 2002:a50:8a92:0:b0:57a:1d0f:47f7 with SMTP id 4fb4d7f45d1cf-57c5091b0d8mr1210103a12.17.1717760324720; Fri, 07 Jun 2024 04:38:44 -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: zhaoxiong lv Date: Fri, 7 Jun 2024 19:38:33 +0800 Message-ID: Subject: Re: [PATCH v2 1/4] dt-bindings: display: panel: Add KD101NE3-40TI support To: Dmitry Baryshkov 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 hi Dmitry Baryshkov Because this is a separate mipi dsi driver, I did not put it in panel-sample-dsi.yaml. 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-common. > > - The header file 'dt-bindings/gpio/gpio.h' is not used, delete it > > > > V1: https://lore.kernel.org/all/20240418081548.12160-2-lvzhaoxiong@huaq= in.corp-partner.google.com/ > > > > --- > > .../panel/kingdisplay,kd101ne3-40ti.yaml | 59 +++++++++++++++++++ > > 1 file changed, 59 insertions(+) > > create mode 100644 Documentation/devicetree/bindings/display/panel/kin= gdisplay,kd101ne3-40ti.yaml > > > > diff --git a/Documentation/devicetree/bindings/display/panel/kingdispla= y,kd101ne3-40ti.yaml b/Documentation/devicetree/bindings/display/panel/king= display,kd101ne3-40ti.yaml > > new file mode 100644 > > index 000000000000..b0cf12bb727d > > --- /dev/null > > +++ b/Documentation/devicetree/bindings/display/panel/kingdisplay,kd101= ne3-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,kd101ne3-= 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