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 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id A32F7C3DA64 for ; Tue, 6 Aug 2024 14:43:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=Circc4TYdjE3jl4e8D4WJGjqfdvbySMkd0SOMVb3gDU=; b=SYFE3jcZU1Yjn6Sw/IRc0EpiYa fr6TbAUBQYRatWRBwOxo+xXyL0Zx40S1yF8uTF2xQzUCEt5Yh98Oi+T0I3UW5wyqZbJf2YJV7RBYH e0/3E3FRYTsO1lpyKl2JoF9t+0fdvsGCTLOV6TI/mYhCJbgGVDqdXKty+pjtAoyFFgMwtxS2ZRzXp HWRPKiKCL6tFZNrKsP4I61EBECL/e8kYbyFxibvI9nJX0KZJd+h+ct8qKBAR9EybdY89G1SrtzYWy xo3hOXY3mnYXXQ09uIy8uwqmChCCTlZj2mTd3JbtPBWmcyL8+qKHstH3AgCMbKub+Q7WY2zUDireu Je+myRXQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sbLOf-000000021Bc-40Qp; Tue, 06 Aug 2024 14:42:45 +0000 Received: from dfw.source.kernel.org ([139.178.84.217]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sbLMq-000000020Yv-0qyX for linux-arm-kernel@lists.infradead.org; Tue, 06 Aug 2024 14:40:53 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id 7D44360F6F; Tue, 6 Aug 2024 14:40:51 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 03E8AC4AF09; Tue, 6 Aug 2024 14:40:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1722955251; bh=ck4tWvVoFfRUFwDa9ixWn/oRRNMXb2QJWxw6i7I5tcA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=CTFMDJPAzVp1ROfBYmNRZwITqhREK9vrmTVXr0QiHaCV+W7Uyicob7UaC2UwPUCkH xreLKguJ/zjFQkN5mHk7CBRyCW+aUD72wjhJ3+uVqCKkvheDi99QlMISsnJZdKw2KC UqKtd1iqNy4goC8wHAvBfvoNfem41KJeRB9gWkjwXoKFIXfZ6kHCbhAa7L6/KdH1pO wJclMN7apK3ME0seMmLwWcwXcJIGwufWP6tC1Lco2pgUJpLajZ9K8OLFW2Zh7xteri WsbtFdYtjT5tujVMuCvYwcnufT+LgL2C7w8JncqCiQ8B6EB9NBtIO6Efhy6Mj37soc 52HovReLNXfOA== Date: Tue, 6 Aug 2024 08:40:50 -0600 From: "Rob Herring (Arm)" To: Richard Zhu Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, kernel@pengutronix.de, krzk+dt@kernel.org, linux-kernel@vger.kernel.org, conor+dt@kernel.org, imx@lists.linux.dev, linux-pci@vger.kernel.org, shawnguo@kernel.org, l.stach@pengutronix.de Subject: Re: [PATCH v4 1/4] dt-bindings: imx6q-pcie: Add reg-name "dbi2" and "atu" for i.MX8M PCIe Endpoint Message-ID: <172295524841.1489029.13563934125937656478.robh@kernel.org> References: <1722218205-10683-1-git-send-email-hongxing.zhu@nxp.com> <1722218205-10683-2-git-send-email-hongxing.zhu@nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1722218205-10683-2-git-send-email-hongxing.zhu@nxp.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240806_074052_334714_18179C35 X-CRM114-Status: GOOD ( 13.23 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Mon, 29 Jul 2024 09:56:42 +0800, Richard Zhu wrote: > Add reg-name: "dbi2", "atu" for i.MX8M PCIe Endpoint. > > For i.MX8M PCIe EP, the dbi2 and atu addresses are pre-defined in the > driver. This method is not good. > > In commit b7d67c6130ee ("PCI: imx6: Add iMX95 Endpoint (EP) support"), > Frank suggests to fetch the dbi2 and atu from DT directly. This commit is > preparation to do that for i.MX8M PCIe EP. > > These changes wouldn't break driver function. When "dbi2" and "atu" > properties are present, i.MX PCIe driver would fetch the according base > addresses from DT directly. If only two reg properties are provided, i.MX > PCIe driver would fall back to the old method. > > Signed-off-by: Richard Zhu > Reviewed-by: Frank Li > --- > .../devicetree/bindings/pci/fsl,imx6q-pcie-ep.yaml | 13 +++++++++---- > 1 file changed, 9 insertions(+), 4 deletions(-) > Reviewed-by: Rob Herring (Arm)