Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp1209518imm; Thu, 4 Oct 2018 09:47:45 -0700 (PDT) X-Google-Smtp-Source: ACcGV60TVXa1anwcSjbz/zCgpspEUXcKQWMMCrOfXKfzgeSoYUk3xLZbVyhGQE78XbrsxehvLB2m X-Received: by 2002:a63:c84c:: with SMTP id l12-v6mr6396689pgi.77.1538671665867; Thu, 04 Oct 2018 09:47:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538671665; cv=none; d=google.com; s=arc-20160816; b=Fx2RlHBV1d9flUrnEIIP5GZ25A9FiA/tXeBCOwzNgdrEOvLkcuk6ur+rNDmYG4p7GS j1gBUt9yewFI7cq+psMmyZtpXlawmBWJ8tcm7Luxk4aw5MiUQ5mC0/Q4gZyVxB+NGodA 2v1HVAmLWPRHZJ+0sNdANumuh7U8PGhTy+KCPVyBha2+s87xAmygSU8naK3efA2CUoEF rZ9ZUWu5Ai7KAoiw3g6rmQKL5mDd2gbDrU6tYOIboi073vnI62GyX+jxM5gzf1basIIw ORIwk3ZC3Ys4ipeDlI+6BMNQIJZRTJ2PEF4wvxut8vH0QNY1oJQAqcPoRMp2nJaxaIJE K6Rg== 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=5F9i9vpRxSTAFbE1R/4CQMcX83gmHw3DqQHrNBxbohg=; b=Xr59Tomf4GNhprit1fJ0ybcuHzJWUlQaMcz1GvRknHCtW8USWBC3umK2dXuhaUkcLz B05jYaEioxZrhYfhF9+U2efspY3qAGyiIwnDuN6djihYkRi4ZQzsYptC4cZfU564Ap1A 0fat19VSGA68PazQdFAFw+P2G+5+dcPVxU1so6W/i4s0gYti/2haqHJfNkZ0LaVwx8Cz /IwVIngQhvTeZwV7rRfbRK+sHY2Wpzs+r2SNmIIbFBTwg/8XJ0UXkfR80mh377Utlt8h EhBXVQApotr74BGbv+OzjArMgjlX2TxXO9lqmLWi0UIPgqXis2IrPx2DxSMj9JmyBcjf ZjCw== 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 a3-v6si5190985pgb.457.2018.10.04.09.47.30; Thu, 04 Oct 2018 09:47:45 -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 S1728033AbeJDXlO (ORCPT + 99 others); Thu, 4 Oct 2018 19:41:14 -0400 Received: from metis.ext.pengutronix.de ([85.220.165.71]:45041 "EHLO metis.ext.pengutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727540AbeJDXlO (ORCPT ); Thu, 4 Oct 2018 19:41:14 -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 1g86mD-0003FW-TF; Thu, 04 Oct 2018 18:47:01 +0200 Message-ID: <1538671621.14153.20.camel@pengutronix.de> Subject: Re: [PATCH v2 1/4] reset: imx7: Add PCIE_CTRL_APPS_TURNOFF From: Philipp Zabel To: Leonard Crestez , Lucas Stach , Lorenzo Pieralisi , Richard Zhu Cc: 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: Thu, 04 Oct 2018 18:47:01 +0200 In-Reply-To: References: 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 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. regards Philipp