From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753938AbcKRSmm (ORCPT ); Fri, 18 Nov 2016 13:42:42 -0500 Received: from mail-wm0-f52.google.com ([74.125.82.52]:37713 "EHLO mail-wm0-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752961AbcKRSmj (ORCPT ); Fri, 18 Nov 2016 13:42:39 -0500 Date: Fri, 18 Nov 2016 18:45:35 +0000 From: Lee Jones To: Andrew Jeffery , arnd@arndb.de Cc: Linus Walleij , Joel Stanley , Mark Rutland , Rob Herring , linux-gpio@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Subject: Re: [PATCH v2 3/6] mfd: dt: Add bindings for the Aspeed LPC Host Controller (LPCHC) Message-ID: <20161118184535.GE19884@dell.home> References: <1478097481-14895-1-git-send-email-andrew@aj.id.au> <1478097481-14895-4-git-send-email-andrew@aj.id.au> <20161118184437.GD19884@dell.home> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20161118184437.GD19884@dell.home> User-Agent: Mutt/1.6.2 (2016-07-01) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org [Sending Arnd this time!] > Arnd, > > Do you have a preference? > > > The Aspeed LPC Host Controller is presented as a syscon device to > > arbitrate access by LPC and pinmux drivers. LPC pinmux configuration on > > fifth generation SoCs depends on bits in both the System Control Unit > > and the LPC Host Controller. > > > > Signed-off-by: Andrew Jeffery > > --- > > Documentation/devicetree/bindings/mfd/aspeed-lpchc.txt | 17 +++++++++++++++++ > > Create a new directory in bindings/mfd called 'syscon'. > > Or perhaps 'bindings/syscon'. > > > 1 file changed, 17 insertions(+) > > create mode 100644 Documentation/devicetree/bindings/mfd/aspeed-lpchc.txt > > > > diff --git a/Documentation/devicetree/bindings/mfd/aspeed-lpchc.txt b/Documentation/devicetree/bindings/mfd/aspeed-lpchc.txt > > new file mode 100644 > > index 000000000000..792651488c3d > > --- /dev/null > > +++ b/Documentation/devicetree/bindings/mfd/aspeed-lpchc.txt > > @@ -0,0 +1,17 @@ > > +* Device tree bindings for the Aspeed LPC Host Controller (LPCHC) > > + > > +The LPCHC registers configure LPC behaviour between the BMC and the host > > +system. The LPCHC also participates in pinmux requests on g5 SoCs and is > > +therefore considered a syscon device. > > + > > +Required properties: > > +- compatible: "aspeed,ast2500-lpchc", "syscon" > > +- reg: contains offset/length value of the LPCHC memory > > + region. > > Why not just use a single tab, then you don't have to linewrap? > > > +Example: > > + > > +lpchc: lpchc@1e7890a0 { > > + compatible = "aspeed,ast2500-lpchc", "syscon"; > > + reg = <0x1e7890a0 0xc4>; > > +}; > -- Lee Jones Linaro STMicroelectronics Landing Team Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog