Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp1695817pxp; Sun, 6 Mar 2022 23:44:54 -0800 (PST) X-Google-Smtp-Source: ABdhPJyZX/80dja6Yk4faRz7urLAGQ1EiFOXYWjfeUOZWOFnw9IMPmTV86GBZfxGVUrKlSMdAkQ7 X-Received: by 2002:a17:906:974e:b0:6bb:4f90:a6ae with SMTP id o14-20020a170906974e00b006bb4f90a6aemr8334134ejy.452.1646639094047; Sun, 06 Mar 2022 23:44:54 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1646639094; cv=pass; d=google.com; s=arc-20160816; b=xg++uCrB7BM5bqzHEorA/37DjrNIGFx0v6U8S8DBIZsSrurNe2ZTl2uRgeHh0X2oOP hw3+t3Kd7g13pnmD2rWYsO1IIj275iaRdooDLwcXkH8TxtyxFi/NL6ich3YIUuKvsX7D d8qe1PVAn7kGV6StJCGPIsIylHBiIvaAmNccVlxf8B2h2zOzA/oxyZ1unoE/TJB3N2nh G4D0oYr6DXc208TEPZvJjgquWbS8fhb2HQcniu/4fKJA+FuCggeAlxp2A08GcMYptZaL 0iIUUe+oTNqLr+Q5dBI1vH/dRNWHw42jugyzWtk+tTevSL5Nt3K4DBVi+cRXYL1s3Y5B KKNQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:in-reply-to:content-disposition :references:message-id:subject:cc:to:from:date:dkim-signature; bh=rL3k1zYyok+37rDH0cDqiBlZJn9gxyBSrAX3tsIdzCI=; b=IPSs8KxrM+owzn75zBiP1xUmDx8b3C66NUjvYmbL4YIDT8qfn+fafZWDHU2IZ5y0Wz M3MyjhebqpSA2xRqiSKp+gsO6lxERnodXu/hy4t4JOkCRABMyL2dOrmfX6iC1rA5v5Lp 0REyKHn6SfNuCfYU4mel/OlO0NUKYzZ+qbPlA7eiP0NBB6KJFON+95iZH35hqA2r7md8 X//99JvtYj2yW2S02tmuKgVew6Q5XrB1wUnYZgcsOZZZpLvneq9Y6V3SBkCqWnmD3y+4 P226lazucZPLr/Uy86JWMLLT0+WcGeMZLeAeTjox3vQ/XmUvZM2qjunEJYp7EFlj7RDb Crcg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@Analogixsemi.onmicrosoft.com header.s=selector2-Analogixsemi-onmicrosoft-com header.b=TGtkz6T5; arc=pass (i=1 spf=pass spfdomain=analogixsemi.com dkim=pass dkdomain=analogixsemi.com dmarc=pass fromdomain=analogixsemi.com); 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=analogixsemi.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id jg8-20020a170907970800b006d91b1d9e11si10088852ejc.800.2022.03.06.23.44.31; Sun, 06 Mar 2022 23:44:54 -0800 (PST) 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; dkim=pass header.i=@Analogixsemi.onmicrosoft.com header.s=selector2-Analogixsemi-onmicrosoft-com header.b=TGtkz6T5; arc=pass (i=1 spf=pass spfdomain=analogixsemi.com dkim=pass dkdomain=analogixsemi.com dmarc=pass fromdomain=analogixsemi.com); 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=analogixsemi.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235225AbiCGFKy (ORCPT + 99 others); Mon, 7 Mar 2022 00:10:54 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38266 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230215AbiCGFKx (ORCPT ); Mon, 7 Mar 2022 00:10:53 -0500 Received: from NAM10-BN7-obe.outbound.protection.outlook.com (mail-bn7nam10on2097.outbound.protection.outlook.com [40.107.92.97]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 881DA25C47; Sun, 6 Mar 2022 21:09:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=iW6ytXGzFODzv5l4NoHmHr8lm2FiU4k8Lw+EdyK+/hYG8P5MdwlxjbABprLlqoYloRr3kfBNDFvBOz3XgTt7HW3PI9UmfSmguuCzS/z6zYAuTFz1v6fa6sPfXlV6q8ycpWIvNd6e41bVsuUrus1kQZ7mua8KNu5B2Ohh+/C03VUZ6DagPnzQb8cvVI1wc2Im5YSO2HTWVADjBLa/wLOL/cFjGdWTTUUe4ZY/hJca1B6XU/QZbgJZ8PuL2EV3aTa5wttQdJ8fky/LdWBgUCJKY8u57EwvoEedjQkLhrrnu+ux0WKef1ZoQU8Tk+IXg2AlIzgllzYy6z2+cwH5Xn4vEw== 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=rL3k1zYyok+37rDH0cDqiBlZJn9gxyBSrAX3tsIdzCI=; b=Nr/DXkTu6fpLi2ezkJCLroYN051pAOPDE4bzHIbLzb6MgXatdcWEzOlRcJrCASKVSiizLNbU4E3NO6CKkrPJ7SwdLiHG83e5Y2uElj55zsVkca42dIvKIcpAHNY0J5iBs30YRXh/+SmXC9z/Cc25/BbetaYucJj8eb6NT7VnJrDbYxSFXAK1rBInSVS0TKTxnOFuiPZeBMWLzsjscjYY76yEPEfuBoPUzzwfAMBgYdtbWGuLoWYMKCtMyh31WKd/oPVQHNIMNp64AhsiFldV7cK5pkKP7UAYDTKF08pFy9fr92aOBlOq6cZ1tG2OLDZPyO80OkstQd8hY80/7GlWxA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=analogixsemi.com; dmarc=pass action=none header.from=analogixsemi.com; dkim=pass header.d=analogixsemi.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Analogixsemi.onmicrosoft.com; s=selector2-Analogixsemi-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=rL3k1zYyok+37rDH0cDqiBlZJn9gxyBSrAX3tsIdzCI=; b=TGtkz6T5xcViNEmCjsZefIvkuR7W6FIOoGdQ2OHulI9Ql7mwn7AHOQ4xo+Gp3MDkdcGq3kLrCoB9viJ969E4hP/6Ixouuxk3b8ZMWjPo+rIxrdhRssz8eByl+v7eSmZa+p8hRJR91KpmnSbfulTPVngdPkgj9ywcOZ+6N/bMijM= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=analogixsemi.com; Received: from BY5PR04MB6739.namprd04.prod.outlook.com (2603:10b6:a03:229::8) by CH2PR04MB6601.namprd04.prod.outlook.com (2603:10b6:610:6d::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5038.14; Mon, 7 Mar 2022 05:09:55 +0000 Received: from BY5PR04MB6739.namprd04.prod.outlook.com ([fe80::a865:6d10:c4a9:1142]) by BY5PR04MB6739.namprd04.prod.outlook.com ([fe80::a865:6d10:c4a9:1142%9]) with mapi id 15.20.5038.026; Mon, 7 Mar 2022 05:09:54 +0000 Date: Mon, 7 Mar 2022 13:09:45 +0800 From: Xin Ji To: Laurent Pinchart Cc: a.hajda@samsung.com, narmstrong@baylibre.com, dan.carpenter@oracle.com, robert.foss@linaro.org, jonas@kwiboo.se, jernej.skrabec@gmail.com, airlied@linux.ie, daniel@ffwll.ch, sam@ravnborg.org, pihsun@chromium.org, tzungbi@google.com, maxime@cerno.tech, drinkcat@google.com, hsinyi@chromium.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, bliang@analogixsemi.com, qwen@analogixsemi.com, robh+dt@kernel.org, devicetree@vger.kernel.org Subject: Re: [PATCH v12 3/4] drm/bridge: anx7625: add MIPI DPI input feature Message-ID: <20220307050945.GA4174176@anxtwsw-Precision-3640-Tower> References: <20211105031904.2641088-1-xji@analogixsemi.com> <20211105031904.2641088-3-xji@analogixsemi.com> <20220307032248.GA4173850@anxtwsw-Precision-3640-Tower> <20220307043249.GA4174029@anxtwsw-Precision-3640-Tower> Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-ClientProxiedBy: SG2PR0601CA0019.apcprd06.prod.outlook.com (2603:1096:3::29) To BY5PR04MB6739.namprd04.prod.outlook.com (2603:10b6:a03:229::8) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 9be1ea47-dcfe-49b1-4f30-08d9fff8b755 X-MS-TrafficTypeDiagnostic: CH2PR04MB6601:EE_ X-Microsoft-Antispam-PRVS: X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: j3votNr3Cl06rX2ZHHblK12t9kUps6woUfnejU6/w/WFChwkhP7yA5C4j3LQ433W0hbXl1lHkQcjXFrLgAAct7pqcpRoJxa6JKQp1VpjTz1ZebrstgHUQWw8ldLMctHkWqT9oytP+fATA5BVmX9j3cscLcpiq4N9Pa+k90/OiR3EpY4Ry3t9NRFrbyMYjPVNY8hZAPiH2EBTO6giju2/TnzSe51IGE31HglLsE4Db/gRzcJPW3WPzbZhwn4YDmqwsD4Uf9Dp6sfzqLdjBk9tZsar2grtxAXY/I9Tup9khM+yfvFJiJ1MUMfLNFswwsgOFs1HkAcl0ENNs7ebQzNNQT0lRO/Tlk3liaPTGHHtKHCMhCkbm/OhasVYsewnhP3Y2nt/eAG0EpzwTZL5P3Y5eETLeZ5RQ3CUobOagZabOsGJj75NBtU7JZz+tWronb51uj+++mwCBQL6D4ytrlxnBCzzCEzmFd+Md5oF1ZkT98tbVv0rXoYNlHHZJR2E6mLzqwtXiWtxg/aGEXW4eQ3lQ/K+Pds591lC3udBu/5khskKQFOrWUmlEsSoToBSJegZAQHK9nz9/nejjJYisuWlmSOnazsO0xnjcHxPvSD/CThv05I6wXdSw/RLBe5KnU8Hb4e5cbxhAK+3fKSJWe3kVKH2qAXOcJZGGUH4DvCXk213lA8yeyqAKoT6FfUuELvjY7aI6+rQYWK4FgqNgYOs1w== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:BY5PR04MB6739.namprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230001)(7916004)(366004)(66556008)(4326008)(26005)(8936002)(55236004)(6666004)(66946007)(8676002)(66476007)(7416002)(6916009)(5660300002)(186003)(83380400001)(52116002)(30864003)(1076003)(6486002)(86362001)(2906002)(6506007)(6512007)(9686003)(498600001)(33656002)(33716001)(38100700002)(38350700002);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?Aa4hcPeNHsd4XNqCzXDAzWFnZgk006iuGITFVRp28n7HCyaxNOcjIa21dqH6?= =?us-ascii?Q?tAe0PZhru6oEs3nx6NKrIyiC5f/3QUadaLkBtAYi1uxLFTq01jr+5z/jgoIK?= =?us-ascii?Q?bAdF9TVgRQ8/DLGV3l9VUk3FEvujX13c8jRnRZ8RSK2wZ4UWw1wV4kwG13/N?= =?us-ascii?Q?R1L8CVsuLTjVqTVjl7hWIdRq8mGCy5ozK0CnUmuxqVCaaYFCB8y49mmHNNxX?= =?us-ascii?Q?q/kCqCl84Xmseaq0C62GQcIc8Hpi32I1THsW9N4lCuCfdQ6W078rsKvFxaUl?= =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+R3aQds8h82Cs0LZcqCAWhurFKEBKVtW961?= =?us-ascii?Q?+fvL8TC/hbQa9evupvi6HM46O/0DB1nzDxkiFLihMQ+tziEEWMVDVMFcUSp6?= =?us-ascii?Q?7X6dmEyYmgnR73j7sBW+xG7K2r4djGwfDrVkET+TNRgjJ23mYROki/Y/ftB9?= =?us-ascii?Q?C+O3TSYk5FkPNNmw2bRYiqSHesG4pzB7Ix/6wZs0AOArJbaqZAZ9y+SP7ysU?= =?us-ascii?Q?aYpD/Ruiz6T0TYv7ZrO/bn239/dWT1inrh7P0umTvsjqxPvLKTw7neLj6wvI?= =?us-ascii?Q?EnpT4CmsQsUkCSbzKjDngCQ5jec1ryvvBBtLvB+RseA55EY1MNqkxxPGsSHn?= =?us-ascii?Q?DqdDQeR5yJbLp9D72uRDZfdTyA5ZsPBy9reivnxySVK29OYHCtKwKu/KDgRp?= =?us-ascii?Q?dSimui93zND6Rdp4F4z+K6pehIPr7B0EuQwRV6e9RsqEr9/WWPUKdv2CTmnB?= =?us-ascii?Q?a7FLu3LrrP2CGQilYWGMpGw=3D?= X-OriginatorOrg: analogixsemi.com X-MS-Exchange-CrossTenant-Network-Message-Id: 9be1ea47-dcfe-49b1-4f30-08d9fff8b755 X-MS-Exchange-CrossTenant-AuthSource: BY5PR04MB6739.namprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Mar 2022 05:09:54.6659 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: b099b0b4-f26c-4cf5-9a0f-d5be9acab205 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 1NbrKjnANw8HRiJlZAmBjsEOc96g6JjJYUjN4xk8KpVKSUnPzf+lAeiyvGA6bpGmFdImrgmtuouNdMoAIgmY2w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH2PR04MB6601 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,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 On Mon, Mar 07, 2022 at 06:47:44AM +0200, Laurent Pinchart wrote: > Hello Xin, > > On Mon, Mar 07, 2022 at 12:32:49PM +0800, Xin Ji wrote: > > On Mon, Mar 07, 2022 at 05:30:09AM +0200, Laurent Pinchart wrote: > > > On Mon, Mar 07, 2022 at 11:22:48AM +0800, Xin Ji wrote: > > > > On Sun, Mar 06, 2022 at 07:13:30PM +0200, Laurent Pinchart wrote: > > > > > Hello Xin, > > > > > > > > > > (Question for Rob below, and I'm afraid this is urgent as we need to > > > > > merge a fix in v5.17). > > > > > > > > > > On Fri, Nov 05, 2021 at 11:19:03AM +0800, Xin Ji wrote: > > > > > > The basic anx7625 driver only support MIPI DSI rx signal input. > > > > > > This patch add MIPI DPI rx input configuration support, after apply > > > > > > this patch, the driver can support DSI rx or DPI rx by adding > > > > > > 'bus-type' in DT. > > > > > > > > > > > > Reviewed-by: Robert Foss > > > > > > Signed-off-by: Xin Ji > > > > > > --- > > > > > > drivers/gpu/drm/bridge/analogix/anx7625.c | 247 ++++++++++++++++------ > > > > > > drivers/gpu/drm/bridge/analogix/anx7625.h | 18 +- > > > > > > 2 files changed, 205 insertions(+), 60 deletions(-) > > > > > > > > > > > > diff --git a/drivers/gpu/drm/bridge/analogix/anx7625.c b/drivers/gpu/drm/bridge/analogix/anx7625.c > > > > > > index f48e91134c20..f7c3386c8929 100644 > > > > > > --- a/drivers/gpu/drm/bridge/analogix/anx7625.c > > > > > > +++ b/drivers/gpu/drm/bridge/analogix/anx7625.c > > > > > > @@ -32,6 +32,7 @@ > > > > > > #include > > > > > > #include > > > > > > > > > > > > +#include > > > > > > #include