Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp5584imw; Tue, 12 Jul 2022 13:25:16 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tN9p6c30ajM92YP28Dy1bGGbQ3jr5f42wKwEXQHLDExRxy4EeoFEni8/PZ/F5+ckDYHG7S X-Received: by 2002:a50:fe96:0:b0:43a:f5db:b79e with SMTP id d22-20020a50fe96000000b0043af5dbb79emr3792637edt.417.1657657516123; Tue, 12 Jul 2022 13:25:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657657516; cv=none; d=google.com; s=arc-20160816; b=LWLm8PpW8p7tKHQepBriIUqlbqE9tLj8ivtxR55E8nDQZufG8gYLqgd9cRSNqHSk4s ZIoNxyB6B28FvwZtkv/FGQpnxW5pC9tak/dXe7QEqaDRorX4MsoCJnegKtFt7AdYNiJ8 L3e3n3bxsroc0FU8lcm1p9jbEoWPHmzamPlG+sKUGzIP1l2irPucTRHCLne+eW5qQbpa e0zcghJHxRw0SpOEaWVIxWRHEMY4v9gjk217JFiB2SbIB7sTAboYKJJNpaDDWjNXPpzJ avsYbcGWTVzynGUakkzt6ImdELMcsXq0jQ8ukCh1jN32VCFNPz+3We3fE0Aq+WCmet6e zA1Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=UNOFqTUbqRHfAIr0s8TCK7N4XWIt25a+zP7E5BCNfBg=; b=IiAM1+OSnC9r1IhySTfdi4qfWs72hisSwf1BEdDYJPeu1ylTku2GImkpjahicy8b+q KDvAsluaPLgDZz80g7HNfBQ0fRNxEwjn7dTmdkirWuUq0+ZxXWIOWG2Kkod4FHtPx1Nv amH+D35VdwJgCdQqsCf1+CusaO86aeYwns05xjr9/s7RsWb7lHql9ADN11vmDuflAtM/ h3x6biA2amKUrkW3fBpWw+d/lIYbSioL82Iy2Xhw4IimWK1VWK4jPK5hhNTVDKff6xYB 7u0W7nBsOuDRX2llZ0yDT/lDWlXfu2Uf34uhkRnSz+Gj37AU8Cp/0BVasyDO76Fd44io sP0A== 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z2-20020aa7d402000000b0042bd2c39f07si13769208edq.596.2022.07.12.13.24.43; Tue, 12 Jul 2022 13:25:16 -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 S233472AbiGLUDo (ORCPT + 99 others); Tue, 12 Jul 2022 16:03:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44906 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234052AbiGLUDl (ORCPT ); Tue, 12 Jul 2022 16:03:41 -0400 Received: from m-r2.th.seeweb.it (m-r2.th.seeweb.it [IPv6:2001:4b7a:2000:18::171]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1892926C6 for ; Tue, 12 Jul 2022 13:03:35 -0700 (PDT) Received: from localhost.localdomain (abxj14.neoplus.adsl.tpnet.pl [83.9.3.14]) by m-r2.th.seeweb.it (Postfix) with ESMTPA id 625B53F62F; Tue, 12 Jul 2022 22:03:32 +0200 (CEST) From: Konrad Dybcio To: ~postmarketos/upstreaming@lists.sr.ht Cc: martin.botka@somainline.org, angelogioacchino.delregno@somainline.org, marijn.suijten@somainline.org, jamipkettunen@somainline.org, Konrad Dybcio , Thierry Reding , Sam Ravnborg , David Airlie , Daniel Vetter , Rob Herring , Krzysztof Kozlowski , dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/2] dt-bindings: display/panel: Add Sony Tama TD4353 JDI display panel Date: Tue, 12 Jul 2022 22:02:40 +0200 Message-Id: <20220712200244.960018-1-konrad.dybcio@somainline.org> X-Mailer: git-send-email 2.37.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 Add bindings for the display panel used on some Sony Xperia XZ2 and XZ2 Compact smartphones. Signed-off-by: Konrad Dybcio --- .../display/panel/sony,td4353-jdi.yaml | 84 +++++++++++++++++++ 1 file changed, 84 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/panel/sony,td4353-jdi.yaml diff --git a/Documentation/devicetree/bindings/display/panel/sony,td4353-jdi.yaml b/Documentation/devicetree/bindings/display/panel/sony,td4353-jdi.yaml new file mode 100644 index 000000000000..d75abc72ad1b --- /dev/null +++ b/Documentation/devicetree/bindings/display/panel/sony,td4353-jdi.yaml @@ -0,0 +1,84 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/panel/sony,td4353-jdi.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Sony TD4353 JDI 5 / 5.7" 2160x1080 MIPI-DSI Panel + +maintainers: + - Konrad Dybcio + +description: | + The Sony TD4353 JDI is a 5 (XZ2c) / 5.7 (XZ2) inch 2160x1080 + MIPI-DSI panel, used in Xperia XZ2 and XZ2 Compact smartphones. + +allOf: + - $ref: panel-common.yaml# + +properties: + compatible: + enum: + - sony,td4353-jdi-akari + - sony,td4353-jdi-apollo + + reg: true + + backlight: true + + vddio-supply: + description: VDDIO 1.8V supply + + vsp-supply: + description: Positive 5.5V supply + + vsn-supply: + description: Negative 5.5V supply + + preset-gpios: + description: Display panel reset pin + + treset-gpios: + description: Touch panel reset pin + + port: true + +required: + - compatible + - reg + - vddio-supply + - vsp-supply + - vsn-supply + - preset-gpios + - treset-gpios + - port + +additionalProperties: false + +examples: + - | + #include + + dsi { + #address-cells = <1>; + #size-cells = <0>; + + panel: panel@0 { + compatible = "sony,td4353-jdi-akari"; + reg = <0>; + + backlight = <&pmi8998_wled>; + vddio-supply = <&vreg_l14a_1p8>; + vsp-supply = <&lab>; + vsn-supply = <&ibb>; + preset-gpios = <&tlmm 6 GPIO_ACTIVE_HIGH>; + treset-gpios = <&tlmm 99 GPIO_ACTIVE_HIGH>; + + port { + panel_in: endpoint { + remote-endpoint = <&dsi0_out>; + }; + }; + }; + }; +... -- 2.37.0