ARM: SAMSUNG: Correct MIPI-CSIS io memory resource definition
Subsystems (3)
PATCH 1/1 ARM: SAMSUNG: Correct MIPI-CSIS io memory resource definition
The resources size is increased to 16KB to also include the non-image packet data buffers (CSIS_PKTDATAn). The 4KiB region is only sufficient when the driver is not using the packet data buffers.
---
Hi Kgene,
This patch is a fix, but it should be needed starting from v3.4, when the MIPI-CSIS driver is updated.
Thanks,
Sylwester
--- arch/arm/plat-samsung/devs.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
arch/arm/plat-samsung/devs.c +2 -2
@@ -904,7 +904,7 @@ struct platform_device s5p_device_mfc_r = {#ifdef CONFIG_S5P_DEV_CSIS0 static struct resource s5p_mipi_csis0_resource[] = { - [0 ] =DEFINE_RES_MEM (S5P_PA_MIPI_CSIS0 ,SZ_4K ), + [0 ] =DEFINE_RES_MEM (S5P_PA_MIPI_CSIS0 ,SZ_16K ), [1 ] =DEFINE_RES_IRQ (IRQ_MIPI_CSIS0 ), };
@@ -918,7 +918,7 @@ struct platform_device s5p_device_mipi_csis0 = {#ifdef CONFIG_S5P_DEV_CSIS1 static struct resource s5p_mipi_csis1_resource[] = { - [0 ] =DEFINE_RES_MEM (S5P_PA_MIPI_CSIS1 ,SZ_4K ), + [0 ] =DEFINE_RES_MEM (S5P_PA_MIPI_CSIS1 ,SZ_16K ), [1 ] =DEFINE_RES_IRQ (IRQ_MIPI_CSIS1 ), };
Signature · 1 line
1.7.9
Quoted 6 lines · Sylwester Nawrocki
The resources size is increased to 16KB to also include the non-image packet
data buffers (CSIS_PKTDATAn). The 4KiB region is only sufficient when the driver is not using the packet data buffers.
Quoted 6 lines
Signed-off-by Sylwester Nawrocki <[email protected]>Signed-off-by Kyungmin Park <[email protected]>---
Hi Kgene,
Hi
Quoted 3 lines
This patch is a fix, but it should be needed starting from v3.4, when the MIPI-CSIS driver is updated.
OK, will apply.
But it's time to replace static definition for resource and as a note, I'm going to prepare it :)
If any updates, let you know.
Thanks.
Best regards,
Kgene.
--
Kukjin Kim <[email protected]>, Senior Engineer, SW Solution Development Team, Samsung Electronics Co., Ltd.
Kukjin Kim
AppliedQuoted 18 lines · Kukjin Kim
Quoted 6 lines · Sylwester Nawrocki
The resources size is increased to 16KB to also include the non-image packet
data buffers (CSIS_PKTDATAn). The 4KiB region is only sufficient when the driver is not using the packet data buffers.Quoted 6 lines
Signed-off-by Sylwester Nawrocki<[email protected]>Signed-off-by Kyungmin Park<[email protected]>---
Hi Kgene,Hi
Quoted 3 lines
This patch is a fix, but it should be needed starting from v3.4, when the MIPI-CSIS driver is updated.
Quoted 7 lines
OK, will apply.
But it's time to replace static definition for resource and as a note, I'm going to prepare it :)
If any updates, let you know.
Applied, thanks.
Best regards,
Kgene.
--
Kukjin Kim <[email protected]>, Senior Engineer, SW Solution Development Team, Samsung Electronics Co., Ltd.