Received: by 2002:a25:f815:0:0:0:0:0 with SMTP id u21csp1982753ybd; Thu, 27 Jun 2019 04:58:29 -0700 (PDT) X-Google-Smtp-Source: APXvYqwD9YfRxBGW8C6Vp6tlOYEywNQQXnBv0Ms2ATUeys/7w9LPOdBmj6MMFZzKQlW9GFA5lB8Z X-Received: by 2002:a17:902:6ac6:: with SMTP id i6mr4207544plt.233.1561636709405; Thu, 27 Jun 2019 04:58:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561636709; cv=none; d=google.com; s=arc-20160816; b=V6wjt8cXBJ6XWud+Z6yKGcA/U67Ved+8XYXGYqADy/Khk8QRb0Tt/0xxINf843aJVi DdcMdmrhBPlG5Ru4MbO/5FbIR2jipfmFANO/hJvqxLRcmVHqI1PeEZpj/juUsfvH3YMs dn2eGk45B+sg+BP6ht5TZA8bqRtcIYhxsBnRyKYPkV1lC2TaogI6BUd9TZhg6ODzdg/m DV0htScZG4VBfnxX2yWFw9kTJy3auX3G0U6B6wmXw2kaoM3RNuuYcXhMfuKNdqp//H9W iaus59bldWqHVnoI4M2n2kTowzOPtd48G2VDZAjcPSN9SX1PoQfrDmAwbNMA5vpTzYwX N70A== 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=TxQsQdPFbLcWQuxkOo6PaukjHTRcBgEIHlffl1fUsOg=; b=t7A0EILLQp4q3xS1iWrWcWZAkeAe8L3yIuAiTOrMfefCVdl9FaTTUuRdS0yNTu7W2B RkET602KgXgNOgiIEkUmVAGb3wjck25JkmjshWNw6C8NuE3AIrf45oqteLSSclaMJB+6 vrILa1FHLENoOuiVJL9eVi40TXrelyjnGXwO8BUc+ogLqLdiakoD7QquQWfdUDIIWSYB X5vYU+/LDGwevW+xfSKk2+lrUZQIpkaNeMu3rUsvt/BITiOLLPrHu8xije64lxJD39Tv m5bpXRnDwlyJXzDHGU86zoajI2dyG0jTA0PxILEc+U3i9TiLJP3SMtJ6yMAf401UJZys IwYw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=idM4uYcx; 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 s8si2156595plq.7.2019.06.27.04.58.13; Thu, 27 Jun 2019 04:58:29 -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=idM4uYcx; 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 S1726693AbfF0L51 (ORCPT + 99 others); Thu, 27 Jun 2019 07:57:27 -0400 Received: from perceval.ideasonboard.com ([213.167.242.64]:42196 "EHLO perceval.ideasonboard.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726586AbfF0L51 (ORCPT ); Thu, 27 Jun 2019 07:57:27 -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 5711743F; Thu, 27 Jun 2019 13:57:24 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1561636644; bh=+Yw94xXBxTOU5ZeGcgeqs8j4etBdUYK7CTWY3lO0u6Q=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=idM4uYcxNxp48HTXmEn77yLKT5kmOl6KqQr6js6t9CO1AqwtMi+nl2XWUPoGY9fIY aFHFAaTw2VzNBf5187+GXWOY+RZ7Y6oYILw9Pi6v3KVAlX4zQUIyQ+gBFi6CGr0Us3 nivTk4VMazT8ksiBxzY7stSV8uFKMe++rWcTWZSw= Date: Thu, 27 Jun 2019 14:57:05 +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 v1] Adjust analogix chip driver location Message-ID: <20190627115705.GB5021@pendragon.ideasonboard.com> References: <20190627112939.GA4832@xin-VirtualBox> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20190627112939.GA4832@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 Thu, Jun 27, 2019 at 11:29:47AM +0000, Xin Ji wrote: > Move analogix chip ANX78XX bridge driver into "analogix" directory. > > Signed-off-by: Xin Ji > --- > 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..02cb4cd 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 += synopsys/ > +obj-y += analogix/ Could you place that line just above the synopsys/ directory, to have them alphabetically sorted (this could also be done while applying) ? Apart from that the patch looks good to me, so Reviewed-by: Laurent Pinchart > 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