Re: [PATCH 1/3] of: reserved_mem: Add functions to parse "memory-region"

2025-03-18 Thread Jonathan Cameron
On Mon, 17 Mar 2025 18:24:21 -0500 "Rob Herring (Arm)" wrote: > Drivers with "memory-region" properties currently have to do their own > parsing of "memory-region" properties. The result is all the drivers > have similar patterns of a call to parse "memory-region" and then get > the region's addr

Re: [PATCH 1/3] of: reserved_mem: Add functions to parse "memory-region"

2025-03-18 Thread Daniel Baluta
On Tue, Mar 18, 2025 at 1:24 AM Rob Herring (Arm) wrote: > > Drivers with "memory-region" properties currently have to do their own > parsing of "memory-region" properties. The result is all the drivers > have similar patterns of a call to parse "memory-region" and then get > the region's address

[PATCH 1/3] of: reserved_mem: Add functions to parse "memory-region"

2025-03-17 Thread Rob Herring (Arm)
Drivers with "memory-region" properties currently have to do their own parsing of "memory-region" properties. The result is all the drivers have similar patterns of a call to parse "memory-region" and then get the region's address and size. As this is a standard property, it should have common func