Re: [PATCH v3 2/2] drivers: dma-contiguous: add initialization from device tree

2013-07-16 Thread Marek Szyprowski
Hello Grant, On 7/11/2013 4:56 PM, Grant Likely wrote: Hi Marek, Thanks for working on this. Comments below... On Wed, Jun 26, 2013 at 2:40 PM, Marek Szyprowski m.szyprow...@samsung.com wrote: Add device tree support for contiguous memory regions defined in device tree. Initialization

[PATCH v3 2/2] drivers: dma-contiguous: add initialization from device tree

2013-06-26 Thread Marek Szyprowski
to each device structure. Signed-off-by: Marek Szyprowski m.szyprow...@samsung.com Acked-by: Kyungmin Park kyungmin.p...@samsung.com --- .../devicetree/bindings/contiguous-memory.txt | 94 ++ arch/arm/boot/dts/skeleton.dtsi|7 +- drivers/base/dma

[PATCH v3 0/2] Device Tree support for CMA (Contiguous Memory Allocator)

2013-06-26 Thread Marek Szyprowski
/ node for kernel configuration entities has been already suggested by Grant Likely in the following thread: http://thread.gmane.org/gmane.comp.boot-loaders.u-boot/155296/focus=34363 Best regards Marek Szyprowski Samsung RD Institute Poland Changelog: v3: - fixed issues pointed by Laura and updated

[PATCH v3 1/2] drivers: dma-contiguous: clean source code and prepare for device tree

2013-06-26 Thread Marek Szyprowski
tree support. Signed-off-by: Marek Szyprowski m.szyprow...@samsung.com Acked-by: Kyungmin Park kyungmin.p...@samsung.com --- drivers/base/dma-contiguous.c| 211 -- include/asm-generic/dma-contiguous.h |2 - include/linux/dma-contiguous.h | 32

Re: [PATCH 3/9] ARM: dma-mapping: convert DMA direction into IOMMU protection attributes

2013-06-19 Thread Marek Szyprowski
infers the protection attributes based on the direction of the DMA transfer. Cc: Marek Szyprowski m.szyprow...@samsung.com Signed-off-by: Will Deacon will.dea...@arm.com Thanks for fixing this issue. Could I take this patch to my dma-mapping tree with other dma-mapping changes I've collected

Re: [PATCH 3/9] ARM: dma-mapping: convert DMA direction into IOMMU protection attributes

2013-06-19 Thread Marek Szyprowski
Hello, On 6/19/2013 10:52 AM, Will Deacon wrote: On Wed, Jun 19, 2013 at 09:37:03AM +0100, Marek Szyprowski wrote: Hello, Hi Marek, On 6/10/2013 8:34 PM, Will Deacon wrote: IOMMU mappings take a prot parameter, identifying the protection bits to enforce on the newly created mapping

Re: [PATCH 4/9] ARM: dma-mapping: NULLify dev-archdata.mapping pointer on detach

2013-06-19 Thread Marek Szyprowski
to my dma-mapping tree. Best regards -- Marek Szyprowski Samsung RD Institute Poland ___ devicetree-discuss mailing list devicetree-discuss@lists.ozlabs.org https://lists.ozlabs.org/listinfo/devicetree-discuss

Re: [RFC/PATCH v2 2/2] drivers: dma-contiguous: add initialization from device tree

2013-04-30 Thread Marek Szyprowski
compiled .config I will update this in the next version of the CMA DT patches. Best regards -- Marek Szyprowski Samsung Poland RD Center ___ devicetree-discuss mailing list devicetree-discuss@lists.ozlabs.org https://lists.ozlabs.org/listinfo/devicetree

Re: [RFC/PATCH v2 2/2] drivers: dma-contiguous: add initialization from device tree

2013-04-12 Thread Marek Szyprowski
Hi Laura, Thanks for your thorough review! I will fix all the pointed issues once the main point of this patch set (using /chosen/contiguous-memory for CMA DT bindings) will be agreed and accepted. On 4/11/2013 7:56 PM, Laura Abbott wrote: Hi, On 4/11/2013 4:22 AM, Marek Szyprowski wrote

[RFC/PATCH v2 0/2] Device Tree support for CMA (Contiguous Memory Allocator)

2013-04-11 Thread Marek Szyprowski
system. The proposed patches introduce /chosen/contiguous-memory node and related bindings, to avoid complicated encoding of CMA related configuration to kernel command line. Best regards Marek Szyprowski Samsung Poland RD Center Changelog: v2: - moved contiguous-memory bindings from /memory

[RFC/PATCH v2 1/2] drivers: dma-contiguous: clean source code and prepare for device tree

2013-04-11 Thread Marek Szyprowski
support. Signed-off-by: Marek Szyprowski m.szyprow...@samsung.com Acked-by: Kyungmin Park kyungmin.p...@samsung.com --- drivers/base/dma-contiguous.c| 211 -- include/asm-generic/dma-contiguous.h |2 - include/linux/dma-contiguous.h | 32 +- 3

[RFC/PATCH v2 2/2] drivers: dma-contiguous: add initialization from device tree

2013-04-11 Thread Marek Szyprowski
to device structures. Signed-off-by: Marek Szyprowski m.szyprow...@samsung.com Acked-by: Kyungmin Park kyungmin.p...@samsung.com --- .../devicetree/bindings/contiguous-memory.txt | 69 +++ arch/arm/boot/dts/skeleton.dtsi|8 +- drivers/base/dma-contiguous.c

Re: [PATCH 0/2] Device Tree support for CMA (Contiguous Memory Allocator)

