Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp4134164ybg; Fri, 25 Oct 2019 13:52:52 -0700 (PDT) X-Google-Smtp-Source: APXvYqwk7xFlnNKTUzY2NmQqXcXrIwtIOv0RjzEzFeeG3ZQVS5MmEtt3i3xtjFWx48SyRi7vFDyg X-Received: by 2002:a17:906:2ada:: with SMTP id m26mr5401959eje.87.1572036772444; Fri, 25 Oct 2019 13:52:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1572036772; cv=none; d=google.com; s=arc-20160816; b=AmFvzlBJACpEN/SBc2drxSZE30h7cypszoEDKyQM8gHze+xXZPQX900hb47EVcn2Hu CK+330q8dXo+DGdWL9ZCCCV8yAA1OEb8V3UUqg+Ke6BEIwK9ZTX7rZznUdiOf5fTl6zz jyXbVn4jyxYqYh/nQ6/wAdtLoeHTct5DJUfOMVE/qV2rIaSxMTZfjzpf225vD7Nvzp8l TJyQIPlJlb4NmgRY6yFlO0LQ5Qio+gRJAhR+ywv1LexwQwpbVabrKJhoPl5e2IlJtZxP C1FiMPQP6L0JaqOvVLfUwLtUS8quJVXITahum83ReUopU/syGAb6tqA3yyMeEwwYI9Am +hJA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=ukusdiIWPioOyFF8K+EMog1oWe2UbKn/QGBiyiSBlcI=; b=masFr4sVhZ3YM6e8bQJOf4WalBz1sD3MZtLtvOoOg9yzX1dTWf7JZqiBR0AW3dfqQS 5vvICpUUkRIYGWxxnbINU6whyZu/Dyhz5srX1yPR+CuCV6gmbOMLMEEevsKPM2j8zkRi NFCfmj+/FhoybFuF70rTL29Ku1YNOSMe3VAwAEK/o2lgzDoQ8shVtBsDIumVJrexQjPV /32YQDRosXUSESEEwMwmeoJobwP5H9Xd5+CtUu5tEVcOE2H0RLo1P2rsiH24fUDnaUeT j77Da4UH/UXVEf3zG5ktqDxJYy95dgtE4SesuiRTXuqD9d/wjGzi6zbt4ZabPdxLLPlW r+5w== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@kemnade.info header.s=20180802 header.b=TkkERhIk; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h17si1807571ejt.173.2019.10.25.13.52.29; Fri, 25 Oct 2019 13:52:52 -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=fail header.i=@kemnade.info header.s=20180802 header.b=TkkERhIk; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388086AbfJYSKi (ORCPT + 99 others); Fri, 25 Oct 2019 14:10:38 -0400 Received: from mail.andi.de1.cc ([85.214.55.253]:58994 "EHLO mail.andi.de1.cc" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732355AbfJYSIC (ORCPT ); Fri, 25 Oct 2019 14:08:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=kemnade.info; s=20180802; h=Content-Transfer-Encoding:Content-Type: MIME-Version:References:In-Reply-To:Message-ID:Subject:Cc:To:From:Date:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=ukusdiIWPioOyFF8K+EMog1oWe2UbKn/QGBiyiSBlcI=; b=TkkERhIk8BBAwoGeaxAN1ziqjG l+PP57GcZFlFrZe+8Ex1cit7g7VgrEpsXkPptk1n8IbWDzMu4ghOXS5+62xp6kJ68ILnVYvF6h+T/ HtNN8wIp29Z8E9XjPQBeBDXoJGiW4TzIZZPdYPZ+jLas/GjF5jghcn34foMfTYFkiKO8=; Received: from p200300ccff09ca001a3da2fffebfd33a.dip0.t-ipconnect.de ([2003:cc:ff09:ca00:1a3d:a2ff:febf:d33a] helo=aktux) by mail.andi.de1.cc with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iO401-0005qr-ID; Fri, 25 Oct 2019 20:07:45 +0200 Date: Fri, 25 Oct 2019 20:07:43 +0200 From: Andreas Kemnade To: Shawn Guo Cc: robh+dt@kernel.org, mark.rutland@arm.com, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, manivannan.sadhasivam@linaro.org, andrew.smirnov@gmail.com, marex@denx.de, angus@akkea.ca, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, j.neuschaefer@gmx.net, Discussions about the Letux Kernel , Marco Felsch Subject: Re: [PATCH v3 3/3] ARM: dts: imx: add devicetree for Kobo Clara HD Message-ID: <20191025200743.48455cc9@aktux> In-Reply-To: <20191025134621.GN3208@dragon> References: <20191010192357.27884-1-andreas@kemnade.info> <20191010192357.27884-4-andreas@kemnade.info> <20191025134621.GN3208@dragon> X-Mailer: Claws Mail 3.17.3 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Score: -1.0 (-) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On Fri, 25 Oct 2019 21:46:24 +0800 Shawn Guo wrote: [...] > > + > > + pinctrl_wifi_reset: wifi_reset_grp { > > + fsl,pins = < > > + MX6SLL_PAD_SD2_DATA7__GPIO5_IO00 0x10059 /* WIFI_RST */ > > + >; > > + }; > > + > > + pinctrl_wifi_power: wifi_power_grp { > > I guess you can have one pinctrl node to include both reset and power > pins? Also, to be consistent with other pinctrl nodes on naming, the > node name should probably be wifigrp. > well, the problems they are used in different nodes, so I cannot do that: reg_wifi: regulator-wifi { compatible = "regulator-fixed"; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_wifi_power>; regulator-name = "SD3_SPWR"; regulator-min-microvolt = <3000000>; regulator-max-microvolt = <3000000>; gpio = <&gpio4 29 GPIO_ACTIVE_HIGH>; enable-active-high; }; wifi_pwrseq: wifi_pwrseq { compatible = "mmc-pwrseq-simple"; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_wifi_reset>; post-power-on-delay-ms = <20>; reset-gpios = <&gpio5 0 GPIO_ACTIVE_LOW>; }; So having them combined breaks the mux where you use it rule. I got in earlier mails: > > + wifi_pwrseq: wifi_pwrseq { > > + compatible = "mmc-pwrseq-simple"; > > + post-power-on-delay-ms = <20>; > > + reset-gpios = <&gpio5 0 GPIO_ACTIVE_LOW>; > Can you add a pinctrl-entry here please? The general rule is to mux > things where you use it [...] > > + compatible = "regulator-fixed"; > > + regulator-name = "SD3_SPWR"; > > + regulator-min-microvolt = <3000000>; > > + regulator-max-microvolt = <3000000>; > > + > > + gpio = <&gpio4 29 GPIO_ACTIVE_HIGH>; > Please add a pinctrl here to mux this gpio. Regards, Andreas