Hi Rob,
On 2015-12-31 00:25, Rob Herring wrote:
On Wed, Dec 16, 2015 at 9:37 AM, Marek Szyprowski
wrote:
This patch allows device drivers to initialize more than one reserved
memory region assigned to given device. When driver needs to use more
than one reserved memory region, it should
are
supports 256M of address space per each channel).
Signed-off-by: Marek Szyprowski
---
drivers/media/platform/s5p-mfc/s5p_mfc.c | 24
drivers/media/platform/s5p-mfc/s5p_mfc_iommu.h | 79 ++
2 files changed, 103 insertions(+)
create mode 100644 drivers/me
Enable support for Multimedia Codec (MFC) device for all Exynos4412-based
Odroid boards.
Signed-off-by: Marek Szyprowski
---
arch/arm/boot/dts/exynos4412-odroid-common.dtsi | 24
1 file changed, 24 insertions(+)
diff --git a/arch/arm/boot/dts/exynos4412-odroid
This patch replaces custom properties for definining reserved memory
regions with generic reserved memory bindings. All custom code for
handling MFC-specific reserved memory can be now removed from Exynos-DT
generic board code.
Signed-off-by: Marek Szyprowski
---
.../devicetree/bindings/media
This patch allows device drivers to initialize more than one reserved
memory region assigned to given device. When driver needs to use more
than one reserved memory region, it should allocate child devices and
initialize regions by index or name for each of its child devices.
Signed-off-by: Marek
would
prefer to merge patches 1-2 via Samsung tree and patches 3-7 via media
tree (there are no compile-time dependencies between patches 1-2 and
3-7). Patches have been tested on Odroid U3 (Exynos 4412 based) and
Odroid XU3 (Exynos 5422 based) boards.
Best regards
Marek Szyprowski
Samsung R&a
All multimedia devices found on Exynos SoCs support only contiguous
buffers, so set DMA max segment size to DMA_BIT_MASK(32) to let memory
allocator to correctly create contiguous memory mappings.
Signed-off-by: Marek Szyprowski
---
drivers/media/platform/exynos-gsc/gsc-core.c | 1 +
drivers
by generic reserved memory bindings. Support for non-dt
platform has been removed, because all supported platforms have been
converted to device tree.
Signed-off-by: Marek Szyprowski
---
drivers/media/platform/s5p-mfc/s5p_mfc.c | 129 +++
1 file changed, 62 inserti
d-off-by: Marek Szyprowski
---
drivers/media/v4l2-core/videobuf2-dma-contig.c | 14 ++
include/media/videobuf2-dma-contig.h | 1 +
2 files changed, 15 insertions(+)
diff --git a/drivers/media/v4l2-core/videobuf2-dma-contig.c
b/drivers/media/v4l2-core/videobuf2-dma-contig.c
Hi Laurent,
On 2015-12-14 16:50, Laurent Pinchart wrote:
Hi Marek,
On Monday 14 December 2015 10:20:22 Marek Szyprowski wrote:
On 2015-12-13 20:57, Laurent Pinchart wrote:
On Wednesday 09 December 2015 14:58:19 Marek Szyprowski wrote:
Add a helper function for device drivers to set DMA
Hello,
On 2015-12-13 20:52, Laurent Pinchart wrote:
Hi Marek,
Thank you for the patches.
On Wednesday 09 December 2015 14:58:15 Marek Szyprowski wrote:
Hello,
This patchset finally perform cleanup of custom code in s5p-mfc codec
driver. The first part is removal of custom, driver specific
Hello,
On 2015-12-13 20:57, Laurent Pinchart wrote:
Hi Marek,
Thank you for the patch.
On Wednesday 09 December 2015 14:58:19 Marek Szyprowski wrote:
Add a helper function for device drivers to set DMA's max_seg_size.
Setting it to largest possible value lets DMA-mapping API always c
by generic reserved memory bindings. Support for non-dt
platform has been removed, because all supported platforms have been
converted to device tree.
Signed-off-by: Marek Szyprowski
---
drivers/media/platform/s5p-mfc/s5p_mfc.c | 129 +++
1 file changed, 62 inserti
This patch allows device drivers to initialize more than one reserved
memory region assigned to given device. When driver needs to use more
than one reserved memory region, it should allocate child devices and
initialize regions by index or name for each of its child devices.
Signed-off-by: Marek
All multimedia devices found on Exynos SoCs support only contiguous
buffers, so set DMA max segment size to DMA_BIT_MASK(32) to let memory
allocator to correctly create contiguous memory mappings.
Signed-off-by: Marek Szyprowski
---
drivers/media/platform/exynos-gsc/gsc-core.c | 1 +
drivers
d-off-by: Marek Szyprowski
---
drivers/media/v4l2-core/videobuf2-dma-contig.c | 15 +++
include/media/videobuf2-dma-contig.h | 1 +
2 files changed, 16 insertions(+)
diff --git a/drivers/media/v4l2-core/videobuf2-dma-contig.c
b/drivers/media/v4l2-core/videobuf2-dma-contig.c
This patch replaces custom properties for definining reserved memory
regions with generic reserved memory bindings. All custom code for
handling MFC-specific reserved memory can be now removed from Exynos-DT
generic board code.
Signed-off-by: Marek Szyprowski
---
.../devicetree/bindings/media
are
supports 256M of address space per each channel).
Signed-off-by: Marek Szyprowski
---
drivers/media/platform/s5p-mfc/s5p_mfc.c | 24
drivers/media/platform/s5p-mfc/s5p_mfc_iommu.h | 79 ++
2 files changed, 103 insertions(+)
create mode 100644 drivers/me
Enable support for Multimedia Codec (MFC) device for all Exynos4412-based
Odroid boards.
Signed-off-by: Marek Szyprowski
---
arch/arm/boot/dts/exynos4412-odroid-common.dtsi | 24
1 file changed, 24 insertions(+)
diff --git a/arch/arm/boot/dts/exynos4412-odroid
would
prefer to merge patches 1-2 via Samsung tree and patches 3-7 via media
tree (there are no compile-time dependencies between patches 1-2 and
3-7). Patches have been tested on Odroid U3 (Exynos 4412 based) and
Odroid XU3 (Exynos 5422 based) boards.
Best regards
Marek Szyprowski
Samsung R&a
Hello,
On 2015-12-08 15:58, Rob Herring wrote:
On Mon, Dec 7, 2015 at 6:08 AM, Marek Szyprowski
wrote:
This patch allows device drivers to use more than one reserved memory
region assigned to given device. When NULL name is passed to
of_reserved_mem_device_init(), the default (first) region
Hello,
On 2015-12-07 13:08, Marek Szyprowski wrote:
This patchset finally perform cleanup of custom code in s5p-mfc codec
driver. The first part is removal of custom, driver specific code for
intializing and handling of reserved memory. Instead, a generic code for
reserved memory regions is
This patch replaces custom properties for definining reserved memory
regions with generic reserved memory bindings. All custom code for
handling MFC-specific reserved memory can be now removed from Exynos-DT
generic board code.
Signed-off-by: Marek Szyprowski
---
.../devicetree/bindings/media
d-off-by: Marek Szyprowski
---
Changelog:
v3:
- make this code a helper function instead of chaning max_seg_size
unconditionally on vb2_dma_contig_init_ctx
v2:
- set max segment size only if a new dma params structure has been
allocated, as suggested by Laurent Pinchart
---
drivers/media/v4l2
by generic reserved memory bindings. Support for non-dt
platform has been removed, because all supported platforms have been
converted to device tree.
Signed-off-by: Marek Szyprowski
---
drivers/media/platform/s5p-mfc/s5p_mfc.c | 129 +++
1 file changed, 62 inserti
would
prefer to merge patches 1-2 via Samsung tree and patches 3-7 via media
tree (there are no compile-time dependencies between patches 1-2 and
3-7). Patches have been tested on Odroid U3 (Exynos 4412 based) and
Odroid XU3 (Exynos 5422 based) boards.
Best regards
Marek Szyprowski
Samsung R&a
are
supports 256M of address space per each channel).
Signed-off-by: Marek Szyprowski
---
drivers/media/platform/s5p-mfc/s5p_mfc.c | 24
drivers/media/platform/s5p-mfc/s5p_mfc_iommu.h | 79 ++
2 files changed, 103 insertions(+)
create mode 100644 drivers/me
Enable support for Multimedia Codec (MFC) device for all Exynos4412-based
Odroid boards.
Signed-off-by: Marek Szyprowski
---
arch/arm/boot/dts/exynos4412-odroid-common.dtsi | 24
1 file changed, 24 insertions(+)
diff --git a/arch/arm/boot/dts/exynos4412-odroid
This patch allows device drivers to use more than one reserved memory
region assigned to given device. When NULL name is passed to
of_reserved_mem_device_init(), the default (first) region is used.
Signed-off-by: Marek Szyprowski
---
drivers/of/of_reserved_mem.c| 101
All multimedia devices found on Exynos SoCs support only contiguous
buffers, so set DMA max segment size to DMA_BIT_MASK(32) to let memory
allocator to correctly create contiguous memory mappings.
Signed-off-by: Marek Szyprowski
---
drivers/media/platform/exynos-gsc/gsc-core.c | 1 +
drivers
| 6 +-
2 files changed, 8 insertions(+), 1 deletion(-)
Acked-by: Marek Szyprowski
Best regards
--
Marek Szyprowski, PhD
Samsung R&D Institute Poland
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body o
setup correctly and thus CMA will fail to setup.
This patch is to fixup the alignment to meet the CMA setup required.
Mailing-list-thread: https://lkml.org/lkml/2015/11/9/138
Signed-off-by: Jason Liu
Cc: Marek Szyprowski
Cc: Grant Likely
Cc: Rob Herring
Acked-by: Marek Szyprowski
---
d
?
This patch just adds support for 2 more clocks to exynos 5433 clk driver,
which were previously undefined. How this break compatibility with older
DTBs?
Best regards
--
Marek Szyprowski, PhD
Samsung R&D Institute Poland
--
To unsubscribe from this list: send the line "
Hello,
On 2015-10-08 11:35, Javier Martinez Canillas wrote:
Hello,
On 10/08/2015 08:23 AM, Marek Szyprowski wrote:
Hello,
On 2015-10-08 08:02, Krzysztof Kozlowski wrote:
On 07.10.2015 23:26, Marek Szyprowski wrote:
Hello,
On 2015-10-07 02:30, Krzysztof Kozlowski wrote:
Introduction
Hello,
On 2015-10-08 08:02, Krzysztof Kozlowski wrote:
On 07.10.2015 23:26, Marek Szyprowski wrote:
Hello,
On 2015-10-07 02:30, Krzysztof Kozlowski wrote:
Introduction
This patchset tries to fix probing of usb3503 on Arndale board
if the Samsung PHY driver is probed later (or
ght now
I didn't
find any good solution for additional control for devices which are on
autoprobed
bus like usb.
Best regards
--
Marek Szyprowski, PhD
Samsung R&D Institute Poland
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message
enabled and exynos-drm driver tries to allocate
buffer via DMA mapping API on Odroid-XU3 board.
Fixes: b70045167815 ("ARM: dts: add sysmmu nodes for exynos5420")
Signed-off-by: Joonyoung Shim
Cc: # v4.2
Reviewed-by: Javier Martinez Canillas
Acked-by: Marek Szyprowski
---
Changes for v2
-mapping.h | 7 +-
include/linux/iommu.h| 2 +
include/linux/of_device.h| 4 +-
11 files changed, 268 insertions(+), 27 deletions(-)
Best regards
--
Marek Szyprowski, PhD
Samsung R&D Institute Poland
--
To unsubscribe from this list: send the line &
l check if this patchset helps in our case.
Best regards
--
Marek Szyprowski, PhD
Samsung R&D Institute Poland
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Hello,
On 2015-01-29 11:56, Javier Martinez Canillas wrote:
On Thu, Jan 29, 2015 at 10:15 AM, Marek Szyprowski
wrote:
Also, I wonder whether we could extend the mmc-pwrseq to cover your
case? Did you consider that as an option?
I didn't consider mmc-pwrseq yet. For me it l
Hello,
On 2015-01-29 11:56, Javier Martinez Canillas wrote:
On Thu, Jan 29, 2015 at 10:15 AM, Marek Szyprowski
wrote:
Also, I wonder whether we could extend the mmc-pwrseq to cover your
case? Did you consider that as an option?
I didn't consider mmc-pwrseq yet. For me it l
Hello,
On 2015-01-28 15:24, Ulf Hansson wrote:
On 28 January 2015 at 14:59, Marek Szyprowski wrote:
There are boards (like Hardkernel's Odroid boards) on which eMMC card's
reset line is connected to GPIO line instead of the hardware reset
logic. In case of such boards, if firs
This patch adds reset-gpios property to the eMMC slot, so the MMC driver
is able to properly reset eMMC card on system restart and thus fixes
system hang on software reboot.
Signed-off-by: Marek Szyprowski
---
arch/arm/boot/dts/exynos5422-odroidxu3.dts | 13 -
1 file changed, 12
Hello,
On 2015-01-27 09:56, Sjoerd Simons wrote:
On Tue, 2015-01-27 at 09:11 +0100, Marek Szyprowski wrote:
This patchset fixes reboot hang issue on Hardkernel's Odroid boards with
eMMC card. Those boards are designed in such a way, that the eMMC nreset
signal is routed to SoC GPIO
Hello,
On 2015-01-25 15:32, Sebastian Reichel wrote:
On Fri, Jan 23, 2015 at 12:11:22PM +0100, Marek Szyprowski wrote:
Frankly, I analyzed this case once again and I came to conclusion
that there is no need to make a separate reset driver for Odroid
boards. There is nothing special, specific
This patch add samsung,dw-mshc-reset-gpios property to the eMMC slot,
so Exynos DW MMC driver is able to properly reset eMMC card on system
restart and thus fixes hang on software reboot.
Signed-off-by: Marek Szyprowski
---
arch/arm/boot/dts/exynos4412-odroid-common.dtsi | 1 +
arch/arm/boot
s code for handling such cases.
Signed-off-by: Marek Szyprowski
---
.../devicetree/bindings/mmc/exynos-dw-mshc.txt | 6 +++
drivers/mmc/host/dw_mmc-exynos.c | 43 +-
2 files changed, 48 insertions(+), 1 deletion(-)
diff --git a/Documentation/devicetre
river.
Best regards
Marek Szyprowski
Samsung R&D Institute Poland
Changelog:
initial version:
http://thread.gmane.org/gmane.linux.power-management.general/51855/
Path summary:
Marek Szyprowski (2):
mmc: dw_mmc-exynos: add support for controlling emmc reset pin
ARM: dts: exynos*-odroid*:
Hello,
On 2015-01-22 02:33, Joonyoung Shim wrote:
On 01/22/2015 10:06 AM, Sebastian Reichel wrote:
On Wed, Oct 29, 2014 at 02:13:28PM +0100, Marek Szyprowski wrote:
This patch adds a driver implementing correct reboot and poweroff
procedures for Exynos4412-based Hardkernel's Odroid X/X2/
This patch adds a note on defining subdomains to generic PM domain
binding documentation to let power domain providers use common approach
for defining power domain hierarchy.
Signed-off-by: Marek Szyprowski
---
RESEND version:
- fixed spelling mistakes, thanks go to Geert!
---
.../devicetree
This patch adds a note on defining subdomains to generic PM domain
binding documentation to let power domain providers use common approach
for defining power domain hierarchy.
Signed-off-by: Marek Szyprowski
---
.../devicetree/bindings/power/power_domain.txt | 29 ++
1
o do it on their own. Assuming
that those functions need to be called from drivers, then EXPORT_SYMPOL_GPL
is the correct approach.
Best regards
--
Marek Szyprowski, PhD
Samsung R&D Institute Poland
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the bod
#x27;ll have to use "power-domains" properties to link
them together.
I agree. I will send updated patch for this purpose for existing exynos4
power domain driver.
Best regards
--
Marek Szyprowski, PhD
Samsung R&D Institute Poland
--
To unsubscribe from this list: send the line "
This patch adds a driver implementing correct reboot and poweroff
procedures for Exynos4412-based Hardkernel's Odroid X/X2/U2/U3/U3+
boards.
Signed-off-by: Marek Szyprowski
---
.../bindings/power/reset/odroid-reset.txt | 18
drivers/power/reset/Kc
This patch adds node which enables board-specific reboot/poweroff code.
Signed-off-by: Marek Szyprowski
---
arch/arm/boot/dts/exynos4412-odroid-common.dtsi | 6 ++
1 file changed, 6 insertions(+)
diff --git a/arch/arm/boot/dts/exynos4412-odroid-common.dtsi
b/arch/arm/boot/dts/exynos4412
Hello,
On 2014-08-09 02:28, Laura Abbott wrote:
On 7/14/2014 12:12 AM, Marek Szyprowski wrote:
Hello,
This is one more respin of the patches which add support for creating
reserved memory regions defined in device tree. The last attempt
(http://lists.linaro.org/pipermail/linaro-mm-sig/2014
Hello,
On 2014-07-31 01:49, Grant Likely wrote:
On Tue, Jul 29, 2014 at 11:33 PM, Marek Szyprowski
wrote:
Hello,
On 2014-07-29 23:54, Grant Likely wrote:
On Mon, 14 Jul 2014 10:28:06 +0200, Marek Szyprowski
wrote:
Initialization procedure of dma coherent pool has been split into two
Hello,
On 2014-07-29 23:54, Grant Likely wrote:
On Mon, 14 Jul 2014 10:28:06 +0200, Marek Szyprowski
wrote:
Initialization procedure of dma coherent pool has been split into two
parts, so memory pool can now be initialized without assigning to
particular struct device. Then initialized
Hello,
On 2014-07-28 16:17, Grant Likely wrote:
On Mon, 14 Jul 2014 10:28:05 +0200, Marek Szyprowski
wrote:
Use recently introduced of_reserved_mem_device_init() function to
automatically assign respective reserved memory region to the newly created
platform and amba device.
Signed-off-by
Add a function to create CMA region from previously reserved memory
and add support for handling 'shared-dma-pool' reserved-memory device
tree nodes.
Based on previous code provided by Josh Cartwright
Signed-off-by: Marek Szyprowski
---
drivers/base/dma-contigu
Use recently introduced of_reserved_mem_device_init() function to
automatically assign respective reserved memory region to the newly created
platform and amba device.
Signed-off-by: Marek Szyprowski
---
drivers/of/platform.c | 7 +++
1 file changed, 7 insertions(+)
diff --git a/drivers/of
spinlock has been added to dma_coherent_mem
structure. The last part of this patch adds support for handling
'shared-dma-pool' reserved-memory device tree nodes.
Signed-off-by: Marek Szyprowski
---
drivers/base/dma-coherent.c | 137 ++--
1 file ch
ed-off-by: Marek Szyprowski
---
drivers/of/of_reserved_mem.c| 70 +
include/linux/of_reserved_mem.h | 7 +
2 files changed, 77 insertions(+)
diff --git a/drivers/of/of_reserved_mem.c b/drivers/of/of_reserved_mem.c
index 632aae861375..59fb12e84e6b
;
size = <0x400>;
alignment = <0x40>;
};
Then the defined region can be assigned to devices:
scaler: scaler@1250 {
memory-region = <&multimedia_reserved>;
/* ... */
};
codec: codec@1260 {
memory-region = <&multimedi
Add support for handling 'shared-dma-pool' reserved-memory device tree
nodes.
Based on previous code provided by Josh Cartwright
Signed-off-by: Marek Szyprowski
---
drivers/base/dma-coherent.c | 40
1 file changed, 40 insertions(+)
di
ed-off-by: Marek Szyprowski
---
drivers/of/of_reserved_mem.c| 70 +
include/linux/of_reserved_mem.h | 7 +
2 files changed, 77 insertions(+)
diff --git a/drivers/of/of_reserved_mem.c b/drivers/of/of_reserved_mem.c
index 632aae861375..59fb12e84e6b
Add a function to create CMA region from previously reserved memory
and add support for handling 'shared-dma-pool' reserved-memory device
tree nodes.
Based on previous code provided by Josh Cartwright
Signed-off-by: Marek Szyprowski
---
drivers/base/dma-contigu
the defined region can be assigned to devices:
scaler: scaler@1250 {
memory-region = <&multimedia_reserved>;
/* ... */
};
codec: codec@1260 {
memory-region = <&multimedia_reserved>;
/* ... */
};
Best regards
Marek Szyprowski
Samsung
Use recently introduced of_reserved_mem_device_init() function to
automatically assign respective reserved memory region to the newly created
platform and amba device.
Signed-off-by: Marek Szyprowski
---
drivers/of/platform.c | 7 +++
1 file changed, 7 insertions(+)
diff --git a/drivers/of
Hello,
On 2014-07-04 07:52, Joonsoo Kim wrote:
-Original Message-
From: Marek Szyprowski [mailto:m.szyprow...@samsung.com]
Sent: Wednesday, July 02, 2014 7:49 PM
Subject: [PATCH 4/4] drivers: dma-contiguous: add initialization from
device tree
Add a code to create CMA region from
the right times?
Or do you think the problem is more likely to be clock-related?
Hard to say right now, but at least we need to test a bit more our
solutions with different initial clocks configuration.
Best regards
--
Marek Szyprowski, PhD
Samsung R&D Institute Poland
--
To unsubscribe
.
Cc: Marek Szyprowski
Cc: Grant Likely
Signed-off-by: Rob Herring
Acked-by: Marek Szyprowski
---
drivers/of/of_reserved_mem.c| 2 +-
include/linux/of_reserved_mem.h | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/of/of_reserved_mem.c b/drivers/of
Enable reserved memory initialization from device tree.
Signed-off-by: Marek Szyprowski
---
arch/arm/Kconfig |1 +
arch/arm/mm/init.c |2 ++
2 files changed, 3 insertions(+)
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index e25419817791..d0262bea8020 100644
--- a/arch/arm
This patch adds support for dynamically allocated reserved memory regions
declared in device tree. Such regions are defined by 'size', 'alignment'
and 'alloc-ranges' properties.
Based on previous code provided by Josh Cartwright
Signed-off-by: Marek Szyp
Add support for handling 'shared-dma-pool' reserved-memory device tree
nodes.
Based on previous code provided by Josh Cartwright
Signed-off-by: Marek Szyprowski
---
drivers/base/dma-coherent.c | 40
1 file changed, 40 insertions(+)
di
Refactor internal dma_contiguous_init_reserved_mem() function, which
creates CMA area from previously reserved memory region and add support
for handling 'shared-dma-pool' reserved-memory device tree nodes.
Based on previous code provided by Josh Cartwright
Signed-off-by: Marek
t reserved memory layout
directly from fdt.
Based on previous code provided by Josh Cartwright
Signed-off-by: Marek Szyprowski
Acked-by: Grant Likely
---
drivers/of/fdt.c | 131
include/linux/of_fdt.h |3 ++
2 files changed, 134 insertion
Use recently introduced of_reserved_mem_device_init() function to
automatically assign respective reserved memory region to the newly created
platform and amba device.
Signed-off-by: Marek Szyprowski
---
drivers/of/platform.c |7 +++
1 file changed, 7 insertions(+)
diff --git a/drivers
Enable reserved memory initialization from device tree.
Signed-off-by: Marek Szyprowski
---
arch/powerpc/Kconfig |1 +
arch/powerpc/kernel/prom.c |3 +++
2 files changed, 4 insertions(+)
diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig
index 957bf344c0f5..3b6617fed8fc
Add support for custom reserved memory drivers. Call their init() function
for each reserved region and prepare for using operations provided by them
with by the reserved_mem->ops array.
Based on previous code provided by Josh Cartwright
Signed-off-by: Marek Szyprowski
---
drivers
Enable reserved memory initialization from device tree.
Signed-off-by: Marek Szyprowski
---
arch/arm64/Kconfig |1 +
arch/arm64/mm/init.c |1 +
2 files changed, 2 insertions(+)
diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig
index 27bbcfc7202a..6abf15407dca 100644
--- a/arch
ed-off-by: Marek Szyprowski
---
drivers/of/of_reserved_mem.c| 70 +++
include/linux/of_reserved_mem.h |7
2 files changed, 77 insertions(+)
diff --git a/drivers/of/of_reserved_mem.c b/drivers/of/of_reserved_mem.c
index daaaf935911d..5c45016efd31
/20131030134702.19b57c40...@trevor.secretlab.ca
adapted to support #memory-region-cells]
Signed-off-by: Josh Cartwright
[mszyprow: removed #memory-region-cells property]
Signed-off-by: Marek Szyprowski
---
.../bindings/reserved-memory/reserved-memory.txt | 136
1 file changed, 136
d by Josh Cartwright
Summary:
Grant Likely (1):
of: document bindings for reserved-memory nodes
Marek Szyprowski (10):
drivers: of: add initialization code for static reserved memory
drivers: of: add initialization code for dynamic reserved memory
drivers: of: add support for custom
Hello,
On 2014-02-26 12:51, Grant Likely wrote:
On Fri, 21 Feb 2014 13:25:17 +0100, Marek Szyprowski
wrote:
> From: Grant Likely
>
> Reserved memory nodes allow for the reservation of static (fixed
> address) regions, or dynamically allocated regions for a specific
> purpose.
Hello,
On 2014-02-26 13:14, Grant Likely wrote:
On Fri, 21 Feb 2014 13:25:22 +0100, Marek Szyprowski
wrote:
> Use recently introduced of_reserved_mem_device_init() function to
> automatically assign respective reserved memory region to the newly created
> platform and amba device.
&
-dma-pool'
regions without 'reusable' property and CMA is used only for handling
'shared-dma-pool' regions with 'reusable' property.
v1: http://thread.gmane.org/gmane.linux.documentation/19579
- initial version prepared by Josh Cartwright
Summary:
Grant
This patch adds support for dynamically allocated reserved memory regions
declared in device tree. Such regions are defined by 'size', 'alignment'
and 'alloc-ranges' properties.
Based on previous code provided by Josh Cartwright
Signed-off-by: Marek Szypr
Add support for custom reserved memory drivers. Call their init() function
for each reserved region and prepare for using operations provided by them
with by the reserved_mem->ops array.
Based on previous code provided by Josh Cartwright
Signed-off-by: Marek Szyprowski
---
drivers
t reserved memory layout
directly from fdt.
Based on previous code provided by Josh Cartwright
Signed-off-by: Marek Szyprowski
---
drivers/of/fdt.c | 125
include/linux/of_fdt.h |3 ++
2 files changed, 128 insertions(+)
diff --git a/driver
Add support for handling 'shared-dma-pool' reserved-memory device tree
nodes.
Based on previous code provided by Josh Cartwright
Signed-off-by: Marek Szyprowski
---
drivers/base/dma-coherent.c | 41 +
1 file changed, 41 insertions(+)
di
Enable reserved memory initialization from device tree.
Signed-off-by: Marek Szyprowski
---
arch/arm64/Kconfig |1 +
arch/arm64/mm/init.c |1 +
2 files changed, 2 insertions(+)
diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig
index 27bbcfc7202a..6abf15407dca 100644
--- a/arch
he client device node and assigns region pointed by the found
phandle.
Based on previous code provided by Josh Cartwright
Signed-off-by: Marek Szyprowski
---
drivers/of/of_reserved_mem.c| 74 +++
include/linux/of_reserved_mem.h |7
2 f
Use recently introduced of_reserved_mem_device_init() function to
automatically assign respective reserved memory region to the newly created
platform and amba device.
Signed-off-by: Marek Szyprowski
---
drivers/of/platform.c |7 +++
1 file changed, 7 insertions(+)
diff --git a/drivers
/20131030134702.19b57c40...@trevor.secretlab.ca
adapted to support #memory-region-cells]
Signed-off-by: Josh Cartwright
Signed-off-by: Marek Szyprowski
---
.../bindings/reserved-memory/reserved-memory.txt | 138
1 file changed, 138 insertions(+)
create mode 100644
Documentation
Enable reserved memory initialization from device tree.
Signed-off-by: Marek Szyprowski
---
arch/arm/Kconfig |1 +
arch/arm/mm/init.c |2 ++
2 files changed, 3 insertions(+)
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index e25419817791..d0262bea8020 100644
--- a/arch/arm
Enable reserved memory initialization from device tree.
Signed-off-by: Marek Szyprowski
---
arch/powerpc/Kconfig |1 +
arch/powerpc/kernel/prom.c |3 +++
2 files changed, 4 insertions(+)
diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig
index 957bf344c0f5..3b6617fed8fc
Refactor internal dma_contiguous_init_reserved_mem() function, which
creates CMA area from previously reserved memory region and add support
for handling 'shared-dma-pool' reserved-memory device tree nodes.
Based on previous code provided by Josh Cartwright
Signed-off-by: Marek
Hello,
On 2014-02-20 15:01, Grant Likely wrote:
On Thu, 20 Feb 2014 11:52:41 +0100, Marek Szyprowski
wrote:
> This patch adds device tree support for contiguous and reserved memory
> regions defined in device tree.
>
> Large memory blocks can be reliably reserved only durin
Rename 'align' property to 'alignment' to match documentation.
Signed-off-by: Marek Szyprowski
---
drivers/of/of_reserved_mem.c |4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/of/of_reserved_mem.c b/drivers/of/of_reserved_mem.c
index cacf04
1 - 100 of 133 matches
Mail list logo