Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp300040imm; Fri, 5 Oct 2018 04:09:21 -0700 (PDT) X-Google-Smtp-Source: ACcGV62rhDVfJtFYnw7bgo1+WxvSvHw4eADShaF4IvQh9FvYYio8wAwSxN08UxX90VHpoxQzP7kA X-Received: by 2002:a63:745e:: with SMTP id e30-v6mr9789096pgn.446.1538737761900; Fri, 05 Oct 2018 04:09:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538737761; cv=none; d=google.com; s=arc-20160816; b=SDjtXdo5hJtOX7XOGFvN1HHsJekefDzoUdSGohK7MiT+D7CgVS80fHrnVvkLRkouOy U3XP17f3Oew7Xgwmse1pityjvgUO3pj3ElKJ0l0OR+sa95Tygv7f5rlPDPdFZiH1YkFS 4/IhUazS6Au9IFvQlns/9Ck80Y8OSAt7nMyrbYPcAC1wjNnOWuzSpa9795y12aDyZeVc sMsgSKKMIyoa7xz7A4st0d7ReDUByRd+GTvJOlQ1AUtSyiOn7n68lS4RTDBh+Npc7PhO OixvHtpsHl2+NULMtOUJy8fYp7lccySxgl3c92fZWrLUvrdnPA1ZN7IlqI6+YiE4g2J8 MIhA== 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; bh=YrelU8Cgk6yPUnkbhRXHE/6nMf+B6yXduO/UeiYKFa0=; b=gAgkmpx6xkb27oW6uZi0K6YIaCfeyjB65x1eJ/mOYBBsWlNvyvpVo+GxnM0MvT4BOM cVQKY6dG6AWnlb3ul1uHrlDBLqfos9olevKq+NfEeu51xpH7efiimIoTVUoI28LrMLMW hJhWt6Lwvd4/pL3iRXNR7wKAURa+EtRJ0OGLu9mB7bNI5/vONLLhmsbcLhW3KdoFID5b ZDSxnzPfReiCJ/aowBXHzHT1ZiZ60gBNOQ9fos/TCgVQ2izyGlrDpcqBXoNTMTdVhR4L rfVi8E03oAcGOSXExbwAi+YB82Ov+42kcPcV+4dgG4T13LFL3U90vUgnX0pj6dUGPXM3 wxbA== ARC-Authentication-Results: i=1; mx.google.com; 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 x10-v6si7815969plo.100.2018.10.05.04.09.03; Fri, 05 Oct 2018 04:09:21 -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; 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 S1728042AbeJESHG (ORCPT + 99 others); Fri, 5 Oct 2018 14:07:06 -0400 Received: from foss.arm.com ([217.140.101.70]:50136 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727581AbeJESHG (ORCPT ); Fri, 5 Oct 2018 14:07:06 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id F3A287A9; Fri, 5 Oct 2018 04:08:47 -0700 (PDT) Received: from e107981-ln.cambridge.arm.com (e107981-ln.Emea.Arm.com [10.4.13.117]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 826BD3F5A0; Fri, 5 Oct 2018 04:08:45 -0700 (PDT) Date: Fri, 5 Oct 2018 12:08:40 +0100 From: Lorenzo Pieralisi To: Philipp Zabel Cc: Leonard Crestez , Lucas Stach , Richard Zhu , Andrey Smirnov , Gustavo Pimentel , Jingoo Han , Bjorn Helgaas , Shawn Guo , Fabio Estevam , dl-linux-imx , "kernel@pengutronix.de" , "linux-pci@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH v2 4/4] PCI: imx: Add PME_Turn_Off support Message-ID: <20181005110840.GA27329@e107981-ln.cambridge.arm.com> References: <37d60fe2119361381a6a81f439fa1c3ad29db45e.1538670431.git.leonard.crestez@nxp.com> <20181005102906.GA25651@red-moon> <1538737156.3545.22.camel@pengutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1538737156.3545.22.camel@pengutronix.de> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Oct 05, 2018 at 12:59:16PM +0200, Philipp Zabel wrote: > Hi Lorenzo, > > On Fri, 2018-10-05 at 11:29 +0100, Lorenzo Pieralisi wrote: > > On Thu, Oct 04, 2018 at 04:34:30PM +0000, Leonard Crestez wrote: > > > When the root complex suspends it must send a PME_Turn_Off TLP. > > > Implement this by asserting the "turnoff" reset. > > > > > > On imx7d this functionality is part of the SRC and exposed through the > > > linux reset-controller subsystem. On imx6 equivalent bits are in the > > > IOMUXC GPR area which the imx6-pcie driver accesses directly. > > > > Nit: I am merging the series, please define what SRC and GPR are so > > that I can update the commit log accordingly, it must be clear to > > anyone reading it. > > SRC is the System Reset Controller, which controls reset signals to all > kinds of devices, among them the PCIe PHY. > > IOMUXC GPR is a General Purpose Register range in the IOMUXC (pinmux > controller) that is used to control various signals all over the SoC. Thanks Philipp. Updated the commit log and pushed out the series for v4.20 (branch pci/dwc - I have just updated this patch log). Thanks, Lorenzo