Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755563AbdDEQhG (ORCPT ); Wed, 5 Apr 2017 12:37:06 -0400 Received: from merlin.infradead.org ([205.233.59.134]:54076 "EHLO merlin.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754783AbdDEQgz (ORCPT ); Wed, 5 Apr 2017 12:36:55 -0400 Subject: Re: [PATCH v5 22/23] drivers/fsi: Add hub master support To: Christopher Bostic , robh+dt@kernel.org, mark.rutland@arm.com, linux@armlinux.org.uk, rostedt@goodmis.org, mingo@redhat.com, gregkh@linuxfoundation.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org References: <20170405020607.79939-1-cbostic@linux.vnet.ibm.com> <20170405020607.79939-23-cbostic@linux.vnet.ibm.com> Cc: joel@jms.id.au, linux-kernel@vger.kernel.org, andrew@aj.id.au, alistair@popple.id.au, benh@kernel.crashing.org, Jeremy Kerr From: Randy Dunlap Message-ID: <8c841062-62e9-77c6-b0c9-e0da73cad3ac@infradead.org> Date: Wed, 5 Apr 2017 09:36:47 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: <20170405020607.79939-23-cbostic@linux.vnet.ibm.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1494 Lines: 46 On 04/04/17 19:06, Christopher Bostic wrote: > From: Chris Bostic > > Add an engine driver to expose a "hub" FSI master - which has a set of > control registers in the engine address space, and uses a chunk of the > slave address space for actual FSI communication. > > Additional changes from Jeremy Kerr . > > Signed-off-by: Chris Bostic > Signed-off-by: Jeremy Kerr > Signed-off-by: Joel Stanley > --- > drivers/fsi/Kconfig | 9 ++ > drivers/fsi/Makefile | 1 + > drivers/fsi/fsi-master-hub.c | 327 +++++++++++++++++++++++++++++++++++++++++++ > 3 files changed, 337 insertions(+) > create mode 100644 drivers/fsi/fsi-master-hub.c > > diff --git a/drivers/fsi/Kconfig b/drivers/fsi/Kconfig > index 0fa265c..e1156b4 100644 > --- a/drivers/fsi/Kconfig > +++ b/drivers/fsi/Kconfig > @@ -18,6 +18,15 @@ config FSI_MASTER_GPIO > ---help--- > This option enables a FSI master driver using GPIO lines. > > +config FSI_MASTER_HUB > + tristate "FSI hub master" > + depends on FSI redundant again. > + ---help--- > + This option enables a FSI hub master driver. Hub is a type of FSI > + master that is connected to the upstream master via a slave. Hubs > + allow chaining of FSI links to an arbitrary depth. This allows for > + a high target device fanout. > + > config FSI_SCOM > tristate "SCOM FSI client device driver" > depends on FSI -- ~Randy