17 Nov, 2011
1 commit
-
Only for THIS_MODULE, the file should be
added instead of .Signed-off-by: Kukjin Kim
06 Nov, 2011
1 commit
-
* 'next/devel2' of git://git.linaro.org/people/arnd/arm-soc: (30 commits)
ARM: mmp: register internal sram bank
ARM: mmp: register audio sram bank
ARM: mmp: add sram allocator
gpio/samsung: Complain loudly if we don't know the SoC
ARM: S3C64XX: Fix SoC identification for S3C64xx devices
ARM: S3C2443: Remove redundant s3c_register_clocks call for init_clocks
ARM: S3C24XX: Add devname for hsmmc1 pclk
ARM: S3C24XX: use clk_get_rate to init fclk in common_setup_clocks
ARM: S3C2443: Accommodate cpufreq frequency scheme in armdiv
ARM: S3C2443: handle unset armdiv values gracefully
ARM: S3C2443: Add get_rate operation for clk_armdiv
ARM: S3C2416: Add comment describing the armdiv/armclk
ARM: S3C2443: Move clk_arm and clk_armdiv to common code
ARM: S3C24XX: Add infrastructure to transmit armdiv to common code
ARM: S3C2416: Add armdiv_mask constant
ARM: EXYNOS4: Add support for M-5MOLS camera on Nuri board
ARM: EXYNOS4: Enable MFC on ORIGEN
ARM: SAMSUNG: Add support s3c2416-adc for S3C2416/S3C2450
ARM: SAMSUNG: Add support s3c2443-adc for S3C2443
ARM: SAMSUNG: Allow overriding of adc device name for S3C24XX
...
14 Oct, 2011
7 commits
-
S3C2443 uses hsmmc1 as its only hsmmc device and for S3C2416/S3C2450
it's the second hsmmc channel with the same PCLKCON bit.
The hsmmc-if clocks on both systems already got a devname, as did
the hsmmc pclk for hsmmc0 on the S3C2416. So to make it possible to
identify the hsmmc1 pclk on S3C2416 add the correct devname for it.
The sclk name on S3C2443 also is s3c-sdhci.1.Signed-off-by: Heiko Stuebner
Signed-off-by: Kukjin Kim -
Previously the fclk rate was calculated by dividing the pll through
the divider value of the armdiv. With a real armdiv clk in place it's
possible to simply read its value, which does essentially the same.This change makes the whole fdiv_fn function pointers supplied to
s3c2443_common_init_clocks and s3c2443_common_setup_clocks
obsolete, so remove it too.Signed-off-by: Heiko Stuebner
Signed-off-by: Kukjin Kim -
Cpufreq uses frequencies in kHz and not Hz, so set_rate and round_rate
would be called with a frequency of 266666000 instead of 266666666 but
the clock functions check for rates smaller or equal to the targetrate.As the armdiv does not support steps this small we can accommodate
this by simply also setting the last 3 digits of the calculated rate
to zero.Signed-off-by: Heiko Stuebner
Signed-off-by: Kukjin Kim -
The armdiv array may contain unset divider values.
Check the relevant value to prevent division by zero
errors. Also check for set nr_armdiv and armdivmask
before meddling with clkdiv0.Signed-off-by: Heiko Stuebner
Signed-off-by: Kukjin Kim -
Signed-off-by: Heiko Stuebner
Signed-off-by: Kukjin Kim -
The system-layout of the armdiv and armclk is common to
S3C2443/S3C2416/S3C2450 and only differs in the array of
possible dividers. Therefore it is possible to reuse the
clock definitions for all of these SoCs.Signed-off-by: Heiko Stuebner
Signed-off-by: Kukjin Kim -
This is needed for making the armdiv clock common to S3C2443
and S3C2416/2450.Signed-off-by: Heiko Stuebner
Signed-off-by: Kukjin Kim
06 Oct, 2011
1 commit
-
This patch moves regarding s3c24xx dev files to one devs.c
file in plat-samsung directory and this is required to merge
to plat-samsung.Cc: Ben Dooks
Signed-off-by: Kukjin Kim
04 Oct, 2011
11 commits
-
Conflicts:
arch/arm/plat-s5p/include/plat/pll.h -
Conflicts:
arch/arm/mach-exynos4/clock.c
arch/arm/mach-s3c2412/gpio.c
arch/arm/mach-s5p64x0/dma.c
arch/arm/mach-s5p64x0/gpiolib.c -
This patch moves header files from plat-s3c24xx to plat-samsung to
remove plat-s3c24xx directory to make one plat-samsung directory for
Samsung SoCs. And this patch includes fixing coding style, too.Cc: Ben Dooks
Signed-off-by: Kukjin Kim -
This patch moves SoC header files for supporting each SoCs to
plat-samsung directory. This is required to make one plat-
directory for Samsung SoCs.Cc: Ben Dooks
Signed-off-by: Kukjin Kim -
Removed
- arch/arm/plat-s3c24xx/include/plat/pll.h
- arch/arm/mach-s3c64xx/include/mach/pll.h
- arch/arm/plat-s5p/include/plat/pll.h
- arch/arm/plat-samsung/include/plat/pll6553x.hAnd created
- arch/arm/plat-samsung/include/plat/pll.hCc: Ben Dooks
[kgene.kim@samsung.com: changed title]
[kgene.kim@samsung.com: fixed conflicts in plat-s5p/include/pll.h]
Signed-off-by: Kukjin Kim -
Removed
- arch/arm/plat-s3c24xx/include/mach/pwm-clock.h
- arch/arm/mach-s3c64xx/include/mach/pwm-clock.h
- arch/arm/mach-s5p64x0/include/mach/pwm-clock.h
- arch/arm/mach-s5pc100/include/mach/pwm-clock.h
- arch/arm/mach-s5pv210/include/mach/pwm-clock.h
- arch/arm/mach-exynos4/include/mach/pwm-clock.hAnd created
- arch/arm/plat-samsung/include/plat/pwm-clock.hCc: Ben Dooks
[kgene.kim@samsung.com: changed title]
Signed-off-by: Kukjin Kim -
According to commit a3831cf ("ARM: Consolidate the
clkdev header files"), current mach/clkdev.h is no
needed in Samsung stuff.Cc: Ben Dooks
Signed-off-by: Kukjin Kim -
This clock is common to S3C2443/2416/2450.
Signed-off-by: Heiko Stuebner
Signed-off-by: Kukjin Kim -
S3C2416/S3C2450 use the same clocks for their i2s blocks
and can therefore reuse the existing ones.Signed-off-by: Heiko Stuebner
Signed-off-by: Kukjin Kim
21 Sep, 2011
2 commits
-
Cc: Ben Dooks
Signed-off-by: Kukjin Kim -
Cc: Ben Dooks
Acked-by: Grant Likely
Signed-off-by: Kukjin Kim
16 Sep, 2011
1 commit
-
This is required to work consolidation Samsung platform.
Cc: Ben Dooks
Signed-off-by: Kukjin Kim
14 Sep, 2011
1 commit
-
This patch removes the samsung specific enum type 's3c2410_dmasrc'
and uses 'dma_data_direction' instead.Signed-off-by: Boojin Kim
Acked-by: Linus Walleij
Acked-by: Vinod Koul
Signed-off-by: Kukjin Kim
Signed-off-by: Vinod Koul
24 Aug, 2011
1 commit
-
This patch adds plat-samsung/cpu.c for detecting of cpu id and
silicon revision.This patch was originally from Changhwan Youn
Acked-by: Changhwan Youn
Cc: Ben Dooks
Signed-off-by: Kukjin Kim
22 Aug, 2011
1 commit
-
The soc_is_[name]() can be used to distinguish cpu at runtime.
This patch was originally from Changhwan Youn
Acked-by: Changhwan Youn
Cc: Ben Dooks
Signed-off-by: Kukjin Kim
26 Jul, 2011
2 commits
-
…/git/arm/linux-arm-soc
* 'next/deletion' of git+ssh://master.kernel.org/pub/scm/linux/kernel/git/arm/linux-arm-soc:
ARM: mach-loki: delete
ARM: mach-s3c2400: delete
ARM: mach-s3c24a0: delete -
* 'next/cleanup' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/linux-arm-soc: (133 commits)
ARM: EXYNOS4: Change devname for FIMD clkdev
ARM: S3C64XX: Cleanup mach/regs-fb.h from mach-s3c64xx
ARM: S5PV210: Cleanup mach/regs-fb.h from mach-s5pv210
ARM: S5PC100: Cleanup mach/regs-fb.h from mach-s5pc100
ARM: S3C24XX: Use generic s3c_set_platdata for devices
ARM: S3C64XX: Use generic s3c_set_platdata for OneNAND
ARM: SAMSUNG: Use generic s3c_set_platdata for NAND
ARM: SAMSUNG: Use generic s3c_set_platdata for USB OHCI
ARM: SAMSUNG: Use generic s3c_set_platdata for HWMON
ARM: SAMSUNG: Use generic s3c_set_platdata for FB
ARM: SAMSUNG: Use generic s3c_set_platdata for TS
ARM: S3C64XX: Add PWM backlight support on SMDK6410
ARM: S5P64X0: Add PWM backlight support on SMDK6450
ARM: S5P64X0: Add PWM backlight support on SMDK6440
ARM: S5PC100: Add PWM backlight support on SMDKC100
ARM: S5PV210: Add PWM backlight support on SMDKV210
ARM: EXYNOS4: Add PWM backlight support on SMDKC210
ARM: EXYNOS4: Add PWM backlight support on SMDKV310
ARM: SAMSUNG: Create a common infrastructure for PWM backlight support
clocksource: convert 32-bit down counting clocksource on S5PV210/S5P64X0
...Fix up trivial conflict in arch/arm/mach-imx/mach-scb9328.c
23 Jul, 2011
1 commit
-
…'suspend' and 'vfp' into for-next
21 Jul, 2011
3 commits
-
Signed-off-by: Banajit Goswami
Signed-off-by: Kukjin Kim -
This is temporary patch for building with clkdev.
Signed-off-by: Thomas Abraham
Signed-off-by: Kukjin Kim
20 Jul, 2011
1 commit
-
Signed-off-by: Thomas Abraham
Signed-off-by: Kukjin Kim
18 Jul, 2011
2 commits
-
On Tue, 28 Jun 2011, Ben Dooks wrote:
> On Tue, Jun 28, 2011 at 11:22:57PM +0200, Arnd Bergmann wrote:
>
> > On a related note, what about mach-s3c2400? It seems to be even more
> > incomplete.
>
> Probably the same fate awaits that. It is so old that there's little
> incentive to do anything with it.So out it goes as well.
The PORT_S3C2400 definition in include/linux/serial_core.h is left there
to prevent a reuse of the same number for another port type.Signed-off-by: Nicolas Pitre
Acked-by: Arnd Bergmann -
Commit bcae8aeb32 "[ARM] S3C24A0: Initial architecture support files"
brought in a bunch of files while explicitly leaving out the corresponding
Kconfig entry, stating that the series is not complete.More than 2.5 years later, the support for this has not seen any progress.
This is therefore dead code. If someone wants to revive this code, it is
always possible to retrieve it from the Git repository.Signed-off-by: Nicolas Pitre
Acked-by: Ben Dooks
Acked-by: Arnd Bergmann
16 Jul, 2011
1 commit
-
Function declaration differs between file: dma.c and file:dma.h
and SPARSE (Documentation/sparse.txt) gives error messagesAll dma channels are members of 'enum dma_ch' and not 'unsigned int'
Please have a look at channel definitions in:
arch/arm/mach-s3c64xx/include/mach/dma.h
arch/arm/plat-samsung/include/plat/s3c-dma-pl330.h
arch/arm/mach-s3c2410/include/mach/dma.h
So all arguments should be of type 'enum dma_ch'Signed-off-by: Sangwook Lee
Signed-off-by: Kukjin Kim
08 Jul, 2011
2 commits
-
Commit bb072c3c (ARM / Samsung: Use struct syscore_ops for "core" power
management) turned s3c2410_dma_resume_chan() from int to void. So, drop
the actual return values, too. Fixes:arch/arm/plat-s3c24xx/dma.c: In function 's3c2410_dma_resume_chan':
arch/arm/plat-s3c24xx/dma.c:1238:3: warning: 'return' with a value, in function returning void
arch/arm/plat-s3c24xx/dma.c:1250:2: warning: 'return' with a value, in function returning voidSigned-off-by: Wolfram Sang
Acked-by: Rafael J. Wysocki
Signed-off-by: Kukjin Kim -
Commit 8970ef47 (S3C24XX: Remove hardware specific registers from DMA
calls) removed the parameter dcon in s3c2410_dma_config() and calculates
it on its own. So the debug-output for the old parameter can go, too.
Fixes:arch/arm/plat-s3c24xx/dma.c: In function 's3c2410_dma_config':
arch/arm/plat-s3c24xx/dma.c:1030:2: warning: 'dcon' is used uninitialized in this functionSigned-off-by: Wolfram Sang
Cc: Ben Dooks
Signed-off-by: Kukjin Kim
24 Jun, 2011
1 commit
-
Move the call to cpu_suspend into C code, and noticing that all the
s3c_cpu_save implementations are now identical, we can move this
into the common samsung code.Signed-off-by: Russell King