From mboxrd@z Thu Jan 1 00:00:00 1970 From: Benjamin Herrenschmidt Subject: Re: [PATCH v5 01/10] dt-bindings: fsi: Add P9 OCC device documentation Date: Wed, 12 Sep 2018 09:56:33 +0200 Message-ID: References: <1535664761-86018-1-git-send-email-eajames@linux.vnet.ibm.com> <1535664761-86018-2-git-send-email-eajames@linux.vnet.ibm.com> <20180910181610.GA5907@bogus> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20180910181610.GA5907@bogus> Sender: linux-kernel-owner@vger.kernel.org To: Rob Herring , Eddie James Cc: linux-kernel@vger.kernel.org, linux-hwmon@vger.kernel.org, devicetree@vger.kernel.org, jdelvare@suse.com, linux-doc@vger.kernel.org, openbmc@lists.ozlabs.org, gregkh@linuxfoundation.org, mark.rutland@arm.com, linux@roeck-us.net, joel@jms.id.au List-Id: devicetree@vger.kernel.org On Mon, 2018-09-10 at 13:16 -0500, Rob Herring wrote: > On Thu, Aug 30, 2018 at 04:32:32PM -0500, Eddie James wrote: > > Document the bindings for the FSI-attached POWER9 On-Chip Controller. > > > > Signed-off-by: Eddie James > > --- > > Documentation/devicetree/bindings/fsi/ibm,p9-occ.txt | 15 +++++++++++++++ > > 1 file changed, 15 insertions(+) > > create mode 100644 Documentation/devicetree/bindings/fsi/ibm,p9-occ.txt > > > > diff --git a/Documentation/devicetree/bindings/fsi/ibm,p9-occ.txt b/Documentation/devicetree/bindings/fsi/ibm,p9-occ.txt > > new file mode 100644 > > index 0000000..46372f6 > > --- /dev/null > > +++ b/Documentation/devicetree/bindings/fsi/ibm,p9-occ.txt > > @@ -0,0 +1,15 @@ > > +Device-tree bindings for FSI-attached POWER9 On-Chip Controller (OCC) > > +--------------------------------------------------------------------- > > + > > +This is the binding for the P9 On-Chip Controller accessed over FSI from a > > +service processor. See fsi.txt for details on bindings for FSI slave and CFAM > > +nodes. > > + > > +Required properties: > > + - compatible = "ibm,p9-occ" > > + > > +Examples: > > + > > + occ { > > FSI slave devices are supposed to have an address according to the > binding doc. This isn't the FSI device per-se actually. This is a node below the "sbefifo" FSI device. The SBE fifo is the mechanism by which we communicate with the OCC. The sbefifo doesn't really define a "bus", it's mostly used from userspace directly via /dev/sbefifo* to perform various tasks in the chip, but it happens to also provide the in-kernel transport for the OCC commands. Cheers, Ben. > > + compatible = "ibm,p9-occ"; > > + }; > > -- > > 1.8.3.1 > >