31 May, 2014
2 commits
-
This patch add basic arch side support for exynos5260 SoC.
Note that this is required to enable build for clock driver.Signed-off-by: Pankaj Dubey
Signed-off-by: Rahul Sharma
Signed-off-by: Kukjin Kim
26 May, 2014
12 commits
-
This patch adds the missing sysmmu clocks for Display and
ISP blocks.Signed-off-by: Cho KyongHo
Signed-off-by: Shaik Ameer Basha
Acked-by: Tomasz Figa
Signed-off-by: Kukjin Kim -
Commit 7da83a80 ("ARM: EXYNOS: Migrate Exynos specific macros from
plat to mach") which lands in samsung tree causes build breakage
for cpufreq-exynos like following:drivers/cpufreq/exynos-cpufreq.c: In function 'exynos_cpufreq_probe':
drivers/cpufreq/exynos-cpufreq.c:166:2: error: implicit declaration of function 'soc_is_exynos4210'
[-Werror=implicit-function-declaration]
drivers/cpufreq/exynos-cpufreq.c:168:2: error: implicit declaration of function 'soc_is_exynos4212'
[-Werror=implicit-function-declaration]
drivers/cpufreq/exynos-cpufreq.c:168:2: error: implicit declaration of function 'soc_is_exynos4412'
[-Werror=implicit-function-declaration]
drivers/cpufreq/exynos-cpufreq.c:170:2: error: implicit declaration of function 'soc_is_exynos5250'
[-Werror=implicit-function-declaration]
cc1: some warnings being treated as errors
make[2]: *** [drivers/cpufreq/exynos-cpufreq.o] Error 1
make[2]: *** Waiting for unfinished jobs....
drivers/cpufreq/exynos4x12-cpufreq.c: In function 'exynos4x12_set_clkdiv':
drivers/cpufreq/exynos4x12-cpufreq.c:118:2: error: implicit declaration of function 'soc_is_exynos4212'
[-Werror=implicit-function-declaration]
cc1: some warnings being treated as errors
make[2]: *** [drivers/cpufreq/exynos4x12-cpufreq.o] Error 1
make[1]: *** [drivers/cpufreq] Error 2This fixes above error with getting SoC information via
of_machine_is_compatible() instead of soc_is_exynosXXXX().Suggested-by: Tomasz Figa
Signed-off-by: Jonghwan Choi
[kgene.kim@samsung.com: fixed typo and modified as per Viresh's suggestion]
[kgene.kim@samsung.com: Rafael agreed]
Signed-off-by: Kukjin Kim -
Move debug-macro.S from mach/include to include/debug where
all other common debug macros are.Signed-off-by: Heiko Stuebner
Signed-off-by: Kukjin Kim -
This removes the need for mach/-headers in the debug macro.
Signed-off-by: Heiko Stuebner
Signed-off-by: Kukjin Kim -
Using the lowlevel debug uart is a corner case - even more so in a
multiplatform environment. So it seems reasonable to simply let the
developer set the appropriate uart type for the debugged SoC.Signed-off-by: Heiko Stuebner
Signed-off-by: Kukjin Kim -
addruart from the generic debug macro is doing exactly the same using
the common lowlevel uart definition, so there is no cause for this
special casing for s3c24xx.Signed-off-by: Heiko Stuebner
Signed-off-by: Kukjin Kim -
Exynos specific macros and declarations have been moved to
mach-exynos. Inclusion of plat/cpu.h is no more necessary.Signed-off-by: Sachin Kamat
Reviewed-by: Tomasz Figa
Signed-off-by: Kukjin Kim -
Move Exynos specific macros to mach-exynos from plat-samsung to avoid
unnecessary dependency on plat based header files.Signed-off-by: Sachin Kamat
Reviewed-by: Tomasz Figa
Signed-off-by: Kukjin Kim -
'exynos_subsys' has no users. Remove this code.
Signed-off-by: Sachin Kamat
Reviewed-by: Tomasz Figa
Signed-off-by: Kukjin Kim -
Group all files compiled under common config option together.
Signed-off-by: Sachin Kamat
Reviewed-by: Tomasz Figa
Signed-off-by: Kukjin Kim -
A common macro v7_exit_coherency_flush available which does the below
tasks in the seqeunce.
-clearing C bit
-clearing L1 cache
-exit SMP
-instruction and data synchronizationSo removing the local functions which does the same thing and use the
macro instead.Signed-off-by: Leela Krishna Amudala
Acked-by: Nicolas Pitre
[cw00.choi@samsung.com: tested on exynos3250 based board]
Tested-by: Chanwoo Choi
Signed-off-by: Kukjin Kim
19 May, 2014
1 commit
-
Exynos5800 clock structure is mostly similar to 5420 with only
a small delta changes. So the 5420 clock file is re-used for
5800 also. The common clocks for both are seggreagated and few
clocks which are different for both are separately initialized.Signed-off-by: Alim Akhtar
Signed-off-by: Arun Kumar K
Acked-by: Tomasz Figa
Signed-off-by: Kukjin Kim
17 May, 2014
5 commits
-
The Exynos3250 clocks are statically listed and registered using the
Samsung specific common clock helper functions. Both device tree based
clock lookup and clkdev based clock lookups are supported.Signed-off-by: Chanwoo Choi
Signed-off-by: Tomasz Figa
Acked-by: Kyungmin Park
Cc: Mike Turquette
Cc: Kukjin Kim
Cc: Rob Herring
Cc: Pawel Moll
Cc: Mark Rutland
Cc: Ian Campbell
Cc: Kumar Gala
Cc: Randy Dunlap
Acked-by: Tomasz Figa
Signed-off-by: Kukjin Kim -
…git/tfiga/samsung-clk into v3.16-next/clk-samsung
Pull Samsung clock exynos3250 from Tomasz Figa:
"This small pull request contains a patch adding clock driver for Exynos3250,
which depends on previous pull requests in this series."Acked-by: Mike Turquette <mturquette@linaro.org>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com> -
…/git/tfiga/samsung-clk into v3.16-next/clk-samsung
Pull Samsung clock cleanup from Tomasz Figa:
"This pull requests contains minor clean-up related to Samsung clock
support, including:1) move Kconfig entries of Samsung clock drivers to drivers/clk,
2) compile drivers/clk/samsung conditionally when COMMON_CLK_SAMSUNG is
selected,3) remove obsolete Kconfig lines after moving s3c24xx to CCF."
Conflicts:
arch/arm/mach-s3c24xx/KconfigAcked-by: Mike Turquette <mturquette@linaro.org>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com> -
…inux/kernel/git/tfiga/samsung-clk into v3.16-next/clk-samsung
Pull Samsung clock non-critical fixes from Tomasz Figa:
"This pull requests contains a number of non-critical fixes for Samsung clock
framework and drivers, including:1) a series of fixes for Exynos5420 to correct clock definitions and make the
driver closer to the documentation,2) several missing clocks and clock IDs added to Exynos4, Exynos5250 and
Exynos5420 drivers,3) fix for incorrect initialization of clock table with NULL,
4) compiler warning fix."
Acked-by: Mike Turquette <mturquette@linaro.org>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com> -
…git/tfiga/samsung-clk into v3.16-next/clk-samsung
Pull Samsung clock exynos5260 from Tomasz Figa:
"This pull request contains patches preparing Samsung Common Clock Framework
helpers to support Exynos5260 by adding support for multiple clock providers
and then adding clock driver for Exynos5260."Acked-by: Mike Turquette <mturquette@linaro.org>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
15 May, 2014
20 commits
-
Missed some changes during re-sorting this branch.
So fixed it.Signed-off-by: Kukjin Kim
-
G2D power domain also controls the CMU block of G2D. Since
clock registers can be accessed anytime for viewing
clk_summary, it can cause a system crash if g2d power domain
is disabled.Signed-off-by: Arun Kumar K
Signed-off-by: Kukjin Kim -
MAU powerdomain provides clocks for Audio sub-system block.
This block comprises of the I2S audio controller, audio DMA
blocks and Audio sub-system clock registers.Right now, there is no way to hook up power-domains with
clock providers. During late boot when this power-domain
gets disabled, we get following external abort.Unhandled fault: imprecise external abort (0x1406) at 0x00000000
Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000007Signed-off-by: Tushar Behera
Tested-by: Doug Anderson
Signed-off-by: Kukjin Kim -
High speed I2C is used on Exynos5 based SoCs. Enable it.
The MMC partition for Root filesystem cannot be mounted
without this enabling HS-I2C and regulators on many boards
are connected HS-I2C bus so the regulators don't come by
default without this.Actually, we are not able to get arndale-octa board to boot
and mount an MMC partition without this change.Signed-off-by: Sachin Kamat
Tested-by: Javi Merino
[kgene.kim@samsung.com: modified description]
Signed-off-by: Kukjin Kim -
This change places MDMA1 in disabled node for Exynos5420.
If MDMA1 region is configured with secure mode, it makes
the boot failure with the following on smdk5420 board.
("Unhandled fault: imprecise external abort (0x1406) at 0x00000000")
Thus, arndale-octa board don't need to do the same thing anymore.Signed-off-by: Seungwon Jeon
Tested-by: Javi Merino
Signed-off-by: Kukjin Kim -
This patch fixes the offset of CPU boot address and changes
the parameter of smc call for SMC_CMD_CPU1BOOT command on
exynos4212.Signed-off-by: Kyungmin Park
Signed-off-by: Chanwoo Choi
Reviewed-by: Tomasz Figa
Signed-off-by: Kukjin Kim -
This patch add new the clock drvier of Exynos3250 SoC based on Cortex-A7
using common clock framework. The CMU (Clock Management Unit) of Exynos3250
control PLLs(Phase Locked Loops) and generate system clocks for CPU, buses,
and function clocks for individual IPs.The CMU of Exynos3250 includes following clock doamins:
- CPU block for Cortex-A7 MPCore processor
- LEFTBUS/RIGHTBUS block
- TOP block for G3D/MFC/LCD0/ISP/CAM/FSYS/MFC/PERIL/PERIRSigned-off-by: Tomasz Figa
Signed-off-by: Chanwoo Choi
Signed-off-by: Hyunhee Kim
Signed-off-by: Sylwester Nawrocki
Signed-off-by: Inki Dae
Signed-off-by: Seung-Woo Kim
Signed-off-by: Jaehoon Chung
Signed-off-by: Karol Wrona
Signed-off-by: YoungJun Cho
Signed-off-by: Kyungmin Park
Cc: Mike Turquette
Cc: Kukjin Kim
Cc: Rob Herring
Cc: Pawel Moll
Cc: Mark Rutland
Cc: Ian Campbell
Cc: Kumar Gala -
This patch replaces PLAT_SAMSUNG with COMMON_CLK_SAMSUNG for Samsung
common clock support. Any Samsung SoC want to use Samsung common clock
infrastructure can simply select COMMON_CLK_SAMSUNG.CC: Mike Turquette
Signed-off-by: Pankaj Dubey
Signed-off-by: Tomasz Figa -
This patch moves S3C24XX specific clock Kconfig options into
"clk/samsung/Kconfig" and also removes COMMON_CLK selection from
"mach-s3c24xx/Kconfig" as S3C24XX_COMMON_CLK is selecting it's dependency.CC: Ben Dooks
CC: Kukjin Kim
CC: Russell King
Signed-off-by: Pankaj Dubey
Signed-off-by: Tomasz Figa -
This patch selects COMMON_CLK_SAMSUNG for EXYNOS and S3C64XX SoC
and removes COMMON_CLK selection as COMMON_CLK_SAMSUNG selects it's dependency.CC: Russell King
Signed-off-by: Pankaj Dubey
Signed-off-by: Tomasz Figa -
This patch adds new Kconfig file for adding new COMMON_CLK_SAMSUNG option.
Samsung platforms can select this for using common clock infrastructure.CC: Mike Turquette
Signed-off-by: Pankaj Dubey
Signed-off-by: Tomasz Figa -
After full migration of s3c24xx to Common Clock Framework, some unneeded
entries in Kconfig still remained. Delete them.Signed-off-by: Tomasz Figa
-
This patch adds more register offsets to the list for
preserving their values during S2R.Signed-off-by: Rahul Sharma
Signed-off-by: Shaik Ameer Basha
Signed-off-by: Tomasz Figa -
This patch adds some missing miscellaneous clocks specific
to exynos5420.Signed-off-by: Rahul Sharma
Signed-off-by: Shaik Ameer Basha
Signed-off-by: Tomasz Figa -
This patch adds the missing MAU block specific clocks.
Signed-off-by: Rahul Sharma
Signed-off-by: Shaik Ameer Basha
Signed-off-by: Tomasz Figa -
This patch fixes the wrong register offset for sclk_bpll clock.
Signed-off-by: Rahul Sharma
Signed-off-by: Shaik Ameer Basha
Reviewed-by: Alim Akhtar
Signed-off-by: Tomasz Figa -
This patch corrects the wrong parent-child relationship
between sysmmu-mfc clocks.Signed-off-by: Shaik Ameer Basha
Signed-off-by: Tomasz Figa -
This patch adds more clocks from FSYS and FSYS2 blocks
and uses GATE_IP_* registers for gating IPs.Signed-off-by: Rahul Sharma
Signed-off-by: Shaik Ameer Basha
Signed-off-by: Tomasz Figa -
This patch adds missing clocks for WCORE block.
Signed-off-by: Rahul Sharma
Signed-off-by: Shaik Ameer Basha
Signed-off-by: Tomasz Figa -
This patch fixes some parent-child relationships according
to the latest datasheet and adds more clocks related to
PERIS and GEN blocks.Signed-off-by: Rahul Sharma
Signed-off-by: Shaik Ameer Basha
Signed-off-by: Tomasz Figa