Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp1844824ybi; Thu, 4 Jul 2019 00:32:39 -0700 (PDT) X-Google-Smtp-Source: APXvYqxcaDB/FWR47c8bh6fuCanllZbIAck6wUHCz1i8cKs9USJ9ZuzZjAI/G/6FZnxQCBkBX0Tq X-Received: by 2002:a63:125c:: with SMTP id 28mr32498897pgs.255.1562225558943; Thu, 04 Jul 2019 00:32:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562225558; cv=none; d=google.com; s=arc-20160816; b=YNgqgUZ4uTDPaipmkrlWXjkkXC8Ve0cjktuIAKHeM+EbeeEpo/maj13i9Vj2VdZBtH jwMrFCSJqxQuiPN1RWoyjUGkTQ7gqFTxqJe6CWldcNvpLWbLiiJTuAZepm2NqPaQKx3m GLtwjM3guY/IFR7B/lmoylW617jV4tch8BZreAGowqeGji1GF9Si8ctXYbi6OCZUVF2a OL5h2wKLBASkg5w84JbeIQBh3JU66ovKZf/eBH0zpmDZCqnvHDS1C7+fPI0BV6hwbfll YVGJJQEFUEeu6FRQpnibDmcBlD2kaob+bBnOONGRlU3zczAUl/7EQIQ5FywOuV7t4EJs HmDw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=sBCczz2TEmo+42ANoao+p6OevVGaZXx51PkYr0uqT5Q=; b=a8GqNAr+5p7g4QjFm7BCaX4HBPhx7onOXRazDsdzJA1r3L0wrCx0ioKRG69/Y26HJX uNym+y+WR256Xh1Qmdlz5KwQOtyIZBqIl12D0BA6otOfvpSvaYd4strgmkFbYuNKgQNV Pklaqlb3Aoe0wETpoHhwrArp7oeRmWnedqfir42ni61Kih/6B+vnbZ8WcUgIg7Y6aCwF OHb393VDjoVcztuqVpksRURM1SlyPI/iNIn1YGw53Q6N0Rb/FCJ20w5p3o3jnfY6tfyo gco2ye32JlvWyxZ1+47bKjTCTscczvH6Z9VrK7NUkIV/CivLG0pdexQWvUlw/4/GyyDx I+9w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=wo5q52rD; 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=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g11si4451432plo.433.2019.07.04.00.32.23; Thu, 04 Jul 2019 00:32:38 -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=@linaro.org header.s=google header.b=wo5q52rD; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727461AbfGDHbt (ORCPT + 99 others); Thu, 4 Jul 2019 03:31:49 -0400 Received: from mail-lj1-f194.google.com ([209.85.208.194]:33468 "EHLO mail-lj1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727417AbfGDHbs (ORCPT ); Thu, 4 Jul 2019 03:31:48 -0400 Received: by mail-lj1-f194.google.com with SMTP id h10so5162211ljg.0 for ; Thu, 04 Jul 2019 00:31:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=sBCczz2TEmo+42ANoao+p6OevVGaZXx51PkYr0uqT5Q=; b=wo5q52rDJSW4xleBd8ezZ/XLTvEhFmnf742yDq/2AZrmXHBfLzr/ezU6hUVrSuKYrw mv8ShEFqAu9AtbVWRqw+s99s5i294hfo1P1LN1WBv1SEVwuBGX5wmTHdpK8KBm1VPjcM qYJl7wFntpoZM3K6L95ilcaOpD6QPSEVu9bHs1dGV55O4G0qITISnNnCkmFbVncTk+iJ sVu6RqYrtczbkI0GCambdoH7YljDxSqtICNesUv6LfOpHWrcZmLrm83zeMctin5SmP/F zTTf1omIgvaKdvpHCz8xvaPoWVq0ST0N/6KeZS+FIOXcs7H4aKmd+nomCqmGLRMR3ldo bB+g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=sBCczz2TEmo+42ANoao+p6OevVGaZXx51PkYr0uqT5Q=; b=DN+HtxNkq7pCzretbn3WU9zHVa9Lwp1AC88QUJ6u23Zke61QDqklGwkjysBzc7lYIs Y3PQj7q2ijyMDFNMgUy895GjXRsPDIPuWvG/GE8Z/pGxNdeAhWe4oiHDNezaH44L8kQj 6pPqGzBA7F+FY8JJEpD7OqyHsFNPOPEBS6qBMJOnNlNjNjEWVh+pw68svCMWs6w3lhpv a2zsrVpEVib2XSx1FWZ9eJXPCLP0fpL5FsH8K+V1KXKqX2vzlSw/NOCi/UoJ2VxMqdNu tUZLDkIiLi9WCNXMAclF09UgyFJJriTUojfesX+SfxTdMDwhzyoFc5NJVmQChDxLcpR+ FsBA== X-Gm-Message-State: APjAAAUAY4reUqk7jyUen4FRR9AYQdvzhn7j94uvM6Q8g9E6blU7hCbV 1g6Jn28OiqlwXew45YdJOj7etrfVvsP5PsJmYpW6jQ== X-Received: by 2002:a2e:2c14:: with SMTP id s20mr2048012ljs.54.1562225505566; Thu, 04 Jul 2019 00:31:45 -0700 (PDT) MIME-Version: 1.0 References: <1561687972-19319-1-git-send-email-skomatineni@nvidia.com> <1561687972-19319-3-git-send-email-skomatineni@nvidia.com> <822867d6-4a4d-5f68-9b21-84a20d73c589@gmail.com> In-Reply-To: <822867d6-4a4d-5f68-9b21-84a20d73c589@gmail.com> From: Linus Walleij Date: Thu, 4 Jul 2019 09:31:34 +0200 Message-ID: Subject: Re: [PATCH V5 02/18] pinctrl: tegra: Add suspend and resume support To: Dmitry Osipenko Cc: Sowjanya Komatineni , "thierry.reding@gmail.com" , Jon Hunter , Thomas Gleixner , Jason Cooper , Marc Zyngier , Stefan Agner , Mark Rutland , Peter De Schrijver , Prashant Gaikwad , Stephen Boyd , linux-clk , "open list:GPIO SUBSYSTEM" , jckuo@nvidia.com, Joseph Lo , talho@nvidia.com, linux-tegra@vger.kernel.org, "linux-kernel@vger.kernel.org" , Mikko Perttunen , spatra@nvidia.com, Rob Herring , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Jun 29, 2019 at 5:58 PM Dmitry Osipenko wrote: > Oh, also what about GPIO-pinctrl suspend resume ordering .. is it okay that pinctrl > will be resumed after GPIO? Shouldn't a proper pin-muxing be selected at first? Thierry sent some initial patches about this I think. We need to use device links for this to work properly so he adds support for linking the pinctrl and GPIO devices through the ranges. For links between pin control handles and their consumers, see also: 036f394dd77f pinctrl: Enable device link creation for pin control c6045b4e3cad pinctrl: stmfx: enable links creations 489b64d66325 pinctrl: stm32: Add links to consumers I am using STM32 as guinea pig for this, consider adding links also from the Tegra pinctrl. I might simply make these pinctrl consumer to producer links default because I think it makes a lot sense. Yours, Linus Walleij