Received: by 2002:a05:7412:3b8b:b0:fc:a2b0:25d7 with SMTP id nd11csp497841rdb; Thu, 8 Feb 2024 11:52:02 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXYxlxK0FxDOKvSIB4HbJ+J6VYEMDo83BsyKNS5HflosNKx1EekBWDM/jx0Y7xwP5w/yqT6W9iN5sxiL0O122bod0vZ+1q0xErDvvbEEQ== X-Google-Smtp-Source: AGHT+IHrZFWP9qT4llPuQMMXKdIop59kt8mc1jb+DquXqmhe5s6ZQBYeB+LXLsI0ODMAqpNT1xrO X-Received: by 2002:a17:903:278f:b0:1d9:aa5d:a50 with SMTP id jw15-20020a170903278f00b001d9aa5d0a50mr157151plb.25.1707421921890; Thu, 08 Feb 2024 11:52:01 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707421921; cv=pass; d=google.com; s=arc-20160816; b=OvTkPa8aWAsWMWDyfL1Jk9qZOnOYFlugTiG2J3YuGWjdqv+2/qLu6Va3CJwRXMCWeT UOHt3UkX/CpstMTYBXphhI591zVYqBjKZgyoGE2CsZsjd8KPLhXCICMZ2BCOw3IvfZyq rkjmMQPv3i0+BPqKVhZBZaURF++Jawfv0+W5p6hBbNkFpyLXobIegMOiX5a0SQFT4Yll fUy67GQU0IVg6w0zA91KQpMJcD2lb2YgE212mknWFjPs7SkZjZeaxSlBK6XaNtTex0bp lG3hkVcdoUyC/Ap8xJLkRLujyL4ETwJLhLvfFRtS5088Tnkn6QFwz6WUDlrlkC3/TpXd nQoA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=4F7aen3LDRqc7mI16oII/Zf07bhRT7kVlrwCSdA8acI=; fh=iaht9ILzUMC2m4uU20K/YMd7tKuiq0Hq3A/6mPT7CeA=; b=H3qzjfzN4p1YMYVY37NWVbD/76vAcbQ7VwE5W5kefDqNLkydzLvrpX9RTdnv0+rmEQ rASwnbGq/yl5Cw7HczMtnUb4eA+hJY41jB3Y9qYGVdAHwAPnX86eT2OlzusdnAPR9E2a eUHcH3CcPg3P9R+oCMMwSsGnI+gV8EeKIzlsEkTu9S+2oHwxgvvp416oCFQqpxvcPn8S iA8P0VA2JKRYAVLjVOGSvgT7BCho4J1q1hDvo7yxJ5nx5n2fXH6aFeg0YVjw/iBwvYl8 /v8SxXOgrnv+JPikUuK8xatWfwylGRzp5XaN40sFxuOGT5zbbVRmuPTLTrcbCSu5guME 0CRg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=l85qlyGz; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-58634-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-58634-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org X-Forwarded-Encrypted: i=2; AJvYcCXArnUwxxId06zYfBPjRpdAcAg1iDLCNeZnBh5TI4UgfJPQ98y273dEEnaS1OlX+j6VbuZmMvxcPoLUMIIkFHFLrE1I1TCi7GJW6sStZg== Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id ix21-20020a170902f81500b001d792c3bbd0si207559plb.641.2024.02.08.11.52.01 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Feb 2024 11:52:01 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-58634-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=l85qlyGz; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-58634-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-58634-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id E7497289ACC for ; Thu, 8 Feb 2024 19:45:15 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7751A381D4; Thu, 8 Feb 2024 19:45:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="l85qlyGz" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8D92F381BE; Thu, 8 Feb 2024 19:45:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707421504; cv=none; b=fGqdYxudkqiyXvBBWcTasEcFVQjUW7uEpVIwQJLn44IXX6POegrI8fnt454pORubgo14ewWQ31GN9tWjxHlCIDPqaPC7J9snA2sMaF3r/FRsz11G20tBzu0Jz5jcoQyhmV0O3fPy5vALXMJHq3ajKvumAI1B/3+Wf6MxDjACMog= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707421504; c=relaxed/simple; bh=2l1tUOHCZWdiX/9Elx5aQIoUXcEcudfp7fVDeYyh7Sk=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=gn0chvp5evJsW6zgtZotWbXere7NZSH2s9RxpGSMB1T/X8em6hseokTycO/lwANilp8GWBtegBciT5LxdubVl2Vq9k6mcvIG9hqk/soJAyOF4bGZBg9cXXXw0rmxuiFy/qruQpOoJ1Mta+k3/CBxwxKZIy+5/gjAwBJO7ZxylbI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=l85qlyGz; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id C054FC433F1; Thu, 8 Feb 2024 19:45:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1707421504; bh=2l1tUOHCZWdiX/9Elx5aQIoUXcEcudfp7fVDeYyh7Sk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=l85qlyGzwjrx1J9QVyRPLQdeZ97wSwh5w19HA0aHLOEKbmgVfa4vLLCxL8TNeQoX9 X3BlxdpOtNHmUujbHeBXC/YeSYhf10TkjgUdt+7Tq9LQMCz00URsdXTNHa/OtY4RR0 OcpqXaNmnAUATC3w8YNaYj6w8SydUoFBx2js+0kvzNCHTLllxEArCRJp0E8ZHkdk+L iPw+yO/I7fcS3iKjQ+8Pq1CgQFrkaM9lbr38wPnH9+jS6D8VlHE72fss6oYXPqVWG9 NYJ8JP0qIUJKwcVZKcPZkO1/NhjtZdCtKjb5XtfQd0/CicsI0dQQlDBamW5mHtwCva TZ69Rfze9uq7A== Date: Thu, 8 Feb 2024 19:44:59 +0000 From: Conor Dooley To: Frank Li Cc: Bjorn Helgaas , Lorenzo Pieralisi , Krzysztof =?utf-8?Q?Wilczy=C5=84ski?= , Rob Herring , Krzysztof Kozlowski , Conor Dooley , "open list:PCI SUBSYSTEM" , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , open list , imx@lists.linux.dev Subject: Re: [PATCH 1/1] dt-bindings: pci: layerscape-pci: Convert to yaml file Message-ID: <20240208-revoke-doorman-5ba34f39c743@spud> References: <20240207062403.304367-1-Frank.Li@nxp.com> <20240207-yoga-mobility-90a728f6342c@spud> <20240208-jarring-frolic-8d4c9b409127@spud> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="rMxUxceKvHhVm2vW" Content-Disposition: inline In-Reply-To: --rMxUxceKvHhVm2vW Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Feb 08, 2024 at 02:34:47PM -0500, Frank Li wrote: > On Thu, Feb 08, 2024 at 07:12:47PM +0000, Conor Dooley wrote: > > On Wed, Feb 07, 2024 at 12:49:19PM -0500, Frank Li wrote: > > > On Wed, Feb 07, 2024 at 05:17:55PM +0000, Conor Dooley wrote: > > > > On Wed, Feb 07, 2024 at 01:24:02AM -0500, Frank Li wrote: > > > > > + > > > > > + This controller derives its clocks from the Reset Configuratio= n Word (RCW) > > > > > + which is used to describe the PLL settings at the time of chip= -reset. > > > > > + > > > > > + Also as per the available Reference Manuals, there is no speci= fic 'version' > > > > > + register available in the Freescale PCIe controller register s= et, > > > > > + which can allow determining the underlying DesignWare PCIe con= troller version > > > > > + information. > > > > > + > > > > > +properties: > > > > > + compatible: > > > > > + enum: > > > > > + - fsl,ls2088a-pcie-ep > > > > > + - fsl,ls1088a-pcie-ep > > > > > + - fsl,ls1046a-pcie-ep > > > > > + - fsl,ls1028a-pcie-ep > > > > > + - fsl,lx2160ar2-pcie-ep > > > >=20 > > > > Where did the fallback compatible go? > > >=20 > > > So far, no fallback compatible needed now. each devices already have = its > > > compatible string. > >=20 > > It used to exist though, have you checked that u-boot or *bsd etc do not > > use the fallback compatible? You also need to mention your justification > > for removing it in the commit message. >=20 > This commit just convert binding doc from txt to yaml. I just make sure > which equal to what descript in txt. The text binding does have a fallback compatible though: EP mode: "fsl,ls1028a-pcie-ep", "fsl,ls-pcie-ep" So this is a change compared to the text binding, without any justification for it being okay to do. > If there are someting wrong in "uboot" > or "bsd", we can fixed it later. If other bits of software are using the fallback, you cannot remove it. > I checked driver code. exited dts tree > under kernel, which use unexited fallback compatible string > "fsl, lx-pcie-ep", which should be removed at dts file. What do you mean by "unexisted"? It was in the text binding, so it is perfectly fine to have it in the dts. Given it has users, I don't think you should be removing the fallback without a very good justification. > > > > > + reg: > > > > > + maxItems: 2 > > > > > + > > > > > + reg-names: > > > > > + items: > > > > > + - const: regs > > > > > + - const: addr_space > > > >=20 > > > > The example uses "regs" and "config". Where did addr_space come fro= m? > > >=20 > > > Example just show pcie-host part. Not show pcie-ep part. > > > pcie-ep part need 'addr_space'. > >=20 > > Okay. Again, please mention where this is coming from. >=20 > Ideally it comes from snsp,dwc-pcie-ep.yaml. but it is use 'dbi' instead > of 'regs'. It needs extra effort to make driver code algin common > snps,dwc-pcie-ep.yaml, and update exist all dts files. >=20 > I think it will be deleted soon.=20 What I am looking for here is you to explain in the commit message that the endpoint driver in linux and the dts have always used "addr_space". Checking that there's not a u-boot or *bsd that uses "config" would also be very helpful. Thanks, Conor. --rMxUxceKvHhVm2vW Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZcUvOwAKCRB4tDGHoIJi 0pEOAQC+6pG9TSecqqT+uAlpAWFYvajdjJeRy9uODgGeXd24MgEA2eU3EIx1Ow4G bun7vzHAbXh2WeyPo16JHqUZjTFBRAQ= =Du8B -----END PGP SIGNATURE----- --rMxUxceKvHhVm2vW--