Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp932610rwb; Thu, 22 Sep 2022 08:07:21 -0700 (PDT) X-Google-Smtp-Source: AMsMyM52oH0dymkSwCsOZQgb8ufVreLXNp9ci7a44jisxjbk2fCeKmw7lTuCNjYcxKrsrtXSHlcl X-Received: by 2002:a17:903:1248:b0:178:aec1:18c0 with SMTP id u8-20020a170903124800b00178aec118c0mr3664746plh.156.1663859241298; Thu, 22 Sep 2022 08:07:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663859241; cv=none; d=google.com; s=arc-20160816; b=rCYfv2wZo7cj6GwGEXuSFs4uLK+/WgPW07kEREWXP7u0jXHbebIWE9Y23TqU8U3V5b tT7BcnbzuEYzkxW05iTJHtLf3lbQhRKHRN+jYVbdc0rTY4PsBMS3TS/ffbWvffMb/E4I K4owTALT6C1AQ/iSsHKjEvcFxknxQqbg+oP66LISAe8hF5myf2oDshwjixycqGvsaG0H Qwt+tgYIHNXf95e4g2zopB30otGoxq0qw1ftoIStIjVItl1io7aIXaT4WBuK7U0H4778 mSTmJJY9NVBWT7Rq35FXHA3ui5aHy7+iPMb9XPRi3H4AWmCaO9JMmm0kxgUYXSJ7y0y/ WE9Q== 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=7ApYqZgOWAs9ImiBg23ANlAotOBp4cP2sFnSVFi+VHU=; b=lxb9ws08QeRx1ZLVt6jzmLzjZzrDiht3iR0fJwDr/ynDmuWK2uzbwSoBUAqIqkDm4D Yo+BZFwtNrQJc3uN9wU3HmKQUnlJSiqKYIk6bC3z02OzVWuWKWOIWKQx23udPPGfiS+8 CzB+dmoJhf7P90uCAEy3BYdZR8y1LdBmbqEoSINz5sU+bHYutzFTo+FXIyX/YhrwE/rI ztv9fuFvpfkiesKpodpAQeMwlSnKZGSIaohKvKVIWFCt130yTJInknu8Fqgr2gZCg302 OnLpXnYXg62XP4KkT4KZkVC9lGeXGQ5JW4pUqLj0PUSPt08LfEWLBT62K1BUUFLWhmx4 uRNw== 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 i7-20020a170902cf0700b0016786f2d1d8si13875plg.475.2022.09.22.08.07.05; Thu, 22 Sep 2022 08:07:21 -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 S231743AbiIVN7N (ORCPT + 99 others); Thu, 22 Sep 2022 09:59:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52624 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231209AbiIVN7M (ORCPT ); Thu, 22 Sep 2022 09:59:12 -0400 Received: from relay04.th.seeweb.it (relay04.th.seeweb.it [5.144.164.165]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 28D6FEF087 for ; Thu, 22 Sep 2022 06:59:10 -0700 (PDT) Received: from localhost.localdomain (95.49.29.188.neoplus.adsl.tpnet.pl [95.49.29.188]) by m-r1.th.seeweb.it (Postfix) with ESMTPA id EBAC11FF07; Thu, 22 Sep 2022 15:59:06 +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 v2 1/2] dt-bindings: display/panel: Add Sony Tama TD4353 JDI display panel Date: Thu, 22 Sep 2022 15:58:59 +0200 Message-Id: <20220922135902.129760-1-konrad.dybcio@somainline.org> X-Mailer: git-send-email 2.37.3 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS 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 Add bindings for the display panel used on some Sony Xperia XZ2 and XZ2 Compact smartphones. Signed-off-by: Konrad Dybcio --- Changes since v1: - remove device-specific compatibles in favour of panel-common height/width-mm properties - fix indentation in the example .../display/panel/sony,td4353-jdi.yaml | 82 +++++++++++++++++++ 1 file changed, 82 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..7915c993e83e --- /dev/null +++ b/Documentation/devicetree/bindings/display/panel/sony,td4353-jdi.yaml @@ -0,0 +1,82 @@ +# 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: + const: sony,td4353-jdi-tama + + 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-tama"; + 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.3