Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp926566ybl; Thu, 23 Jan 2020 10:15:18 -0800 (PST) X-Google-Smtp-Source: APXvYqydLgPo3cyAp+qMs1gH4zRE48iJSjnadG6k0prV52PxFu8JzIUeqGZ22v/LvLud7v8Xstrx X-Received: by 2002:a05:6830:1607:: with SMTP id g7mr12338028otr.320.1579803318360; Thu, 23 Jan 2020 10:15:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579803318; cv=none; d=google.com; s=arc-20160816; b=REDp5UrvfUM7h39oJDSnf3YQFFoey4nyTRzBw9EUT8xO9KTb1VWVwdZB58gbmLawog I6L+b2HFmH1usGS83+BRCYdpYpwk95So5b8ohhqoxWy/BuFFHVvlm62XDPL9vsrEl8uN bK/nP3Rq8+tiI9zFlURmsx1avvDuKIsy4ETOr7sHuEUIBGIbFrbR/BUKfGI/svbrMEM4 JThANJ+7sHneViCMHDIY7502gX30uKpykuk/FtIn+1TP2mJE9yvK4oq3dgalNYxmDx4O 3o1A51WoJHVMJU+RLQyjcxkHqCm+kirD53FVbBxYh6wD2gmUXo5k/XlN/f2i7DLeb9sF B2RA== 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=BXctHIsT4cA7LwN1iY3ToWEVp39NUMP8+leGJcwSBfw=; b=Abm/jThvIPxU5wZsZr/WvJUQ+7GWygWWcf8xU2vQ3eryuwHDqQtVucTdacu/0h96sP 1b2rHnRm7S3xqBFdkx0usGiRQ2w96cZQgAhMTS7peNue9MAnSC6Ce8ekR/u6yMXMm+Ev h/GBbcTEyMokiGO8YPAOA3aRe0CHiPNN17VrB0mlXXXEPYmUif7ILcaZFBWrjloJlj8U DU6v+Zo6LZdeugMAzFUOkzBSDrOxOL7HZrHxlKL/j7TsFvc6TmbgN3i3ntfW+ZhFf2ni flOYcqvOVgznFPnejfeBaKyywh9QEkM0HwId0InHiaR550ZM4zBLK4YeMekQkk024lMY 57dw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=m6asSqk7; 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 a22si176194oia.15.2020.01.23.10.15.06; Thu, 23 Jan 2020 10:15:18 -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=@kernel.org header.s=default header.b=m6asSqk7; 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 S1728853AbgAWSOF (ORCPT + 99 others); Thu, 23 Jan 2020 13:14:05 -0500 Received: from mail.kernel.org ([198.145.29.99]:32776 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727278AbgAWSOF (ORCPT ); Thu, 23 Jan 2020 13:14:05 -0500 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 193C32077C; Thu, 23 Jan 2020 18:14:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1579803244; bh=khqNxXYOqxvr10GxSY4pK/rC4A5nXWgtbLtZjysW0tM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=m6asSqk7k53NoVQqWZp5O/KT6yAK5dk9u05Hvx1NArYa4VN2Z0doJqdrcwhL1Z/4Q jiNGysgPQaUqeME0aWbfKEsBmsVQPpFzRFpZo+v9QP5m2NMrYl9w4V2uGXE81Xw42q BOh2rwfoJKb26w5YmE4sZdY5MEaK63DADyxq11Lk= Date: Thu, 23 Jan 2020 19:14:02 +0100 From: Greg KH To: Jeffrey Hugo Cc: Manivannan Sadhasivam , arnd@arndb.de, smohanad@codeaurora.org, kvalo@codeaurora.org, bjorn.andersson@linaro.org, hemantk@codeaurora.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 02/16] bus: mhi: core: Add support for registering MHI controllers Message-ID: <20200123181402.GA1897633@kroah.com> References: <20200123111836.7414-1-manivannan.sadhasivam@linaro.org> <20200123111836.7414-3-manivannan.sadhasivam@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jan 23, 2020 at 10:05:50AM -0700, Jeffrey Hugo wrote: > On 1/23/2020 4:18 AM, Manivannan Sadhasivam wrote: > > This commit adds support for registering MHI controller drivers with > > the MHI stack. MHI controller drivers manages the interaction with the > > MHI client devices such as the external modems and WiFi chipsets. They > > are also the MHI bus master in charge of managing the physical link > > between the host and client device. > > > > This is based on the patch submitted by Sujeev Dias: > > https://lkml.org/lkml/2018/7/9/987 > > > > Signed-off-by: Sujeev Dias > > Signed-off-by: Siddartha Mohanadoss > > [jhugo: added static config for controllers and fixed several bugs] > > Signed-off-by: Jeffrey Hugo > > [mani: removed DT dependency, splitted and cleaned up for upstream] > > Signed-off-by: Manivannan Sadhasivam > > --- > > drivers/bus/Kconfig | 1 + > > drivers/bus/Makefile | 3 + > > drivers/bus/mhi/Kconfig | 14 + > > drivers/bus/mhi/Makefile | 2 + > > drivers/bus/mhi/core/Makefile | 3 + > > drivers/bus/mhi/core/init.c | 404 +++++++++++++++++++++++++++++ > > drivers/bus/mhi/core/internal.h | 169 ++++++++++++ > > include/linux/mhi.h | 438 ++++++++++++++++++++++++++++++++ > > include/linux/mod_devicetable.h | 12 + > > 9 files changed, 1046 insertions(+) > > create mode 100644 drivers/bus/mhi/Kconfig > > create mode 100644 drivers/bus/mhi/Makefile > > create mode 100644 drivers/bus/mhi/core/Makefile > > create mode 100644 drivers/bus/mhi/core/init.c > > create mode 100644 drivers/bus/mhi/core/internal.h > > create mode 100644 include/linux/mhi.h > > > > diff --git a/drivers/bus/Kconfig b/drivers/bus/Kconfig > > index 50200d1c06ea..383934e54786 100644 > > --- a/drivers/bus/Kconfig > > +++ b/drivers/bus/Kconfig > > @@ -202,5 +202,6 @@ config DA8XX_MSTPRI > > peripherals. > > source "drivers/bus/fsl-mc/Kconfig" > > +source "drivers/bus/mhi/Kconfig" > > endmenu > > diff --git a/drivers/bus/Makefile b/drivers/bus/Makefile > > index 1320bcf9fa9d..05f32cd694a4 100644 > > --- a/drivers/bus/Makefile > > +++ b/drivers/bus/Makefile > > @@ -34,3 +34,6 @@ obj-$(CONFIG_UNIPHIER_SYSTEM_BUS) += uniphier-system-bus.o > > obj-$(CONFIG_VEXPRESS_CONFIG) += vexpress-config.o > > obj-$(CONFIG_DA8XX_MSTPRI) += da8xx-mstpri.o > > + > > +# MHI > > +obj-$(CONFIG_MHI_BUS) += mhi/ > > diff --git a/drivers/bus/mhi/Kconfig b/drivers/bus/mhi/Kconfig > > new file mode 100644 > > index 000000000000..a8bd9bd7db7c > > --- /dev/null > > +++ b/drivers/bus/mhi/Kconfig > > @@ -0,0 +1,14 @@ > > +# SPDX-License-Identifier: GPL-2.0 > > first time I noticed this, although I suspect this will need to be corrected > "everywhere" - > Per the SPDX website, the "GPL-2.0" label is deprecated. It's replacement > is "GPL-2.0-only". > I think all instances should be updated to "GPL-2.0-only" No, it is fine, please read Documentation/process/license-rules.rst thanks, greg k-h