Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp1151197ybg; Thu, 4 Jun 2020 02:18:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz/lYP2VI+GfWxXc1PHJZJOu1PjLhZD0zdpdDmIE3zY/4yIrfLULw0Gcz0ft6d2TIF2yuLA X-Received: by 2002:a50:fa84:: with SMTP id w4mr3400361edr.83.1591262322738; Thu, 04 Jun 2020 02:18:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591262322; cv=none; d=google.com; s=arc-20160816; b=Yvcjjb/SgIIfnQ4ItI3dvwVy2HgKfYx2yiOos9RigXeh2U0eTeYIKNCntXF0NxqTzG PjBjz/y/MiUT+GB8ak9cQcVVXmUNUL9wF9dUtv477DGJipQSuU86tIjFI36nux0ZW2Pf DFDCaXOXy43jjH0NeWSYnOjsjrvMkbMFwHRD5+2UAjYico/UY/BnIUjpUBcS3twuyGLm 8YRhg4u/CYqlgqlD3hdI17E2zavOd3rpAUqgrncxaOAGgMgHj3kQmcJ6ZVv+utkYL/xC qTjWTs23nbc+Jwa8mPcC9jYzgV8xhyWwk0oayBoQOPRb/e5l8dsw4+okQDv6rG5Lc6EC /ZhQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=PPWvkf71k9AaA50SK6ppiTMRZPEdvDPpizNCkhz/dl4=; b=SQ5FUoqlKZqPvIZU6BhOv6aqiPSx7HdawqZlxSXl5pyHQyHx42UzvM3SXIY+/4X06L LfXTa9Mz3yc/OzScKdOMuITv+e95DP9rbVhPNbb7Qhdbh6XHZ2St1iqfn+pX7GejvPIn AWiMSjhVlzITL7wmrR1LGw4yOajeR2ZjTVX/inMsMbzHUFA7SHlw2UoG4JU5CRc5N1kt NUx2gPZg3eoDx2Hr/ZnGeHaKgNGDZRR5uHM5ydpVeBX2P+mnBtRG7/+twUgS5Chditzq 4JXinNYvx7B69GwA7vLiy3CWkSzPgojvf/Ent4PL7UdsEA57R6j621vYm/cj0wz3aNws YcZg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=OwJcKhjM; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e1si1311876ejr.737.2020.06.04.02.18.19; Thu, 04 Jun 2020 02:18:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=OwJcKhjM; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726775AbgFDIIZ (ORCPT + 99 others); Thu, 4 Jun 2020 04:08:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50778 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726047AbgFDIIZ (ORCPT ); Thu, 4 Jun 2020 04:08:25 -0400 Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8B617C05BD1E for ; Thu, 4 Jun 2020 01:08:24 -0700 (PDT) Received: from pendragon.ideasonboard.com (81-175-216-236.bb.dnainternet.fi [81.175.216.236]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 7FA0D29B; Thu, 4 Jun 2020 10:08:22 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1591258102; bh=4coNEjg4WsVg220Zzldc/sLv1+eAdA0PElqDUjk3vqo=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=OwJcKhjMOw8oXeq59PE6YdJEQlMkeci7VLLm/0rNJZFY9tv48oR4mEzGQcuNyfhjj gj4jhDMtNSL5/8zdlAmxsxzy+0N9acSpnPlfxVvelaVO3mmcS4X9wVXngFl5/QNVkf 7i1NH/FyguLi7Mq8vKYJw335mM/T7e1wbK0MfEY0= Date: Thu, 4 Jun 2020 11:08:05 +0300 From: Laurent Pinchart To: Xin Ji Cc: devel@driverdev.osuosl.org, Andrzej Hajda , Nicolas Boichat , Sam Ravnborg , Neil Armstrong , Jonas Karlman , Jernej Skrabec , Hsin-Yi Wang , David Airlie , Daniel Vetter , Dan Carpenter , Nicolas Boichat , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Pi-Hsun Shih , Sheng Pan Subject: Re: [PATCH v12 2/2] drm/bridge: anx7625: Add anx7625 MIPI DSI/DPI to DP Message-ID: <20200604080805.GD5828@pendragon.ideasonboard.com> References: <6541121f0c048f3ae707de44eb45e2729af7a831.1591253353.git.xji@analogixsemi.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <6541121f0c048f3ae707de44eb45e2729af7a831.1591253353.git.xji@analogixsemi.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello Xin, Thank you for the patch. On Thu, Jun 04, 2020 at 03:58:05PM +0800, 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. > > Signed-off-by: Xin Ji > --- > drivers/gpu/drm/bridge/analogix/Kconfig | 9 + > drivers/gpu/drm/bridge/analogix/Makefile | 1 + > drivers/gpu/drm/bridge/analogix/anx7625.c | 1961 +++++++++++++++++++++++++++++ > drivers/gpu/drm/bridge/analogix/anx7625.h | 397 ++++++ > 4 files changed, 2368 insertions(+) > 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/analogix/Kconfig b/drivers/gpu/drm/bridge/analogix/Kconfig > index e1fa7d8..024ea2a 100644 > --- a/drivers/gpu/drm/bridge/analogix/Kconfig > +++ b/drivers/gpu/drm/bridge/analogix/Kconfig > @@ -25,3 +25,12 @@ config DRM_ANALOGIX_ANX78XX > config DRM_ANALOGIX_DP > tristate > depends on DRM > + > +config DRM_ANALOGIX_ANX7625 > + tristate "Analogix Anx7625 MIPI to DP interface support" > + depends on DRM > + depends on OF > + help > + ANX7625 is an ultra-low power 4K mobile HD transmitter > + designed for portable devices. It converts MIPI/DPI to > + DisplayPort1.3 4K. > diff --git a/drivers/gpu/drm/bridge/analogix/Makefile b/drivers/gpu/drm/bridge/analogix/Makefile > index 97669b3..44da392 100644 > --- a/drivers/gpu/drm/bridge/analogix/Makefile > +++ b/drivers/gpu/drm/bridge/analogix/Makefile > @@ -1,5 +1,6 @@ > # SPDX-License-Identifier: GPL-2.0-only > analogix_dp-objs := analogix_dp_core.o analogix_dp_reg.o analogix-i2c-dptx.o > obj-$(CONFIG_DRM_ANALOGIX_ANX6345) += analogix-anx6345.o > +obj-$(CONFIG_DRM_ANALOGIX_ANX7625) += anx7625.o > obj-$(CONFIG_DRM_ANALOGIX_ANX78XX) += analogix-anx78xx.o > obj-$(CONFIG_DRM_ANALOGIX_DP) += analogix_dp.o > diff --git a/drivers/gpu/drm/bridge/analogix/anx7625.c b/drivers/gpu/drm/bridge/analogix/anx7625.c > new file mode 100644 > index 0000000..f1cc6bb > --- /dev/null > +++ b/drivers/gpu/drm/bridge/analogix/anx7625.c > @@ -0,0 +1,1961 @@ > +// SPDX-License-Identifier: GPL-2.0-only > +/* > + * Copyright(c) 2020, 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