Re: [PATCH] powerpc: fsl_rio: Use of_range_to_resource() for "ranges" parsing

From: Michael Ellerman
Date: Mon Jul 03 2023 - 01:53:07 EST


On Fri, 09 Jun 2023 12:32:44 -0600, Rob Herring wrote:
> "ranges" is a standard property with common parsing functions. Users
> shouldn't be implementing their own parsing of it. Refactor the FSL RapidIO
> "ranges" parsing to use of_range_to_resource() instead.
>
> One change is the original code would look for "#size-cells" and
> "#address-cells" in the parent node if not found in the port child
> nodes. That is non-standard behavior and not necessary AFAICT. In 2011
> in commit 54986964c13c ("powerpc/85xx: Update SRIO device tree nodes")
> there was an ABI break. The upstream .dts files have been correct since
> at least that point.
>
> [...]

Applied to powerpc/next.

[1/1] powerpc: fsl_rio: Use of_range_to_resource() for "ranges" parsing
https://git.kernel.org/powerpc/c/c4ae1799a5a358388acb610512c68666f8758364

cheers