From patchwork Sun May 21 21:23:04 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marijn Suijten X-Patchwork-Id: 96917 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp1062131vqo; Sun, 21 May 2023 14:33:53 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7Z0u34tZncO76StXSx5B2E25yApij5TCyEHqw16IlX4hUr3VxvLrAk15z0LNqGi3oMNNCL X-Received: by 2002:a05:6a20:7295:b0:103:ef39:a832 with SMTP id o21-20020a056a20729500b00103ef39a832mr9158377pzk.23.1684704833550; Sun, 21 May 2023 14:33:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684704833; cv=none; d=google.com; s=arc-20160816; b=H1OSctDEH/HOxmMBOW2k8htxh34xRKK2WY8JvPzi4hknUwEvpHOMs2LbC90lzdsnvY qjGWIENuyu/Ih3VQTpxUaEEKjFw131LKgVLObc+CtOGjs4UnVP6RrAiIJ91ANpK37iWi wxsfC9UkOLWescXFDoQhQCX3xqUdZLq0XZM1QKmPH9kT4mJ/NfHgvVInxNKF6ZiIXCCi KkhnGnhE4pA2XZFduzJfMtHzu4o++Z2x7KYkARy494XcMAeZXnNZwEZwoeQ5orbxnAkA bScOfEc8d+z6+iaNE2RFI0nbWqGrjOBzXdazHMLTJQIBFXkx1Ow0Uos+aPrKgn4LHUBa ppCw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from; bh=JJahLo5zGmdgRrvccIt/68kwhN4NwCEZVkglWCuXw2c=; b=CI2brVYkxZxDnW1qF+A3C9sJiTrh+vUkGTWk21mY0vQUsOGJMdVAjoKuZrMn5cVFbN 7El+EIk21jKBq3m2jMRaeOkyCxEN4+RPI9nP363ez2RRLBCB+oTlk0ICLn4qazA0kVGk 7K2K/EwCltO/54HsLksVZU3Fju14Bfa96rU2Ti6oO7EjNpqRytfcRS/dqDFaPOe1ZSkn ZkgYRSu/MViazLCdBs50wEGJjOuy2fs+3KI2fAAw9rD3mNNlbDfno4OPkHU1xXeqfqM+ RT+hiHSPbF2XTC2fDns8izWKZ+mUEiZYWb2TqdwrrAH3Sc/AHSQz10P2n3QUhBvoH+g8 e4mw== ARC-Authentication-Results: i=1; mx.google.com; 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: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h126-20020a636c84000000b0051bb433f5d3si3719206pgc.862.2023.05.21.14.33.40; Sun, 21 May 2023 14:33:53 -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; 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 S231236AbjEUVXY (ORCPT + 99 others); Sun, 21 May 2023 17:23:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57154 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230326AbjEUVXP (ORCPT ); Sun, 21 May 2023 17:23:15 -0400 Received: from relay07.th.seeweb.it (relay07.th.seeweb.it [IPv6:2001:4b7a:2000:18::168]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AAB10DD for ; Sun, 21 May 2023 14:23:13 -0700 (PDT) Received: from Marijn-Arch-PC.localdomain (94-211-6-86.cable.dynamic.v4.ziggo.nl [94.211.6.86]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by m-r2.th.seeweb.it (Postfix) with ESMTPSA id 58E6F3F342; Sun, 21 May 2023 23:23:11 +0200 (CEST) From: Marijn Suijten Date: Sun, 21 May 2023 23:23:04 +0200 Subject: [PATCH RFC 02/10] dt-bindings: display: panel: Describe Sony Xperia XZ3's LGD panel MIME-Version: 1.0 Message-Id: <20230521-drm-panels-sony-v1-2-541c341d6bee@somainline.org> References: <20230521-drm-panels-sony-v1-0-541c341d6bee@somainline.org> In-Reply-To: <20230521-drm-panels-sony-v1-0-541c341d6bee@somainline.org> To: Neil Armstrong , Sam Ravnborg , David Airlie , Daniel Vetter , Caleb Connolly , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Andy Gross , Bjorn Andersson Cc: ~postmarketos/upstreaming@lists.sr.ht, AngeloGioacchino Del Regno , Konrad Dybcio , Martin Botka , Jami Kettunen , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org, Dmitry Baryshkov , Abhinav Kumar , Kuogee Hsieh , Jessica Zhang , Marijn Suijten X-Mailer: b4 0.12.2 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1766541055275441814?= X-GMAIL-MSGID: =?utf-8?q?1766541055275441814?= Document the LG-Display OLED panel found in the Sony Xperia XZ3. Signed-off-by: Marijn Suijten --- .../bindings/display/panel/sony,akatsuki-lgd.yaml | 71 ++++++++++++++++++++++ 1 file changed, 71 insertions(+) diff --git a/Documentation/devicetree/bindings/display/panel/sony,akatsuki-lgd.yaml b/Documentation/devicetree/bindings/display/panel/sony,akatsuki-lgd.yaml new file mode 100644 index 0000000000000..523e580b70c7d --- /dev/null +++ b/Documentation/devicetree/bindings/display/panel/sony,akatsuki-lgd.yaml @@ -0,0 +1,71 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/panel/sony,akatsuki-lgd.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Sony Xperia XZ3 LG Display 1440x2880 6.0" OLED DSI panel + +maintainers: + - Marijn Suijten + +description: | + This is an unnamed 6.0" 1440x2880 (9:18 aspect ratio) 60 hz panel + produced by LG Display, found in the Sony Xperia XZ3 smartphone. + It is always programmed with DSI 1.1. enabled. + + The assembly features an Atmel maXTouch digitizer, described separately + as atmel,maxtouch. + +allOf: + - $ref: panel-common.yaml# + +properties: + compatible: + const: sony,akatsuki-lgd + + port: true + + reg: + maxItems: 1 + description: DSI virtual channel + + reset-gpios: true + + vddio-supply: + description: I/O voltage supply (1.8V) + +required: + - compatible + - port + - reg + - reset-gpios + - vddio-supply + +additionalProperties: false + +examples: + - | + #include + + dsi { + #address-cells = <1>; + #size-cells = <0>; + panel@0 { + compatible = "sony,akatsuki-lgd"; + reg = <0>; + + vddio-supply = <&vreg_l14a_1p8>; + + reset-gpios = <&tlmm 6 GPIO_ACTIVE_HIGH>; + + port { + panel_in: endpoint { + remote-endpoint = <&dsi0_out>; + }; + }; + }; + }; + +... +