Received: by 2002:a05:6602:18e:0:0:0:0 with SMTP id m14csp5513996ioo; Wed, 1 Jun 2022 07:07:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwK3X7UARWaLaANlFDqhbwzOzGYode1UjLNmtCsY9Lp/Ss0ps0kJ2nsCsHSiI63F1i4OG8R X-Received: by 2002:a17:903:22cf:b0:164:ec0:1787 with SMTP id y15-20020a17090322cf00b001640ec01787mr142855plg.13.1654092462733; Wed, 01 Jun 2022 07:07:42 -0700 (PDT) Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id n3-20020a170902d2c300b00163852a9881si2843910plc.343.2022.06.01.07.07.17; Wed, 01 Jun 2022 07:07:42 -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; arc=fail (signature failed); 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=jsfamily.in Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236282AbiE3QI1 (ORCPT + 99 others); Mon, 30 May 2022 12:08:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49512 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230062AbiE3QIZ (ORCPT ); Mon, 30 May 2022 12:08:25 -0400 Received: from NAM11-CO1-obe.outbound.protection.outlook.com (mail-co1nam11olkn2020.outbound.protection.outlook.com [40.92.18.20]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A62485908D; Mon, 30 May 2022 09:08:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=KVqtkgha+dbPqTnhwLyyVh7FAzfFMk/0+NBhYxfbyW4T7hJ00owxEjS7GAjYPUy64OTvtdkRBBxdfmPtcRdA6HHeBifk5W52G/THy1rvR0n3zBnI/eeM2B6VObM9J+3hBEdrjBmv81nkyk0nQOxNH7HFtuwTb5zFBovSXzLEpfMCPcfgSFg2A9TWOZoE5CMJqW1IrI+BQWvONfe8Qu10sO0ju4GCoU9zswVB9fwg7IgcrgrOpE+6pj1cFj7DNcF3B0bblaFJQQwF2fmufzgzk7ixB2tNyAG92SMV7hjltr/eP2WzxQdKcqbG5zrhnZaL15fAeSw11fl3b6/ygeo2ug== 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=suDOP3FDgsbk3lo037gMex3JtVTcUC+7mu1TUSYdvZM=; b=DzKjz3lotJpWqfcwKoNArAKSxmoQYS4EL4DrBmxnK10k1ebUoHo7JzVW/H32uWxMcgwOb/zX8yO4O9AhmSXbxdt/IK57GY66LdWR4ZaBwSAvz3hnIpDA6HHN48z8OrRTN6YpAak2Fks902gww7fXXPtWomiGnAdCb10d2/m4VYvV01OfMxW+lJTX/rnRGT24FG+GbrVF2FaI5k5YmgZPdVN/irU2TBJCzYMxTrQTdo+kWIDezJ7O03cL0lloEp4J9e3gNcP60+5WvN8nFjdNp9aErkUVhD/5i5VfnZdVaxG3zSMxKDUC4A6mn55G7roHrXfKi7gfsSgY1k36p+sBxw== 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 BYAPR02MB5880.namprd02.prod.outlook.com (2603:10b6:a03:11d::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5293.13; Mon, 30 May 2022 16:08:21 +0000 Received: from BY5PR02MB7009.namprd02.prod.outlook.com ([fe80::303a:ab1:17c1:2d16]) by BY5PR02MB7009.namprd02.prod.outlook.com ([fe80::303a:ab1:17c1:2d16%8]) with mapi id 15.20.5293.019; Mon, 30 May 2022 16:08:21 +0000 From: Joel Selvaraj To: Thierry Reding , Sam Ravnborg , David Airlie , Daniel Vetter , Rob Herring , Stanislav Jakubek , Shawn Guo , Krzysztof Kozlowski , Corentin Labbe , Linus Walleij , Hao Fang Cc: dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, Joel Selvaraj Subject: [PATCH v3 0/3] Introduce EBBG FT8719 DRM panel driver Date: Mon, 30 May 2022 21:37:50 +0530 Message-ID: X-Mailer: git-send-email 2.36.1 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-TMN: [UF0Zb/hjgkyOnAsunSFINw15siQCBqAmyQ0qhmI3GNmUUSiBvAxAwIyxPGZY5ixI] X-ClientProxiedBy: PN2PR01CA0066.INDPRD01.PROD.OUTLOOK.COM (2603:1096:c01:23::11) To BY5PR02MB7009.namprd02.prod.outlook.com (2603:10b6:a03:236::13) X-Microsoft-Original-Message-ID: <20220530160753.100892-1-jo@jsfamily.in> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 23b5eacf-567e-4bca-82ee-08da42569e0b X-MS-TrafficTypeDiagnostic: BYAPR02MB5880:EE_ X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: fopcoA9U/zxWDysiYd1/g+L0jFjhoMSUX6NIvrMBia3AcYf0L9yiXGT/NPK9cwUq/deUFkGlUcHVCVCakptKu0+hEkGurL4wFhKkSc03sfJHlwyjQGhlG5JMZKp4aNOAou1A2oMbqbvdmLO2i2rRbQUkVplwoSTjbI7qxRtcjwMv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ascii?Q?HUooOQP34GMLWiwjeQp3Bk8JQJQ1/OxCULOdH9+GnZiYT9rri6QcE2VsKQtt?= =?us-ascii?Q?fjpYUG3UoavrFkQpPX5ZbZ0dRz1rVx8tD6XCOMAJAg44YYd6lp6ebizqG5ze?= =?us-ascii?Q?K5ULk5DT0IRQLV/JuMggGfV9GbPYzz8rzpGT8vKvn18JlskHRXr3UA=3D=3D?= X-OriginatorOrg: sct-15-20-4755-11-msonline-outlook-99c3d.templateTenant X-MS-Exchange-CrossTenant-Network-Message-Id: 23b5eacf-567e-4bca-82ee-08da42569e0b X-MS-Exchange-CrossTenant-AuthSource: BY5PR02MB7009.namprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 May 2022 16:08:21.5958 (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: BYAPR02MB5880 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE, SPF_HELO_PASS,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 Add bindings and 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. The driver is built using linux-mdss-dsi-panel-driver-generator[1], and additionally support for handling regulators and linking external backlight is added. [1] https://github.com/msm8916-mainline/linux-mdss-dsi-panel-driver-generator 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 Changes in v2: (Krzysztof Kozlowski's Suggestions) - dt-bindings: specify maxItems for reg - dt-bindings: cleanup and simplify the panel properties - dt-bindings: in example change "|+" to "|' and "dsi0" to "dsi" Joel Selvaraj (3): dt-bindings: vendor-prefixes: Add prefix for EBBG dt-bindings: display: Add bindings for EBBG FT8719 drm/panel: introduce ebbg,ft8719 panel .../bindings/display/panel/ebbg,ft8719.yaml | 74 +++++ .../devicetree/bindings/vendor-prefixes.yaml | 2 + MAINTAINERS | 7 + drivers/gpu/drm/panel/Kconfig | 11 + drivers/gpu/drm/panel/Makefile | 1 + drivers/gpu/drm/panel/panel-ebbg-ft8719.c | 296 ++++++++++++++++++ 6 files changed, 391 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/panel/ebbg,ft8719.yaml create mode 100644 drivers/gpu/drm/panel/panel-ebbg-ft8719.c -- 2.36.1