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

2023-07-02 Thread Michael Ellerman
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

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

2023-06-09 Thread Rob Herring
"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 n