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 D4162CE7AE5 for ; Fri, 6 Sep 2024 07:00:55 +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=uUlqUwaLIWNbsVjRhWvuXLWwMr5ykeNKJnP9nNXvjaA=; b=KMCixZLFdqQC6OrWLgTfcM6cVm p/wQxJE8FjFpG5SEZ9fMddjnLtYEig/ogY9qKxTMDwiIlWRyuZdlJ3CojhOT96jZNFqr6Oalo6R3h gOeYCT8uZfHAhAEkThVHoO5+PEx1rzR8rs6smzqbBnphdDl4XSmDBPOocswL4Z0Qjui2+bVx4x1FH 2EWdBC5YnyE8B6Vt2jMaGE4d1kfbCz+VmWiojJaPsfnt0RkqfL4m0Zse+kiSdJUWiL2kp2Rw8kMJw T8V2aCkbvi5ov3TUzEdSPA8Ra+fHipRgGELNb2cFJ5lHSY/ULS28IJfrNbLB81rtrkcX3FAjXoBKa 9m8pyFxw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1smSxY-0000000Az9j-1Ain; Fri, 06 Sep 2024 07:00:44 +0000 Received: from mail-pl1-f174.google.com ([209.85.214.174]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1smSV0-0000000Asej-034Z for linux-arm-kernel@lists.infradead.org; Fri, 06 Sep 2024 06:31:15 +0000 Received: by mail-pl1-f174.google.com with SMTP id d9443c01a7336-20551eeba95so16650415ad.2 for ; Thu, 05 Sep 2024 23:31:13 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1725604273; x=1726209073; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=uUlqUwaLIWNbsVjRhWvuXLWwMr5ykeNKJnP9nNXvjaA=; b=UT/7Plycy6dQIsEIWIJxpiAoqFZPs4yMWWImDpRFi4T9Sc2wIRECp2Ofnof3iBOjxt m3E9E4GI4fees0humxzsXXzAMGlcW1MUt23Isd5/TOraoW+iEE5gD7SDkxNMFQy48eIt MMWf/vo+psSSgxnKbp1IyZOpRTZt+ftQw9m1jSamnhwqFK4hQxorj/KkWXRlVFt3LTZd 65iEvsbAPY28nbTXwIJBND2S6CgTwYXlaD7BsXtXKE7UykF9WvOcSzo4L1mhzsSIiGtT 3mf+Jh5wD48fzl/D2rHx3PgIoYDoDF62Ca0xEtD4WrZH9Ay3gOTRppmp4olU4Vijds6i Ss3w== X-Forwarded-Encrypted: i=1; AJvYcCXImTxXHz4M9ILMLE77nWJd8ifxFdAsYFm+CL8TLkKhmMcdoGfbWrmJ6hi+QXqo54K0NZlcrC0tOm8xEKvH7pz+@lists.infradead.org X-Gm-Message-State: AOJu0YytPDyR4eGOmuyyrLSWt2YqB/MoqCqBI9Urr+Ihi2sJFp4jnXHs 1luosfm4HM2DxirphhaJYCbEMQK77v4jGyRS3rag34r257guSHiP X-Google-Smtp-Source: AGHT+IFDFoOk1bH5c4RXh8ffMzQ0h3Mv865nSfiJ+AC1ztLE71RolJQdzxnMQJba93jTnE+ady0DAw== X-Received: by 2002:a17:902:e80e:b0:206:d6ac:854f with SMTP id d9443c01a7336-206f049d45amr15829625ad.3.1725604272744; Thu, 05 Sep 2024 23:31:12 -0700 (PDT) Received: from localhost (fpd11144dd.ap.nuro.jp. [209.17.68.221]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-206aea38c31sm37371035ad.151.2024.09.05.23.31.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 Sep 2024 23:31:12 -0700 (PDT) Date: Fri, 6 Sep 2024 15:31:10 +0900 From: Krzysztof =?utf-8?Q?Wilczy=C5=84ski?= To: Richard Zhu Cc: robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, shawnguo@kernel.org, l.stach@pengutronix.de, devicetree@vger.kernel.org, linux-pci@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, kernel@pengutronix.de, imx@lists.linux.dev Subject: Re: [PATCH v5 1/4] dt-bindings: imx6q-pcie: Add reg-name "dbi2" and "atu" for i.MX8M PCIe Endpoint Message-ID: <20240906063110.GA679795@rocinante> References: <1723534943-28499-1-git-send-email-hongxing.zhu@nxp.com> <1723534943-28499-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: <1723534943-28499-2-git-send-email-hongxing.zhu@nxp.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240905_233114_075240_18776484 X-CRM114-Status: GOOD ( 11.63 ) 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 Hello, > 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. Applied to dt-bindings, thank you! [1/1] dt-bindings: PCI: imx6q-pcie: Add reg-name "dbi2" and "atu" for i.MX8M PCIe Endpoint https://git.kernel.org/pci/pci/c/2f309c988b7c Krzysztof