Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp7041078ybl; Wed, 15 Jan 2020 14:31:17 -0800 (PST) X-Google-Smtp-Source: APXvYqz4i2IcNdNil80aAr5ec13Kyj46QAif5rQv/v7pDqErB6ApbXQHrldVFuY+DzZPlDpsJWV3 X-Received: by 2002:a05:6808:ab1:: with SMTP id r17mr1669759oij.141.1579127477098; Wed, 15 Jan 2020 14:31:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579127477; cv=none; d=google.com; s=arc-20160816; b=QBtQwKgISTBcyUdEGt2Ll6af21CwM3vmCpQylI3a3wloX20EH6ouRpTllmLsIxN8BZ DHROUkvIPbHziidq8xHWX91lYggIM2prx6smy3sTZNWL9t1aYmabmKgdD/3BKQVZohS+ 45dOCi9cM23Swkyuo1n2G8JD3oHrlP4YUI3Z5obrG72OAzA5H6yYgRqfQbdcMRQTt+++ KNLVSYy0oPcVNM/hNLRqZ6XQNMM6zcSffR3Eb+8/sZweDiq39VNCnbyY9cSL+DxHI4lC z2qZq5sZ8lBkMEb5Rdlvv5fXECr07gLnfKpu9OfiQsfFUR73GufghTNeCf6sF8/IYJ8l Mp1Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=rbKIeEqvNb8+c1IxWkomVTnvFx5EROcphzh9rbfgooY=; b=vWdhvLSQxcruAXR7tZTr4JVmQMEZ0Rbz+Jarvi1SDoPNWPK66WnuSHmUj4LB6gcyfs wCuM/5migcRsgeldx6O3p9FOPZYR+29hMZhHKXapRQiv7/EsT6bfaIz1HhTyBaAZeCHx Igc1sc0pUjJm5e/xEbHzmZxRRShU9scJkTFEw4AUDS/oQRyiiL96GH3zcdKM10/RSaeo gSG0rpr1PLkXTmUloIfKYOyY7wKa9ZDWSGC2fQZZ6riVe/njS6QegUMqMeflFuian0X5 DeS1+vACzRfRNIDK3kHylVgUkIxo5sRqTjNhUm/gdZRE1BRKYwng0FMb08wRWv7amzE3 ZRDA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l26si12047443otn.48.2020.01.15.14.31.03; Wed, 15 Jan 2020 14:31:17 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729048AbgAOVVN (ORCPT + 99 others); Wed, 15 Jan 2020 16:21:13 -0500 Received: from asavdk4.altibox.net ([109.247.116.15]:44488 "EHLO asavdk4.altibox.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726501AbgAOVVM (ORCPT ); Wed, 15 Jan 2020 16:21:12 -0500 Received: from ravnborg.org (unknown [158.248.194.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by asavdk4.altibox.net (Postfix) with ESMTPS id 23F578050D; Wed, 15 Jan 2020 22:21:08 +0100 (CET) Date: Wed, 15 Jan 2020 22:21:06 +0100 From: Sam Ravnborg To: Jitao Shi Cc: Thierry Reding , David Airlie , Daniel Vetter , Matthias Brugger , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org, srv_heupstream@mediatek.com, yingjoe.chen@mediatek.com, eddie.huang@mediatek.com, cawa.cheng@mediatek.com, bibby.hsieh@mediatek.com, ck.hu@mediatek.com, stonea168@163.com Subject: Re: [PATCH v8 1/8] dt-bindings: display: panel: Add BOE tv101wum-n16 panel bindings Message-ID: <20200115212106.GD28904@ravnborg.org> References: <20200115135958.126303-1-jitao.shi@mediatek.com> <20200115135958.126303-2-jitao.shi@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200115135958.126303-2-jitao.shi@mediatek.com> User-Agent: Mutt/1.10.1 (2018-07-13) X-CMAE-Score: 0 X-CMAE-Analysis: v=2.3 cv=VcLZwmh9 c=1 sm=1 tr=0 a=UWs3HLbX/2nnQ3s7vZ42gw==:117 a=UWs3HLbX/2nnQ3s7vZ42gw==:17 a=jpOVt7BSZ2e4Z31A5e1TngXxSK0=:19 a=kj9zAlcOel0A:10 a=mpaa-ttXAAAA:8 a=7gkXJVJtAAAA:8 a=gEfo2CItAAAA:8 a=pGLkceISAAAA:8 a=VwQbUJbxAAAA:8 a=-W9t3f-s57Xz0V4m3JgA:9 a=d-McAGeJY93I7joI:21 a=s8DGCSS_m8B6YGa2:21 a=CjuIK1q_8ugA:10 a=6heAxKwa5pAsJatQ0mat:22 a=E9Po1WZjFZOl8hwRPBS3:22 a=sptkURWiP4Gy88Gu7hUp:22 a=AjGcO6oz07-iQ99wixmX:22 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Jitao. A few comments that I missed in last round. Please consider to combine the three panels in one binding. I realise they are almost identical so no need for three binding files. On Wed, Jan 15, 2020 at 09:59:51PM +0800, Jitao Shi wrote: > Add documentation for boe tv101wum-n16 panel. > > Signed-off-by: Jitao Shi > Reviewed-by: Sam Ravnborg > --- > .../display/panel/boe,tv101wum-nl6.yaml | 74 +++++++++++++++++++ > 1 file changed, 74 insertions(+) > create mode 100644 Documentation/devicetree/bindings/display/panel/boe,tv101wum-nl6.yaml > > diff --git a/Documentation/devicetree/bindings/display/panel/boe,tv101wum-nl6.yaml b/Documentation/devicetree/bindings/display/panel/boe,tv101wum-nl6.yaml > new file mode 100644 > index 000000000000..d38aee22d406 > --- /dev/null > +++ b/Documentation/devicetree/bindings/display/panel/boe,tv101wum-nl6.yaml > @@ -0,0 +1,74 @@ > +# SPDX-License-Identifier: GPL-2.0 Please use (GPL-2.0-only OR BSD-2-Clause) for all new bindings. (Sorry if this was not part of my previous feedback) Sam > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/display/panel/boe,tv101wum-nl6.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: BOE TV101WUM-Nl6 DSI Display Panel > + > +maintainers: > + - Thierry Reding > + - Sam Ravnborg > + - Rob Herring Rob is not a typical maintainer of panel bindings. The fallback it Thierry and me. But if you have agreed this with Rob then all is good. > + > +allOf: > + - $ref: panel-common.yaml# > + > +properties: > + compatible: > + const: boe,tv101wum-nl6 > + > + 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 voltage > + > + avee-supply: > + description: phandle of the regulator that provides negative voltage > + > + backlight: > + description: phandle of the backlight device attached to the panel > + > + port: true > + > +required: > + - compatible > + - reg > + - enable-gpios > + - pp1800-supply > + - avdd-supply > + - avee-supply > + - backlight I would be suprised if backlight is a required node. You could always tie the input to a fixed voltage and then no backlight node are required. Please remove from the required list unless you can convince me otherwise. Sam > + > +additionalProperties: false > + > +examples: > + - | > + dsi { > + #address-cells = <1>; > + #size-cells = <0>; > + panel@0 { > + compatible = "boe,tv101wum-nl6"; > + reg = <0>; > + enable-gpios = <&pio 45 0>; > + avdd-supply = <&ppvarn_lcd>; > + avee-supply = <&ppvarp_lcd>; > + pp1800-supply = <&pp1800_lcd>; > + backlight = <&backlight_lcd0>; > + status = "okay"; > + port { > + panel_in: endpoint { > + remote-endpoint = <&dsi_out>; > + }; > + }; > + }; > + }; > + > +... > -- > 2.21.0