Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp1771121pxp; Mon, 7 Mar 2022 01:56:08 -0800 (PST) X-Google-Smtp-Source: ABdhPJyvJ8tXPKKScNtnkvAw2DU4uMbXBPfXzZAdE/hZIqANshybILAGTbQurYWK6VHoviy9GR5q X-Received: by 2002:a17:907:d23:b0:6db:6c6:8558 with SMTP id gn35-20020a1709070d2300b006db06c68558mr7100781ejc.141.1646646968756; Mon, 07 Mar 2022 01:56:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646646968; cv=none; d=google.com; s=arc-20160816; b=jEO6ylnmuy4dia2h82xUtrVKt0ThK+ybixA4Fd5VjKll9opj50QoZ7nFZAHiSnTprd xSDkrRvI3p0/6bUO1LqnEhUM19YIPDURssLM/WUYAeq0moajgrDo4pyCfDezTVuDNmbQ uF8njlY9tkxxSN+D4as24do3z6poPavG7w3h/hlYFNlwZCYcgoklnSjZlLaTcLLLVTAK ZP38X1Pvwn7MM0DtlKeswB0jWYNgSXA9nhA85gUm1qWsPAnIXEhcajqF7IrS7oMCcv6o fWDKdZkhrPPT5ZYEyc6B7sHYc93xcyS169Ny+kAzrYukwtnNOdNyL0aXkh74GgKT6rPn SInQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:message-id:date:subject :cc:to:from; bh=+QFr6gXHlgI+p6SL9/UsXza5gpd/H2zvthg+M5S5Q8w=; b=pk8+ZhXPDv9AreDfhcliuhzQiGsPzlpwu1JI4+S77zkucfxDrgsJZE/Tal3kpqazoZ OhquMEWDvb7T56B/SHV1pFIoAmeoNlJBMDbaJmSZd5zFmW9LzL6Da7NenI+VaMiN34xV 4/Kcuxs+WF2mT10SovNNAi0ODWPeVwOUIhRaqRt6dmNqIQofWyfVCX4oqUyF5JAVaXXF QGCyW65N30kW9lGxiDZhWOnJvHrR64bYFF37PbK4larnWT/wtBDeN9CEQso8uJmsxi57 uq98hbZ3mK/T1jUif9aIx3UT7bpeWhgl15/w/ODqMNWDM8eEehVWZs4wcqHZZcuIFvxD Ez+A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y8-20020a1709063a8800b006cf8e4e4981si7325291ejd.524.2022.03.07.01.55.45; Mon, 07 Mar 2022 01:56:08 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236311AbiCGJR3 (ORCPT + 99 others); Mon, 7 Mar 2022 04:17:29 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39660 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232753AbiCGJR1 (ORCPT ); Mon, 7 Mar 2022 04:17:27 -0500 Received: from inva021.nxp.com (inva021.nxp.com [92.121.34.21]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A2B5165162; Mon, 7 Mar 2022 01:16:33 -0800 (PST) Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id EB1662021BF; Mon, 7 Mar 2022 10:16:31 +0100 (CET) Received: from aprdc01srsp001v.ap-rdc01.nxp.com (aprdc01srsp001v.ap-rdc01.nxp.com [165.114.16.16]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id A05832021C6; Mon, 7 Mar 2022 10:16:31 +0100 (CET) Received: from localhost.localdomain (shlinux2.ap.freescale.net [10.192.224.44]) by aprdc01srsp001v.ap-rdc01.nxp.com (Postfix) with ESMTP id 1069D183AC96; Mon, 7 Mar 2022 17:16:30 +0800 (+08) From: Richard Zhu To: p.zabel@pengutronix.de, l.stach@pengutronix.de, bhelgaas@google.com, lorenzo.pieralisi@arm.com, robh@kernel.org, shawnguo@kernel.org, vkoul@kernel.org, alexander.stein@ew.tq-group.com Cc: linux-phy@lists.infradead.org, devicetree@vger.kernel.org, linux-pci@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, kernel@pengutronix.de, linux-imx@nxp.com, Richard Zhu Subject: [PATCH v2 1/7] reset: imx7: Add the iMX8MP PCIe PHY PERST support Date: Mon, 7 Mar 2022 17:07:28 +0800 Message-Id: <1646644054-24421-2-git-send-email-hongxing.zhu@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1646644054-24421-1-git-send-email-hongxing.zhu@nxp.com> References: <1646644054-24421-1-git-send-email-hongxing.zhu@nxp.com> X-Virus-Scanned: ClamAV using ClamSMTP X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add the i.MX8MP PCIe PHY PERST support. Signed-off-by: Richard Zhu --- drivers/reset/reset-imx7.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/reset/reset-imx7.c b/drivers/reset/reset-imx7.c index 185a333df66c..d2408725eb2c 100644 --- a/drivers/reset/reset-imx7.c +++ b/drivers/reset/reset-imx7.c @@ -329,6 +329,7 @@ static int imx8mp_reset_set(struct reset_controller_dev *rcdev, break; case IMX8MP_RESET_PCIE_CTRL_APPS_EN: + case IMX8MP_RESET_PCIEPHY_PERST: value = assert ? 0 : bit; break; } -- 2.25.1