Received: by 2002:a25:f815:0:0:0:0:0 with SMTP id u21csp3295192ybd; Fri, 28 Jun 2019 06:15:47 -0700 (PDT) X-Google-Smtp-Source: APXvYqwifGEnudVKBbaxs2aEuwzTdmDA9wATB2hSMynxgptUYPrjwds4MN/ldTE2p/Y47oc0+PLE X-Received: by 2002:a17:90a:cb12:: with SMTP id z18mr12627972pjt.82.1561727747013; Fri, 28 Jun 2019 06:15:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561727747; cv=none; d=google.com; s=arc-20160816; b=WvOCSSCIooIJ78fc95jn21l5y2/yWhAqpOkCH3q/70GjS3SwR8qiZ+6RBHURIhlUWv YO03HAxQZYh9CBP6QuFc8BeCMw0oQky0Jh1yaewKx6nFFZF0OjafuJP8ibWYdKuEYGwX xH9HRRSj4334lEkUYDO+8sYRFkU5Ma3RuagKBexc6uZiJ3wTfPPh9DkecrhGQIoppAiM ZWdZZtgOH0hAIOmiGJMbl03ofO/vlQ9uGIMUL2Biu2gTqpxSXdJHOrd5zIt1rNnvFkbn J9sZjAZFmu34KUaOTbB02FW2/oI+3OP3QtAKtV+GK6Kwescknk9hFu8jQtM6FFbpsP2b pecQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=uHjO7TTlhtj0O21ox8eX2pWdNS80ji54Dy0iVyt9mok=; b=T8pdmUJ8NJqnLbY6M8ga7bDY70DLhixGGTtdHL7JB8gaU8ccnw4dfJMmTQq0f6J57e i3hoz+bPBz4cU5z7KobKPc4ys7DP2YHuXFeSeSN9D5pPMyZqwBBcPSGBHb3ugBsYYTXz y1ivDgqod1KPmBMYn2rakeXQyrvaS5oQEhHEmYFun+GS01KzAcStRVvZyev+iDqJaB7f JMFWs9dgvl6/3cH6JqXT7/LjFSvj53wBL9eJIH5A46ktcDrXEJo11bBPywPGpWhtZN9n 91Rf3BaJdX5VIowoYaHCFVDyI3dVhiTVRnce1VdDnyT3AerRCcISpYoIWcb9CIBT2FI9 ehDw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=KFvj50GS; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 2si2189597ple.275.2019.06.28.06.15.30; Fri, 28 Jun 2019 06:15:46 -0700 (PDT) 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 (test mode) header.i=@ideasonboard.com header.s=mail header.b=KFvj50GS; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726812AbfF1NPL (ORCPT + 99 others); Fri, 28 Jun 2019 09:15:11 -0400 Received: from perceval.ideasonboard.com ([213.167.242.64]:42438 "EHLO perceval.ideasonboard.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726589AbfF1NPL (ORCPT ); Fri, 28 Jun 2019 09:15:11 -0400 Received: from pendragon.ideasonboard.com (dfj612yhrgyx302h3jwwy-3.rev.dnainternet.fi [IPv6:2001:14ba:21f5:5b00:ce28:277f:58d7:3ca4]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 21C052C6; Fri, 28 Jun 2019 15:15:08 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1561727708; bh=7145QUKBec7W7Fgaw+57JcauE2A7GXu7yPRb21IHNNs=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=KFvj50GSYSf2+La1UMtMJJZCMrZky8sZhbqh/PW61gpIdGvEzLFxo+gHj9NDnBO4+ Zpb932YzsGcG5pHJMZ1HJDQbvWRCB1VTlBCtGStJyjqs1RF+W9mU4mEElKYKFsSYkA 6npyC4npJm5XPbhf+YgvsXd3o/Dr/kyCSrc9mA7Q= Date: Fri, 28 Jun 2019 16:14:49 +0300 From: Laurent Pinchart To: Xin Ji Cc: "gregkh@linuxfoundation.org" , Andrzej Hajda , "devel@driverdev.osuosl.org" , "linux-kernel@vger.kernel.org" , "sjoerd.simons@collabora.co.uk" , David Airlie , Daniel Vetter , "dri-devel@lists.freedesktop.org" , Sheng Pan Subject: Re: [PATCH v2] Adjust analogix chip driver location Message-ID: <20190628131449.GG4779@pendragon.ideasonboard.com> References: <20190628025957.GA16108@xin-VirtualBox> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20190628025957.GA16108@xin-VirtualBox> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello Xin Ji, Thank you for the patch. On Fri, Jun 28, 2019 at 03:00:05AM +0000, Xin Ji wrote: > Move analogix chip ANX78XX bridge driver into "analogix" directory. > > Signed-off-by: Xin Ji Reviewed-by: Laurent Pinchart > --- > drivers/gpu/drm/bridge/Kconfig | 10 ---------- > drivers/gpu/drm/bridge/Makefile | 3 +-- > drivers/gpu/drm/bridge/analogix/Kconfig | 10 ++++++++++ > drivers/gpu/drm/bridge/analogix/Makefile | 2 ++ > drivers/gpu/drm/bridge/{ => analogix}/analogix-anx78xx.c | 0 > drivers/gpu/drm/bridge/{ => analogix}/analogix-anx78xx.h | 0 > 6 files changed, 13 insertions(+), 12 deletions(-) > rename drivers/gpu/drm/bridge/{ => analogix}/analogix-anx78xx.c (100%) > rename drivers/gpu/drm/bridge/{ => analogix}/analogix-anx78xx.h (100%) > > diff --git a/drivers/gpu/drm/bridge/Kconfig b/drivers/gpu/drm/bridge/Kconfig > index ee77746..862789b 100644 > --- a/drivers/gpu/drm/bridge/Kconfig > +++ b/drivers/gpu/drm/bridge/Kconfig > @@ -16,16 +16,6 @@ config DRM_PANEL_BRIDGE > menu "Display Interface Bridges" > depends on DRM && DRM_BRIDGE > > -config DRM_ANALOGIX_ANX78XX > - tristate "Analogix ANX78XX bridge" > - select DRM_KMS_HELPER > - select REGMAP_I2C > - ---help--- > - ANX78XX is an ultra-low Full-HD SlimPort transmitter > - designed for portable devices. The ANX78XX transforms > - the HDMI output of an application processor to MyDP > - or DisplayPort. > - > config DRM_CDNS_DSI > tristate "Cadence DPI/DSI bridge" > select DRM_KMS_HELPER > diff --git a/drivers/gpu/drm/bridge/Makefile b/drivers/gpu/drm/bridge/Makefile > index 4934fcf..223ca5d 100644 > --- a/drivers/gpu/drm/bridge/Makefile > +++ b/drivers/gpu/drm/bridge/Makefile > @@ -1,5 +1,4 @@ > # SPDX-License-Identifier: GPL-2.0 > -obj-$(CONFIG_DRM_ANALOGIX_ANX78XX) += analogix-anx78xx.o > obj-$(CONFIG_DRM_CDNS_DSI) += cdns-dsi.o > obj-$(CONFIG_DRM_DUMB_VGA_DAC) += dumb-vga-dac.o > obj-$(CONFIG_DRM_LVDS_ENCODER) += lvds-encoder.o > @@ -12,8 +11,8 @@ obj-$(CONFIG_DRM_SII9234) += sii9234.o > obj-$(CONFIG_DRM_THINE_THC63LVD1024) += thc63lvd1024.o > obj-$(CONFIG_DRM_TOSHIBA_TC358764) += tc358764.o > obj-$(CONFIG_DRM_TOSHIBA_TC358767) += tc358767.o > -obj-$(CONFIG_DRM_ANALOGIX_DP) += analogix/ > obj-$(CONFIG_DRM_I2C_ADV7511) += adv7511/ > obj-$(CONFIG_DRM_TI_SN65DSI86) += ti-sn65dsi86.o > obj-$(CONFIG_DRM_TI_TFP410) += ti-tfp410.o > +obj-y += analogix/ > obj-y += synopsys/ > diff --git a/drivers/gpu/drm/bridge/analogix/Kconfig b/drivers/gpu/drm/bridge/analogix/Kconfig > index e930ff9..dfe84f5 100644 > --- a/drivers/gpu/drm/bridge/analogix/Kconfig > +++ b/drivers/gpu/drm/bridge/analogix/Kconfig > @@ -1,4 +1,14 @@ > # SPDX-License-Identifier: GPL-2.0-only > +config DRM_ANALOGIX_ANX78XX > + tristate "Analogix ANX78XX bridge" > + select DRM_KMS_HELPER > + select REGMAP_I2C > + ---help--- > + ANX78XX is an ultra-low Full-HD SlimPort transmitter > + designed for portable devices. The ANX78XX transforms > + the HDMI output of an application processor to MyDP > + or DisplayPort. > + > config DRM_ANALOGIX_DP > tristate > depends on DRM > diff --git a/drivers/gpu/drm/bridge/analogix/Makefile b/drivers/gpu/drm/bridge/analogix/Makefile > index fdbf3fd..d4c54ac 100644 > --- a/drivers/gpu/drm/bridge/analogix/Makefile > +++ b/drivers/gpu/drm/bridge/analogix/Makefile > @@ -1,3 +1,5 @@ > # SPDX-License-Identifier: GPL-2.0-only > +obj-$(CONFIG_DRM_ANALOGIX_ANX78XX) += analogix-anx78xx.o > + > analogix_dp-objs := analogix_dp_core.o analogix_dp_reg.o > obj-$(CONFIG_DRM_ANALOGIX_DP) += analogix_dp.o > diff --git a/drivers/gpu/drm/bridge/analogix-anx78xx.c b/drivers/gpu/drm/bridge/analogix/analogix-anx78xx.c > similarity index 100% > rename from drivers/gpu/drm/bridge/analogix-anx78xx.c > rename to drivers/gpu/drm/bridge/analogix/analogix-anx78xx.c > diff --git a/drivers/gpu/drm/bridge/analogix-anx78xx.h b/drivers/gpu/drm/bridge/analogix/analogix-anx78xx.h > similarity index 100% > rename from drivers/gpu/drm/bridge/analogix-anx78xx.h > rename to drivers/gpu/drm/bridge/analogix/analogix-anx78xx.h -- Regards, Laurent Pinchart