Re: [PATCH v2 4/8] dm: Introduce xxx_get_dma_range()

2020-12-14 Thread Nicolas Saenz Julienne
On Sat, 2020-12-12 at 08:39 -0700, Simon Glass wrote: > Hi Nicolas, > > On Thu, 10 Dec 2020 at 04:39, Nicolas Saenz Julienne > wrote: > > > > Add the following functions to get a specific device's DMA ranges: > >  - dev_get_dma_range() > >  - ofnode_get_dma_range() > >  - of_get_dma_range() > >

Re: [PATCH v2 4/8] dm: Introduce xxx_get_dma_range()

2020-12-12 Thread Simon Glass
Hi Nicolas, On Thu, 10 Dec 2020 at 04:39, Nicolas Saenz Julienne wrote: > > Add the following functions to get a specific device's DMA ranges: > - dev_get_dma_range() > - ofnode_get_dma_range() > - of_get_dma_range() > - fdt_get_dma_range() > They are specially useful in oder to be able valid

Re: [PATCH v2 4/8] dm: Introduce xxx_get_dma_range()

2020-12-10 Thread Matthias Brugger
On 10/12/2020 10:42, Nicolas Saenz Julienne wrote: > Add the following functions to get a specific device's DMA ranges: > - dev_get_dma_range() > - ofnode_get_dma_range() > - of_get_dma_range() > - fdt_get_dma_range() > They are specially useful in oder to be able validate a physical address

[PATCH v2 4/8] dm: Introduce xxx_get_dma_range()

2020-12-10 Thread Nicolas Saenz Julienne
Add the following functions to get a specific device's DMA ranges: - dev_get_dma_range() - ofnode_get_dma_range() - of_get_dma_range() - fdt_get_dma_range() They are specially useful in oder to be able validate a physical address space range into a bus's and to convert addresses from and to add