2013-03-15 Thread Marek Szyprowski
Hello, It took me some time to get back to this topic due to my holidays and other urgent issues. I hope that this I will be able to participate a bit more actively. On 2/14/2013 10:30 PM, Sascha Hauer wrote: Hi Marek, On Thu, Feb 14, 2013 at 01:45:26PM +0100, Marek Szyprowski wrote: Hello

Re: [Linaro-mm-sig] [PATCH 2/2] drivers: dma-contiguous: add initialization from device tree

2013-03-15 Thread Marek Szyprowski
Hello, On 2/14/2013 10:34 PM, Laura Abbott wrote: On 2/14/2013 4:45 AM, Marek Szyprowski wrote: snip +name:an name given to the defined region. +base-address:the base address of the defined region. +size:the size of the memory region. +linux,contiguous-region: property

[PATCH 0/2] Device Tree support for CMA (Contiguous Memory Allocator)

2013-02-14 Thread Marek Szyprowski
(drivers: add Contiguous Memory Allocator) and d484864dd96e1830e76895 (CMA merge commit). Best regards Marek Szyprowski Samsung Poland RD Center Patch summary: Marek Szyprowski (2): drivers: dma-contiguous: clean source code and prepare for device tree drivers: dma-contiguous: add

[PATCH 1/2] drivers: dma-contiguous: clean source code and prepare for device tree

2013-02-14 Thread Marek Szyprowski
support. Signed-off-by: Marek Szyprowski m.szyprow...@samsung.com Acked-by: Kyungmin Park kyungmin.p...@samsung.com --- drivers/base/dma-contiguous.c| 210 +- include/asm-generic/dma-contiguous.h |4 +- include/linux/dma-contiguous.h | 32 +- 3

[PATCH 2/2] drivers: dma-contiguous: add initialization from device tree

2013-02-14 Thread Marek Szyprowski
to device structures. Signed-off-by: Marek Szyprowski m.szyprow...@samsung.com Acked-by: Kyungmin Park kyungmin.p...@samsung.com --- Documentation/devicetree/bindings/memory.txt | 101 ++ arch/arm/boot/dts/skeleton.dtsi |7 +- drivers/base/dma

RE: [PATCH V2 3/7] ARM: EXYNOS5: add machine specific support for LCD

2012-07-20 Thread Marek Szyprowski
Hello, On Thursday, July 19, 2012 3:22 PM Leela Krishna Amudala wrote: Hello Marek, On Wed, Jul 18, 2012 at 12:15 PM, Marek Szyprowski m.szyprow...@samsung.com wrote: Hello, On Wednesday, July 18, 2012 7:57 AM Leela Krishna Amudala wrote: This patch adds machine specific support

RE: [PATCH V2 1/7] ARM: SAMSUNG: add additional registers and SFR definitions for writeback

2012-07-20 Thread Marek Szyprowski
Hello, On Thursday, July 19, 2012 2:44 PM Leela Krishna Amudala Hello Marek, On Wed, Jul 18, 2012 at 12:21 PM, Marek Szyprowski m.szyprow...@samsung.com wrote: Hello, On Wednesday, July 18, 2012 7:57 AM Leela Krishna Amudala wrote: This patch updates the register address offsets

RE: [PATCH V2 1/7] ARM: SAMSUNG: add additional registers and SFR definitions for writeback

2012-07-18 Thread Marek Szyprowski
, but it looks they didn't get their way to mainline. Best regards -- Marek Szyprowski Samsung Poland RD Center ___ devicetree-discuss mailing list devicetree-discuss@lists.ozlabs.org https://lists.ozlabs.org/listinfo/devicetree-discuss

RE: [PATCH V2 3/7] ARM: EXYNOS5: add machine specific support for LCD

2012-07-18 Thread Marek Szyprowski
and create required bindings for it instead of hardcoding the platform data and gpio numbers in mach-exynos5-dt.c Best regards -- Marek Szyprowski Samsung Poland RD Center ___ devicetree-discuss mailing list devicetree-discuss@lists.ozlabs.org https

RE: [PATCH 3/3] i2c-s3c2410: Add HDMIPHY quirk for S3C2440

2012-04-18 Thread Marek Szyprowski
to Exynos4 SoCs. Exynos4 SoC has 8 standard s3c2440 style i2c controllers and one additional, internal controller for HDMIPHY, which needs some workarounds in the driver. Maybe the quirk should be named 'broken timeout detection' (snipped) Best regards -- Marek Szyprowski Samsung Poland RD

RE: [RFC 4/4] drm: Add NVIDIA Tegra support

2012-04-12 Thread Marek Szyprowski
the kernel tree there aren't any users that map DMA memory through an IOMMU. dma_map_sg is certainly the right interface to use, and Marek Szyprowski has patches to make that work on ARM, hopefully going into v3.5, so you could use those. I've looked at Marek's patches but I don't

RE: [RFC 4/4] drm: Add NVIDIA Tegra support

2012-04-12 Thread Marek Szyprowski
fragmentation. Best regards -- Marek Szyprowski Samsung Poland RD Center ___ devicetree-discuss mailing list devicetree-discuss@lists.ozlabs.org https://lists.ozlabs.org/listinfo/devicetree-discuss

RE: [PATCH v2 2/3] ARM: Exynos4: Add ioremap interceptor for statically remapped regions

2012-01-12 Thread Marek Szyprowski
__iounmap + +void __iomem *exynos4_ioremap(unsigned long phy, size_t size, + unsigned int type); #endif /* __ASM_ARM_ARCH_IO_H */ -- 1.7.4.4 Best regards -- Marek Szyprowski Samsung Poland RD Center