Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp1752025pxp; Mon, 7 Mar 2022 01:24:59 -0800 (PST) X-Google-Smtp-Source: ABdhPJzvO6DtZzDuVf9519fWV2+MDuolnZ+7fxM4ZqXElk9bdo7ULWOKoeaqeuIvdGdeZurmj954 X-Received: by 2002:a17:90a:578f:b0:1b9:b03f:c33c with SMTP id g15-20020a17090a578f00b001b9b03fc33cmr11852183pji.114.1646645098856; Mon, 07 Mar 2022 01:24:58 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1646645098; cv=pass; d=google.com; s=arc-20160816; b=JDzmCASyK2SIJj3I/FXd+OfFkXGB9SBI8G7actGt+im6pQvS16y5/e3i6YLxhNPqMD Z95XYKa4nWQAyrHjBPff6qUxghfC262oKS1st57kGi2LOptW4j1QvVT0FXb6sDxTz3po f0htkfKymGCQy8/JKWW2y75rqCib68Nlew7xDVnWJmmw9unwcqwQzhSgLVkzxeIsKe4x LxF4qyAIG69pnEUtNh05DqhG7hv+nNHrwT+EzVkHn8NW7DuFwCvnAcVN7c0ZwlbhsaOh qrSaJx0aikus4hK8x9llm50AQq4ULSDG62haQNNySsGebaJfhiB9Rq4F02OGDq7ssUnj XCow== 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=6bKljKAtQOxBClwIczBNh/WwJXwjmZKhbBqP2SCqyqM=; b=ZV3En06TvjN8FYub7U+F/iOI2QqVI0lo7SlLj+V+MmOWNuimMgCuJcBzw/lIKMFLKx sS4B4Fdj12AVMarHw6Cfw53g5r9536YMhIhhq54FGxfViH4vG6Nu9Ko36n2p0gvMsqaS uDz5cB67b4PGq868K8fUo479AB7HKfeoFBdGszYPP5LygTduFYDLdqdvUzbb8RBYOzWq twK/B1QlMZ9sXiOrBhPWGhzJl1VhzcaY/LS/0IrzPCJy408dseWK7OCqfG1ZSWAfJi/w uFDVonxbvoPFwCG9no6PPprRO/MK8YAGW+EVYTYfrodq0ST27RPg2L+TmTmGskNzosIK cC3g== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@Analogixsemi.onmicrosoft.com header.s=selector2-Analogixsemi-onmicrosoft-com header.b=vlob1hr9; 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 v1-20020a17090a634100b001bf70e72863si312472pjs.38.2022.03.07.01.24.44; Mon, 07 Mar 2022 01:24:58 -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=vlob1hr9; 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 S234966AbiCGDX5 (ORCPT + 99 others); Sun, 6 Mar 2022 22:23:57 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44852 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230080AbiCGDX4 (ORCPT ); Sun, 6 Mar 2022 22:23:56 -0500 Received: from NAM12-BN8-obe.outbound.protection.outlook.com (mail-bn8nam12on2113.outbound.protection.outlook.com [40.107.237.113]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5356D2980D; Sun, 6 Mar 2022 19:23:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=oATRpnBU3rPVmVCwNelD42QPFO7uGq3YalfGotF/XE5t6tD90yiX2Ci4rhoTCz0zx3ABO8n4oZjoclGIgB85UEUTdV0QfzJOtkgCP/gOj+XwwpYqmCL+bO7fPcOvT5ra5DbugcjrhaKIpJhUsOJ6YeAnPLuFyEDI6Vmi6mhuLW/873YPhZYzlg5unIWiCoR+PNtFN5HFNv5bF3Ku/T8Cs1o970J0zjrZvrq6O5y65XoGN3Jb19yjitIEYHRwdZiyuLTlP/lnWSpHNR57DaR94HFzLOwKYW3esSRJFzvIl/eZE2v7nLjd+Y1WLxZuSoGFCmylAX+nZnrLDHy1jA6WEQ== 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=6bKljKAtQOxBClwIczBNh/WwJXwjmZKhbBqP2SCqyqM=; b=FkLGesX2UTXvL7QNqm3o8YC82iixQPTULxjtRcdAs7YmrsJZv+iA4CZkdAhbRynfmwS7dah4slbeoYuIAnnGRttbb6lbA3gr5oXp+8bybsxfahxA76VYHfu/9J8QffNXW4zJ4IEqBSu5XI3fNh1z8ZjUp4uU4FM4WWQaylURk3UaymiJJi0Dq0Jbn18pvuNoS81q9/4g+bAdyMP5ckQOeRbg/FBYUaVixqG/4eJ19MxAdvWRv7ZeOJQ87gX5/iFpRB2RtpqRAiWE03Ni/PGcnNEoDV9101j7YXdDzVGKAkMf4nIqqexl60AaT1L4JyLNcktCX8gOODa6nn9GpeiYSA== 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=6bKljKAtQOxBClwIczBNh/WwJXwjmZKhbBqP2SCqyqM=; b=vlob1hr9j1T71G1mkNEz+q9nW2P0eW028ZZOy8tg708oTgRROPM4uRLXUnjSth6aOWffiNcWhPZXhtGL+piNgU2W/Hv/hY5f/WmJ8vQLAKWyGm0snSEgLs3ACYdhx9wuUMFPQaVTmYY6+JzsxiB2olIy+JpwzkQBwyjZe8Su/qE= 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 BN8PR04MB5649.namprd04.prod.outlook.com (2603:10b6:408:72::26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5038.17; Mon, 7 Mar 2022 03:22:58 +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 03:22:58 +0000 Date: Mon, 7 Mar 2022 11:22:48 +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: <20220307032248.GA4173850@anxtwsw-Precision-3640-Tower> References: <20211105031904.2641088-1-xji@analogixsemi.com> <20211105031904.2641088-3-xji@analogixsemi.com> Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-ClientProxiedBy: SG2PR03CA0090.apcprd03.prod.outlook.com (2603:1096:4:7c::18) 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: a15c6f80-a3d2-447d-dbf4-08d9ffe9c6a7 X-MS-TrafficTypeDiagnostic: BN8PR04MB5649: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: vzNqgPf3QA+8vlwpl34USDLEv4g/PjWULwpSLHCk+lFWkS9iXdh3H1DMV0sN/0FYvSoFq78STLQZPfZXBxj2Id52n5ABvw92TRbpMeBAjI3uwDW5o8HOcpBEXrQyoei6X85RuYw3nDWgWn+SdlNrFUMgaQL+dRdjPC6EkLiTETHFSm7nvaNZ6ny1DPGD54MXBeDai4aWpgrSD7vnkaHP2HJabrGO2H+KvGmd+zQJyo+3WfAodRu31FMvpsZ2UoZVqYU+ux7KRXV5FoHIVr2khBajyF6hR8LsyBQcMNymQc2oaZVB5sIt8Dm/PLbU+3B+DExdJMLMI1cCm9gswYAdfOS6/YeoudqGeqKYGpNIq0W/K/993TBkN71UW28hpbQjQbnA0nkN5EG3umeumLQed9YJehCrwlEA+NKwDU+ED/PsahwzpbUxdTtY5qwC0LqrqE8QORjt8PduUh2WwGdx/B3sZ8FQZ2ZF/VqYhCnOd7gIFFbNLWiaPP4ctEaS+eWCRBUStg9uBpznw24JQX+l91KsqqFFaR93/JTIlMEWGwiCLyg27as2Vtb0RpeFDN3kxlMNevT4SFMSXkxIxG+z3abR2BvJ5Wv8kQ/+vDPYDAnR9DLCzq3DJj55JQQxUXpPXq6DEJ7G0QPyLJ9tAS1buDGVK1wmk3yJYC6s8FgBmkaPCm5qeaWjCHp7oUED8WNXfh3y9EshASLLNUhl9sxAyQ== 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)(316002)(83380400001)(55236004)(33656002)(6916009)(38100700002)(38350700002)(2906002)(52116002)(6486002)(9686003)(30864003)(7416002)(66476007)(66556008)(66946007)(5660300002)(1076003)(186003)(508600001)(26005)(6512007)(6666004)(6506007)(8676002)(4326008)(33716001)(8936002)(86362001);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?65xe2635cJnlaJYoLNDMMDClCHYIYjZkx1I9w7bVE6JZLcwEK1MOqWFK3QzU?= =?us-ascii?Q?DjVFFEpYsjSOiDSb07MGxr71SUExP39MEbb5Iq8A77OWpK5NeHZyZFbFsKeV?= =?us-ascii?Q?HeePw/QbAoaix31VtqfrFlVcfGOT08ejXN7onReiBy2KrcB1qVDziWzsG31Z?= =?us-ascii?Q?kD0HW5XrgOx1sEdAWqhyPcJTInRdllzGmYfKuYFsmvLr6NbBvGBrroTZt8q/?= =?us-ascii?Q?lm1wel/tb3UF/UR2ktzDwgoSqNF9YDtnfRfocG+adPblVKZ9w8kdo4PY2aK/?= =?us-ascii?Q?TUrn2u9bwWAcy+Cb7sTmJGJb4f0ionEAaGWIYRX6vF3lK0jA32F7qFHwBuBa?= =?us-ascii?Q?rhgrhRzemQPqHonY9V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qJtL1YHkpKf?= =?us-ascii?Q?/nfaILg266t8xrjfzdB694ewwoeuK1gx9PsQUq2BS56ef0WBVor1b0Btw4Y3?= =?us-ascii?Q?WfnKzbFDSoSvxIIpQ+urMAGu0JHSOo7XpdM3yQE5jwZAa1mbwMhw3jfXmjEo?= =?us-ascii?Q?tdHz5cLVnGQM3w9v0vEIgsmzuuDnLUDvOFkXr877dW/myTmOABkjlXCU5anh?= =?us-ascii?Q?82tSu4UeMjQAH5Zigdr5uNFdqlkXRPnew3KnF/S1iJnMITdb3vEKZReN/GeN?= =?us-ascii?Q?bE7doJGjS9L5YOZ/L8kRCfaySASKLl8leeO+/haKPIZ08XMflCpbIGBQyJsZ?= =?us-ascii?Q?moyQn2mVBAebalTIoHAibqNhNwPOG53Q++mxpTtlK9Fn2TvDnyXD1M+JjdWc?= =?us-ascii?Q?gV4dgLT13a2JV85x66vc+S0=3D?= X-OriginatorOrg: analogixsemi.com X-MS-Exchange-CrossTenant-Network-Message-Id: a15c6f80-a3d2-447d-dbf4-08d9ffe9c6a7 X-MS-Exchange-CrossTenant-AuthSource: BY5PR04MB6739.namprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Mar 2022 03:22:57.9668 (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: XQxQoCZu6i8GeuaFCBTjv00W5D0/lVXXCHBDMKGFcktdkb968yMqBPc86YJBNF2iFw6yDdZgvk7O+uikYe0vag== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN8PR04MB5649 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 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