Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752752AbdDNPZw (ORCPT ); Fri, 14 Apr 2017 11:25:52 -0400 Received: from mail-pg0-f51.google.com ([74.125.83.51]:36352 "EHLO mail-pg0-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751462AbdDNPZt (ORCPT ); Fri, 14 Apr 2017 11:25:49 -0400 MIME-Version: 1.0 In-Reply-To: References: <20170413133242.5068-1-andrew.smirnov@gmail.com> <20170413133242.5068-7-andrew.smirnov@gmail.com> From: Andrey Smirnov Date: Fri, 14 Apr 2017 08:25:48 -0700 Message-ID: Subject: Re: [PATCH 6/8] ARM: dts: imx7d-sdb: Add GPIO expander node To: Fabio Estevam Cc: Shawn Guo , Mark Rutland , "devicetree@vger.kernel.org" , Russell King , linux-kernel , Rob Herring , Sascha Hauer , Fabio Estevam , "linux-arm-kernel@lists.infradead.org" , Andrey Yurovsky Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1033 Lines: 38 On Thu, Apr 13, 2017 at 3:20 PM, Fabio Estevam wrote: > Hi Andrey, > > On Thu, Apr 13, 2017 at 10:32 AM, Andrey Smirnov > wrote: > >> diff --git a/arch/arm/boot/dts/imx7d-sdb.dts b/arch/arm/boot/dts/imx7d-sdb.dts >> index 5be01a1..e0ff276 100644 >> --- a/arch/arm/boot/dts/imx7d-sdb.dts >> +++ b/arch/arm/boot/dts/imx7d-sdb.dts >> @@ -52,6 +52,30 @@ >> reg = <0x80000000 0x80000000>; >> }; >> >> + spi4 { > > Here you use spi4 label... > >> + compatible = "spi-gpio"; >> + pinctrl-names = "default"; >> + pinctrl-0 = <&pinctrl_spi1>; > > and here spi1, which is a bit confusing. > Agreed. It is confusing, will fix in v2. >> + status = "okay"; >> + gpio-sck = <&gpio1 13 0>; >> + gpio-mosi = <&gpio1 9 0>; >> + cs-gpios = <&gpio1 12 0>; > > You could use GPIO_ACTIVE_HIGH flag for better readability. Missed that, will fix in v2. Thanks, Andrey Smirnov