Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756929AbdLPSRj (ORCPT ); Sat, 16 Dec 2017 13:17:39 -0500 Received: from mail-oi0-f67.google.com ([209.85.218.67]:37742 "EHLO mail-oi0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753035AbdLPSRh (ORCPT ); Sat, 16 Dec 2017 13:17:37 -0500 X-Google-Smtp-Source: ACJfBotq8wyFZkOlLrzHXR2Y20iE63C2ZsQi18h2wSzW67lCZ/ky+m771hRVWx3sZhDX5O8UiTn9Tw== Date: Sat, 16 Dec 2017 12:17:33 -0600 From: Rob Herring To: Joel Stanley Cc: Mark Rutland , Arnd Bergmann , Andrew Jeffery , Patrick Venture , Xo Wang , Lei YU , =?iso-8859-1?Q?C=E9dric?= Le Goater , Benjamin Herrenschmidt , Jeremy Kerr , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-aspeed@lists.ozlabs.org Subject: Re: [PATCH v2 02/19] dt-bindings: gpio: Add ASPEED constants Message-ID: <20171216181733.r5kkxqjgyh4maymp@rob-hp-laptop> References: <20171215062443.23059-1-joel@jms.id.au> <20171215062443.23059-3-joel@jms.id.au> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20171215062443.23059-3-joel@jms.id.au> User-Agent: NeoMutt/20170609 (1.8.3) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 918 Lines: 24 On Fri, Dec 15, 2017 at 04:54:26PM +1030, Joel Stanley wrote: > These are used to by the device tree to map pin numbers to constants > required by the GPIO bindings. > > Signed-off-by: Joel Stanley > --- > arch/arm/boot/dts/aspeed-g4.dtsi | 1 + > arch/arm/boot/dts/aspeed-g5.dtsi | 1 + > include/dt-bindings/gpio/aspeed-gpio.h | 49 ++++++++++++++++++++++++++++++++++ > 3 files changed, 51 insertions(+) > create mode 100644 include/dt-bindings/gpio/aspeed-gpio.h > > diff --git a/arch/arm/boot/dts/aspeed-g4.dtsi b/arch/arm/boot/dts/aspeed-g4.dtsi > index 45d815a86d42..100d092e6c07 100644 > --- a/arch/arm/boot/dts/aspeed-g4.dtsi > +++ b/arch/arm/boot/dts/aspeed-g4.dtsi > @@ -1,5 +1,6 @@ > // SPDX-License-Identifier: GPL-2.0 > #include "skeleton.dtsi" > +#include Don't you need to use the defines? Probably should be a separate patch. Rob