Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp290916imm; Fri, 5 Oct 2018 04:01:28 -0700 (PDT) X-Google-Smtp-Source: ACcGV636yxvliKHiXNd7SX8Eq6E4TmkJr7WmkjW2eWi0oGCdjCKTLZHvnDrY95hhWMNktD/xHHHz X-Received: by 2002:a62:9586:: with SMTP id c6-v6mr11229728pfk.234.1538737288414; Fri, 05 Oct 2018 04:01:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538737288; cv=none; d=google.com; s=arc-20160816; b=g5z2wDXMhr46+tf++blRUJiKXeFwtS7UWnY24WwqEVjZv+FlIyQ/TtOF2WMEv4zLnW B3j1Dkd3lbC289aSvkHKEHaCYdb5VZQK2nA52QSu/9r75XO80PRKmsv+0kb+Ai5jscSp bxol2wOxl4ke7R92nBcDeSJs2CYwIAvg2c+4Z9WU74K5vzWRv/ZmbWd8IeLOaqRrYMzZ 2okURyZ0CnfyyZF0sx0D1z7i4ibixzZ5D4sfkPzxDaVzmr9SaBtIhBwvor77VOVtdAPJ TE1G4iN018Pwo5DyQn6ibKuJViMRHC78UfRmHWh8fwXjWAvuFsUg/yHNF1M+LaSE25OH foaQ== 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:date:cc:to:from:subject:message-id; bh=Dbagr2Vk7IaVaEXFCDfeOGOqMP2Xg1gHnwtim3j84S4=; b=Nfqm1of/W+IW4qjnjGnudqDbo9TnaxtuVyhc90zs91/A92Z4K209O6/hjWhXtKpL4U zIGsn0n56vN8IrpcXyVCaS5jyuE81w5Gx9SD1kD0sx8xxT2QTE5aShljzQ1PkizcRTcN XHtB29hDpj4aFVcc6dXlBV/S0NcBqARR//1Z81tFccK/8T6UIESfn3ujGgsfPX12jfXj lloY+pXOHzzt+NDd8TBLyzkRHaNtcUAKj27kpZ1YqD1GhDFuB2x1ayXnxZqay1Noo/Eg fATXaQ2zo3zJalCOnM4fr7jZ/Kad0g7XOGp27NSs4AszcpymV5eUCxSo+lgURcAdG2hm H31A== 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 186-v6si8422397pfg.163.2018.10.05.04.01.11; Fri, 05 Oct 2018 04:01:28 -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 S1727974AbeJER5l (ORCPT + 99 others); Fri, 5 Oct 2018 13:57:41 -0400 Received: from metis.ext.pengutronix.de ([85.220.165.71]:51653 "EHLO metis.ext.pengutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727798AbeJER5l (ORCPT ); Fri, 5 Oct 2018 13:57:41 -0400 Received: from lupine.hi.pengutronix.de ([2001:67c:670:100:3ad5:47ff:feaf:1a17] helo=lupine) by metis.ext.pengutronix.de with esmtp (Exim 4.89) (envelope-from ) id 1g8NpG-0005pP-7R; Fri, 05 Oct 2018 12:59:18 +0200 Message-ID: <1538737156.3545.22.camel@pengutronix.de> Subject: Re: [PATCH v2 4/4] PCI: imx: Add PME_Turn_Off support From: Philipp Zabel To: Lorenzo Pieralisi , Leonard Crestez Cc: 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" Date: Fri, 05 Oct 2018 12:59:16 +0200 In-Reply-To: <20181005102906.GA25651@red-moon> References: <37d60fe2119361381a6a81f439fa1c3ad29db45e.1538670431.git.leonard.crestez@nxp.com> <20181005102906.GA25651@red-moon> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.22.6-1+deb9u1 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-SA-Exim-Connect-IP: 2001:67c:670:100:3ad5:47ff:feaf:1a17 X-SA-Exim-Mail-From: p.zabel@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. regards Philipp