From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753249AbdBARJs (ORCPT ); Wed, 1 Feb 2017 12:09:48 -0500 Received: from mail-wj0-f195.google.com ([209.85.210.195]:35401 "EHLO mail-wj0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753212AbdBARJq (ORCPT ); Wed, 1 Feb 2017 12:09:46 -0500 MIME-Version: 1.0 In-Reply-To: References: <1484260543-80300-1-git-send-email-christopher.lee.bostic@gmail.com> <20170118215755.xoamoc2rrzhy4kyz@rob-hp-laptop> From: Christopher Bostic Date: Wed, 1 Feb 2017 11:09:38 -0600 Message-ID: Subject: Re: [PATCH v2 15/18] drivers/fsi: Add documentation for GPIO based FSI master To: Jeremy Kerr Cc: Rob Herring , Mark Rutland , linux@armlinux.org.uk, Greg KH , Michael Turquette , geert+renesas@glider.be, Open List OF Flattened dev tree bindings , "Moderated list: ARM PORT" , Joel Stanley , Linux open list , Andrew Jeffery , Alistair Popple , Benjamin Herrenschmidt , Chris Bostic Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jan 18, 2017 at 8:11 PM, Jeremy Kerr wrote: > Hi Chris, > > From this: > >>> + >>> +The standard FSI master node >>> +---------------------------- >>> +This node describes a FSI master implmemented fully in hardware >>> +with dedicated input/output pins required for its function (i.e. >>> +not using generic GPIO pins). >>> +Required property: >>> + compatible = "ibm,fsi-master" > > and this: > >>> +Example: >>> + >>> +fsi-master { >>> + compatible = "ibm,fsi-master-gpio", "ibm,fsi-master"; >> >> From the description, these should be mutually exclusive. > > I agree with Rob here. The intention is for "ibm,fsi-master" to be an > abstract master -- simply indicating that this node describes a master, > with no specific implementation, and "ibm,fsi-master-gpio" to be a > GPIO-based implementation. A hardware-based FSI master would have a > different compatible value, based on the hardware. > > We should remove references to implementations in the "The standard FSI > master node" section, because this is independent of implementation. > Hi, OK will make that change for version 4. >>> + clk-gpios = <&gpio 0>, <&gpio 6>; >>> + data-gpios = <&gpio 1>, <&gpio 7>; >>> + enable-gpios = <&gpio 2>, <&gpio 8>; >>> + trans-gpios = <&gpio 3>, <&gpio 9>; >>> + mux-gpios = <&gpio 4>, <&gpio 10>; > > Do we support multiple-link masters? This example implies a 2-link > master. > Should we start with a single link in this case? To start off with only one link is supported by the master. Thanks > Cheers, > > > Jeremy