Skip to contentSkip to conversation

ARM: Exynos: JPEG device register

PATCH Applied Andrzej Pietrasiewicz 3 participants 5 messages Feb 21, 2012 – Mar 9, 2012

Subsystems (3)

v4 of 5 Applied Latest is v5 →

lore
Share & tools
lore
#0 lore raw

v4 cover ARM: Exynos: JPEG device register

Dear All,

This patch series adds device registration code for JPEG IP found in Exynos4 SoC on universal_c210 and nuri boards.

This version is a simplified revision of these patches:

http://www.spinics.net/lists/linux-samsung-soc/msg09164.html
http://www.spinics.net/lists/linux-samsung-soc/msg09165.html

and because of that it relies on this patch:

http://www.spinics.net/lists/linux-samsung-soc/msg09463.html

which adds JPEG power domain to generic power domain infrastructure.

This version also depends on:

http://www.spinics.net/lists/linux-samsung-soc/msg09163.html

which contains JPEG board definition.

Andrzej Pietrasiewicz (2):
ARM: Exynos: Register JPEG on universal_c210
ARM: Exynos: Register JPEG on nuri

 arch/arm/mach-exynos/Kconfig               |    2 ++
 arch/arm/mach-exynos/mach-nuri.c           |    1 +
 arch/arm/mach-exynos/mach-universal_c210.c |    1 +
 3 files changed, 4 insertions(+), 0 deletions(-)
#1 lore raw

PATCH v4 1/2 ARM: Exynos: Register JPEG on universal_c210

ARM: Exynos: Register JPEG on universal_c210

---
 arch/arm/mach-exynos/Kconfig               |    1 +
 arch/arm/mach-exynos/mach-universal_c210.c |    1 +
 2 files changed, 2 insertions(+), 0 deletions(-)
arch/arm/mach-exynos/Kconfig +1 -0
index cf29c35..23b6971 100644
@@ -235,6 +235,7 @@ config MACH_UNIVERSAL_C210
 	select S5P_DEV_FIMC3
 	select S5P_DEV_G2D
 	select S5P_DEV_CSIS0
+	select S5P_DEV_JPEG
 	select S5P_DEV_FIMD0
 	select S3C_DEV_HSMMC
 	select S3C_DEV_HSMMC2
arch/arm/mach-exynos/mach-universal_c210.c +1 -0
index 220de1c..c525f42 100644
@@ -981,6 +981,7 @@ static struct platform_device *universal_devices[] __initdata = {
 	&universal_gpio_keys,
 	&s5p_device_onenand,
 	&s5p_device_fimd0,
+	&s5p_device_jpeg,
 	&s5p_device_mfc,
 	&s5p_device_mfc_l,
 	&s5p_device_mfc_r,
Signature · 1 line
1.7.0.4
Applied
#2 lore raw

Re: [PATCH 1/2] ARM: Exynos: Register JPEG on universal_c210

Quoted 26 lines · Andrzej Pietrasiewicz

ARM: Exynos: Register JPEG on universal_c210

---
  arch/arm/mach-exynos/Kconfig               |    1 +
  arch/arm/mach-exynos/mach-universal_c210.c |    1 +
  2 files changed, 2 insertions(+), 0 deletions(-)
arch/arm/mach-exynos/Kconfig +1 -0
index cf29c35..23b6971 100644
@@ -235,6 +235,7 @@ config MACH_UNIVERSAL_C210
  	select S5P_DEV_FIMC3
  	select S5P_DEV_G2D
  	select S5P_DEV_CSIS0
+	select S5P_DEV_JPEG
  	select S5P_DEV_FIMD0
  	select S3C_DEV_HSMMC
  	select S3C_DEV_HSMMC2
arch/arm/mach-exynos/mach-universal_c210.c +0 -0
index 220de1c..c525f42 100644

arch/arm/mach-exynos/mach-universal_c210.c static struct platform_device *universal_devices[] __initdata = { · line 987

Quoted 7 lines
arch/arm/mach-exynos/mach-universal_c210.c +1 -0
@@ -981,6 +981,7 @@ static struct platform_device *universal_devices[] __initdata = {
  	&universal_gpio_keys,
  	&s5p_device_onenand,
  	&s5p_device_fimd0,
+	&s5p_device_jpeg,
  	&s5p_device_mfc,
  	&s5p_device_mfc_l,
  	&s5p_device_mfc_r,

Applied, thanks.

Best regards,
Kgene.
--
Kukjin Kim <[email protected]>, Senior Engineer, SW Solution Development Team, Samsung Electronics Co., Ltd.

#3 lore raw

PATCH v4 2/2 ARM: Exynos: Register JPEG on nuri

In reply to Andrzej Pietrasiewicz

ARM: Exynos: Register JPEG on nuri

---
 arch/arm/mach-exynos/Kconfig     |    1 +
 arch/arm/mach-exynos/mach-nuri.c |    1 +
 2 files changed, 2 insertions(+), 0 deletions(-)
arch/arm/mach-exynos/Kconfig +1 -0
index 23b6971..189a212 100644
@@ -274,6 +274,7 @@ config MACH_NURI
 	select S3C_DEV_I2C3
 	select S3C_DEV_I2C5
 	select S5P_DEV_CSIS0
+	select S5P_DEV_JPEG
 	select S5P_DEV_FIMC0
 	select S5P_DEV_FIMC1
 	select S5P_DEV_FIMC2
arch/arm/mach-exynos/mach-nuri.c +1 -0
index b62e02b..be7bfd2 100644
@@ -1260,6 +1260,7 @@ static struct platform_device *nuri_devices[] __initdata = {
 	&i2c9_gpio,
 	&s3c_device_adc,
 	&s5p_device_g2d,
+	&s5p_device_jpeg,
 	&s3c_device_rtc,
 	&s5p_device_mfc,
 	&s5p_device_mfc_l,
Signature · 1 line
1.7.0.4
#4 lore raw

Re: [PATCH 2/2] ARM: Exynos: Register JPEG on nuri

Hi Andrzej,

Tried applying this patch on the for-next branch of Kukjin Kim's tree [1]. It fails to apply
"error: patch failed: arch/arm/mach-exynos/Kconfig:274"

[Patch 1/2] applies cleanly though.

[1] git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung.git

Regards
Sachin

Quoted 44 lines · Andrzej Pietrasiewicz

ARM: Exynos: Register JPEG on nuri

---
 arch/arm/mach-exynos/Kconfig     |    1 +
 arch/arm/mach-exynos/mach-nuri.c |    1 +
 2 files changed, 2 insertions(+), 0 deletions(-)
arch/arm/mach-exynos/Kconfig +1 -0
index 23b6971..189a212 100644
@@ -274,6 +274,7 @@ config MACH_NURI
 	select S3C_DEV_I2C3
 	select S3C_DEV_I2C5
 	select S5P_DEV_CSIS0
+	select S5P_DEV_JPEG
 	select S5P_DEV_FIMC0
 	select S5P_DEV_FIMC1
 	select S5P_DEV_FIMC2
arch/arm/mach-exynos/mach-nuri.c +1 -0
index b62e02b..be7bfd2 100644
@@ -1260,6 +1260,7 @@ static struct platform_device *nuri_devices[]
 __initdata = {
 	&i2c9_gpio,
 	&s3c_device_adc,
 	&s5p_device_g2d,
+	&s5p_device_jpeg,
 	&s3c_device_rtc,
 	&s5p_device_mfc,

&s5p_device_mfc_l,
--
1.7.0.4

--
To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

Signature · 2 lines
With warm regards,
Sachin