From patchwork Tue Oct 22 21:33:35 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jakob Hauser X-Patchwork-Id: 13846196 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 12781CDD0EA for ; Tue, 22 Oct 2024 21:33:53 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id D486210E233; Tue, 22 Oct 2024 21:33:51 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=rocketmail.com header.i=@rocketmail.com header.b="Z6YXdbNq"; dkim-atps=neutral Received: from sonic304-23.consmr.mail.ir2.yahoo.com (sonic304-23.consmr.mail.ir2.yahoo.com [77.238.179.148]) by gabe.freedesktop.org (Postfix) with ESMTPS id 8E09B10E225 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=1729632825; bh=d3PSEJTlHbO4B5aoyFLEaPY5Crw8mhVYCvAnnHlRSn8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From:Subject:Reply-To; b=Z6YXdbNqUb2wj0clYXrSl6IQWIEMdgTZN2rWEiJEKJEq69+Q3S3eoQEpAgsPRa3XzeTF6dI3hxcQ/c5jKtaZAYGwCyLHk4XngXC2sZFgDVV/ScWvY/OIkfc5nQp2C8uS4Em2g43GgEPMLgk+HGdwxd+zwka83lRtIM3hwhERyA5YflQQnrBzSa9FxKNegGZ5mDqB4raghy7bRgfGKwRFJxjLUN4EYdJWBWcU4nCblx7wCatPvtVuFeD8wp/e0N/ZRT1TGlNzR3wgmINYr0Xor3qFFNtdrsSx6R/2zlL1XKCOS/dktu7KmYiFD7wNXu5DtheUucDfvXOkWnReyXMm0Q== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1729632825; bh=OdncCgM/6kC0IYV5KHOncg9HN5JrhBIkwb+Ru/IT760=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=hnt4CGwvxoPw1Tbt2BRQvx34xODS1I+zfsSvYWfL6+mHInhJlo8r+962bQLgQgD0YPHBbaKWyPddqdJD5Gi5WR2Z91NBGenODfIPWRGoyQlc088UbZsuccairehMAX3v/1gFnbBbiELm3ISMQX7UpHas8j84qrHvGZZqLhzhie5tr4hTVfPCd2FASaR7YYTI5ywpy8ZkLOK9jxw5zCrBqnXNx4j52mL0fD74WUjBcKdMzcRCfFX8FVjyketF6IFyg2+gGLDy2frY7gb3CwjRqlS9OhOKOIHuIeUwwc44jo4sG6t//yvw1Zgebj04Nw6z0HNdBEVq+BvMMAEdx2myMg== X-YMail-OSG: GLsio1IVM1mKs4yXXBRW3KPsMmqnPkjezU.SxLtA_aeZLg_qwVKLRv.Z9sWuOgD f.0DMgZBiDjtzCe7N7xuvcZYPu1._HK7E8NPUhzHI_Gx0P2f_pgdUsitPeD3.YvXfskm71C20QNy C9.N1cM6rPvpIcH3KX6oLS0oS6gh_lInSKTx5fZzk6KSu6CDNdmuB7slHsLaCWjsNCM14p6mNxpd wBph03h98eyOrme7_2190WhuqpgxbEFrhrBcOCZZA81cGB.gW_.fvKzbYTYPEKD5NETIji4UaBq. dxcdcI3MA5H.sTsqfCYt597zjd53Buh5WrT1chAfo1walXQg88FGw0Cl3BwJgJSmy3EPjcZBu_a. BVDDFydACk0NGD78LHeG0YuKonrqaoozGY13oYdqqJxQ7haQC7meOrxeGwxRohOlESLnN3X5xPZ5 fFwE0z31oTdbnhz..OTrYFqCpY.sFlLSe8ArrcVsJxylc.4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_PAPaN1Z7MHu4_mZ 21JlmzvPsuxq1qD66r1_mxwNotNZsUizBZip4Bw9TwbQu_Ju58CqEGHQeN20SO5QcBFynxuVkLYS SLWMlyIlYw.KiLQHsHhE58_K8dL1wnEDnlczBUKGJpPtGD8gwVaV3tC96dxaz1bWMl1WuUxEswXD 18wrPe8m2lvTJfs0qGlWY1AkFxbDDp3pWXes.qAKDt70rDzGxIPLKddk7B2fxqnNRJQ265Gzt8Q. Z_uS_PI4yww0vo841HJx1CiEE2Y8RYZm4hpNYmcdPhXx4GayOpKQu73jWcx5GkCKfXbA27vdyU2R K6lyO7s2BwURIZ4pL3cuUoXqEjz40Q5d4S_ZGANcychzJZvfuAv4L95p0wVOjuWXvv9NI.a7wcK2 vjPnozKRD5TeyHDxWFCwi9jJu1VczDxVt0_a7YC3AtNKBbnFuXDDe40zRkI5Hh9d25levDDFbDkZ bd7ldJv97LJq0NxcoqqPiFRoPG3yjOQqt1AbdUgau6gDWXn.pm_REoVp.ryUY51fW7MTHPBScP0V F5QD5jq.Lkv3bhYzH1BSNtTN91tvCrCY7oqvGZfjYxuZBWtPzm1E0w5OINGN5Y0G6khH8Qbqysp8 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 sonic304.consmr.mail.ir2.yahoo.com with HTTP; Tue, 22 Oct 2024 21:33:45 +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: 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" 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.yaml 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] + 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,s6e8aa0.yaml b/Documentation/devicetree/bindings/display/panel/samsung,s6e8aa0.yaml 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: reset-gpios: true display-timings: true + flip-horizontal: true + flip-vertical: true vdd3-supply: description: core voltage supply @@ -46,14 +48,6 @@ properties: panel-height-mm: description: physical panel height [mm] - flip-horizontal: - description: boolean to flip image horizontally - type: boolean - - flip-vertical: - description: boolean to flip image vertically - type: boolean - required: - compatible - reg