From nobody Tue Nov 26 00:47:42 2024 Received: from sonic302-21.consmr.mail.ir2.yahoo.com (sonic302-21.consmr.mail.ir2.yahoo.com [87.248.110.84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 108F11CDA11 for ; Tue, 22 Oct 2024 21:54:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=87.248.110.84 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729634044; cv=none; b=uhSzdXsWtgeQ5/noZfY26YGaRq25o1NCWxkE46BfRvyAYF2MFaXLSnXEgCUtQqOhNQBuuuSHDDLS7fZmZLLLdcea7ziUnNtMskJOvmhGC/hfNVLWv7mPK1fMSO2DcoODueiL78it1hAa1Kfn2RF/htJ0Q1Bb4Zz/idAdaXRP9ok= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729634044; c=relaxed/simple; bh=A4JEG/x1eiD5OwarMmoYKLbNX11tvnNQAUqUU0bfEMc=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=atO5opQKUW8T9x4NduM5SEr8j/2hHINlz+uV85rIH6u/p1ArZCLl0utiKoyFOp1LiEshdFgTcfZiwHGQ+NcRH7bvfS7zn4/TSzejE+EQrDXOHT81D4JCCa6ffC0/ymDiAaKS0BQD+LFRXdTPLUXItx+iALBe4V1ZsxZHx/DMjSI= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=rocketmail.com; spf=pass smtp.mailfrom=rocketmail.com; dkim=pass (2048-bit key) header.d=rocketmail.com header.i=@rocketmail.com header.b=maKrwJFJ; arc=none smtp.client-ip=87.248.110.84 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=rocketmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=rocketmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=rocketmail.com header.i=@rocketmail.com header.b="maKrwJFJ" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rocketmail.com; s=s2048; t=1729634040; bh=d3PSEJTlHbO4B5aoyFLEaPY5Crw8mhVYCvAnnHlRSn8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From:Subject:Reply-To; b=maKrwJFJBpxah53+tLd0drn/78oyWaCMmUob/CrgvtIppXpFTr/tNo1T5hYZDp0IsHHuF+CS4LcCjzj72cs2jPyFbUbQY9Kc7YmKpwxwMRfRUcaqPw6ex6w/5ZMnqIbXs2wxf4FDRxC6e9TBh3sOe2CoN7/MU2i/oSEs8B3Yxe8TrLUj9+cFOBrlE0OTZAvr+yRQNh2AkT5uIuFJXWBptYJolkmjPjCAauj/Qaq/MpwzzGXrKp7+pmNO3bYppfKCFqqNmQ20g7YZAobjB461Ahw50eQ23lW/mH8JhPkBWSbJpHsRWZvNEJ8pYwGaa9EOCtyTw9roDiOSbbaB5T/C/g== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1729634040; bh=2H1P0tG4AIc/lni1FwOLBgHiK6xQUQhcY9eVuM1UlZZ=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=iMjcDwT44ztaMrClqYduvZk+55BS17BZZx0FIcee3jhHwG4e36EOHVgkZYG0nCeQz8et7HzEttOloQrvJMyFpYBl6AiRdRTTA/dPjisPcKlSGfXcinpiCPXu73bsfzwyohjLMFxxaYkweqbljQRiYToQs3jE239cxPzr5xCaC+wsMa6W5SfLW+8+m4mhbRbYt1E4GJQRwFESi/sa0+lTsh3o0ldqKze/Za0cqd9P5KM0FcnGBpnw91Ke+z/XpEaZlUxC5pr5WF/CDyPJ4ZkbCaIcF5JYVU3oUX/PhtiGMtxC2n8pDDoZFWNngXgD7gpzuuwSXu+bFdJKvmlvr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vCrCY7oqvGZfjYxuZBWtPzm1E0w5OINGN5Y0G6khH8Qbqysp8 8kd2GE32d2jW9Ndr0Y7ynUI.CNkXtbrhPjo2WQiCNNIhPF4lyCmzXguyRjBy4kb_Q1lcQa9OaCXy V0MGlUvJMhySUjJ59g1qVFsqI_88An8SxrCVUiOx6tHEuNCT83TNKZ.ju4X58W.nOrt300lK_GUG y3HL8Gmd2lO.WI_Q_XUY3I96XHqjPxnSzFbywV2RHk0kY9jMh X-Sonic-MF: X-Sonic-ID: 393e00c1-eac6-48ce-a59e-5499b218adc1 Received: from sonic.gate.mail.ne1.yahoo.com by sonic302.consmr.mail.ir2.yahoo.com with HTTP; Tue, 22 Oct 2024 21:54:00 +0000 Received: by hermes--production-ir2-c694d79d9-qjs6q (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 00a5d0a4af66107c7c1614b6d685cac8; Tue, 22 Oct 2024 21:33:44 +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 1/5] dt-bindings: display: panel: Move flip properties to panel-common Date: Tue, 22 Oct 2024 23:33:35 +0200 Message-Id: <18a0d8787b5714633a574f2e15f0cec1addddcfc.1729630039.git.jahau@rocketmail.com> X-Mailer: git-send-email 2.39.5 In-Reply-To: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" The flip properties were used by "samsung,s6e8aa0.yaml" only so far. By introducing "samsung,s6e88a0-ams427ap24.yaml" they become more common. Signed-off-by: Jakob Hauser Reviewed-by: Krzysztof Kozlowski --- Patch is based on current branch drm-misc-next. --- .../bindings/display/panel/panel-common.yaml | 8 ++++++++ .../bindings/display/panel/samsung,s6e8aa0.yaml | 10 ++-------- 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/Documentation/devicetree/bindings/display/panel/panel-common.y= aml b/Documentation/devicetree/bindings/display/panel/panel-common.yaml index 0a57a31f4f3d..087415753d60 100644 --- a/Documentation/devicetree/bindings/display/panel/panel-common.yaml +++ b/Documentation/devicetree/bindings/display/panel/panel-common.yaml @@ -51,6 +51,14 @@ properties: $ref: /schemas/types.yaml#/definitions/uint32 enum: [0, 90, 180, 270] =20 + flip-horizontal: + description: boolean to flip image horizontally + type: boolean + + flip-vertical: + description: boolean to flip image vertically + type: boolean + # Display Timings panel-timing: description: diff --git a/Documentation/devicetree/bindings/display/panel/samsung,s6e8aa= 0.yaml b/Documentation/devicetree/bindings/display/panel/samsung,s6e8aa0.ya= ml index 4601fa460680..19c8cc83db97 100644 --- a/Documentation/devicetree/bindings/display/panel/samsung,s6e8aa0.yaml +++ b/Documentation/devicetree/bindings/display/panel/samsung,s6e8aa0.yaml @@ -21,6 +21,8 @@ properties: =20 reset-gpios: true display-timings: true + flip-horizontal: true + flip-vertical: true =20 vdd3-supply: description: core voltage supply @@ -46,14 +48,6 @@ properties: panel-height-mm: description: physical panel height [mm] =20 - flip-horizontal: - description: boolean to flip image horizontally - type: boolean - - flip-vertical: - description: boolean to flip image vertically - type: boolean - required: - compatible - reg --=20 2.39.5 From nobody Tue Nov 26 00:47:42 2024 Received: from sonic308-18.consmr.mail.ir2.yahoo.com (sonic308-18.consmr.mail.ir2.yahoo.com [77.238.178.146]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 214661CF5D3 for ; Tue, 22 Oct 2024 21:54:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=77.238.178.146 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729634044; cv=none; b=pzrHFntK/si+mpi66W9R17br41uJwKGvg5F9DPdqByqUV9kdevLnjun49vSd3HM1AiVSLQ/nGzyX6Y2InbXyQEgvgk1lD0gaVRtRUyGfBLvRQeksM30IYrLJHStPVe0ouR/kcyajZZZwge9cTpMleR8W3LJTGBZ+tS+WeF8Rq3k= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729634044; c=relaxed/simple; bh=RegJKiBGxwgweFPkPSvVWKX/zlPgHsITBveAyYs1u8M=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=KvTvHHIraHgA1EplnEu0OXOAtN/SrZTkIYpLJzjJtE2oK4iLuXx1iICUZ1m00GRE3ZM63+0g1PGcJ1RqCLhX27V4eNOU7K0n0BdNt55mJpOjLfiAP5VXzcIjvuAxt+w3QKUzjwvuK0YbhM1h3VwTVrFcMtJhQKGsZ5BrWjtXJ/8= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=rocketmail.com; spf=pass smtp.mailfrom=rocketmail.com; dkim=pass (2048-bit key) header.d=rocketmail.com header.i=@rocketmail.com header.b=PwSi6XxO; arc=none smtp.client-ip=77.238.178.146 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=rocketmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=rocketmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=rocketmail.com header.i=@rocketmail.com header.b="PwSi6XxO" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rocketmail.com; s=s2048; t=1729634040; bh=h1lCgSE/gU2KPLaP5RWKCCeTWknmeiwR4F3guZcmDrA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From:Subject:Reply-To; b=PwSi6XxOewzlRK1G2Ycmxucnxuezp28BdhzZVgnW/1TZluUOlrcNKhoRIPKI//1lcJ1Nogt5qocEax2yOP2klnUvVzCptueK7T8iQ3nCIOk6arUWwgKB5qFjSO24gmDIrgISVtmk2BPv9QHkjhCgqT8nVtT8D4sEFT90mgYObFji5rfoeQrBKyOttiIXbMR+XWbpsu0eAu0eHxOymOrlh8iFmLUh6U21V8cdjBQ7LG7/r4oK0awF35bmJdeQgMte9iYNFKlxUx1y360I4r8KevjnD0oEfjGa1aW1WcDnmAQHRkQ9PZnouS77mKkNrw0OpTET/cIRP3E2bAw6LbGS6Q== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1729634040; bh=D0ulfaqGSKKNiTa1wctUImycftkK/lvSsACF+uXbEgz=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=sIDo1FiLODmrrwsKr85KfZOg/XTwPWusTRYaZ+vmvrKydc+iq70KK0P8vgKunIwlxYEQOUiGU+DNY4Mk2vJQHjC3nGlbQzDtPCx5e0cSXJbZkyPIdjmvRhE8BAzihbgjwU5opZ3mNU2c1bNZYf3vZNfjOX7nwPUfoShhtolafYbthBOAoXsQZWFrbxniEO2HzxIx2VTT7dNn635QnjKKDzOlOph08spru3eszNUNOCzAsjiOoap7TdoBJdHQJHWe7Pjy4gsOCoJ0zyO0lyOfg9WAsap5XrTpWqgs6rTh/f4br6+t1VJ475R4Mq3KXXtDmRCETr4cwjEvqtXiixbnqg== X-YMail-OSG: uYbzB0QVM1mf1dkM1r4zs7YmR3EcQvTldkkAyoGCJ1L6tw9eLrGuzDyeRmFUpWr HVDrPj2_hGi2YdbM_LxPpapgAoQhc6HFt8ZMzEpc_o.fJeQUQqVjBRQbUsGaBdNg176DcLWV8u9A FjcjqOBgyHD173eSN41njm_ys_2Xyh_BfGzoPE8bPnPIFeINjd5nYvduHe6ke8Y6KGaWkW1B.guK bN93gFIAO8IjaWGu.gKc0EVq22fsn6FU6OKWfb5mOt.1MthzSeLmHJeIbRnYjQCI4czZXvR_C7fg p5p62nuGPiaqQNjPgP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o.com by sonic308.consmr.mail.ir2.yahoo.com with HTTP; Tue, 22 Oct 2024 21:54:00 +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: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" 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,s6e88a= 0-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-ams42= 7ap24.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-ams427ap2= 4.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 =3D <1>; + #size-cells =3D <0>; + + panel@0 { + compatible =3D "samsung,s6e88a0-ams427ap24"; + reg =3D <0>; + + vdd3-supply =3D <&pm8916_l17>; + vci-supply =3D <&pm8916_l6>; + reset-gpios =3D <&tlmm 25 GPIO_ACTIVE_LOW>; + flip-horizontal; + + port { + panel_in: endpoint { + remote-endpoint =3D <&mdss_dsi0_out>; + }; + }; + }; + }; --=20 2.39.5 From nobody Tue Nov 26 00:47:42 2024 Received: from sonic312-26.consmr.mail.ir2.yahoo.com (sonic312-26.consmr.mail.ir2.yahoo.com [77.238.178.97]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DE6E21CFEDD for ; Tue, 22 Oct 2024 21:54:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=77.238.178.97 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729634049; cv=none; b=jYdLN8b5EY1maDEA6TsjaYutxeo+UhmsxLP5+ULx6PO8qrTMLQBEW9WfFn/M3oI+WTVQFBIPAVFhwVBSehZSto0R9ESPGXnUm5kVRSOjnCvF34Xe9qvymZKEwG+CEWF/2b4c6mBsHEL1PC8Eu5+MW1Ny2oiWT/YawEzizAPaylg= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729634049; c=relaxed/simple; bh=g++a2B4CheVBx4WzXBzPoWNad5FRHHEhfwrEmacF3wg=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=cWzBDoLGJVJau2TqmWRPa1d9daZ9Ipg6k5gThS1DDQIdZ/JrkFobLQjAP3lAxTo65HFJQ/mHWIpzKJMF3mF8ZFa/s/zis68s0zWRaR+lVIuyYcAQJG4fFOFSMiMY3JqDvOZUYCMc93fSdeCdtXMrmJ4arpjVu8ZVIUUkKV+NQW8= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=rocketmail.com; spf=pass smtp.mailfrom=rocketmail.com; dkim=pass (2048-bit key) header.d=rocketmail.com header.i=@rocketmail.com header.b=LxvPr0FO; arc=none smtp.client-ip=77.238.178.97 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=rocketmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=rocketmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=rocketmail.com header.i=@rocketmail.com header.b="LxvPr0FO" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rocketmail.com; s=s2048; t=1729634045; bh=70QVeRtyDiMg9KxW5Djk0oZQv4ngnf+PlKtHAYt3mCU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From:Subject:Reply-To; b=LxvPr0FOcJICBO2IeCDVLNMwU8d4Z6SHwfO4CWPwT9g8FmHC8Zj/kKj578KNt2LzLJtGQ/IS/pP8ZU0moGByR9wv7/rq83KZb5tqRwpN699sIkPD07GMGE0PMak6wGYPdWrZ9QYj2ivlf9OqGNOc/QYnQlh8UkVM7PCdhfmvha3RyUpbCloiwbziUaTPOLn+62eOKn4/YfVEYy/1Wd85qmAkXmAfUDf+46Zp68QdFOj1j9Bk8jA8r/a72VZ4JifefsCJVcgUAHJ6pyaSTeLnJS55AZciRnboiC5O6lmOG5x388EEyQsk2sysAVikVGkCvBfSfaOTmcoYtukalpOQww== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1729634045; bh=IxYM/RT8HeIOxvp2A33FbYbi7vLghRjR/vY6Ns1cMw0=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=HE0l71184C9IRog4jiMDWcSQpO3Vz5H0M98WIsb1FzxVzyl7ez42+P1qkA/1iqn3ipu2gZbeqGx0IfYkRk7XAMZqOPukDPjCAEHYuCYYLqBjNolKLG+cpTdWsJAmArsuT7bcj/cGsYlv8WhiAF/tStRGEojltzilOK6DSBlAizCnj6bRlgNvnkh9GjG7X6nGsLa7dujhPPH8kk5sU14ehwn050IzG6Sm0ndIrO/cA6kyUA5AEyWTZGbA2NjiLgo/Jl4RYJAxcveX1faamH5MC4KFeKxNakMQu6cP5IA2/l/bA2013dYakbs7IXmrrzQsnRSQfU4eSwTUlLPkyFuj/Q== X-YMail-OSG: AyD3kEwVM1kZlugt63NC1r5xzUJaJQ89y3TOsrfo9DzTEQNhQZ7qFf75qksr7H2 sjgwJp88tt708JmYdtTeqGiyXhIAnBtojIO5xEK_PvZ9zEermbW3PmHrqqgeANR1tar_z54.jT3A 8TliZJeM.KyvpBqAKOFRX7BwYWyr5aaEGyklggVybKe7AlAA_LlONS5DD7kljD.lARDzdOEkmHor YFuOcVTCGnaBXtVmjMW15E9O5P48i3UDey5M9.ot60jSCVoWGGuyauHnLAOb_YJ7JZ1mZdvt1Xks SpEZwum1KGpUGk9WiVo2QG7BGriQHf7F7n9CC1ecmxWrO6i.c1n4BUhOwY_D5A_FIDXkBcGhIOpO ukhrpeFytvImDwIntWflYNtjYyWfAbsYl1wa.nWC.JR_wYNervOkrr7cEz6TwbQn7VIPKGAv6t35 5U6IsZIa9s2lHzpYk2tm826uZa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QKb9fwXbHlCrapGytH2AizHqz6IWUFNN2NUCyoxywPC ghfLfLDzj25aMX2jZ2PmUiWago_HZkqalPkVnhLTqJRlNU_dZXptdTCwGXDrOrpPUrD1Q_6e9CbJ 16pPOeZI4DwUiKwTJg2sEpCu_tf.H0dC4tc.PAhnwmZ_P3Gc9qFYBCBzJ4oF1GOCbBV2NsEh0kwq 4_qnKtKGaGO2yJUe47JrpJVD0WmK2RJ9lqLv7IQhiL2qeV7d5ZjIwuXGhOili8GCRSiqkvvccTZH 3XXAqPUE3zt18zKotbbQ94ONiCHU5y5uf4lZ_ZB_q1anbMLahMZhFSCgPMKB.wxmka4r12pZcRtC Ecb44JeBapoWqM.Thz4mpDluoEJXbq4U9NALuYexWCdQ5arcUX9p47vE.8gx6OJezzs7na5qgHc0 jxj_Cw0lB.b9Du4voT2Dy6E29mTC.k2e02lp4caYn0ZsdQV2DdUCy71vflrrd1DxXmrpLtBAxCok VHj1Pe8o6NjNeCe0V3DieLJgEv8o.OHeCyX.UHqJdNZ6FXnsqY7XlrV2_UzE5l0JFiZkqEOWq.gO wj9UuOmOSo9slv2RznGMbjTaFNvDvAZVqy1hEsgxJ1HOuVFIHgoVaWZ1lO7vau20JjosgZHQFSjp E4eA0FnWsDlgLKrAd40rL8Qb1DH3dSrUXP_OkE9XU4gjuYNTJ3kFbpjbzKSKfLIDZ_gteivwvfie yTis_nnbaV_jZvNd1PQFG_4dbvgxGj1udm5MgKZuaNdFqUjuC2SqEz0RScImWN1guop9qwYjCCHq 9ayF84bDUzPcMaEWUyObH2UHPLOjoQ_bJDs4Ty7u.4TAMNymGJA-- X-Sonic-MF: X-Sonic-ID: 35b9d1d3-400a-4fc6-b194-8a75753c9daf Received: from sonic.gate.mail.ne1.yahoo.com by sonic312.consmr.mail.ir2.yahoo.com with HTTP; Tue, 22 Oct 2024 21:54:05 +0000 Received: by hermes--production-ir2-c694d79d9-qjs6q (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 00a5d0a4af66107c7c1614b6d685cac8; Tue, 22 Oct 2024 21:33:46 +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 3/5] drm/panel: samsung-s6e88a0-ams427ap24: Add initial driver Date: Tue, 22 Oct 2024 23:33:37 +0200 Message-Id: <3a7d3e17e37819fa0a198a37d0c2f54de7b93971.1729630039.git.jahau@rocketmail.com> X-Mailer: git-send-email 2.39.5 In-Reply-To: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" This initial part of the panel driver was mostly generated by the "linux-mdss-dsi-panel-driver-generator" tool [1], reading downstream Android kernel file "dsi_panel_S6E88A0_AMS427AP24_qhd_octa_video.dtsi" [2]. On top of the generic output of the tool, there were a couple of changes applied: - Added mipi_dsi_dcs_set_display_on() to function s6e88a0_ams427ap24_on(), otherwise the display does not show up. - In functions s6e88a0_ams427ap24_on() and s6e88a0_ams427ap24_off() changed DSI commands to multi context and used "accum_err" returns. - In functions s6e88a0_ams427ap24_on() and s6e88a0_ams427ap24_off() replaced msleep() by mipi_dsi_msleep(). - The function s6e88a0_ams427ap24_get_modes() was changed to make use of drm_connector_helper_get_modes_fixed(). This also required to include drm/drm_probe_helper.h. - In function s6e88a0_ams427ap24_probe() registring the regulators was chan= ged to devm_regulator_bulk_get_const(). This required to change supplies in s= truct s6e88a0_ams427ap24 to a pointer. - Removed bool "prepared" from struct s6e88a0_ams427ap24 and instead used framework-provided "panel->prepared" in functions s6e88a0_ams427ap24_prep= are() and s6e88a0_ams427ap24_unprepare(). [1] https://github.com/msm8916-mainline/linux-mdss-dsi-panel-driver-generat= or [2] https://github.com/msm8916-mainline/linux-downstream/blob/GT-I9195I/dri= vers/video/msm/mdss/samsung/S6E88A0_AMS427AP24/dsi_panel_S6E88A0_AMS427AP24= _qhd_octa_video.dtsi Signed-off-by: Jakob Hauser --- Coulnd't read out RAW EDID, /sys/class/drm/card0-DSI-1/edid is empty. Changes in v2: - Removed bool "prepared" from struct s6e88a0_ams427ap24 and instead used framework-provided "panel->prepared" in functions s6e88a0_ams427ap24_pre= pare() and s6e88a0_ams427ap24_unprepare(). Mentioned this in the commit message. --- drivers/gpu/drm/panel/Kconfig | 9 + drivers/gpu/drm/panel/Makefile | 1 + .../panel/panel-samsung-s6e88a0-ams427ap24.c | 260 ++++++++++++++++++ 3 files changed, 270 insertions(+) create mode 100644 drivers/gpu/drm/panel/panel-samsung-s6e88a0-ams427ap24.c diff --git a/drivers/gpu/drm/panel/Kconfig b/drivers/gpu/drm/panel/Kconfig index bce4cb64184a..f8adc38447fb 100644 --- a/drivers/gpu/drm/panel/Kconfig +++ b/drivers/gpu/drm/panel/Kconfig @@ -632,6 +632,15 @@ config DRM_PANEL_SAMSUNG_AMS639RQ08 Say Y or M here if you want to enable support for the Samsung AMS639RQ08 FHD Plus (2340x1080@60Hz) CMD mode panel. =20 +config DRM_PANEL_SAMSUNG_S6E88A0_AMS427AP24 + tristate "Samsung AMS427AP24 panel with S6E88A0 controller" + depends on GPIOLIB && OF && REGULATOR + depends on DRM_MIPI_DSI + help + Say Y here if you want to enable support for Samsung AMS427AP24 panel + with S6E88A0 controller (found in Samsung Galaxy S4 Mini Value Edition + GT-I9195I). To compile this driver as a module, choose M here. + config DRM_PANEL_SAMSUNG_S6E88A0_AMS452EF01 tristate "Samsung AMS452EF01 panel with S6E88A0 DSI video mode controller" depends on OF diff --git a/drivers/gpu/drm/panel/Makefile b/drivers/gpu/drm/panel/Makefile index 4db02c2411ae..7dcf72646cac 100644 --- a/drivers/gpu/drm/panel/Makefile +++ b/drivers/gpu/drm/panel/Makefile @@ -77,6 +77,7 @@ obj-$(CONFIG_DRM_PANEL_SAMSUNG_S6E63J0X03) +=3D panel-sam= sung-s6e63j0x03.o obj-$(CONFIG_DRM_PANEL_SAMSUNG_S6E63M0) +=3D panel-samsung-s6e63m0.o obj-$(CONFIG_DRM_PANEL_SAMSUNG_S6E63M0_SPI) +=3D panel-samsung-s6e63m0-spi= .o obj-$(CONFIG_DRM_PANEL_SAMSUNG_S6E63M0_DSI) +=3D panel-samsung-s6e63m0-dsi= .o +obj-$(CONFIG_DRM_PANEL_SAMSUNG_S6E88A0_AMS427AP24) +=3D panel-samsung-s6e8= 8a0-ams427ap24.o obj-$(CONFIG_DRM_PANEL_SAMSUNG_S6E88A0_AMS452EF01) +=3D panel-samsung-s6e8= 8a0-ams452ef01.o obj-$(CONFIG_DRM_PANEL_SAMSUNG_S6E8AA0) +=3D panel-samsung-s6e8aa0.o obj-$(CONFIG_DRM_PANEL_SAMSUNG_SOFEF00) +=3D panel-samsung-sofef00.o diff --git a/drivers/gpu/drm/panel/panel-samsung-s6e88a0-ams427ap24.c b/dri= vers/gpu/drm/panel/panel-samsung-s6e88a0-ams427ap24.c new file mode 100644 index 000000000000..0ab2768e0e2b --- /dev/null +++ b/drivers/gpu/drm/panel/panel-samsung-s6e88a0-ams427ap24.c @@ -0,0 +1,260 @@ +// SPDX-License-Identifier: GPL-2.0-only +/* + * Samsung AMS427AP24 panel with S6E88A0 controller + * Copyright (c) 2024 Jakob Hauser + */ + +#include +#include +#include +#include +#include + +#include