Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp1232299imm; Thu, 4 Oct 2018 10:08:39 -0700 (PDT) X-Google-Smtp-Source: ACcGV609vUPeZpLCN78ee/CJkphwdl4OEQleTDVpQzGMnbwgkEuhz7WL8GpvKx0VyN38MHWB11QD X-Received: by 2002:a17:902:26c:: with SMTP id 99-v6mr7569161plc.341.1538672919604; Thu, 04 Oct 2018 10:08:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538672919; cv=none; d=google.com; s=arc-20160816; b=zAUXgqIEhvwUH1/9wA9QUkYA1t0zb+zwpE51xvygaRQm571xpwn0opfjUFYaigQrpo 1BNMRKAH2xfLCy9Bejkf2Xo3fpHy4Av0KSqqRcbuuzGpx0z56pz89NIwdlvR/kre7rgB tH70nowZmUj3d0wXo+k67G0SQCQNa8kcSvMEuWwOp/p+tCNS4OrNs1B+m9u+hS1j7TAI l0DLyGgK/hsbWIhMpKsdpjoWKP4z9rw94zwFzG6FgtN0RDGcupACyO9Xri/1hEXTAmn4 uKTRYNXrwWgwl+Wfrr6Zwi87pO7zQLkLYJS8cHHqz/3M5WEIqP8kAGPxi7lliTZ4jtfu LEBQ== 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=qO4xi8a65H45/3LH0OgnilCHLe3A27I7mO8ZNsnrw6I=; b=B9PF4saH0WowireIA9HpdXMnpHAi/0NAc2lDIjy8oVgCcCD+FeBC5Fz70q3LoyExAd VzvVC9diScgwztK8dgu971n20xgA3Ofp1IeDbsyqRf+hmZ3h0l6sW5IuzDG2k73R6OJl jpqIckKV3tkwje+Gil4cKVW23Cx8L+YI4n2gWg18iExTkbDK7tsygWCXv+vP2mW7zZO/ kd1bUV5cq46I4p3vgikXfMU7E6/Et+WhnU33ymNfCtYto7rEJ2zIzRfDjA4zBz7IYFV/ Weqf/sCaNbwBwX7fkzEkSo2nYUQBBRZVerTLyZQNIbSbondtDE2fg2w9ilj1IyGZLXqn S/QA== 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 w24-v6si4867072pga.3.2018.10.04.10.08.24; Thu, 04 Oct 2018 10:08:39 -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 S1727880AbeJEACT (ORCPT + 99 others); Thu, 4 Oct 2018 20:02:19 -0400 Received: from foss.arm.com ([217.140.101.70]:40364 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727505AbeJEACT (ORCPT ); Thu, 4 Oct 2018 20:02:19 -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 E76567A9; Thu, 4 Oct 2018 10:08:09 -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 74B823F5B3; Thu, 4 Oct 2018 10:08:07 -0700 (PDT) Date: Thu, 4 Oct 2018 18:08:02 +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 1/4] reset: imx7: Add PCIE_CTRL_APPS_TURNOFF Message-ID: <20181004170802.GA12234@e107981-ln.cambridge.arm.com> References: <1538671621.14153.20.camel@pengutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1538671621.14153.20.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 Thu, Oct 04, 2018 at 06:47:01PM +0200, Philipp Zabel wrote: > Hi Leonard, > > On Thu, 2018-10-04 at 16:34 +0000, Leonard Crestez wrote: > > This is required for the imx pci driver to send the PME_Turn_Off TLP. > > > > Signed-off-by: Leonard Crestez > > Acked-by: Rob Herring > > --- > > drivers/reset/reset-imx7.c | 1 + > > include/dt-bindings/reset/imx7-reset.h | 4 +++- > > 2 files changed, 4 insertions(+), 1 deletion(-) > > > > diff --git a/drivers/reset/reset-imx7.c b/drivers/reset/reset-imx7.c > > index 97d9f08271c5..77911fa8f31d 100644 > > --- a/drivers/reset/reset-imx7.c > > +++ b/drivers/reset/reset-imx7.c > > @@ -65,10 +65,11 @@ static const struct imx7_src_signal imx7_src_signals[IMX7_RESET_NUM] = { > > [IMX7_RESET_MIPI_PHY_MRST] = { SRC_MIPIPHY_RCR, BIT(1) }, > > [IMX7_RESET_MIPI_PHY_SRST] = { SRC_MIPIPHY_RCR, BIT(2) }, > > [IMX7_RESET_PCIEPHY] = { SRC_PCIEPHY_RCR, BIT(2) | BIT(1) }, > > [IMX7_RESET_PCIEPHY_PERST] = { SRC_PCIEPHY_RCR, BIT(3) }, > > [IMX7_RESET_PCIE_CTRL_APPS_EN] = { SRC_PCIEPHY_RCR, BIT(6) }, > > + [IMX7_RESET_PCIE_CTRL_APPS_TURNOFF] = { SRC_PCIEPHY_RCR, BIT(11) }, > > [IMX7_RESET_DDRC_PRST] = { SRC_DDRC_RCR, BIT(0) }, > > [IMX7_RESET_DDRC_CORE_RST] = { SRC_DDRC_RCR, BIT(1) }, > > }; > > > > static struct imx7_src *to_imx7_src(struct reset_controller_dev *rcdev) > > diff --git a/include/dt-bindings/reset/imx7-reset.h b/include/dt-bindings/reset/imx7-reset.h > > index 63948170c7b2..31b3f87dde9a 100644 > > --- a/include/dt-bindings/reset/imx7-reset.h > > +++ b/include/dt-bindings/reset/imx7-reset.h > > @@ -54,9 +54,11 @@ > > */ > > #define IMX7_RESET_PCIE_CTRL_APPS_EN 22 > > #define IMX7_RESET_DDRC_PRST 23 > > #define IMX7_RESET_DDRC_CORE_RST 24 > > > > -#define IMX7_RESET_NUM 25 > > +#define IMX7_RESET_PCIE_CTRL_APPS_TURNOFF 25 > > + > > +#define IMX7_RESET_NUM 26 > > > > #endif > > This is contained enough to be merged with the rest of the series, > patches 1 and 2: > > Acked-by: Philipp Zabel > > Let me know if I should pick them up instead. I can take the whole series but I would like to have it rebased against v4.19-rc4 please since it does not apply as it is, thanks. Lorenzo