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 0927DC07E95 for ; Sat, 10 Jul 2021 15:55:29 +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 343EA61209 for ; Sat, 10 Jul 2021 15:55:28 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 343EA61209 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 21B2683320; Sat, 10 Jul 2021 17:53:29 +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=1625932409; 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=L/4AxbdzYci9t390sR/L5gEoXo4ZZT9VkB1vpe1KQ51Pk6idONst1hIQWMaPl9DRD ZOgVC3Z0zF5OrO18stDS+AcpnI+CFnsT/POhInQTCNJkciM0JIOiTrEaAqaSjL6MYD oLIPuidIWoqvBcXG0/2QkUCAUOGbWgNgbOVnUQMa2gWei2IFx+PtQmD8JKYisWEd+2 elvGIQts6AdPGNPLhitFaHXjPTxv38n03Ma65mF7pIMnX+JN1QUev9wtWsT/Hsp1m1 lyhEPD03vztbGjg3j5Rf/5m2FZRoNxWMWArXrLJ7YYyeH/jd29Ts5vqqmGPS2UZtf9 Ag0IyTV5rqY+A== Received: by phobos.denx.de (Postfix, from userid 109) id 779BE83321; Sat, 10 Jul 2021 17:53:24 +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 B50398331B for ; Sat, 10 Jul 2021 17:53:20 +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 4GMZLm3JdRz1qxjB; Sat, 10 Jul 2021 17:53:20 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 4GMZLm39zLz1qqkc; Sat, 10 Jul 2021 17:53:20 +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 9zr3HIK-lLvo; Sat, 10 Jul 2021 17:53:19 +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 17:53:19 +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: <20210710155324.779BE83321@phobos.denx.de> Date: Sat, 10 Jul 2021 17:53:24 +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