Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp2201832ybx; Fri, 8 Nov 2019 01:17:21 -0800 (PST) X-Google-Smtp-Source: APXvYqwII+AYD9Z4F6uxXSUEJb8oQOywd1on1SrH0blaTiGkum7DChmmCORvag9eNQdBYplgNbY9 X-Received: by 2002:a17:906:7e58:: with SMTP id z24mr7704543ejr.302.1573204640933; Fri, 08 Nov 2019 01:17:20 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1573204640; cv=pass; d=google.com; s=arc-20160816; b=O2M/45qGhY1FlHkxGoqjtlFZwauKyEqWC9ufzPKyM+5uqZgFKNgTGRZKTkG507Nbhj +EYjmuQtmPcJFlob8ZsS++ARy+6/CcbI49S57/qTNH62uRsZRdklCxX6fqtw8PfNHasY 0GXTW4mIgf2ZhypE/lRvE0XvkvmfBo8AvUBapfEqDWYea07pv2r2REhMu7yC7iE5ix81 LMtXtlgBFHXTTMNdqXRKsiPveQL+0NiMLt9xKSse06c1vXO0wPG5nMaFoKC1RnbVXgBu D2eolL+Kso1oi8iQ2vdnR/Pt/O4bCkYSkye+UAFyERJqjY9JVg2mT25NOYp0h7Ds97MX rXng== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-id:content-language:accept-language:in-reply-to:references :message-id:date:thread-index:thread-topic:subject:cc:to:from :dkim-signature; bh=kK6+/BSsYN+n6hRgx1eUwYRby+u41wpaEKD28mbHADI=; b=RB7SUs6PQIcZUZHOG4WeH/qh0YiZbptrbKwBRaHuU+EFO8kVxc7jrgf1hVfMAjveEm 1E7w+Rx8/i6qr8Y5CnPJL58Jy/HTQjzGRwZV284p2Gc0k8gTbe6pOiDeq+aMmEkJ4ka8 PszFdwDeW/e7IQP0GVu+rs9Z26A4hrOSfcdrdVrfOmnvHN0fMG5sjSLT2POG55dwEyd1 rcPF91j8mQqQn9lMA76u6Pij6c74bTOcmlzetxrEDH2d7v1oDpqfsFJtmGxWj+1gl6Rj n7Y3zgGU6plOE+XD8HWuCwfU8CkV0/vtcP6YBwKQdxwMGbyAs5Jsw4jd3FHlvJknsOVe 5FSg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@Analogixsemi.onmicrosoft.com header.s=selector2-Analogixsemi-onmicrosoft-com header.b=QbWyd4ES; arc=pass (i=1 spf=pass spfdomain=analogixsemi.com dkim=pass dkdomain=analogixsemi.com dmarc=pass fromdomain=analogixsemi.com); spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id gw9si3433996ejb.284.2019.11.08.01.16.56; Fri, 08 Nov 2019 01:17:20 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@Analogixsemi.onmicrosoft.com header.s=selector2-Analogixsemi-onmicrosoft-com header.b=QbWyd4ES; arc=pass (i=1 spf=pass spfdomain=analogixsemi.com dkim=pass dkdomain=analogixsemi.com dmarc=pass fromdomain=analogixsemi.com); spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 S1730623AbfKHJQL (ORCPT + 99 others); Fri, 8 Nov 2019 04:16:11 -0500 Received: from mail-eopbgr760115.outbound.protection.outlook.com ([40.107.76.115]:28233 "EHLO NAM02-CY1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1730281AbfKHJQL (ORCPT ); Fri, 8 Nov 2019 04:16:11 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ku9G+Iv9hnEdk7eZ9kaj/EImUgfKP9GQkt9By0K7y1JSMq20Y1Fy+IeLx17Ec8VRw9irETHQFKIX/YT3jKet87+XG1RATfVUaHXPE8vCEHBvlnKke77iCj0havUZeXjJBhdg31EV8sCexCu4xEtEG470Ma9pG1lrWIi2p4glXz3NUKvZwyVInG1CthxlGFu8F7bRIiQJ7P+L41JggGfHvy6+HbZMx+IRY7Jqa4TutOFcyoh22/fdUNYbVkAhEg7X+OiEbHC5fsu6VmBWJCbYb4lejQwi/+CwpUj+ihtN0WwJBLkrf5mjLRHnsZeAaMfk7QL8htN2bRdhMwBiBT2YTA== 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-SenderADCheck; bh=kK6+/BSsYN+n6hRgx1eUwYRby+u41wpaEKD28mbHADI=; b=dh3rOKSV3CBcGLQAYZ270Mx95LImJwxFGJ45g70Ts/jz1Y8PcYIRlrKDl26gTaK+xPkOLGlGV8PeYWxr9f5hs1w11PT1TCsPHl0+7RKqth9kuXzeFq1KwMsGvgkyP+HOC4dJP1qQnI4W/bpZbitQhowUOqxSmZzYFKXkq+5ICWFdapVrV1EsHZFwtKttbzYaAiCDN1znXdCORXuxXXMkBBH36nq9Mg3PUGkJaEfEGSo3PXlHDPT6M5IPOe9Y+zd0QCI0JwGMtykTnMOP5+XG3/mYTms1zbA4728pd5UnNq+mwVGSNXkB/2ZXPTQbYjWPl4s6jgW6VAJpFwHglQ4Alw== 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=kK6+/BSsYN+n6hRgx1eUwYRby+u41wpaEKD28mbHADI=; b=QbWyd4ESG0QYcrqOSPnfkV3evxROIFtaEWCzZCjGJc7m/HGd+eFfn6UUSB7gvHP491QFwBYJSf5ILF024b/nG4XOEM0na5P4O4B9NfQI3dEoLI4Z1JfpE8/ECkiE/YXf5xjsrQejIJRvZizPBJ/BMnc67dzfKGFYXBK2zBD7Lho= Received: from SN6PR04MB4543.namprd04.prod.outlook.com (52.135.120.29) by SN6PR04MB4942.namprd04.prod.outlook.com (52.135.114.87) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2430.20; Fri, 8 Nov 2019 08:56:54 +0000 Received: from SN6PR04MB4543.namprd04.prod.outlook.com ([fe80::859:2d31:1f00:fa16]) by SN6PR04MB4543.namprd04.prod.outlook.com ([fe80::859:2d31:1f00:fa16%5]) with mapi id 15.20.2430.023; Fri, 8 Nov 2019 08:56:54 +0000 From: Xin Ji To: Pi-Hsun Shih CC: "devel@driverdev.osuosl.org" , Laurent Pinchart , Dan Carpenter , Andrzej Hajda , Neil Armstrong , Jonas Karlman , Jernej Skrabec , David Airlie , Daniel Vetter , "linux-kernel@vger.kernel.org" , "dri-devel@lists.freedesktop.org" , Sheng Pan Subject: Re: [PATCH v3 2/2] drm/bridge: anx7625: Add anx7625 MIPI DSI/DPI to DP bridge driver Thread-Topic: [PATCH v3 2/2] drm/bridge: anx7625: Add anx7625 MIPI DSI/DPI to DP bridge driver Thread-Index: AQHVgz3FEfg1La630UWa2WmODKKTRaeA+yoAgAAi9gA= Date: Fri, 8 Nov 2019 08:56:53 +0000 Message-ID: <20191108085544.GA17700@xin-VirtualBox> References: <7a5ac8741df0aaeb8782a4f6235802f50ce3d39f.1571132350.git.xji@analogixsemi.com> In-Reply-To: Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: HK2PR02CA0195.apcprd02.prod.outlook.com (2603:1096:201:21::31) To SN6PR04MB4543.namprd04.prod.outlook.com (2603:10b6:805:a8::29) authentication-results: spf=none (sender IP is ) smtp.mailfrom=xji@analogixsemi.com; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [114.247.245.252] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: c0b42f8a-6745-474b-ab4f-08d7642999af x-ms-traffictypediagnostic: SN6PR04MB4942: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:7219; x-forefront-prvs: 0215D7173F x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(7916004)(396003)(366004)(376002)(136003)(39840400004)(346002)(189003)(199004)(33716001)(1076003)(71200400001)(256004)(486006)(8676002)(5024004)(54906003)(2906002)(6486002)(107886003)(6512007)(14444005)(11346002)(446003)(33656002)(6436002)(229853002)(4326008)(476003)(25786009)(102836004)(66066001)(9686003)(6246003)(8936002)(26005)(7416002)(30864003)(52116002)(7736002)(66446008)(53546011)(66476007)(66556008)(66946007)(99286004)(316002)(5660300002)(86362001)(71190400001)(186003)(305945005)(386003)(81166006)(561924002)(6916009)(81156014)(3846002)(6506007)(76176011)(14454004)(6116002)(64756008)(478600001)(569006);DIR:OUT;SFP:1102;SCL:1;SRVR:SN6PR04MB4942;H:SN6PR04MB4543.namprd04.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; received-spf: None (protection.outlook.com: analogixsemi.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: txZATQbuLPcJQH0oYxrCsLtc1vm2pjnNZDu8hM/ESoenTjxc3zMumS+k72ReKCN72ZUXAuCZkul9Xxz1Aem0MAITS6lIdbh3p9UFPqTIIEiGcx8kG3AB0jp+r/sHmh76XP7Ho+AqjzMacBgXqdbCHvjx6DjAEbrYfV/PtMy6ggFcb0Kfs5ZodaazDDDge1QFCcId87inrOnNlnb/qYkSRrgSYG5FYwUohqb7TsOhT8DGtjDQmzYYAJFOqoiymByE+wy9HCQCU079/iyaeGrtEAivy+2r16TzakKfIu2i0nbZjglBeya1OgEjS2q+63O2WUh60gL6ylohX90sLp9nR3sl3Y10On3Ly+QsPZqPKzWEgFyWXu3feY7TxP2DH6Gc1YhZqfONjYVWTjrCBrfbCtxHbEocnl28U7mHBQuPCu9qmHdZRTRH1uMY5FGP3jlO Content-Type: text/plain; charset="us-ascii" Content-ID: <55387CE78794FD4BB0CA1FDACF6A4921@namprd04.prod.outlook.com> Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: analogixsemi.com X-MS-Exchange-CrossTenant-Network-Message-Id: c0b42f8a-6745-474b-ab4f-08d7642999af X-MS-Exchange-CrossTenant-originalarrivaltime: 08 Nov 2019 08:56:54.1751 (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: fhq7oncqj6mK6m8XsSfOzWrglLhhYrgRAG6PphJfBN1ALsAn0zA1/ouWhH6UqOFva23x7msAyhDLmxag0RTuFg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN6PR04MB4942 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Pi-Hsun Shih, I'll fix the issue on version v4. Thanks, Xin On Fri, Nov 08, 2019 at 02:50:36PM +0800, Pi-Hsun Shih wrote: > Hi, >=20 > On Tue, Oct 15, 2019 at 5:52 PM Xin Ji wrote: > > > > The ANX7625 is an ultra-low power 4K Mobile HD Transmitter designed > > for portable device. It converts MIPI DSI/DPI to DisplayPort 1.3 4K. > > > > The ANX7625 can support both USB Type-C PD feature and MIPI DSI/DPI > > to DP feature. This driver only enabled MIPI DSI/DPI to DP feature. > > > > Signed-off-by: Xin Ji > > --- > > drivers/gpu/drm/bridge/Makefile | 2 +- > > drivers/gpu/drm/bridge/analogix/Kconfig | 6 + > > drivers/gpu/drm/bridge/analogix/Makefile | 1 + > > drivers/gpu/drm/bridge/analogix/anx7625.c | 2043 +++++++++++++++++++++= ++++++++ > > drivers/gpu/drm/bridge/analogix/anx7625.h | 406 ++++++ > > 5 files changed, 2457 insertions(+), 1 deletion(-) > > create mode 100644 drivers/gpu/drm/bridge/analogix/anx7625.c > > create mode 100644 drivers/gpu/drm/bridge/analogix/anx7625.h > > > > diff --git a/drivers/gpu/drm/bridge/Makefile b/drivers/gpu/drm/bridge/M= akefile > > index 4934fcf..bcd388a 100644 > > --- a/drivers/gpu/drm/bridge/Makefile > > +++ b/drivers/gpu/drm/bridge/Makefile > > @@ -12,8 +12,8 @@ obj-$(CONFIG_DRM_SII9234) +=3D sii9234.o > > obj-$(CONFIG_DRM_THINE_THC63LVD1024) +=3D thc63lvd1024.o > > obj-$(CONFIG_DRM_TOSHIBA_TC358764) +=3D tc358764.o > > obj-$(CONFIG_DRM_TOSHIBA_TC358767) +=3D tc358767.o > > -obj-$(CONFIG_DRM_ANALOGIX_DP) +=3D analogix/ > > obj-$(CONFIG_DRM_I2C_ADV7511) +=3D adv7511/ > > obj-$(CONFIG_DRM_TI_SN65DSI86) +=3D ti-sn65dsi86.o > > obj-$(CONFIG_DRM_TI_TFP410) +=3D ti-tfp410.o > > +obj-y +=3D analogix/ > > obj-y +=3D synopsys/ > > diff --git a/drivers/gpu/drm/bridge/analogix/Kconfig b/drivers/gpu/drm/= bridge/analogix/Kconfig > > index e930ff9..b2f127e 100644 > > --- a/drivers/gpu/drm/bridge/analogix/Kconfig > > +++ b/drivers/gpu/drm/bridge/analogix/Kconfig > > @@ -2,3 +2,9 @@ > > config DRM_ANALOGIX_DP > > tristate > > depends on DRM > > + > > +config ANALOGIX_ANX7625 > > + tristate "Analogix MIPI to DP interface support" > > + help > > + ANX7625 is an ultra-low power 4K mobile HD transmitter = designed > > + for portable devices. It converts MIPI/DPI to DisplayPo= rt1.3 4K. > > diff --git a/drivers/gpu/drm/bridge/analogix/Makefile b/drivers/gpu/drm= /bridge/analogix/Makefile > > index fdbf3fd..8a52867 100644 > > --- a/drivers/gpu/drm/bridge/analogix/Makefile > > +++ b/drivers/gpu/drm/bridge/analogix/Makefile > > @@ -1,3 +1,4 @@ > > # SPDX-License-Identifier: GPL-2.0-only > > +obj-$(CONFIG_ANALOGIX_ANX7625) +=3D anx7625.o > > analogix_dp-objs :=3D analogix_dp_core.o analogix_dp_reg.o > > obj-$(CONFIG_DRM_ANALOGIX_DP) +=3D analogix_dp.o > > diff --git a/drivers/gpu/drm/bridge/analogix/anx7625.c b/drivers/gpu/dr= m/bridge/analogix/anx7625.c > > new file mode 100644 > > index 0000000..456b95c > > --- /dev/null > > +++ b/drivers/gpu/drm/bridge/analogix/anx7625.c > > @@ -0,0 +1,2043 @@ > > +// SPDX-License-Identifier: GPL-2.0-only > > +/* > > + * Copyright(c) 2016, Analogix Semiconductor. All rights reserved. > > + * > > + */ > > +#include > > +#include > > +#include > > +#include > > +#include > > +#include > > +#include > > +#include > > +#include > > +#include > > +#include > > +#include > > + > > +#include > > +#include > > +#include > > + > > +#include > > +#include > > +#include > > +#include > > +#include > > +#include > > +#include > > +#include > > +#include > > + > > +#include