From patchwork Wed Jun 1 08:24:07 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joel Selvaraj X-Patchwork-Id: 12866515 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 DDA35C433EF for ; Wed, 1 Jun 2022 08:24:40 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 32E3110E3F2; Wed, 1 Jun 2022 08:24:40 +0000 (UTC) Received: from NAM02-SN1-obe.outbound.protection.outlook.com (mail-sn1anam02olkn2062.outbound.protection.outlook.com [40.92.44.62]) by gabe.freedesktop.org (Postfix) with ESMTPS id B5D4910E3F2 for ; Wed, 1 Jun 2022 08:24:38 +0000 (UTC) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=S9INKSJmgtm0rZdR20nFpm8QghaJzuUpV3Po/JDQ40asi3uDIqwWMAjrfPLOa6Ylz1UvZDT2OqyiX6zgYype2PE+UD/MVr7JIHgMhLWdn/L37lvYFhTHdxs0onlDdJQFGlEwRY39HJJq2h5LhV7sCLT2XqbtJDkAJ2c1q4vpgxTBix/jHIiHP8rX7WtqkeDrmuNJUnaoh/15FTpJqQeli1zlruS3oIqpYPieq9X/RLlC0R9aNQsdVIF5RCdBz1rEtEybXgTYH1hHRppjSQ5vcrY0AuBLhY7TzVdNm9o0q9WHsDXsPtUXydRJqffzYsM7BFkrGUfZestp7Qp4redGJA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=ei8gN+i9onrWCBLvKvFKiDHKHnuJ3+Z0/7MK5HP9My0=; b=dubXJxR07WSKBtmjwt0zTUO1IsD9Oh9HNooakyUjEl/P+48GY3ssQ0xKBrMr5XDW5oLP4jYUjSup7HxYlTe+1msnNR8QqvArmxaAxR12ZPIJZFhsMCTP3tPx49/zJBEJdfGTHsqWZdEn5Trz65eNCI+ywKW8GNLAiT5yuYmTIAaSs5Q8XCMi7SwoFEYSJebeU7GrWB5X9DkK5edQqJGc4u1tAbK3GuQTezWfIkzqCUvNyEEy4/orhvbVAY4lj8aQ6VcKK9BSmzeL28CGDFTQS6EX/AopR3tAd1JqFtPh/q67UbOLsKSdQ/Ph22UoAcyD/tPa6zI04m8yKWTfqg4nrg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none Received: from BY5PR02MB7009.namprd02.prod.outlook.com (2603:10b6:a03:236::13) by DM6PR02MB5708.namprd02.prod.outlook.com (2603:10b6:5:7c::31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5293.15; Wed, 1 Jun 2022 08:24:37 +0000 Received: from BY5PR02MB7009.namprd02.prod.outlook.com ([fe80::e179:40c4:4269:70e]) by BY5PR02MB7009.namprd02.prod.outlook.com ([fe80::e179:40c4:4269:70e%5]) with mapi id 15.20.5314.013; Wed, 1 Jun 2022 08:24:37 +0000 From: Joel Selvaraj To: Thierry Reding , Sam Ravnborg , David Airlie , Daniel Vetter , Rob Herring , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , Stanislav Jakubek , Shawn Guo , Krzysztof Kozlowski , Corentin Labbe , Linus Walleij , Hao Fang Subject: [PATCH v4 1/4] dt-bindings: vendor-prefixes: Add prefix for EBBG Date: Wed, 1 Jun 2022 13:54:07 +0530 Message-ID: X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220601082410.55266-1-jo@jsfamily.in> References: <20220601082410.55266-1-jo@jsfamily.in> X-TMN: [z9q69T/4OqjQIr7M5MtqWFrwypKS12oV1t5HBEWD0c8xA8Qk4/caZ36vfGQq1EdL] X-ClientProxiedBy: BM1P287CA0002.INDP287.PROD.OUTLOOK.COM (2603:1096:b00:40::13) To BY5PR02MB7009.namprd02.prod.outlook.com (2603:10b6:a03:236::13) X-Microsoft-Original-Message-ID: <20220601082410.55266-2-jo@jsfamily.in> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 1786afec-e807-4d49-ece1-08da43a82a68 X-MS-TrafficTypeDiagnostic: DM6PR02MB5708:EE_ X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: lEo29+R5PeDNMW5i/vnPNKy8JeT8w40u8ygisvteAkRxrYdNp8+5gmLOxfPOd7fYPcv8Jah5oCsAQYQ1lb5aPylFCYmFxDQf9olog0NW5PL58PZ2obDi5X3vlYz8rLubM5VGhwRvJCOhGrd9J1zNzcJ+DF0ouNWL62hWrtOmtKW2jlGBArf7c1Im6PpcjDT+7NhBBUf1rGMJ8gf2vx3Ng0B+C/54R0zGayrUgC7m0i6vqsSTJQ5Hide9rX+G/pIZNb5CaGQqML/5Mal2vKwxAtkhXvLEeX9ROP0tQSMeyRTeLZ8uQnDoBdtbIyMOmYXz38iJQyAQeqcLR8wO6E0QpGpP1lhHI64NpYrh7at3ichooO6gI/CsCuDRWyabIVOFFqexBsxvLdtQ32OyFpYO6Pk4dAqEyZ6Oaf6IQhnNYgx9T7+q0Ro+d3gbhDUnn+ewSzKLKrGLnEpK7T/6gKAOdfwayjNCVcGDOvhP+ruBMGaBYBqZ8iy/sneUhgPvugE+ANcGByhwavC0NJn0wf5oGQWvw37aEfj8dGlzo5upu4fs1Z4Cq3VKURR3+UQE1qAtkwy+WvKc/E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0pYOnN7AQ6nspzNsN9EwF2t50818Br4pVfPTgo7duE8YsFUYAgC65h1TmdogvYRxc2V+8K8dp8qCOYfJpAS9Ct4I/b5Ta6l0kOqr9oSzaRT0QC6x7ZaeQ2MjOSpiQ3zv04frQ9xJIifUzPi743ve6ivcPz3DY5PtjyDlON9Pol/+XJThJCcXQlKNgQuUDMVatFm8TBa13KX4Teu2iRU4tGoofKyuCYVbm2K8ypkBACgv33DjqWogeBzYGSoWO09dmbkMF6ITxn6/46OL0M4j7NZWV3MjYqYmEak2aloZgiO3VGw1EX2SJuS3J979TUy1kQfMNtiRUemzDVVtVzMk3EGEQXvMWb1vSCIN/KLowdiy8Lt87nLxbYxLiVTZ+jVEdCU2TpJ/4Cf/Lp/4lZvabEAgJbVVyZDUuV9A+27xRocnOmQ1tkZMz/WOe55MEfl9uC8wiLy86UPn2diYCmNZy4y3mAPnNRX+BIfnjGV3dlg== X-OriginatorOrg: sct-15-20-4755-11-msonline-outlook-99c3d.templateTenant X-MS-Exchange-CrossTenant-Network-Message-Id: 1786afec-e807-4d49-ece1-08da43a82a68 X-MS-Exchange-CrossTenant-AuthSource: BY5PR02MB7009.namprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Jun 2022 08:24:37.5962 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR02MB5708 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: , Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, Joel Selvaraj Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Add a prefix for EBBG. They manufacture displays which are used in some Xiaomi phones, but I could not find much details about the company. Signed-off-by: Joel Selvaraj Acked-by: Krzysztof Kozlowski Acked-by: Linus Walleij --- Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.yaml b/Documentation/devicetree/bindings/vendor-prefixes.yaml index 80e80fa53f8a..effd1cb995cf 100644 --- a/Documentation/devicetree/bindings/vendor-prefixes.yaml +++ b/Documentation/devicetree/bindings/vendor-prefixes.yaml @@ -337,6 +337,8 @@ patternProperties: description: Embedded Artists AB "^ebang,.*": description: Zhejiang Ebang Communication Co., Ltd + "^ebbg,.*": + description: EBBG "^ebs-systart,.*": description: EBS-SYSTART GmbH "^ebv,.*": From patchwork Wed Jun 1 08:24:08 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joel Selvaraj X-Patchwork-Id: 12866516 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 556D9C433FE for ; Wed, 1 Jun 2022 08:24:47 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id B725C10E4F6; Wed, 1 Jun 2022 08:24:46 +0000 (UTC) Received: from NAM12-BN8-obe.outbound.protection.outlook.com (mail-bn8nam12olkn2034.outbound.protection.outlook.com [40.92.21.34]) by gabe.freedesktop.org (Postfix) with ESMTPS id 7C45610E4D1 for ; Wed, 1 Jun 2022 08:24:45 +0000 (UTC) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=XBlW3kvQpLFGspHrCiKCBIPSyejGtz3h/4mB+6lyR6/9EBW8g1LvWEEu1Psqe/5Arr7g/TiRx/xjWwOQ8/4E7KX5UcR2cjhgeb9VugQTbXU7hbgyGKe/uCE5uwkODbdbi/14Uh9/cdG0qgdXm7OaUawdnk6SYr0llie8ANKhW6y/4ABQq3mElLcB2OietzGQVGGI8B6AHub+sRC4erx/qST2pdnKtj24+RlRt5tnKIB092hGPwS+XV5EJEhS1GdT0W+/cvKhHVoAJptjUxADto7gCg2fCYOkXdbr/iqwD3gMlEvD7apY5mtqy0Ev8ckOtRyyJLtp3w8Lnrq6vX39bg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=xAhCxglhjETDo1dxAJqXbFmX9hh34CCjHj2E6dHtQC0=; b=JHg1KjOe72ibGN1hBHsjGgvov77qUFvvijdT5fe/EK/xmDXgtexE/WNptOp8KxvlGU3IGatVc799ng1xBChDbSXT15u33dN0Ehnc0RrXz9OpgqqpmKABdXr43jwiovyFUIRxoS9Z9g4yJyIWudOKBeb2Wh+MP4wuGeNgA6iCH5iI6qilRv24yOz9jppUwHBJ7/HoLAEI8y+LNgEm9D9v8GTxOhk0IlNbIkwZo/vkerpAbC+ZeGYyewf14YEj1/9i5whGW4ZJkWuTJIzryDNsDV21ghF7BfeRAmbTOXR0C8vrqB1AWvMJO/DsgIY9wjqxlGu93VICb31eKfIvgbxPUA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none Received: from BY5PR02MB7009.namprd02.prod.outlook.com (2603:10b6:a03:236::13) by DM6PR02MB5708.namprd02.prod.outlook.com (2603:10b6:5:7c::31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5293.15; Wed, 1 Jun 2022 08:24:44 +0000 Received: from BY5PR02MB7009.namprd02.prod.outlook.com ([fe80::e179:40c4:4269:70e]) by BY5PR02MB7009.namprd02.prod.outlook.com ([fe80::e179:40c4:4269:70e%5]) with mapi id 15.20.5314.013; Wed, 1 Jun 2022 08:24:44 +0000 From: Joel Selvaraj To: Thierry Reding , Sam Ravnborg , David Airlie , Daniel Vetter , Rob Herring , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , Stanislav Jakubek , Shawn Guo , Krzysztof Kozlowski , Corentin Labbe , Linus Walleij , Hao Fang Subject: [PATCH v4 2/4] dt-bindings: display: Add bindings for EBBG FT8719 Date: Wed, 1 Jun 2022 13:54:08 +0530 Message-ID: X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220601082410.55266-1-jo@jsfamily.in> References: <20220601082410.55266-1-jo@jsfamily.in> X-TMN: [wESAOYkhkOs+GrHj2wd/EEN0ebDE/QSWI89BfDTMrretPz07LuCszqa6j+zKsMAS] X-ClientProxiedBy: BM1P287CA0002.INDP287.PROD.OUTLOOK.COM (2603:1096:b00:40::13) To BY5PR02MB7009.namprd02.prod.outlook.com (2603:10b6:a03:236::13) X-Microsoft-Original-Message-ID: <20220601082410.55266-3-jo@jsfamily.in> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: feb48d2a-2109-42d0-5f36-08da43a82e4b X-MS-TrafficTypeDiagnostic: DM6PR02MB5708:EE_ X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: eYQyuVBV/n59VcWWqCJjkMlr6evDUJDIi0uDu7bEJufJ9J5F2xUxCG6gCKd7feHbDGICqxNCZT2O2EKVCyxc3GldZH+Pg4hLuO6VWSEXWjtiU0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O4nrfounqcYrOmfcqx9peIwUTxCRKXCNFzfaM/nqvEFL4nDDFe1cinJsoBgHmX3nnKP0BphTCahQXlDqL7tasEANWqH6leoEcPT6egJNh1Sxt4LG0igZymbekjVFhjJL6OJDGcuBa8O8Z/9DBhJpsws36simvKtruO3pzp6NaNSEg8JGqfnbQ1mda8uvpXe45FXUPh88Yv4C0oIXKhI7K8fkXr8YqZsrVmz30j27DRy4i0x5iAQaIHUu2f2tUPhTVuy65BCd54ya5+giP1jZArMiOs41h6vgAjn8Ug8MR2KfzhFlwY7bZVBsTX+PkIk338Y4DkDbH6pAZiuKnUon6JANkiiHgXkccB2lM4RT+7SIacFMNkCU+8kuZHx5PRRi3s10nt077grLICsTxY7JvmJ5tBOXiI1mFLZt/eHH6Ye+5YNULSfd1THzierEGs8UJYqWmQLyZ0ggmFsHEXyjoKh7O4myVq4e3JQKwLMxvsNwfoc0zsxB7DyA1e1khJ/3wrnSbg5uCI8eQnqXvgdmqefeKVuuEb5+Mauw+i3ZSZEer+nsraVqYRXp89GY5pcVXT3WCdefxugXbPS9OmA96K+5bPtVexjg1Gf1FldF+1TbRJ6wbG9lDxS81DLqFn4EKL7SHEViKrtOI2x4sknmGk3oJ8F7Mhdntw/cKHb6FA9NS5WJloofBCQNOGoyfCLzdhHp349bg/iPG1EaL4BDV25mUuz7RalPPBbBRPsaIPIH46NIoKL0sC0P6z9L7DqXzoxPzy0YBJ+nxUUw30YfIlf14/loqbcaNMJAAmHgQvxwlg5IYqLrzDo8piNzfGMaTcxK2jwS2m6ts+aW7ZYALqnfvwE890VVYzCQv65cIOcCMfi/3dAOgvqHPV4srjb07QNMbGZ3GN3oyCQ1WX/uo00IMgfJvL7+wp6rsGkp56mbWXCR+5KxnJDR+a+oTkgJyNkYDvCI1iPjCiyOjjVtM39B+TRL4HZw== X-OriginatorOrg: sct-15-20-4755-11-msonline-outlook-99c3d.templateTenant X-MS-Exchange-CrossTenant-Network-Message-Id: feb48d2a-2109-42d0-5f36-08da43a82e4b X-MS-Exchange-CrossTenant-AuthSource: BY5PR02MB7009.namprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Jun 2022 08:24:44.0510 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR02MB5708 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: , Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, Joel Selvaraj Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Add bindings for the EBBG FT8719 6.18" 2246x1080 DSI video mode panel, which can be found on some Xiaomi Poco F1 phones. The backlight is managed through the QCOM WLED driver. Signed-off-by: Joel Selvaraj Reviewed-by: Krzysztof Kozlowski Reviewed-by: Linus Walleij --- Changes in v2: (Krzysztof Kozlowski's Suggestions) - Specify maxItems for reg - Cleanup and simplify the panel properties - In example change "|+" to "|' and "dsi0" to "dsi" .../bindings/display/panel/ebbg,ft8719.yaml | 74 +++++++++++++++++++ 1 file changed, 74 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/panel/ebbg,ft8719.yaml diff --git a/Documentation/devicetree/bindings/display/panel/ebbg,ft8719.yaml b/Documentation/devicetree/bindings/display/panel/ebbg,ft8719.yaml new file mode 100644 index 000000000000..80deedc01c7c --- /dev/null +++ b/Documentation/devicetree/bindings/display/panel/ebbg,ft8719.yaml @@ -0,0 +1,74 @@ +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/panel/ebbg,ft8719.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: EBBG FT8719 MIPI-DSI LCD panel + +maintainers: + - Joel Selvaraj + +description: | + The FT8719 panel from EBBG is a FHD+ LCD display panel with a resolution + of 1080x2246. It is a video mode DSI panel. The backlight is managed + through the QCOM WLED driver. + +allOf: + - $ref: panel-common.yaml# + +properties: + compatible: + const: ebbg,ft8719 + + reg: + maxItems: 1 + description: DSI virtual channel of the peripheral + + vddio-supply: + description: power IC supply regulator + + vddpos-supply: + description: positive boost supply regulator + + vddneg-supply: + description: negative boost supply regulator + +required: + - compatible + - reg + - vddio-supply + - vddpos-supply + - vddneg-supply + - reset-gpios + - port + +unevaluatedProperties: false + +examples: + - | + #include + + dsi { + #address-cells = <1>; + #size-cells = <0>; + + panel@0 { + compatible = "ebbg,ft8719"; + reg = <0>; + + vddio-supply = <&vreg_l14a_1p88>; + vddpos-supply = <&lab>; + vddneg-supply = <&ibb>; + + reset-gpios = <&tlmm 6 GPIO_ACTIVE_LOW>; + + backlight = <&pmi8998_wled>; + + port { + ebbg_ft8719_in_0: endpoint { + remote-endpoint = <&dsi0_out>; + }; + }; + }; + }; From patchwork Wed Jun 1 08:24:09 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joel Selvaraj X-Patchwork-Id: 12866517 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 9D5C7C433F5 for ; Wed, 1 Jun 2022 08:24:53 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id C988910E5C7; Wed, 1 Jun 2022 08:24:52 +0000 (UTC) Received: from NAM12-BN8-obe.outbound.protection.outlook.com (mail-bn8nam12olkn2076.outbound.protection.outlook.com [40.92.21.76]) by gabe.freedesktop.org (Postfix) with ESMTPS id BFA6210E815 for ; Wed, 1 Jun 2022 08:24:51 +0000 (UTC) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=aWvv8Ksh4B4xVg6/rw14isyQHdroTdnnY/bMlHHi1SG+4UPgp1Y2Q489DCTtvEyyG6H7EZ2yua1TVMUhZ3fFXn0AR8/MPcvK+pUdIWVW1oxHXIRo3J+R6A/DleXHGcTnGTEQUEqDziRzoFwsJi8tg/l1J9p/VoEt2nHPaJvFkPssMq1Elzaao4d5EYtHQj2xUZU20Tcc1iEzueF8a8wCD7fhoYk+TVMJBLGKpYFoD3QkV76q+13s5vxHqRI4pm2j13qTdG39AMmHFfRVc7/AdaWyiZbvHqMr+P145qOhMwZqp3PGEdZbJW5fuSxPkZMsKugzFHS9cRUfKMy9ejVN3w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=01teW4+XM3jsguNCT3YB4liWxhJyorjF+Fi212cpK3M=; b=G/gioaPbL5nOBpNFI/QeleE0wyUp5e+ATzZeTGBGv4mETt92lLSrzPlgCeH8s08EhVAJ1VTohpAimzXe+PXZnzAMuxHf/XItI02iI4BwSNFjqlKLSZmpfIx0AN/Gv1MuS5Y52EuJr4/QlMcBoAbHgo65YbwFFwx476lrJNdDW1vhfifAmCRu4IJR0mLZA92yxkYdP9VSZiEfJUSJ2KSsCBtB3o7rC0TwifVKd4yO7G+ZbWY+5Ey7eBtby5C5mcWUizNFrupxve0leNml1V5vGeqR4Y+ZTpzK+1erJnXmCZH3EVTY4X+dE+RZoYemUPPaqS1W+K0aecc6lDaNGTa7Mg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none Received: from BY5PR02MB7009.namprd02.prod.outlook.com (2603:10b6:a03:236::13) by DM6PR02MB5708.namprd02.prod.outlook.com (2603:10b6:5:7c::31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5293.15; Wed, 1 Jun 2022 08:24:50 +0000 Received: from BY5PR02MB7009.namprd02.prod.outlook.com ([fe80::e179:40c4:4269:70e]) by BY5PR02MB7009.namprd02.prod.outlook.com ([fe80::e179:40c4:4269:70e%5]) with mapi id 15.20.5314.013; Wed, 1 Jun 2022 08:24:50 +0000 From: Joel Selvaraj To: Thierry Reding , Sam Ravnborg , David Airlie , Daniel Vetter , Rob Herring , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , Stanislav Jakubek , Shawn Guo , Krzysztof Kozlowski , Corentin Labbe , Linus Walleij , Hao Fang Subject: [PATCH v4 3/4] drm/mipi-dsi: Introduce mipi_dsi_dcs_write_seq macro Date: Wed, 1 Jun 2022 13:54:09 +0530 Message-ID: X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220601082410.55266-1-jo@jsfamily.in> References: <20220601082410.55266-1-jo@jsfamily.in> X-TMN: [Q0tBwNkyvEmGCV4nie/XLHXZIc5M2wiul8t1Wm1w/sayebWJbnx6qCUBq7XH0uXR] X-ClientProxiedBy: BM1P287CA0002.INDP287.PROD.OUTLOOK.COM (2603:1096:b00:40::13) To BY5PR02MB7009.namprd02.prod.outlook.com (2603:10b6:a03:236::13) X-Microsoft-Original-Message-ID: <20220601082410.55266-4-jo@jsfamily.in> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 07683d07-c797-4476-48a7-08da43a83229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z/15OZXKKRMBWrAhRokG1iQ3y7a+e48DygxlUhThg4tQSw9uKO4rbe7kldYk2bWqeTtJftQVoNE0+VbrD5/nJ3OunKg/ajWC7GEiaXTdlJEgj3R15Q== X-OriginatorOrg: sct-15-20-4755-11-msonline-outlook-99c3d.templateTenant X-MS-Exchange-CrossTenant-Network-Message-Id: 07683d07-c797-4476-48a7-08da43a83229 X-MS-Exchange-CrossTenant-AuthSource: BY5PR02MB7009.namprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Jun 2022 08:24:50.3354 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR02MB5708 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: , Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, Joel Selvaraj Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" A helper macro that can be used to simplify sending DCS commands. It is useful in scenarios like panel initialization which can sometimes involve sending lot of DCS commands. Signed-off-by: Joel Selvaraj Reviewed-by: Linus Walleij --- Changes in v4: (Linus Walleij's Suggestion) - Introduce mipi_dsi_dcs_write_seq macro in include/drm/drm_mipi_dsi.h include/drm/drm_mipi_dsi.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/include/drm/drm_mipi_dsi.h b/include/drm/drm_mipi_dsi.h index 147e51b6d241..4a5996901689 100644 --- a/include/drm/drm_mipi_dsi.h +++ b/include/drm/drm_mipi_dsi.h @@ -293,6 +293,23 @@ int mipi_dsi_dcs_set_display_brightness(struct mipi_dsi_device *dsi, int mipi_dsi_dcs_get_display_brightness(struct mipi_dsi_device *dsi, u16 *brightness); +/** + * mipi_dsi_dcs_write_seq - transmit a DCS command with payload + * @dsi: DSI peripheral device + * @cmd: Command + * @seq: buffer containing data to be transmitted + */ +#define mipi_dsi_dcs_write_seq(dsi, cmd, seq...) do { \ + static const u8 d[] = { cmd, seq }; \ + struct device *dev = &dsi->dev; \ + int ret; \ + ret = mipi_dsi_dcs_write_buffer(dsi, d, ARRAY_SIZE(d)); \ + if (ret < 0) { \ + dev_err_ratelimited(dev, "sending command %#02x failed: %d\n", cmd, ret); \ + return ret; \ + } \ + } while (0) + /** * struct mipi_dsi_driver - DSI driver * @driver: device driver model driver From patchwork Wed Jun 1 08:24:10 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joel Selvaraj X-Patchwork-Id: 12866518 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 777B4C433F5 for ; Wed, 1 Jun 2022 08:25:00 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id C750B10E5D2; Wed, 1 Jun 2022 08:24:59 +0000 (UTC) Received: from NAM02-SN1-obe.outbound.protection.outlook.com (mail-sn1anam02olkn2039.outbound.protection.outlook.com [40.92.44.39]) by gabe.freedesktop.org (Postfix) with ESMTPS id 76A4710E5D2 for ; Wed, 1 Jun 2022 08:24:58 +0000 (UTC) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=mfMjEBU9UZepZeKuQBGmSnz1AYr1piAPeOvkUuGvAlRs8dJsGPAIZD925D8MdSPPfnYtZhf+jQm/UEdfHhWONjPOvsWMaMu+Nk1r26doX/fFVZ3lHfxBZh97ick+6kQ7GBukk2B1QpsNIcoqBvVJ/kEgx+vkPYbQ95TO8T7wtuyAoBLvtvnpXWt4UeIRH2DSnPzmp2giuObO0hEWh9hiqz2jROjVE6PDPEsZdBUAzMus92Ivjbf3+MxBXHb1JbQolcjOaa/UXp2fug43scoyuwDB2AAYOkPZkAUO8kP7Yf+NnX/emVQqNQ10xN1o0xtCw0cPFHToU8dmT38X7VZ33w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=xXkjgE7/ij07uCy1K4/F6HH/8sqap+W3ENNm0tkFWkw=; b=TQ43WSgZUIbRVnOCGvs/r+hlJkfs0ha0UrJEs/bimAgjc7YpX46bGiVKYGrh15ZyrLNXkoQNkRE9nKAVbYqs8I6BC4X3we5w7IJ7QjO6ns5bd+F+62njEFUZTaVKwAYdDLXtKdGj6yQkdqLJBIcrcjaZiRgBI0lJoAlJqtoDGvZzmcGuCoJS9ZBCKK5nPBtZap0MNI6s3DoZzzw76dV3T9EACJuhuknHoWwM8n878ylwmbkScn4/TTUyvZlBdXueo5MVgww5mtuhPZNTrV/S4OUokoWrT5V+k+gYWCfI5kjHk3m5Gce16s3SdSj2UpMWDVzMrzuHlgn9euPcrXjeeA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none Received: from BY5PR02MB7009.namprd02.prod.outlook.com (2603:10b6:a03:236::13) by DM6PR02MB5708.namprd02.prod.outlook.com (2603:10b6:5:7c::31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5293.15; Wed, 1 Jun 2022 08:24:56 +0000 Received: from BY5PR02MB7009.namprd02.prod.outlook.com ([fe80::e179:40c4:4269:70e]) by BY5PR02MB7009.namprd02.prod.outlook.com ([fe80::e179:40c4:4269:70e%5]) with mapi id 15.20.5314.013; Wed, 1 Jun 2022 08:24:56 +0000 From: Joel Selvaraj To: Thierry Reding , Sam Ravnborg , David Airlie , Daniel Vetter , Rob Herring , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , Stanislav Jakubek , Shawn Guo , Krzysztof Kozlowski , Corentin Labbe , Linus Walleij , Hao Fang Subject: [PATCH v4 4/4] drm/panel: introduce ebbg,ft8719 panel Date: Wed, 1 Jun 2022 13:54:10 +0530 Message-ID: X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220601082410.55266-1-jo@jsfamily.in> References: <20220601082410.55266-1-jo@jsfamily.in> X-TMN: [Du9j9AVJW4SvXVEPnvA69nHJTjXnhSnZ+5qevClyRqgRDGbbqPzeFKhSPnRwqkZ7] X-ClientProxiedBy: BM1P287CA0002.INDP287.PROD.OUTLOOK.COM (2603:1096:b00:40::13) To BY5PR02MB7009.namprd02.prod.outlook.com (2603:10b6:a03:236::13) X-Microsoft-Original-Message-ID: <20220601082410.55266-5-jo@jsfamily.in> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 63a3a8a5-414b-4be7-3a22-08da43a835e3 X-MS-TrafficTypeDiagnostic: DM6PR02MB5708:EE_ X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: seAbeUOLfwnYhtWzYjmyQiabYbo/lypZ5v1/oJqypZYolUEQLWvoZPALgWzFPhtmuom+ufZ+1Hg8g9AFEYix3RXooJuLxbkohft5c21F7R0Owrgso3vF25n0o4BxVMr2rTXXujTAJkobPewmBWPVMlRfPGWVi/9DGJ2bek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3ScA25gth/04IhlXFfClRmgJxMqKyGxptKQ8A5/VtFb3ca7CoR9HzfcdDMAzbhDuRsi3OP5ocQuYkQWoDowaSbRzln55BMG4jJd+4yPYWqqLCu+DxRH85gVKNL2RX+dnt8YTS9WQFSSqy0BielDdw+RjiKDQEkB9HNrWbNZcm/gEHBNfT+k+Jpw6EquyuD48i2weHZ3dKs7i5qnGPOcVZQZLNSJfG9SmvWMwYsUnSzIrCBPSZGwXlR/gt9Mxvg870ygBlTQi3qBVWp/cTH0TIalKslCaqvND29ULOYaLyHMygJtWsNSzPIQ1lJreZW/II3jxfbC+G3zEz5NHfdKwC2VtpuEQP1tPa6IW0wqPswDTaAszhqiiAZWxcO9ShfjZPDQDYWsPwXPzly4rJS7UkdKn6iBG/bU7uoIgBZBTRqQHkaRu5LJKEfXVVP+QsfgHvXNNmuL4s2mI4FbJFU41N8je2yDxR5n9OIC8MYa60gyWK2UePjj1KUBD7kcUs1LsRjJ0X2RqafuthFl8wxMR26xFJV0XKa0niq7qwuW0rZ+WH0qh/HKlajvTqLHrlVzVBHmJfz31H6vLXqkVrvKq6Je9GQZ2/Xqj9QwLA4+BO9wuNpbGfCv7va9DCTQivTE4IETveyOj04+0sAL27L00gDVqDhdVD6CYRPoZ5LtxUqwH7T3/qZExL3EpGFZwxVYC4TdEc85AitiCOpmSrEr6iad101wbl8g3QwMQZkjeBKM8CcNvHRtbhchFrA4lDE2prSuDNQ2aktxyum4ocADBDs0lSaFfbch34or+9mzc9mJxyb3POshifSb/kh/9xgLUlUBNzoP6Q7ToJSviIuatZHJ2fR0pNjFouiC6U8lCaQsWtwf+ssDCX0qB5Q== X-OriginatorOrg: sct-15-20-4755-11-msonline-outlook-99c3d.templateTenant X-MS-Exchange-CrossTenant-Network-Message-Id: 63a3a8a5-414b-4be7-3a22-08da43a835e3 X-MS-Exchange-CrossTenant-AuthSource: BY5PR02MB7009.namprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Jun 2022 08:24:56.8083 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR02MB5708 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: , Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, Joel Selvaraj Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Add DRM panel driver for EBBG FT8719 6.18" 2246x1080 DSI video mode panel, which can be found on some Xiaomi Poco F1 phones. The panel's backlight is managed through QCOM WLED driver. Signed-off-by: Joel Selvaraj Reviewed-by: Sam Ravnborg Reviewed-by: Linus Walleij --- Changes in v4: (Linus Walleij's Suggestion) - Remove the driver specific dsi_dcs_write_seq macro - Use the newly introduced mipi_dsi_dcs_write_seq macro instead Changes in v3: (Mostly Linus Walleij's Suggestions) - Removed ctx->prepared state variable as it's handled by the core - Print error in dsi_dcs_write_seq macro if it fails to write - Removed magic power on sequences as panel works fine without them MAINTAINERS | 7 + drivers/gpu/drm/panel/Kconfig | 11 + drivers/gpu/drm/panel/Makefile | 1 + drivers/gpu/drm/panel/panel-ebbg-ft8719.c | 285 ++++++++++++++++++++++ 4 files changed, 304 insertions(+) create mode 100644 drivers/gpu/drm/panel/panel-ebbg-ft8719.c diff --git a/MAINTAINERS b/MAINTAINERS index cd0f68d4a34a..dfd2c53aea00 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -6018,6 +6018,13 @@ S: Maintained F: Documentation/devicetree/bindings/display/bridge/chipone,icn6211.yaml F: drivers/gpu/drm/bridge/chipone-icn6211.c +DRM DRIVER FOR EBBG FT8719 PANEL +M: Joel Selvaraj +S: Maintained +T: git git://anongit.freedesktop.org/drm/drm-misc +F: Documentation/devicetree/bindings/display/panel/ebbg,ft8719.yaml +F: drivers/gpu/drm/panel/panel-ebbg-ft8719.c + DRM DRIVER FOR FARADAY TVE200 TV ENCODER M: Linus Walleij S: Maintained diff --git a/drivers/gpu/drm/panel/Kconfig b/drivers/gpu/drm/panel/Kconfig index 9989a316fe88..77176df2e2ec 100644 --- a/drivers/gpu/drm/panel/Kconfig +++ b/drivers/gpu/drm/panel/Kconfig @@ -114,6 +114,17 @@ config DRM_PANEL_EDP that it can be automatically turned off when the panel goes into a low power state. +config DRM_PANEL_EBBG_FT8719 + tristate "EBBG FT8719 panel driver" + depends on OF + depends on DRM_MIPI_DSI + depends on BACKLIGHT_CLASS_DEVICE + help + Say Y here if you want to enable support for the EBBG FT8719 + video mode panel. Mainly found on Xiaomi Poco F1 mobile phone. + The panel has a resolution of 1080x2246. It provides a MIPI DSI + interface to the host. + config DRM_PANEL_ELIDA_KD35T133 tristate "Elida KD35T133 panel driver" depends on OF diff --git a/drivers/gpu/drm/panel/Makefile b/drivers/gpu/drm/panel/Makefile index d99fbbce49d1..47cc20c1a770 100644 --- a/drivers/gpu/drm/panel/Makefile +++ b/drivers/gpu/drm/panel/Makefile @@ -9,6 +9,7 @@ obj-$(CONFIG_DRM_PANEL_DSI_CM) += panel-dsi-cm.o obj-$(CONFIG_DRM_PANEL_LVDS) += panel-lvds.o obj-$(CONFIG_DRM_PANEL_SIMPLE) += panel-simple.o obj-$(CONFIG_DRM_PANEL_EDP) += panel-edp.o +obj-$(CONFIG_DRM_PANEL_EBBG_FT8719) += panel-ebbg-ft8719.o obj-$(CONFIG_DRM_PANEL_ELIDA_KD35T133) += panel-elida-kd35t133.o obj-$(CONFIG_DRM_PANEL_FEIXIN_K101_IM2BA02) += panel-feixin-k101-im2ba02.o obj-$(CONFIG_DRM_PANEL_FEIYANG_FY07024DI26A30D) += panel-feiyang-fy07024di26a30d.o diff --git a/drivers/gpu/drm/panel/panel-ebbg-ft8719.c b/drivers/gpu/drm/panel/panel-ebbg-ft8719.c new file mode 100644 index 000000000000..386f8321b930 --- /dev/null +++ b/drivers/gpu/drm/panel/panel-ebbg-ft8719.c @@ -0,0 +1,285 @@ +// SPDX-License-Identifier: GPL-2.0-only +/* + * Copyright (c) 2022 Joel Selvaraj + * Generated with linux-mdss-dsi-panel-driver-generator from vendor device tree: + * Copyright (c) 2013, The Linux Foundation. All rights reserved. + */ + +#include +#include +#include +#include +#include + +#include