From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-11.0 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8E250C07E95 for ; Sat, 10 Jul 2021 19:39:47 +0000 (UTC) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 0E9BE6120D for ; Sat, 10 Jul 2021 19:39:47 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 0E9BE6120D Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id E7E5E8337F; Sat, 10 Jul 2021 21:36:21 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1625945782; bh=Lwh6pFWVFGG42+lPTy+p+WXksTAiI+0nDDiXalnvgLw=; h=From:To:Subject:In-reply-to:Date:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From; b=lit318QZqGXWi0UcBcuGJVetxWpXF6gBZWUp0oxt3BRkgti631w898XBJxJJIuP+m Y9QgPk9TB+yuxjA+uj9/kC2qevf8tGU+d0HIBZS2kBwTB0z7lQOb1Al+AxJHsfIPKn et9NGUg8syp0Atdj8Ua8zyppIDXBmwjxb9ynMuQ57I2xHX4EnaEr9wmAf/xoHcqyU/ Dw8XfBKBb2wtEEic4V8jf2dYeCpZR0K56ZhwPVqY16GqK/NPiqc4ibHHdfqxYVsFqe PYLQkVoAcOISKeTXFsTGOhXoZ94GZn/5uuQ2B4QmU1XkcgltTeolDC35iWvgYibiuT k50sqIoxbsSLQ== Received: by phobos.denx.de (Postfix, from userid 109) id D8A5483376; Sat, 10 Jul 2021 21:36:16 +0200 (CEST) Received: from mail-out.m-online.net (mail-out.m-online.net [212.18.0.9]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 66A4983371 for ; Sat, 10 Jul 2021 21:36:14 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: phobos.denx.de; spf=fail smtp.mailfrom=sbabic@denx.de Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 4GMgHy13wLz1qyJj; Sat, 10 Jul 2021 21:36:14 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 4GMgHy0tx4z1qwZV; Sat, 10 Jul 2021 21:36:14 +0200 (CEST) X-Amavis-Alert: BAD HEADER SECTION, Missing required header field: "Date" Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id T-FRcwaR_wy4; Sat, 10 Jul 2021 21:36:13 +0200 (CEST) Received: from papero (host-88-217-136-221.customer.m-online.net [88.217.136.221]) by mail.mnet-online.de (Postfix) with ESMTP; Sat, 10 Jul 2021 21:36:13 +0200 (CEST) From: sbabic@denx.de X-Patchwork-Submitter: Tim Harvey X-Patchwork-Id: 1501430 X-Patchwork-Delegate: sbabic@denx.de To: Tim Harvey ,u-boot@lists.denx.de Subject: [PATCH v2] pci: imx: use reset-gpios if defined by device-tree In-reply-to: <20210706171909.507-1-tharvey@gateworks.com> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Message-Id: <20210710193616.D8A5483376@phobos.denx.de> Date: Sat, 10 Jul 2021 21:36:16 +0200 (CEST) X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean > If reset-gpio is defined by device-tree use that if > CONFIG_PCIE_IMX_PERST_GPIO is not defined. > Note that after this the following boards which define > CONFIG_PCIE_IMX_PERST_GPIO in their board header file as well as their > device-tree should be able to remove CONFIG_PCIE_IMX_PERST_GPIO without > consequence: > - mx6sabresd > - mx6sxsabresd > - novena > - tbs2910 > - vining_2000 > Note that the ge_bx50v3 board uses CONFIG_PCIE_IMX_PERST_GPIO and does > not have reset-gpios defined it it's pcie node in the dt thus removing > CONFIG_PCIE_IMX_PERST_GPIO globally can't be done until that board adds > reset-gpios. > Cc: Ian Ray (maintainer:GE BX50V3 BOARD) > Cc: Sebastian Reichel (maintainer:GE BX50= V3 BOARD) > Cc: Fabio Estevam (maintainer:MX6SABRESD BOARD) > Cc: Marek Vasut (maintainer:NOVENA BOARD) > Cc: Soeren Moch (maintainer:TBS2910 BOARD) > Cc: Silvio Fricke (maintainer:VINING_2000 BOARD) > Signed-off-by: Tim Harvey Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic --=20 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic@denx.de =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D