Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp2158689rwd; Sun, 21 May 2023 14:35:31 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5JIpbWpkvSnG7nsok4BpbdnFNwRXTr40vaK9/OqEbHukHXLHV+MHeCGb5kOlLarHb1wxTm X-Received: by 2002:a17:90a:398e:b0:253:26e5:765a with SMTP id z14-20020a17090a398e00b0025326e5765amr7533572pjb.48.1684704931237; Sun, 21 May 2023 14:35:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684704931; cv=none; d=google.com; s=arc-20160816; b=meQXiFF+g50IvyPnQNcWu2Qin7EV5XKolUBdbPrRyRW3AGbFrIXFqIQPrBtVtiy/II gnWWmr9qudaX2skBKVVDW9cnCz84dRcD3sgyt9idEKmZKlZxHL6y3vdH6ydC46tJPq4H LTd3rCG3ZpWgsBgb/1FxuQdGSk63CiKpDrYOo7ZDAh+ryOIVSPluZTKCEcNIyFuA3/qd DpQV8D+GslWeeaigJf1ICibfWFW5aZVVbUz3mwMQzIHnaM2AYa97i3Vwd3e6Vrd+jEBV TUjQ69G6+F+ipXmtSlGYv31oTjaS4qZ9pDkxJYqHv9T+/xG4DEFC6D/fJ8ZYPrYaGOl5 RirA== 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=IzseOis1v2+vpEMiYF2NZVqQdiYJI9p7+boD3w9n0Bo=; b=yJyPf/8P7nSE/rChQxE069cIgJPtcUOAB3wRnyvWCAjrsZHhmMSszCVcOLrqbihLPP PWW4UvhLBdwiWHnhOYlCq8PUR+Uv7SAw3VFMmXz+aCVO3lX7c3yJo/6g7VLIk5BsQKqz s1fuWvHxWSdpi26SJ2HaEE1wuDqjQoDPPxQxLy0LFQdZSCxsAFQTP5ogTYgfXEJkUSBY ey+3n8yWIL26iTOY+LkBbOouKC+ku9NDgWlZwK7ib2m3FYZyoIC0Emd6VgJ7wWZoYTlV EGl84D8Hs4SWeCaRsl2S6g0F+za4SAYv3slsxF7uHnH2u/hhbqkThWk+ZytnqwJksxOi kCrw== 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 u13-20020a17090a410d00b0024e341eddabsi3575543pjf.53.2023.05.21.14.35.19; Sun, 21 May 2023 14:35:31 -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 S231232AbjEUVXe (ORCPT + 99 others); Sun, 21 May 2023 17:23:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57288 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230470AbjEUVXU (ORCPT ); Sun, 21 May 2023 17:23:20 -0400 Received: from relay06.th.seeweb.it (relay06.th.seeweb.it [IPv6:2001:4b7a:2000:18::167]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D866EF4 for ; Sun, 21 May 2023 14:23:15 -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 AB50F3F351; Sun, 21 May 2023 23:23:13 +0200 (CEST) From: Marijn Suijten Date: Sun, 21 May 2023 23:23:07 +0200 Subject: [PATCH RFC 05/10] dt-bindings: display: panel: Describe Samsung SOFEF01-M Display-IC MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20230521-drm-panels-sony-v1-5-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 Document the SOFEF01-M Display-IC and 1080x2520 panels found in the Sony Xperia 5 (6.1") and Sony Xperia 10 II (6.0"). Signed-off-by: Marijn Suijten --- .../bindings/display/panel/samsung,sofef01-m.yaml | 109 +++++++++++++++++++++ 1 file changed, 109 insertions(+) diff --git a/Documentation/devicetree/bindings/display/panel/samsung,sofef01-m.yaml b/Documentation/devicetree/bindings/display/panel/samsung,sofef01-m.yaml new file mode 100644 index 0000000000000..a91bc33568f43 --- /dev/null +++ b/Documentation/devicetree/bindings/display/panel/samsung,sofef01-m.yaml @@ -0,0 +1,109 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/panel/samsung,sofef01-m.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Samsung SOFEF01-M 1080x2520 6.0"/6.1" OLED DSI panels + +maintainers: + - Marijn Suijten + +description: | + Samsung SOFEF01-M Display-IC panels found in the Sony Xperia 5 + (kumano bahamut) and Sony Xperia 10 II (seine pdx201) smartphones. + +allOf: + - $ref: panel-common.yaml# + + - if: + properties: + compatible: + const: samsung,sofef01-m-bahamut + + then: + properties: + vci-supply: + description: DriverIC Operation supply (3.0V) + + required: + - vci-supply + + else: + properties: + vci-supply: false + +properties: + compatible: + enum: + - samsung,sofef01-m-bahamut # 6.1" + - samsung,sofef01-m-pdx201 # 6.0" + + 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 = "samsung,sofef01-m-bahamut"; + reg = <0>; + + reset-gpios = <&tlmm 6 GPIO_ACTIVE_LOW>; + + vci-supply = <&vreg_l17a_3p0>; + vddio-supply = <&vreg_l14a_1p8>; + + port { + endpoint { + remote-endpoint = <&dsi0_out>; + }; + }; + }; + }; + + - | + #include + + dsi { + #address-cells = <1>; + #size-cells = <0>; + panel@0 { + compatible = "samsung,sofef01-m-pdx201"; + reg = <0>; + + reset-gpios = <&tlmm 90 GPIO_ACTIVE_LOW>; + + vddio-supply = <&pm6125_l12>; + + port { + endpoint { + remote-endpoint = <&dsi0_out>; + }; + }; + }; + }; + +... + -- 2.40.1