From patchwork Tue Oct 22 21:33:36 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jakob Hauser X-Patchwork-Id: 13846195 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 4CCA4CDD0FA for ; Tue, 22 Oct 2024 21:33:51 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id CEEBE10E19D; Tue, 22 Oct 2024 21:33:48 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=rocketmail.com header.i=@rocketmail.com header.b="pvhyOJW8"; dkim-atps=neutral Received: from sonic305-21.consmr.mail.ir2.yahoo.com (sonic305-21.consmr.mail.ir2.yahoo.com [77.238.177.83]) by gabe.freedesktop.org (Postfix) with ESMTPS id 7A68E10E19D for ; Tue, 22 Oct 2024 21:33:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rocketmail.com; s=s2048; t=1729632826; bh=h1lCgSE/gU2KPLaP5RWKCCeTWknmeiwR4F3guZcmDrA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From:Subject:Reply-To; b=pvhyOJW8r6pGyAiaSVSXk/xJ2MnA0opx3a6Z8KcfKV0GbSi+sBrSI/vgE4cxIuWGNt57dTXQ1JERh0KD5oIzyKLcMJZi19iI0gAFCSTrua51RszNWIORVcbTodlEd+ytShypV6+FnUijO3be84KcQFb6uxZBBTRu6t0lEZiESa7ud+jEFsrUQKlgXXjmSfQfQ1Wb5VookjPNjgmOjRCZuNmbvEYU2yE0xUGpPz5D1vR8sP+/CXu2nm1G0AYDW7+s16tS1ug3WFvonMnrX66zvObDhkEvLBkh8yRlFgWQZeBmmampbUGWfwQDrdronGLkIOCUnvIJAZYxDzxlX+f1Ag== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1729632826; bh=X2uZdgF4fTV/joQRbapj2GYfAJ/NDlExMoKiPg862n5=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=kpsyfzhMyZhZW6+6VD5gRPw+fFltvwiSSalNQLDhhEAjNyYdVQvCM8JRh5B7VRKzcqgx2oRRJ7uXftOeVAPkYD8I9xMsNNcpbCJXzttHdJRinGDQ1wNdxltV2Wdhk/xbpL28LjIwhpzuOyfssyTzO1gKjgki5sdP5U7gm9exr05dtpor5h6eqxU4RONpli9y0iTKy4TCVtqDmSlFM4NBJcvlCC74xGEaI2bDVxZrAbrjA/Ks7SdfgxDQOwW08tsom4V+hlD6IPqiNpC5Q4WlwUTxHgQ7v5W47VxS3ogw98dbD4gzTBSqCUDQPs8UDna4jaFHCpx65PBudfDBKsDdvQ== X-YMail-OSG: uYbzB0QVM1mf1dkM1r4zs7YmR3EcQvTldkkAyoGCJ1L6tw9eLrGuzDyeRmFUpWr HVDrPj2_hGi2YdbM_LxPpapgAoQhc6HFt8ZMzEpc_o.fJeQUQqVjBRQbUsGaBdNg176DcLWV8u9A FjcjqOBgyHD173eSN41njm_ys_2Xyh_BfGzoPE8bPnPIFeINjd5nYvduHe6ke8Y6KGaWkW1B.guK bN93gFIAO8IjaWGu.gKc0EVq22fsn6FU6OKWfb5mOt.1MthzSeLmHJeIbRnYjQCI4czZXvR_C7fg p5p62nuGPiaqQNjPgPFZh2skCTLQTKs0ob21Rmjg0TjTgd2up79mTd4EKnIb9DCacFFdj9WMLI2v bH4t18BmJ0apy_NFnkSp0gK3cAYOuq42oK7PCMGs_NvFg5DaxdHyEh6ZT527QEFsStciOSS3pQP. dv7xVECLgKmyUHsJDT2vwy_LsaSjxoY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K6Vt8NTfLpM1FACfAvWRgH5lucXBENcD dmEuonndgzsbuWB9NTulxnuOms1z1pyOU.wsBpPKDQ8iCmnyD3qVwrV3yC9SJ8rpLXw8czIC83iY E0Ca42o4qyO5FsmP7_vYOm5Zx1OshkvK5RTnAbvsd1I5OIv.IL734nie8jiovy.RXltfkgtt21N. x7l4WWL7bIrszu1RnhMQWM2M8IUxyNfcZV8iCawim6LxEi.X4CaorsAOuxpOUML3EFkvotkjm6Td B2vlw091Xdql099C9dMeZo_P7IPnpkdgzRPMUv69Llh1Vm6zCEff687YSHN2pUVz7wJsZWe2ihYl 4jrGJPe4kLBkwkeFgCwBf6PyGifSJubl44NVHMjdaGTg02gzNKzRkg_at0fYeI88Y6nCOWli6l3q kXfGdoy13ekbu.IC.jfNcBYZ1OWqMjn7dtTk1eWjq3l4hD67mtZY2fPqIe.pKQXCS04vh62zLSJb 7C2SM0ujA2.VblWyLnfe4tpfQ33zXFsqunC5zJbxGdhms9O1QacOskq9BIzCb9P20pK5vjjbF9CW pFAiId.n02KqhM.Qf2ChEi6_xxM8_pQppv8J_8ddd.j.7ovgicNyyhJMWWw1iEawgMfIbU5_Y8Og 7tVyDVijPekmBaWlMMxkJYLB6iyloFYLPTietPuGt7bW3MB7B2I_OmoG7Wtf_s5ZoqdvZKFObJ6z qXMBSUjCXNSGDCb_CACjYIzyIPJRdFs2W6Mh1lHX77ul_9y2V.ORJdYSdTvIPN2vDyKd03mRb.jF h_yIV4Dp9G0ee2NHDDc1TxuLl8Rc0QOjJv7HhOSdH2GHUVrvK X-Sonic-MF: X-Sonic-ID: eb9a8438-892f-4e82-aa11-b6e2c1ab0dcb Received: from sonic.gate.mail.ne1.yahoo.com by sonic305.consmr.mail.ir2.yahoo.com with HTTP; Tue, 22 Oct 2024 21:33:46 +0000 Received: by hermes--production-ir2-c694d79d9-qjs6q (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 00a5d0a4af66107c7c1614b6d685cac8; Tue, 22 Oct 2024 21:33:45 +0000 (UTC) From: Jakob Hauser To: Neil Armstrong , Jessica Zhang , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: Thierry Reding , Laurent Pinchart , Andrzej Hajda , dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht, Jakob Hauser Subject: [PATCH v2 2/5] dt-bindings: display: panel: Add Samsung S6E88A0-AMS427AP24 bindings Date: Tue, 22 Oct 2024 23:33:36 +0200 Message-Id: <25370285451d9c22204dfbaa368d48c22efd1eef.1729630039.git.jahau@rocketmail.com> X-Mailer: git-send-email 2.39.5 In-Reply-To: References: MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Add bindings for Samsung AMS427AP24 panel with S6E88A0 controller. Signed-off-by: Jakob Hauser Reviewed-by: Krzysztof Kozlowski --- Patch is based on current branch drm-misc-next. Changes in v2: - Adapted property "flip-horizontal" to being moved to "panel-common.yaml". --- .../panel/samsung,s6e88a0-ams427ap24.yaml | 65 +++++++++++++++++++ 1 file changed, 65 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/panel/samsung,s6e88a0-ams427ap24.yaml diff --git a/Documentation/devicetree/bindings/display/panel/samsung,s6e88a0-ams427ap24.yaml b/Documentation/devicetree/bindings/display/panel/samsung,s6e88a0-ams427ap24.yaml new file mode 100644 index 000000000000..2677bc578dde --- /dev/null +++ b/Documentation/devicetree/bindings/display/panel/samsung,s6e88a0-ams427ap24.yaml @@ -0,0 +1,65 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/panel/samsung,s6e88a0-ams427ap24.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Samsung AMS427AP24 panel with S6E88A0 controller + +maintainers: + - Jakob Hauser + +allOf: + - $ref: panel-common.yaml# + +properties: + compatible: + const: samsung,s6e88a0-ams427ap24 + + reg: + maxItems: 1 + + port: true + reset-gpios: true + flip-horizontal: true + + vdd3-supply: + description: core voltage supply + + vci-supply: + description: voltage supply for analog circuits + +required: + - compatible + - reg + - port + - reset-gpios + - vdd3-supply + - vci-supply + +additionalProperties: false + +examples: + - | + #include + + dsi { + #address-cells = <1>; + #size-cells = <0>; + + panel@0 { + compatible = "samsung,s6e88a0-ams427ap24"; + reg = <0>; + + vdd3-supply = <&pm8916_l17>; + vci-supply = <&pm8916_l6>; + reset-gpios = <&tlmm 25 GPIO_ACTIVE_LOW>; + flip-horizontal; + + port { + panel_in: endpoint { + remote-endpoint = <&mdss_dsi0_out>; + }; + }; + }; + };