Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp4130044imw; Mon, 18 Jul 2022 23:35:51 -0700 (PDT) X-Google-Smtp-Source: AGRyM1v+W+0rVJagCPaiTill5E4S9yFiChZwo76B2wsriqBufZNFI7kS5X/aPRrY3mQMw0cw03Fg X-Received: by 2002:a05:6402:2405:b0:43a:86c6:862 with SMTP id t5-20020a056402240500b0043a86c60862mr41691183eda.210.1658212551121; Mon, 18 Jul 2022 23:35:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658212551; cv=none; d=google.com; s=arc-20160816; b=biSOvB3VghS2B2c6hik9lqOxZk0GkiR/K+4p9lKVVHGffI0Gx/9uzzhctYZEmyfPTj 1eGJQLd6Kn0Rl6ObTHGm31P0P0K4vFK1fk5dtc3A3hlrc3HvZWFti6OmkY6U6EhWi0es 2KdNRuk1l2gESrSTtUhT4d7ANgncNb10qmC63K3K2tm5E3mFWQnT39hk+IQSe3m5RzpB iVz+THMZgpOfUF50m0Ui7gmC98nNyomic8quy7iyIlMCJaRGjygAXZvGbjVgQ7jccsTD xL0gvaPMadOO59SmtHL8yFilKsqxfOKwYOR4x6hmcPKOtmGLB4JC+ymIx/tzLJm+paOH TlNA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature :dkim-signature; bh=jp83ii8nZk7L/6Omf0n4BRcep5/FTl5AylCpqXcA8og=; b=mQz4+S5Vccvj6M1vBd3HLZSwmnBV7v2Ye48e2hPj0qU1ouFLcynbS7/jUH9Faxpask cFr5fivO+tsrVPM0dbJW3OqJ++r5JuMnAlaTuw8G4PGA1ejzvknKwgRGP0+zKkXuxDTm hzOVi962gPTFzLMHCTls7vPa7Nj3lxkflP/+1PSNi2O3PKbB4ShFcsM478iwiF8s22/N awNWtYihUVhSu2q9YwTr5LyxBDq/Vw5VMKSaqqI4U11xD7QVl2uaC5VSMmTRHQkKvHJC uoq5j2ujSiDVLMz82Ae7fitEWl4wtnWASfSPe7QhwoQjiBEtFTSGPXTDkyGDsEyCYUFs KJ2w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ravnborg.org header.s=rsa1 header.b="WnjNN/cA"; dkim=neutral (no key) header.i=@ravnborg.org header.b=bbfXWbrl; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id n13-20020a170906b30d00b007157046560csi15484351ejz.884.2022.07.18.23.35.26; Mon, 18 Jul 2022 23:35:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@ravnborg.org header.s=rsa1 header.b="WnjNN/cA"; dkim=neutral (no key) header.i=@ravnborg.org header.b=bbfXWbrl; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229620AbiGSGKb (ORCPT + 99 others); Tue, 19 Jul 2022 02:10:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37980 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236994AbiGSGK3 (ORCPT ); Tue, 19 Jul 2022 02:10:29 -0400 Received: from mailrelay3-1.pub.mailoutpod1-cph3.one.com (mailrelay3-1.pub.mailoutpod1-cph3.one.com [46.30.210.184]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A561823BCA for ; Mon, 18 Jul 2022 23:10:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ravnborg.org; s=rsa1; h=in-reply-to:content-type:mime-version:references:message-id:subject:cc:to: from:date:from; bh=jp83ii8nZk7L/6Omf0n4BRcep5/FTl5AylCpqXcA8og=; b=WnjNN/cAU+L0AjpbfV8SjfuiKoLjdeDZqGz+PxitCRZ1XVRYf08GY9tcYp6pcSMwWOz01FOUu2N6h b96epudXPxMrdn3oOuZvULn5w08GnIHia3PNr3J0iMnYnP+DGObCDAEZ+yUhMNw73DwXj8t5l2NbzX TNCOBIOBDjvDlzv2OaRWj7D/zReTsza3mksZ226C2QrIu7B80YE9RTBMO1G0YSzRnWu9EdbRG2qVej m5LWI96tW5sMTAzvA1QrVBwfqeqIntlgtCkw1KcgGLxl4JWNustLmc549k/6Y56Qru6Zvd+P+j8ucQ aGezmh3MifN9kjtJ4V+o9fGwSFDN//Q== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ravnborg.org; s=ed1; h=in-reply-to:content-type:mime-version:references:message-id:subject:cc:to: from:date:from; bh=jp83ii8nZk7L/6Omf0n4BRcep5/FTl5AylCpqXcA8og=; b=bbfXWbrl67vsOQUfGcA821e626nY1xPLige86Rb5YRxklcAmCxPAEeNf+NykN7CJ+C2b6Hl2uiMa6 HtfSmzkDQ== X-HalOne-Cookie: b83d0abb0da0665d4cfe7193d5f7c0eba89b2d78 X-HalOne-ID: 77b15885-0729-11ed-be7f-d0431ea8bb03 Received: from mailproxy2.cst.dirpod3-cph3.one.com (2-105-2-98-cable.dk.customer.tdc.net [2.105.2.98]) by mailrelay3.pub.mailoutpod1-cph3.one.com (Halon) with ESMTPSA id 77b15885-0729-11ed-be7f-d0431ea8bb03; Tue, 19 Jul 2022 06:10:20 +0000 (UTC) Date: Tue, 19 Jul 2022 08:10:18 +0200 From: Sam Ravnborg To: Caleb Connolly Cc: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Thierry Reding , David Airlie , Daniel Vetter , Sumit Semwal , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, phone-devel@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht, Vinod Koul Subject: Re: [PATCH 3/4] dt-bindings: panel: Add LG SW43408 MIPI-DSI panel Message-ID: References: <20220718213051.1475108-1-caleb@connolly.tech> <20220718213051.1475108-4-caleb@connolly.tech> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220718213051.1475108-4-caleb@connolly.tech> X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS,SPF_NONE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Caleb, On Mon, Jul 18, 2022 at 10:30:50PM +0100, Caleb Connolly wrote: > From: Sumit Semwal > > LG SW43408 is 1080x2160, 4-lane MIPI-DSI panel. A few things to improve to this binding. Sam > > Signed-off-by: Vinod Koul > Signed-off-by: Sumit Semwal > [caleb: convert to yaml] > Signed-off-by: Caleb Connolly > --- > .../bindings/display/panel/lg,43408.yaml | 41 +++++++++++++++++++ > .../display/panel/panel-simple-dsi.yaml | 2 + > 2 files changed, 43 insertions(+) > create mode 100644 Documentation/devicetree/bindings/display/panel/lg,43408.yaml > > diff --git a/Documentation/devicetree/bindings/display/panel/lg,43408.yaml b/Documentation/devicetree/bindings/display/panel/lg,43408.yaml > new file mode 100644 > index 000000000000..0529a3aa2692 > --- /dev/null > +++ b/Documentation/devicetree/bindings/display/panel/lg,43408.yaml > @@ -0,0 +1,41 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/display/panel/panel-lvds.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: LG SW43408 1080x2160 DSI panel > + > +maintainers: > + - Caleb Connolly > + > +description: | > + This panel is used on the Pixel 3, it is a 60hz OLED panel which > + required DSC (Display Stream Compression) and has rounded corners. > + > +allOf: > + - $ref: panel-common.yaml# > + > +properties: > + compatible: > + items: > + - const: lg,sw43408 > + > + vddi-supply: true > + vpnl-supply: true > + reset-gpios: true > + > + backlight: false > + power-supply: false No need to say anything is false, this is covered by the statement below. Also, the driver uses backlight, so it should be true? > + > +additionalProperties: false > + > +required: > + - compatible > + - data-mapping > + - width-mm > + - height-mm > + - panel-timing > + - port > + > +... > diff --git a/Documentation/devicetree/bindings/display/panel/panel-simple-dsi.yaml b/Documentation/devicetree/bindings/display/panel/panel-simple-dsi.yaml > index 2c00813f5d20..4498078cb1ee 100644 > --- a/Documentation/devicetree/bindings/display/panel/panel-simple-dsi.yaml > +++ b/Documentation/devicetree/bindings/display/panel/panel-simple-dsi.yaml > @@ -45,6 +45,8 @@ properties: > - lg,acx467akm-7 > # LG Corporation 7" WXGA TFT LCD panel > - lg,ld070wx3-sl01 > + # LG Corporation sw43408 1080x2160 OLED > + - lg,sw43408 The panel uses three power-supplies, so it is not a "panel-simple" binding. And we cannot have the same compatible twice, so this must be dropped. Sam