Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp3422025pxk; Mon, 7 Sep 2020 12:26:26 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzsh6LiZ63siQ/rh/i+HEmANXn0vXcutWEP6OEqy7JgQ5Y4EbGl3fVW3ATs2pisStav3lAo X-Received: by 2002:a17:906:eced:: with SMTP id qt13mr22056780ejb.357.1599506786391; Mon, 07 Sep 2020 12:26:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599506786; cv=none; d=google.com; s=arc-20160816; b=hCU7ggWeDPAFnbAQl2b8RzcfiZE4F4jscjLyCcOQJj6B8eIKqdMbwzzRW+p9gQGxUM E+zGYElXpbXcACB3SWtRw5Eds/Fr3yYSTGucWeC5XgFAOASwxfzi+3FihMTRQHJSuI7L e/q6+4qXZHIkLEPpJAQvFcFAYJy2N3h/Cal6iCTkafLbyEx/tdQEhww8ZlR/JH9wn9j0 JZFIv4upizMJ4wvDrHt3XhHefHHdyYmGF/rAcKTkRasR6rVZZVRbZKzvjfpkrbRdtDb9 Z0hpjpuL36AwlcHZs2qJXefB9a9IctdSOYsV4GQ77z6HDC6d8KXWNrOMB3thQFpw7Czv BDZw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=wxVFyn2U5TcF4iSCTbO8z3uyP/W+Z5v4eWqbj4uoRq8=; b=dKFqHkz3v+vYtXjabLTJbbLz4J1m62s2ol5vaPsnennf/YK8Sw+XRSSs0Wbdub2y8b deFYVgWVGltaghpHreRcuBdKjrSq+2krvr6lOsUkmpXUuMy62sC0OKVMxMXyoIcRHqeV czkNC1b0DlBGYtmcytrrO2oQhgHiYDsj2Lb0PQeob7phTtPXIHiaQWj2UUgsCyvAgWPr 1NAUyb8hYAINZA/EKzuHo5mF9nr4D+VaLZAUhXiTydIQV2IASimrBlMo+dhzhNWzIu+4 YUAQKTwA7x1GKhJNLzOq2YPmE3+P+N/ayOdOEz6xpqq3SBSxCrHktTlngW7LvPrIysPJ s9MQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z23si10012416edx.215.2020.09.07.12.26.04; Mon, 07 Sep 2020 12:26:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728846AbgIGTY3 (ORCPT + 99 others); Mon, 7 Sep 2020 15:24:29 -0400 Received: from asavdk3.altibox.net ([109.247.116.14]:39362 "EHLO asavdk3.altibox.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726458AbgIGTY0 (ORCPT ); Mon, 7 Sep 2020 15:24:26 -0400 Received: from ravnborg.org (unknown [188.228.123.71]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by asavdk3.altibox.net (Postfix) with ESMTPS id 0B33820033; Mon, 7 Sep 2020 21:24:19 +0200 (CEST) Date: Mon, 7 Sep 2020 21:24:18 +0200 From: Sam Ravnborg To: Neil Armstrong Cc: devicetree@vger.kernel.org, thierry.reding@gmail.com, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-amlogic@lists.infradead.org Subject: Re: [PATCH v2 2/3] dt-bindings: display: panel: add TDO tl070wsh30 DSI panel bindings Message-ID: <20200907192418.GA558348@ravnborg.org> References: <20200907111027.21933-1-narmstrong@baylibre.com> <20200907111027.21933-3-narmstrong@baylibre.com> <20200907114552.GA526406@ravnborg.org> <358ee0c3-fe1c-b9b6-9ed8-086f9d14afd9@baylibre.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <358ee0c3-fe1c-b9b6-9ed8-086f9d14afd9@baylibre.com> X-CMAE-Score: 0 X-CMAE-Analysis: v=2.3 cv=CaYmGojl c=1 sm=1 tr=0 a=S6zTFyMACwkrwXSdXUNehg==:117 a=S6zTFyMACwkrwXSdXUNehg==:17 a=kj9zAlcOel0A:10 a=IpJZQVW2AAAA:8 a=gEfo2CItAAAA:8 a=e5mUnYsNAAAA:8 a=26pVUN82OfOXP9tGjk4A:9 a=CjuIK1q_8ugA:10 a=IawgGOuG5U0WyFbmm1f5:22 a=sptkURWiP4Gy88Gu7hUp:22 a=Vxmtnl_E_bksehYqCbjh:22 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Neil. On Mon, Sep 07, 2020 at 03:24:47PM +0200, Neil Armstrong wrote: > Hi, > > On 07/09/2020 13:45, Sam Ravnborg wrote: > > Hi Neil. > > > > On Mon, Sep 07, 2020 at 01:10:26PM +0200, Neil Armstrong wrote: > >> This add the bindings for the 1024*600 tl070wsh30 DSI panel. > > > > The binding looks like a panel-simple-dsi.yaml candidate. > > Only differen is enable-gpios versus reset-gpios > > This is the only difference, the panel only has a reset signal and no > enable signal. > > But I can add a reset-gpios to panel-simple-dsi.yaml, would it be ok ? Yes, that would be fine as long as it is not a required property. It was a mistake we did not add it from the beginning. There has been patches floating to add reset-gpios to panle.simple.c that I rejected - this was also wrong. Really simple and dumb panels has no reset but dsi panels that panel-simple supports too has a reset. Sam > > Neil > > > > > Could you check if we can use panel-simple-dsi-yaml. > > > > Sam > > > >> > >> Signed-off-by: Neil Armstrong > >> --- > >> .../display/panel/tdo,tl070wsh30.yaml | 58 +++++++++++++++++++ > >> 1 file changed, 58 insertions(+) > >> create mode 100644 Documentation/devicetree/bindings/display/panel/tdo,tl070wsh30.yaml > >> > >> diff --git a/Documentation/devicetree/bindings/display/panel/tdo,tl070wsh30.yaml b/Documentation/devicetree/bindings/display/panel/tdo,tl070wsh30.yaml > >> new file mode 100644 > >> index 000000000000..20f4fdedfcb0 > >> --- /dev/null > >> +++ b/Documentation/devicetree/bindings/display/panel/tdo,tl070wsh30.yaml > >> @@ -0,0 +1,58 @@ > >> +# SPDX-License-Identifier: (GPL-2.0-only or BSD-2-Clause) > >> +# Copyright 2020 BayLibre, SAS > >> +%YAML 1.2 > >> +--- > >> +$id: http://devicetree.org/schemas/display/panel/tdo,tl070wsh30.yaml# > >> +$schema: http://devicetree.org/meta-schemas/core.yaml# > >> + > >> +title: TDO TL070WSH30 DSI panel > >> + > >> +maintainers: > >> + - Neil Armstrong > >> + > >> +allOf: > >> + - $ref: panel-common.yaml# > >> + > >> +properties: > >> + > >> + compatible: > >> + enum: > >> + - tdo,tl070wsh30 > >> + > >> + reg: > >> + maxItems: 1 > >> + description: DSI virtual channel > >> + > >> + backlight: true > >> + reset-gpios: true > >> + port: true > >> + power-supply: true > >> + > >> +additionalProperties: false > >> + > >> +required: > >> + - compatible > >> + - power-supply > >> + - reset-gpios > >> + - port > >> + - reg > >> + > >> +examples: > >> + - | > >> + dsi { > >> + #address-cells = <1>; > >> + #size-cells = <0>; > >> + panel@0 { > >> + compatible = "tdo,tl070wsh30"; > >> + reg = <0>; > >> + power-supply = <&vcc_lcd_reg>; > >> + backlight = <&panel_backlight>; > >> + reset-gpios = <&gpio_reset>; > >> + > >> + port { > >> + panel: endpoint { > >> + remote-endpoint = <&mipi_dsi_out>; > >> + }; > >> + }; > >> + }; > >> + }; > >> -- > >> 2.22.0 > > _______________________________________________ > dri-devel mailing list > dri-devel@lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/dri-devel