Received: by 2002:a89:48b:0:b0:1f5:f2ab:c469 with SMTP id a11csp895902lqd; Wed, 24 Apr 2024 23:03:47 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVP1C5ItzAgunY1OYSi2mQFmnq+tDik13hptsYOCOLiC6Hli+eqsMTD7spMvo3U0jXjjecovaP+Vh9rDeceJga1ym9ACrGYhZBmowEbBw== X-Google-Smtp-Source: AGHT+IFnRzRT6VG3ACFvm2NeufQKje426njKVmebfIVT8K29wh06CVg9+f+xxWbLRYMrwaJN2OJB X-Received: by 2002:a05:620a:8221:b0:790:9b59:4187 with SMTP id ow33-20020a05620a822100b007909b594187mr1117127qkn.7.1714025026708; Wed, 24 Apr 2024 23:03:46 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714025026; cv=pass; d=google.com; s=arc-20160816; b=fZ0d5n+WZZkUEtE0oeInDimFAtyUrT146bpJr6uuGCliUkAQpQDPpUaDeHmbUddCgC veM/enmyyPzKLkLqGdlMaHdwTTNneob2xiUsjTzUxRZDKaDmP0I1hBttTfHNabNwFetY KKuK9NyPseIN9pkO2MBcf6klpLA5ElDYVXIdM8jWpTyL5Qav1MT9yWLG5vMBxokFHXL0 3DgMDWZQggB5gh3pWeA1hIVC1EPzQbxONnc8OnZK86VlGdQbwJgo5jQgTdHuSsI/TXKt PncF986DVxO9whr6f2XuNtcV/XLDjTccEdW8YL8xwEL5pkV1CkhPYeqaO4SalOa1BKC2 wIow== 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=we8SwMWsVnahAxA+g6ZwCnrdC+4iaxLV0QA7xR7Bic8=; fh=lV/BpHK796SNSsvxdkfnOhcbU7/ygaKAcfIVHwdPLFA=; b=KH8MvpLxpK0nUK5aTiZFD21ItNhfvtEcW4dRhpHDpGzzD7Su4YVEf6pQw/PyQ+2kQr lJfwTqQ1Ub/qr/7lPSBG/6CmcfCxG+tqznFDay6rD5PwNcvRQWIE3WjeMki2qbqxdHh5 g7OoDc8lW3IWhOT9xXi0JEc2ze4Q0a4OrNZMCTNSi4X/PMomKTiS3uSxppDwFdLO6d6f He6aXBDTCsV8x6usFi5R+YqfX3bOeVUxgYJsUT+RUIMkFiCB5iXIBcBMg7YSEEgOhtvz EqgOUbFIZbnnr0QoipDC56L2IIhdsTGKr5rKCNj1m6DzO9OQLIn3BCYdbKlcZI4lht+9 KlMw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=z43TZfKi; 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-158044-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-158044-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id h21-20020a37de15000000b0078f0fdd9f8fsi16031605qkj.435.2024.04.24.23.03.46 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Apr 2024 23:03:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-158044-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=z43TZfKi; 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-158044-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-158044-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 61B6E1C21040 for ; Thu, 25 Apr 2024 06:03:46 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 09C893D0AD; Thu, 25 Apr 2024 06:03:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="z43TZfKi" Received: from mail-pg1-f175.google.com (mail-pg1-f175.google.com [209.85.215.175]) (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 942883C466 for ; Thu, 25 Apr 2024 06:03:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.215.175 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714025018; cv=none; b=m8ZE1WlEPhITgYYIJ9GwyE1A8r1qc4LA38jYsl1pUiJFqLp7TjStpxG0rK/9M/WHmxOkokyHNnSXZARF4GhonfeYo50F4YWu5em4nh5joFSNQb04xZeyQAklUEeK7eKt+Yo8pTe9wO8r/unucwx/jOqzQKLf0e9gfzpC/XRgzUs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714025018; c=relaxed/simple; bh=2Idlyg9A8WqkCTHmsX7ZoEYGDP5jeXNB3vQcYVgQd3s=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=tw3znBgXp2IDdo1ZX4Q9njotLEqiOwO0LgaOjZ5f6ERvDJCVJaYH5URGHAiTRPFGmYm0deO9eownIkOAEKMNp5FYgR2Ot4clWp18iuv+xaGDzs8/JfUP7FcwvTIEScVugJUdw5YEMIP99Z1FgMFmrDzPEqVXwG3h3oR88o2RdSQ= 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=z43TZfKi; arc=none smtp.client-ip=209.85.215.175 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-pg1-f175.google.com with SMTP id 41be03b00d2f7-5bdbe2de25fso461876a12.3 for ; Wed, 24 Apr 2024 23:03:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1714025016; x=1714629816; 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=we8SwMWsVnahAxA+g6ZwCnrdC+4iaxLV0QA7xR7Bic8=; b=z43TZfKiJy8XXXUsdd/FYe5V5K0tFlXQxPXHi+zbCe9lGZM0t/viOPHJcjiO4YN9sk uDEzn7tojyD5OOgS48WYwErjaQSUPatUokXoOepPVodjBfQECfzQ9ozYrco9GAe+w/GR ufFDnzamD9nKO1r8mBx4a3LtJIqpWowg4I33hSEuFpnoCd6xP/mOrqXDAviwc9VOLwTo 7zEV5MdX5MzgAav5IDFpvm7E/kVnDnuGvwp1aP55z40UXQaZA++D11LrEahqLkBTwmzr 7KM0/5cVav8SXSz/92eHqg9VgAalxabbtbDCLNTzEZnIH7QMRWRAZYvENZ6VoKZSNjJx dDjA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714025016; x=1714629816; 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=we8SwMWsVnahAxA+g6ZwCnrdC+4iaxLV0QA7xR7Bic8=; b=L8efmDG8hyC+2OfabdgeeArxpwj49DpJmOhbbO2QyhqQLgubsQw95YNiPeRlzIKQ9j W0W+9Nfy5YBei+3avrgzEsITNM82bXjJkQNDK5BFWEO8gdHOLLxdiu7CGT3HVCGbraeo bKQoarOX/MJm+xwqkRKa734DWbeGZu3v71ZXLDnSeAHV1MnxqjFTUXWChsl+0+2wqW40 fJ6DBt/8X9aFmUr8zSIJlNnq8JUzYb9E4Co9j5HCazQyG5VKizPh+tLQg3K8Qconfil2 aOB8KXF+21B8bR9aMT0txYNIaE9r+B979HlX3BrMxhgDhp2+Doe7d7JFzIpFr4CDRca+ sJlQ== X-Forwarded-Encrypted: i=1; AJvYcCU6QP2WKtOou+NGw1IYUUdpRNGL4EUNXsM0ilQQ0mxf41jHi5FNqUCOIpKBD2V6GbdDMS7Zz7J2dadrfaOkfwEswRT6CxmA3O3qOdgx X-Gm-Message-State: AOJu0YxyYHwm7s5q919cbV8B8ndCulkyl1DDDG503icErsR1Kzk4l7He w+dbM80Bx5fjMX1FM/nW7t5VhXdsjsNC/Q0yJFHUgnFcdsj77KwFnHsPi0LNQXC0+mXtPOyjiGv F0ww3SPyn7808Qjfw7WQUq04YiYMm+vpO9tKqOg== X-Received: by 2002:a17:90a:66cf:b0:2a5:3ec5:cecd with SMTP id z15-20020a17090a66cf00b002a53ec5cecdmr4452869pjl.12.1714025015799; Wed, 24 Apr 2024 23:03:35 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240424023010.2099949-1-yangcong5@huaqin.corp-partner.google.com> <20240424023010.2099949-2-yangcong5@huaqin.corp-partner.google.com> <20240424-spelling-float-9b881cb80992@spud> In-Reply-To: <20240424-spelling-float-9b881cb80992@spud> From: cong yang Date: Thu, 25 Apr 2024 14:03:24 +0800 Message-ID: Subject: Re: [PATCH v3 1/7] dt-bindings: display: panel: Add himax hx83102 panel bindings To: Conor Dooley Cc: sam@ravnborg.org, neil.armstrong@linaro.org, daniel@ffwll.ch, dianders@chromium.org, linus.walleij@linaro.org, krzysztof.kozlowski+dt@linaro.org, robh+dt@kernel.org, conor+dt@kernel.org, airlied@gmail.com, dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, xuxinxiong@huaqin.corp-partner.google.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi, Thanks for review. Conor Dooley =E4=BA=8E2024=E5=B9=B44=E6=9C=8825=E6=97=A5= =E5=91=A8=E5=9B=9B 00:55=E5=86=99=E9=81=93=EF=BC=9A > > On Wed, Apr 24, 2024 at 10:30:04AM +0800, Cong Yang wrote: > > In V1, discussed with Doug and Linus [1], we need break out as separate > > driver for the himax83102-j02 controller. Beacuse "starry,himax83102-j0= 2" > > and in this series "BOE nv110wum-l60" "IVO t109nw41" panels use same > > controller, they have some common CMDS. So add new documentation for > > this panels. > > It'd be good to note in the commit message that the 3v3 supply is not > present on these panels, given it was present in the other binding and > not here. Got it, fix in V4,thanks. > > > [1]: https://lore.kernel.org/all/CACRpkdbzYZAS0=3DzBQJUC4CB2wj4s1h6n6aS= AZQvdMV95r3zRUw@mail.gmail.com > > > > Signed-off-by: Cong Yang > > --- > > Chage since V3: > > > > - Update commit message. > > > > V2: https://lore.kernel.org/all/20240422090310.3311429-2-yangcong5@huaq= in.corp-partner.google.com > > > > --- > > .../display/panel/boe,tv101wum-nl6.yaml | 2 - > > .../bindings/display/panel/himax,hx83102.yaml | 73 +++++++++++++++++++ > > 2 files changed, 73 insertions(+), 2 deletions(-) > > create mode 100644 Documentation/devicetree/bindings/display/panel/him= ax,hx83102.yaml > > > > diff --git a/Documentation/devicetree/bindings/display/panel/boe,tv101w= um-nl6.yaml b/Documentation/devicetree/bindings/display/panel/boe,tv101wum-= nl6.yaml > > index 906ef62709b8..53fb35f5c9de 100644 > > --- a/Documentation/devicetree/bindings/display/panel/boe,tv101wum-nl6.= yaml > > +++ b/Documentation/devicetree/bindings/display/panel/boe,tv101wum-nl6.= yaml > > @@ -32,8 +32,6 @@ properties: > > - innolux,hj110iz-01a > > # STARRY 2081101QFH032011-53G 10.1" WUXGA TFT LCD panel > > - starry,2081101qfh032011-53g > > - # STARRY himax83102-j02 10.51" WUXGA TFT LCD panel > > - - starry,himax83102-j02 > > # STARRY ili9882t 10.51" WUXGA TFT LCD panel > > - starry,ili9882t > > > > diff --git a/Documentation/devicetree/bindings/display/panel/himax,hx83= 102.yaml b/Documentation/devicetree/bindings/display/panel/himax,hx83102.ya= ml > > new file mode 100644 > > index 000000000000..2e0cd6998ba8 > > --- /dev/null > > +++ b/Documentation/devicetree/bindings/display/panel/himax,hx83102.yam= l > > Filename matching a compatible please. What you've done here makes it > seem like there's a fallback compatible missing, given this looks like > the LCD panel controller and the starry compatible below is an LCD panel. So change the filename to starry,himax83102-j02.yaml? > > > @@ -0,0 +1,73 @@ > > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > > +%YAML 1.2 > > +--- > > +$id: http://devicetree.org/schemas/display/panel/himax,hx83102.yaml# > > +$schema: http://devicetree.org/meta-schemas/core.yaml# > > + > > +title: Himax HX83102 MIPI-DSI LCD panel controller > > + > > +maintainers: > > + - Cong Yang > > + > > +allOf: > > + - $ref: panel-common.yaml# > > + > > +properties: > > + compatible: > > + enum: > > + # STARRY himax83102-j02 10.51" WUXGA TFT LCD panel > > + - starry,himax83102-j02 > > + > > + reg: > > + description: the virtual channel number of a DSI peripheral > > + > > + enable-gpios: > > + description: a GPIO spec for the enable pin > > + > > + pp1800-supply: > > + description: core voltage supply > > + > > + avdd-supply: > > + description: phandle of the regulator that provides positive volta= ge > > + > > + avee-supply: > > + description: phandle of the regulator that provides negative volta= ge > > + > > + backlight: > > + description: phandle of the backlight device attached to the panel > > I'm not sure why this was given a description when port or rotation > was not. So change it to backlight: true ? Thanks. > > Otherwise, this looks fine to me. > > Cheers, > Conor. > > > + > > + port: true > > + rotation: true > > + > > +required: > > + - compatible > > + - reg > > + - enable-gpios > > + - pp1800-supply > > + - avdd-supply > > + - avee-supply > > + > > +additionalProperties: false > > + > > +examples: > > + - | > > + dsi { > > + #address-cells =3D <1>; > > + #size-cells =3D <0>; > > + panel@0 { > > + compatible =3D "starry,himax83102-j02"; > > + reg =3D <0>; > > + enable-gpios =3D <&pio 45 0>; > > + avdd-supply =3D <&ppvarn_lcd>; > > + avee-supply =3D <&ppvarp_lcd>; > > + pp1800-supply =3D <&pp1800_lcd>; > > + backlight =3D <&backlight_lcd0>; > > + port { > > + panel_in: endpoint { > > + remote-endpoint =3D <&dsi_out>; > > + }; > > + }; > > + }; > > + }; > > + > > +... > > -- > > 2.25.1 > >