Received: by 2002:a25:86ce:0:0:0:0:0 with SMTP id y14csp1445947ybm; Thu, 23 May 2019 00:52:32 -0700 (PDT) X-Google-Smtp-Source: APXvYqz0QpQLWAQMq+nMlfhukCopOq8ALCGpFeDfIvAR5U5ER74WWYZqdEUa7k2x20Nkcy/YRC5G X-Received: by 2002:a17:902:1ea:: with SMTP id b97mr69271866plb.317.1558597951985; Thu, 23 May 2019 00:52:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558597951; cv=none; d=google.com; s=arc-20160816; b=nE3OQZ3xOJXoFVEsU+ptw3zro2Q4+mAbv6ifn6Lbzw2rJo3RgxwIOgVXWc7le5m2Ej q+dGXzrwqeLTBWrrVlzqab5gefYmxbv/F7TLe78i4iR31Tb0AlAjebbiA09BYiv45MiC MinpA3WNSjSY6ERDB9UL2ZBO3RjbJz7JSFIbM35/bVgmsu1tKNnSWFxIVisEUQUGHCXw UFhtAP3YBrLRgcishT39Kk/eBIL7ktoaI7kj/mUnqadbz/KCXDwpLffH4sVUe7Ita4B5 TOh3b24nB/xm6MEyy602qCEeXtFg+jAjdWCmeoDYeJGhLYxVEoFI2jv8IUTKb3gyliNI T68g== 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=JZuyt1g9JA6Ml2DfFLNGPVeqVsf/woQERLxQwSW1foE=; b=TYTCShK5N+7O2pQrnvdkvYwhKrwJ0zPZ1a9bQn4GgUyT3udTDtsQoBfz40Lx8f3wWn eAWWJK3Cuq6CC4NYt4Gk12hXuyqvoAp4TdziHoeQVZR/+kLSIr/IXXE8PViK2sS1TBRJ 8LZBPPAQGEs/Hsifp2suwlo3x8KbxyK+R0uaFUcIw8S0kWm/vcTre2WByyNtvjdsgi31 epMlZIRpYGQVL2CrxKT1pYfuLQj5AKwGtB1+5MjfJy7e4I+dO8EVW9KK2rnlPKwmuE5z 6NmdpLEKf3ii1l6kMOELoo5KLivYSBpnmWaCwb4aOJc1/9Hl+DDs2pJ/UhR4eRjPRn6y b/pQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=Xy4kUdm6; 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 q88si32027806pfa.250.2019.05.23.00.52.13; Thu, 23 May 2019 00:52:31 -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=Xy4kUdm6; 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 S1729155AbfEWHvA (ORCPT + 99 others); Thu, 23 May 2019 03:51:00 -0400 Received: from perceval.ideasonboard.com ([213.167.242.64]:39268 "EHLO perceval.ideasonboard.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726309AbfEWHu7 (ORCPT ); Thu, 23 May 2019 03:50:59 -0400 Received: from pendragon.ideasonboard.com (85-76-106-214-nat.elisa-mobile.fi [85.76.106.214]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 80B99337; Thu, 23 May 2019 09:50:56 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1558597857; bh=zsNCBZECQ0yrfz5b/Kf0LR+UbT6mYeay0fy5WNOd/V8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Xy4kUdm69ph8GVhZbB3CiV/q9G0tNbpnq3bRoGsAzYQTqFj9QRoCeEk6+5pPuK8zt gk3ivrjSTiQ90/iwbUmZ2kErM4nCl6COVNX1ZPkLEVFqbjaQGiUBIeiPIBxSVAL5ra PYkGxHqqP33p+t7/trbNc4aJp7/wa3mZ9K4L9RXg= Date: Thu, 23 May 2019 10:50:35 +0300 From: Laurent Pinchart To: Chen-Yu Tsai Cc: Torsten Duwe , Maxime Ripard , Rob Herring , Mark Rutland , Thierry Reding , David Airlie , Daniel Vetter , Andrzej Hajda , Icenowy Zheng , Sean Paul , Vasily Khoruzhick , Harald Geyer , Greg Kroah-Hartman , Thomas Gleixner , dri-devel , devicetree , linux-arm-kernel , linux-kernel Subject: Re: [PATCH 3/6] drm/bridge: extract some Analogix I2C DP common code Message-ID: <20190523075035.GA5971@pendragon.ideasonboard.com> References: <20190523065013.2719D68B05@newverein.lst.de> <20190523065352.8FD7668B05@newverein.lst.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: 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 On Thu, May 23, 2019 at 03:40:25PM +0800, Chen-Yu Tsai wrote: > On Thu, May 23, 2019 at 2:54 PM Torsten Duwe wrote: > > > > From: Icenowy Zheng > > > > Some code can be shared within different DP bridges by Analogix. > > > > Extract them to a new module. > > > > Signed-off-by: Icenowy Zheng > > Signed-off-by: Vasily Khoruzhick > > Signed-off-by: Torsten Duwe > > --- > > drivers/gpu/drm/bridge/analogix/Kconfig | 4 + > > drivers/gpu/drm/bridge/analogix/Makefile | 2 + > > drivers/gpu/drm/bridge/analogix/analogix-anx78xx.c | 146 +----------------- > > .../gpu/drm/bridge/analogix/analogix-i2c-dptx.c | 169 +++++++++++++++++++++ > > .../gpu/drm/bridge/analogix/analogix-i2c-dptx.h | 2 + > > 5 files changed, 178 insertions(+), 145 deletions(-) > > create mode 100644 drivers/gpu/drm/bridge/analogix/analogix-i2c-dptx.c > > > > ... > > > static int anx78xx_set_hpd(struct anx78xx *anx78xx) > > diff --git a/drivers/gpu/drm/bridge/analogix/analogix-i2c-dptx.c b/drivers/gpu/drm/bridge/analogix/analogix-i2c-dptx.c > > new file mode 100644 > > index 000000000000..9cb30962032e > > --- /dev/null > > +++ b/drivers/gpu/drm/bridge/analogix/analogix-i2c-dptx.c > > @@ -0,0 +1,169 @@ > > +// SPDX-License-Identifier: GPL-2.0 > > +/* > > + * Copyright(c) 2017 Icenowy Zheng > > + * > > + * Based on analogix-anx78xx.c, which is: > > + * Copyright(c) 2016, Analogix Semiconductor. All rights reserved. > > If this was simple code movement, then the original copyright still applies. > A different copyright notice should not be used. I suppose the same applies > to the module author. And likely to patch 2/6 too. -- Regards, Laurent Pinchart