Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp2278173rdb; Fri, 8 Dec 2023 03:50:12 -0800 (PST) X-Google-Smtp-Source: AGHT+IHzsgOAh2d0TORTH4abASDBmzGcDQb2KFZEFxRmJvTm9Lgk6FbjlMO9UA5Q8ttfM482e9XJ X-Received: by 2002:a17:90b:33cb:b0:286:7529:3598 with SMTP id lk11-20020a17090b33cb00b0028675293598mr960610pjb.13.1702036212631; Fri, 08 Dec 2023 03:50:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702036212; cv=none; d=google.com; s=arc-20160816; b=YMsbZtHq06MhsVMek/EeYOacCGq6PN07t8YUDGvatrL1MR9dvRSytx9ZvHQrQ0Oi3r NmWtXzEBgpKJZv+R9xigGY6O46prVpwpC2b4/XqR5/XsN/WHRK3x/5SjNUuNGm/wusoF nEDQUMKFqZ28q6taf1DiSJ0Jrt43ra7Ed+hRmmfxZgEozhLDjQSOHhZCLw+czdTNRiMi 9bqdZwlz00t4o5GK/Gs/YZ5YrNlk9TzLCW9gZrpGTTjzRRbIYEIXJnRz3BIOd0wpm0bt z8qFctPXE1+3bQ0aQYKDTeKgSx0oXcOKD5zUCu+DZzvQsZwyE/aH08urYZVUiguWnoJ6 HjrQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent :content-transfer-encoding:references:in-reply-to:date:cc:to:from :subject:message-id; bh=C9ECrszxtMB9jZh63Pvlfw3pIok4VQnN3q1wmbK4QNo=; fh=1EIgSZJgpDNWiFMuoyBPD28khZ5aVkFe3u/VnelVbpM=; b=yYR4qrfP3sTgi89xqfGlBetczTzC+A/hrwQxKmNu8vOy11J/Ox6PLlaw1DxZ1oc4lN GjWYoG5ZQexNApeviWZZmRyTWFKLM1MdylTVg3OaJcKMqh63vXypklyvkFy/4VFLPqOJ w+fUxdJgDPYH+MJ3K7Ee2hIGhhe9h77CMXJN2GRDGTt+oNXH4OjdUoHpkgvhX/Sj/2nu vx8W3l3YXc3BtOl4bpsesmPuFGzQoGcZd+olMaf+OROlJNrPLM2PS/N5gC6ijmnP8DBQ zKjlKOlGKeyD4Mlzc/JPeSipyIWMMh/3QD4MEmrzDus7clptrERJStZ4shWcI64OvNYP cA9w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id q14-20020a17090a304e00b002839749088dsi1556927pjl.40.2023.12.08.03.50.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Dec 2023 03:50:12 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 86BCC8246847; Fri, 8 Dec 2023 03:50:02 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1573624AbjLHLtX convert rfc822-to-8bit (ORCPT + 99 others); Fri, 8 Dec 2023 06:49:23 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32966 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232873AbjLHLtW (ORCPT ); Fri, 8 Dec 2023 06:49:22 -0500 Received: from metis.whiteo.stw.pengutronix.de (metis.whiteo.stw.pengutronix.de [IPv6:2a0a:edc0:2:b01:1d::104]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1B9B61723 for ; Fri, 8 Dec 2023 03:49:28 -0800 (PST) Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1rBZLw-0005Wy-0d; Fri, 08 Dec 2023 12:49:08 +0100 Received: from [2a0a:edc0:0:900:1d::4e] (helo=lupine) by drehscheibe.grey.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rBZLt-00EPDB-Se; Fri, 08 Dec 2023 12:49:05 +0100 Received: from pza by lupine with local (Exim 4.96) (envelope-from ) id 1rBZLt-0006SD-2c; Fri, 08 Dec 2023 12:49:05 +0100 Message-ID: <95ef7a9fa76bf3d6fd17c9fbf00d7d561883765c.camel@pengutronix.de> Subject: Re: [PATCH 3/9] PCI: imx6: Simplify reset handling by using by using *_FLAG_HAS_*_RESET From: Philipp Zabel To: Frank Li Cc: imx@lists.linux.dev, Richard Zhu , Lucas Stach , Lorenzo Pieralisi , Krzysztof =?UTF-8?Q?Wilczy=C5=84ski?= , Rob Herring , Bjorn Helgaas , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , "open list:PCI DRIVER FOR IMX6" , "moderated list:PCI DRIVER FOR IMX6" , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , open list Date: Fri, 08 Dec 2023 12:49:05 +0100 In-Reply-To: References: <20231206155903.566194-1-Frank.Li@nxp.com> <20231206155903.566194-4-Frank.Li@nxp.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT User-Agent: Evolution 3.46.4-2 MIME-Version: 1.0 X-SA-Exim-Connect-IP: 2a0a:edc0:0:c01:1d::a2 X-SA-Exim-Mail-From: p.zabel@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Fri, 08 Dec 2023 03:50:02 -0800 (PST) On Do, 2023-12-07 at 12:10 -0500, Frank Li wrote: > On Wed, Dec 06, 2023 at 05:52:23PM +0100, Philipp Zabel wrote: [...] > > I wonder whether we should just defer the check whether apps/pciephy > > resets should be used to the device tree validation, and make this an > > unconditional call to get an optional reset control: > > > > imx6_pcie->apps_reset = devm_reset_control_get_optional_exclusive(dev, "apps"); > > I think double check here is neccesary. No sure if dts file version > binding yaml was exactly matched driver. Sometime user use old version dts. > Double check here will help identify the dts problem. Makes sense to me, Reviewed-by: Philipp Zabel regards Philipp