Received: by 2002:ac0:98c7:0:0:0:0:0 with SMTP id g7-v6csp1319468imd; Sun, 4 Nov 2018 00:34:01 -0700 (PDT) X-Google-Smtp-Source: AJdET5eTV+9cIVT+LJUY7OXDo9tDKmkkqT9cwQeT2RKmr7EWIQ1t6HQfqDFH0J2X1mkH460JhS0+ X-Received: by 2002:a17:902:25ab:: with SMTP id y40-v6mr17618699pla.258.1541316841757; Sun, 04 Nov 2018 00:34:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1541316841; cv=none; d=google.com; s=arc-20160816; b=eU5hUxhqWkCqbinjLBBSByOz8sa2tIJ3/TAi/JCReAKlxZo1ylW6rzGSGo/XJBNje3 s1yYB24W9pSNksKt0hcAb1cWzMbS38+SovBHmGbgWLE3wY86SQ19whL8IRppBD11iLwS wXuey2ZchNNMv4E8K1Ppi80Z1wHx9q9gPxkncNKh6/6lCM7lv1SX6LM3BUorcDWZpFV+ H866f0JvskvEr+6JGBnW44cGMP+LGJ+y05ABqsoBw8sKADzWUuxx7wVUlqL25EyxRRmF au8+Lhyy3ZVy2irXynNnzaEVyR27/jy5HuTUqr2uo64fJA51o/jexkp9DZS7bi+exqjm 66KA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=8G1+/mqmjNfg1kW5rDIhTOn3/E62bYHkshde6EvELfM=; b=UvtCdDty7tzGg8astIxoKfTX+vo14SWeYNNkfGmX9QzoEW5bVudnR4pjsnXbEagL8D LL/gAx8P+6cjh44mWyWDyoXQ7qPl16BtdffAaueRZWjMu4RiY77pKIJY3cdnAGahYndK gLp0lCJcfoJQV6PttBaYEBjXX7Ops8ltEUe1bHQFe6vYwYc3xMLeYFTQdjoroS3rEqnw Qu2KL6Px7Jp91SYdmXGy3str1YxTCUniAC3RckH0XdfWGtYyjDuFmJ7KgEGOf528aW7d 1idDh7XYmJGcnkU8nYzbfAUSB5GYJT3b8Z8FvEI7CAmHYXLoNoiJmvixCH8ssdMSUl36 zoMg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=x2H8Xhj9; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w4-v6si10471118plz.153.2018.11.04.00.33.34; Sun, 04 Nov 2018 00:34:01 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=x2H8Xhj9; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728901AbeKDQrM (ORCPT + 99 others); Sun, 4 Nov 2018 11:47:12 -0500 Received: from mail.kernel.org ([198.145.29.99]:48456 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727255AbeKDQrM (ORCPT ); Sun, 4 Nov 2018 11:47:12 -0500 Received: from tiger (61-216-91-114.HINET-IP.hinet.net [61.216.91.114]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id B86B32081C; Sun, 4 Nov 2018 07:33:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1541316792; bh=qpa9I/qI2zC67HLnY01sxP9BpqwkQm+kfdEsO38oN50=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=x2H8Xhj9+8wV4YRyO4XXFO82+zKVPdloQwBSxCWpARLn7joYWricZUejPwxvyIUMz xkuBxNKwcM+dWHSgjIOy+HMhBAoP7j3K/fr8x8svyS9BZkNvAQ17cmeY7hxjBr6NcD wRMjiXWkHOHQJUOGXv+x3ceCJzrUcAsTmmHJhNbs= Date: Sun, 4 Nov 2018 15:32:52 +0800 From: Shawn Guo To: Alex Gonzalez Cc: robh+dt@kernel.org, mark.rutland@arm.com, s.hauer@pengutronix.de, kernel@pengutronix.de, fabio.estevam@nxp.com, linux-imx@nxp.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH v1] ARM: dts: imx6ul: ccimx6ulsom: Add support for wireless SOM variant Message-ID: <20181104073249.GB26016@tiger> References: <1540200443-24773-1-git-send-email-alex.gonzalez@digi.com> <1540200443-24773-2-git-send-email-alex.gonzalez@digi.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1540200443-24773-2-git-send-email-alex.gonzalez@digi.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Oct 22, 2018 at 11:27:23AM +0200, Alex Gonzalez wrote: > The wireless variants of the ConnecCore 6UL SOM include a Qualcomm > QCA6564 wireless chip with dual WiFi and Bluetooth. > > Both the ConnectCore 6UL SBC Express and Pro boards fit a wireless SOM. > > The Wifi is connected through the SDIO interface on usdhc1 and the > Bluetooth is connected via uart1. > > Signed-off-by: Alex Gonzalez > --- > arch/arm/boot/dts/imx6ul-ccimx6ulsom.dtsi | 64 +++++++++++++++++++++++++++++++ > 1 file changed, 64 insertions(+) > > diff --git a/arch/arm/boot/dts/imx6ul-ccimx6ulsom.dtsi b/arch/arm/boot/dts/imx6ul-ccimx6ulsom.dtsi > index c71a84da1af0..23bbcd4c71d1 100644 > --- a/arch/arm/boot/dts/imx6ul-ccimx6ulsom.dtsi > +++ b/arch/arm/boot/dts/imx6ul-ccimx6ulsom.dtsi > @@ -161,6 +161,25 @@ > }; > }; > > +/* UART1 (Bluetooth) */ > +&uart1 { > + pinctrl-names = "default"; > + pinctrl-0 = <&pinctrl_uart1>; > + uart-has-rtscts; > + status = "okay"; > +}; > + > +/* USDHC1 (Wireless) */ > +&usdhc1 { > + pinctrl-names = "default", "sleep"; > + pinctrl-0 = <&pinctrl_usdhc1 &pinctrl_wifibt_ctrl>; > + pinctrl-1 = <&pinctrl_usdhc1_sleep &pinctrl_wifibt_ctrl_sleep>; > + non-removable; > + no-1-8-v; > + bus-width = <4>; > + status = "okay"; > +}; > + > &iomuxc { > pinctrl_gpmi_nand: gpmigrp { > fsl,pins = < > @@ -188,6 +207,51 @@ > MX6UL_PAD_UART4_RX_DATA__I2C1_SDA 0x4001b8b0 > >; > }; The existing indentation for gpmigrp and i2c1grp is problematic. > + > + pinctrl_uart1: uart1grp { > + fsl,pins = < > + MX6UL_PAD_UART1_TX_DATA__UART1_DCE_TX 0x1b0b1 > + MX6UL_PAD_UART1_RX_DATA__UART1_DCE_RX 0x1b0b1 > + MX6UL_PAD_UART1_RTS_B__UART1_DCE_RTS 0x1b0b1 > + MX6UL_PAD_UART1_CTS_B__UART1_DCE_CTS 0x1b0b1 > + >; > + }; This indentation is what we want ... > + > + pinctrl_usdhc1: usdhc1grp { > + fsl,pins = < > + MX6UL_PAD_SD1_CMD__USDHC1_CMD 0x17059 > + MX6UL_PAD_SD1_CLK__USDHC1_CLK 0x17051 > + MX6UL_PAD_SD1_DATA0__USDHC1_DATA0 0x17059 > + MX6UL_PAD_SD1_DATA1__USDHC1_DATA1 0x17059 > + MX6UL_PAD_SD1_DATA2__USDHC1_DATA2 0x17059 > + MX6UL_PAD_SD1_DATA3__USDHC1_DATA3 0x17059 > + >; > + }; > + ... so please follow uart1grp style for all entries you are adding. Shawn > + pinctrl_usdhc1_sleep: usdhc1grp-sleep { > + fsl,pins = < > + MX6UL_PAD_SD1_CMD__GPIO2_IO16 0x3000 > + MX6UL_PAD_SD1_CLK__GPIO2_IO17 0x3000 > + MX6UL_PAD_SD1_DATA0__GPIO2_IO18 0x3000 > + MX6UL_PAD_SD1_DATA1__GPIO2_IO19 0x3000 > + MX6UL_PAD_SD1_DATA2__GPIO2_IO20 0x3000 > + MX6UL_PAD_SD1_DATA3__GPIO2_IO21 0x3000 > + >; > + }; > + > + pinctrl_wifibt_ctrl: wifibt-ctrl-grp { > + fsl,pins = < > + MX6UL_PAD_SNVS_TAMPER0__GPIO5_IO00 0x08a0 > + MX6UL_PAD_SNVS_TAMPER9__GPIO5_IO09 0x08a0 > + >; > + }; > + > + pinctrl_wifibt_ctrl_sleep: wifibt-ctrl-grp-sleep { > + fsl,pins = < > + MX6UL_PAD_SNVS_TAMPER0__GPIO5_IO00 0x3000 > + MX6UL_PAD_SNVS_TAMPER9__GPIO5_IO09 0x3000 > + >; > + }; > }; > > ®_arm {