Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp1757642pxp; Mon, 7 Mar 2022 01:34:25 -0800 (PST) X-Google-Smtp-Source: ABdhPJxZFEEVJ9GSo6KdfT3Z5rsACybusamCIqnUMICcwZB5hO0j7kI9y1L5fuZfVP4CIlvz/Xb2 X-Received: by 2002:a17:906:a38e:b0:6da:a1f9:f9ee with SMTP id k14-20020a170906a38e00b006daa1f9f9eemr7973560ejz.27.1646645665259; Mon, 07 Mar 2022 01:34:25 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1646645665; cv=pass; d=google.com; s=arc-20160816; b=x/WAMNF/z5h/qtozvlbKD8YYhVNxRPSX8gkZ237Bs02REa3eN7D7bEDF1QnDZ5CxTA C7/Mv+qZ7vzjMoS+jq5y7gQ3xAN4Sk8eNMQLWc2gh3OSsI5epvo8lMa1J5wz19eo3so7 YDjY3+w5WnMej/dEWPRlwckI9BwW5CX55P9mgwhV+FK+zZ3WmI5UmDvN5Kp/hkL9kmNZ gKx3CZrWgirDeXpLHKQixxrJ7cAr73gn+uSJtZY+ak96JC9BrpijFnVRYcpW1BD32rBH Eoz8JWc6IXPu5YK2KGS7Ev8omYQAGSgfFm4wGhdU+Dv4o4zee2s36DPOPHW8v64fkQ3J 6ltQ== 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=7ftFOwrkB44VhmwgOI8FJt9MU7xf5EGyXW2S7bdQHRw=; b=dftoHHsCIXvH5ElbTnIZjYTaLFQou8uJwoUVizqi1bJeKCHn9HxLde0/je4QC66zVG C0BKfQUbCYCk65FUpuv6snrQ0+GFY++O4HgtgwePyqScXu4pVnp+EwRl5afO8nJk0fz9 xWuly2xi9HBg/0QSeM63CU5xW0jZ/DCIq0F1JGGY/MIJA4smuzpcdL5ss5VMjZ3QpsWZ AsDA3Eo5snTIO6Lux+plFpevYEWhZ9iSvMoDTAOVEHHq5QNcmofQp2BGRqt/y8c4ksyf hK9iAOJOjLnGl9dIxbz8vACgaQDe6KI4R5y5NjvV6GzmmFyc5MYkrZ/gTkeRt16PNiMN HZdg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@Analogixsemi.onmicrosoft.com header.s=selector2-Analogixsemi-onmicrosoft-com header.b=oXkfE9lr; 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 m8-20020a1709062b8800b006cf723aeb54si7888499ejg.667.2022.03.07.01.34.02; Mon, 07 Mar 2022 01:34:25 -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=oXkfE9lr; 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 S235336AbiCGFhA (ORCPT + 99 others); Mon, 7 Mar 2022 00:37:00 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59720 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230457AbiCGFg5 (ORCPT ); Mon, 7 Mar 2022 00:36:57 -0500 Received: from NAM12-BN8-obe.outbound.protection.outlook.com (mail-bn8nam12on2133.outbound.protection.outlook.com [40.107.237.133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C28E45E774; Sun, 6 Mar 2022 21:36:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=G12sNS9SLWoEU9iZQxSBaRpGKgwt5oJfRFaa9YPU5f2gSsHNbx11EH9PitG9YG15Ht3D0zOCOx9hOI+hV18Z2fInkAFG+PlxjXBYGZuAMNFZJiG+dAB1d6jbYz9K6FsdNokVAhiz296nUp8va1rItCYxeOmJ25TugkmaakugzMCzMYpr1QiADLZxU9OY/l6IUmBnB5xH7qCEezgKxuMeYNi+F5+50vyrBiMkcu3jadDzBdc/jx8R5KtkipCDx74bq47bX+XQqJsnQgB8JIwo+our6wAaGkoctrjajU79zZ+QKpNEof5uu6Ujd/AxK/HRTkAElNn6W+0feUMXWNkdVA== 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=7ftFOwrkB44VhmwgOI8FJt9MU7xf5EGyXW2S7bdQHRw=; b=VwjWhvY1Sqi0O9J30do6PkrjUKa+TLzcsJWldBPmXx21pC/MARWkCb6dyptHTgkMWt/G0Fq5ZOAKZZNrdcooQ9iF0DDAnmxBTTbkzwLZmyaqXYeCpy30eaGXVss/5EkbCL4o68aHfyMpS108YxOFSEPMll1ckvT9dEisZcHMH26m4l07amTHnudo2niZ/91dtD7ZyvKXEhjJ3TDdZOl3wVQj4K66I/kyi215SWXXtYPaKQTKPjXuLhGEKNMWiIlAyxWutO9QxWTILXAC6AX4nNvuQ/XTYemgO1K2rJJq8HcTzh33/c6673puA5kUjPkbHqWbbh1efmcNwOxn4RCgLA== 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=7ftFOwrkB44VhmwgOI8FJt9MU7xf5EGyXW2S7bdQHRw=; b=oXkfE9lrIadohPRgCxtpry1e6ncrRHtzTqrlVZHZa5tBnBoezb/Lfdhb2yq+q2PCHlc1S+IcDLGAu18+tQLtMxMefvO7LMcpRctAi2HUGDnxyonsw3JKA6BHK8D+brqHJ/DDxiZ3BRReCgesGvoHSa+eCoIQI1GmS55gofEyRTU= 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 CH2PR04MB6492.namprd04.prod.outlook.com (2603:10b6:610:6e::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5038.15; Mon, 7 Mar 2022 05:35: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 05:35:58 +0000 Date: Mon, 7 Mar 2022 13:35:52 +0800 From: Xin Ji To: Hsin-Yi Wang Cc: Laurent Pinchart , 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, 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: <20220307053552.GA4174271@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> <20220307050945.GA4174176@anxtwsw-Precision-3640-Tower> Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-ClientProxiedBy: HK0PR03CA0103.apcprd03.prod.outlook.com (2603:1096:203:b0::19) 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: d4643154-1e96-4c5b-9dc0-08d9fffc5b8c X-MS-TrafficTypeDiagnostic: CH2PR04MB6492: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: Jm4ilzo9EQfKHoBDPABcMpHz3yhOAV71EiWacuSN1BJ1G58H26J7cvbzzLJo4kaSWi/l6FuvYXRnBLu6UEISDmZFYfbRBr91VhLlcXrRKIs5xH2aLu17bZGLxleNSigd1XzhuHqCwMiNQ4Iosx+4j4RUwnb8CURPzIDFaLE7Mi4Vzas7N0/k5n9b4mNbnZZhNBs/hnmxjvkL7HzT3UE+M2DzPUngVrChEtgH1x7NEtp/lScKqZeC4AgajYMfbEhxyfLBbADIoVfJsIgtqvcPuMWsl+BacX74KmMmtPV8Evj8pOxbJaO1C4V/riEyKHH8dbgMN28lv+IWnIRkzqyPoARgrcDXccwrBIraYuBc7/3diJgev3+6xFaJCkLcICVUjn3w3fVSf0JaTWQcXtNqqVTe2pphbAKoby7yfzM3iiqaAZd+TKFRrSqrB0Qv65M1yMUFp+VCTDM2yGh6CvO+jZtaOcynU6b9ETBplvwageFvlpgglPWM6iAOgcQfBUZgmPNXFvQOECvnzmtkr3JlPl+gaT/61WEcTlPi2TbmuJ1YPlU0GqDUkyqnj/+VcXZ23No8/yIv7r9gMW3ME0rIqeMkp8gAH1MhaAvghRFeE2uoDcfuhzwUDzqu0t74ddqDULe6e6j/A2fsi+1JvdtgvMfqWqjScPQcPnCrK1AKalcrnptsUce2TmXzigGkfzMjX9bIgFFahfuGZVHssntdJw== 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)(30864003)(186003)(6916009)(26005)(9686003)(6506007)(6512007)(55236004)(53546011)(66946007)(52116002)(38100700002)(8936002)(6486002)(33656002)(38350700002)(33716001)(6666004)(83380400001)(86362001)(1076003)(7416002)(498600001)(4326008)(8676002)(5660300002)(66556008)(2906002)(66476007);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?zwd+bifPK+sl6tU9g10fG7ZSYfVcI4hGqV6AjSydnbjgsFot2aTntiKGUlBL?= =?us-ascii?Q?ZZ5jBrcQ2BjbQZRdobxJUEuucRBdVOvr9XxQrvu3gaBcP7zP36+Gs02Tu59z?= =?us-ascii?Q?l0R2Py9jwIK2qVG593nXIWXwuGbTbKEZ3xL5urZIhnNlnfxI2VOQ09KJWnYX?= =?us-ascii?Q?yXMTwEs7wZ+arUeyTjV1J6WPRcJcXdV2OqeEtdDlQ9JRCFpgITsY/mBPL25Y?= =?us-ascii?Q?095wmrEqCrD6y7NuQk0NhIT5nDjI/9j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Q?VykvmGysp5I/034sFUQ5PUbtYW0Hd4P3qt+qn+lShwxT64cg2Xa0rsuTtx6d?= =?us-ascii?Q?m6V2rsJh39YVVLw7R7VRJf3y9P3/KBC9nAfDbsrlM5H73OoGSe+/QvWcdWWO?= =?us-ascii?Q?fpd1M8g8d94oaQDAw33H8YS4NX9cCOfwlGMzOxL6YHawWpnsNTxb1IacmKJi?= =?us-ascii?Q?GaedoMydVjU9PSiU46gigsbC4DALN0hvpmwzrOVLUCiW8/PmAUx76yWxYAo0?= =?us-ascii?Q?A75HLTswqKjc/Vt73PoIzW5SdPuIOCbQR7STRDKX0ODfQUUUl0+w9YbM2QFi?= =?us-ascii?Q?I2R8zNUHljNUNOf6gkA5gKP5dIrcl9J6FiuIdEqQd7ballJjUssYXfHXlv3i?= =?us-ascii?Q?wxeK7dZawDsj3sToUdrYVwTLswHi4sjx7JwKCoAoY3zALZMvWycjdktG3S9Y?= =?us-ascii?Q?pNIOuLb7Xnxf+htzrmvaCgToKsx3+t4cdrPQimi6VhZCRdMZdqx02FE8zKj5?= =?us-ascii?Q?ozPCrijia2AQbVdrLtJdbJw=3D?= X-OriginatorOrg: analogixsemi.com X-MS-Exchange-CrossTenant-Network-Message-Id: d4643154-1e96-4c5b-9dc0-08d9fffc5b8c 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:35:58.5387 (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: wXr9hCdH4EQ2cRQA/A4Edd1TKbOU9g0wUP3vi8eofuIwru2FMz4v9U49sD0sqBiTEjXLV6VOur2IFbvZfKIiBw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH2PR04MB6492 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 01:17:44PM +0800, Hsin-Yi Wang wrote: > On Mon, Mar 7, 2022 at 1:09 PM Xin Ji wrote: > > > > 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