to get access to PMU regmap
handle.
- Updated Exynos5250, Exynos5420, Exynos4210/4412/4212 dtsi files.
- Rebased on Kukjin Kim's for-next branch.
Pankaj Dubey (5):
ARM: dts: Add syscon handle in pmu node for exynos5250
ARM: dts: Add PMU node to exynos4210
ARM: dts: Add PMU node
This patch adds pmu regnode to exynos4212 and exynos4412 dtsi to
handle PMU register access via DT.
Signed-off-by: Pankaj Dubey pankaj.du...@samsung.com
---
arch/arm/boot/dts/exynos4212.dtsi |6 ++
arch/arm/boot/dts/exynos4412.dtsi |6 ++
2 files changed, 12 insertions(+)
diff
Add samsung,syscon-phandle property pointing to PMU node
to access PMU register via PMU regmap handle.
Signed-off-by: Pankaj Dubey pankaj.du...@samsung.com
---
arch/arm/boot/dts/exynos5250.dtsi |1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/boot/dts/exynos5250.dtsi
b/arch/arm
This patch updates samsung pmu (power management unit) binding information.
CC: Leela Krishna Amudala l.kris...@samsung.com
CC: Guenter Roeck li...@roeck-us.net
CC: Rob Landley r...@landley.net
Signed-off-by: Pankaj Dubey pankaj.du...@samsung.com
---
Documentation/devicetree/bindings/arm/samsung
This patch adds pmu regnode to exynos4210 dtsi to handle
PMU register access via DT.
Signed-off-by: Pankaj Dubey pankaj.du...@samsung.com
---
arch/arm/boot/dts/exynos4210.dtsi |6 ++
1 file changed, 6 insertions(+)
diff --git a/arch/arm/boot/dts/exynos4210.dtsi
b/arch/arm/boot/dts
Add samsung,syscon-phandle property pointing to PMU node
to access PMU register via PMU regmap handle.
Signed-off-by: Pankaj Dubey pankaj.du...@samsung.com
---
arch/arm/boot/dts/exynos5420.dtsi |1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/boot/dts/exynos5420.dtsi
b/arch/arm
Remove unused and unwanted declarations from mach-exynos/common.h
Signed-off-by: Pankaj Dubey pankaj.du...@samsung.com
---
arch/arm/mach-exynos/common.h |6 --
1 file changed, 6 deletions(-)
diff --git a/arch/arm/mach-exynos/common.h b/arch/arm/mach-exynos/common.h
index 9ef3f83
As we have removed static mappings from regs-pmu.h it does not
need map.h anymore. But platsmp.c needed this and till now it
got included indirectly. So lets move header inclusion of
mach/map.h from regs-pmu.h to platsmp.c.
Signed-off-by: Pankaj Dubey pankaj.du...@samsung.com
---
arch/arm/mach
.
get_exynos_pmuregmap returns a regmap based PMU register handle where as
get_exynos_pmuaddr returns ioremap virtual address.
Signed-off-by: Young-Gun Jang yg1004.j...@samsung.com
Signed-off-by: Pankaj Dubey pankaj.du...@samsung.com
---
arch/arm/mach-exynos/Kconfig |2 ++
arch/arm/mach-exynos/common.h |3
From: Young-Gun Jang yg1004.j...@samsung.com
This patch removes unnecessary header file inclusion from pmu.c.
Signed-off-by: Young-Gun Jang yg1004.j...@samsung.com
---
arch/arm/mach-exynos/pmu.c |1 -
1 file changed, 1 deletion(-)
diff --git a/arch/arm/mach-exynos/pmu.c
in removing static mapping of PMU base address
as well as help in reducing dependency over machine header files.
Thus helping for migration of PMU implementation from machine to driver
folder which can be reused for ARM64 bsed SoC.
Signed-off-by: Pankaj Dubey pankaj.du...@samsung.com
---
arch/arm/mach
From: Young-Gun Jang yg1004.j...@samsung.com
Current pm_domain.c file uses S5P_INT_LOCAL_PWR_EN definition from
regs-pmu.h and hence needs to include this header file. As there is
no other user of S5P_INT_LOCAL_PWR_EN definition other than pm_domain,
to remove regs-pmu.h header file dependency
-pmu.h
Signed-off-by: Young-Gun Jang yg1004.j...@samsung.com
Signed-off-by: Pankaj Dubey pankaj.du...@samsung.com
---
arch/arm/mach-exynos/exynos.c |1 +
arch/arm/mach-exynos/pm.c |1 +
arch/arm/mach-exynos/regs-pmu.h |3 ---
arch/arm/mach-exynos/regs-sys.h | 22
over machine header files.
3: Separate each SoC's PMU initialization function and bind this initialization
function with PMU compatibility string.
4 : It also removes uses of soc_is_exynos() thus making PMU implementation
independent of plat/cpu.h.
Signed-off-by: Pankaj Dubey pankaj.du
and PMU initialization and S2R.
For testing on Arndale (Exynos5250) board:
Tested-by: Pankaj Dubey pankaj.du...@samsung.com
Changes Since v1:
- Rebased on latest for-next of Kukjin Kim's tree.
- Added patch: Make exynos machine_ops as static.
For making more cleanup in mach-exynos
As machine function ops are used only in this file let's make
them static.
Signed-off-by: Pankaj Dubey pankaj.du...@samsung.com
---
arch/arm/mach-exynos/exynos.c |6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/arch/arm/mach-exynos/exynos.c b/arch/arm/mach-exynos
Moving Exynos PMU specific header file into include/linux/mfd/samsung
thus updated affected files under mach-exynos to use new location of
these header files.
CC: Sangbeom Kim sbki...@samsung.com
CC: Samuel Ortiz sa...@linux.intel.com
CC: Lee Jones lee.jo...@linaro.org
Signed-off-by: Pankaj Dubey
From: Younggun Jang yg1004.j...@samsung.com
This patch moves PMU specific definitions into a new file
as exynos-pmu.h. This will help in making PMU implementation
independent of common.h header.
Signed-off-by: Young-Gun Jang yg1004.j...@samsung.com
Signed-off-by: Pankaj Dubey pankaj.du
/pmu.c but
moving ahead for ARM64 based SoC support, there is a need of DT based
implementation of PMU driver.
This driver uses already existing DT binding information.
CC: Sangbeom Kim sbki...@samsung.com
CC: Samuel Ortiz sa...@linux.intel.com
CC: Lee Jones lee.jo...@linaro.org
Signed-off-by: Pankaj
the first message of the thread is
always v1. Also it makes threads unnecessarily long.
OK. I will take care in future.
Best regards,
Tomasz
On 25.04.2014 14:32, Pankaj Dubey wrote:
This patch series, does some minor cleanup and modifies Exynos PMU related
code for mapping
Hi Tomasz,
On Sat, Apr 26, 2014 at 8:52 AM, Tomasz Figa tomasz.f...@gmail.com wrote:
Hi Vikas,
On 25.04.2014 10:05, Vikas Sajjan wrote:
Hi,
On Thu, Apr 24, 2014 at 9:37 PM, Tomasz Figa t.f...@samsung.com wrote:
Hi Chanho,
On 14.04.2014 14:48, Chanho Park wrote:
This patch adds a
Hi Tomasz,
Thanks for review.
On Sat, Apr 26, 2014 at 7:19 AM, Tomasz Figa tomasz.f...@gmail.com wrote:
Hi,
On 25.04.2014 14:32, Pankaj Dubey wrote:
Under arm/mach-exynos many files are using PMU register offsets.
Since we have added support for accessing PMU base address via DT,
now we
HI Tomasz,
On Sat, Apr 26, 2014 at 6:19 AM, Tomasz Figa tomasz.f...@gmail.com wrote:
Hi,
On 25.04.2014 14:32, Pankaj Dubey wrote:
From: Young-Gun Jang yg1004.j...@samsung.com
Current pm_domain.c file uses S5P_INT_LOCAL_PWR_EN definition from
regs-pmu.h and hence needs to include
HI Tomasz,
Thanks for review.
On Sat, Apr 26, 2014 at 7:40 AM, Tomasz Figa tomasz.f...@gmail.com wrote:
Hi,
On 25.04.2014 14:32, Pankaj Dubey wrote:
This patch adds device tree based initialization for PMU and modifies
PMU initialization implementation in following way:
1: Let's
HI Tomasz,
Thanks for review and suggestions.
On Sat, Apr 26, 2014 at 6:05 AM, Tomasz Figa tomasz.f...@gmail.com wrote:
Hi Pankaj,
On 25.04.2014 14:32, Pankaj Dubey wrote:
As machine function ops are used only in this file let's make
them static.
Signed-off-by: Pankaj Dubey pankaj.du
Hi Tomasz,
Thanks for review.
On 04/26/2014 06:43 AM, Tomasz Figa wrote:
Hi,
On 25.04.2014 14:32, Pankaj Dubey wrote:
From: Young-Gun Jang yg1004.j...@samsung.com
Add support for mapping Samsung Power Management Unit (PMU) base address
from device tree. Code will use existing samsung pmu
On 04/28/2014 08:21 PM, Lee Jones wrote:
On Fri, 25 Apr 2014, Pankaj Dubey wrote:
This patch moves Exynos PMU driver implementation from
arm/mach-exynos to drivers/mfd.
This driver is mainly used for setting misc bits of register from PMU IP
of Exynos SoC which will be required to configure
under mach-exynos itself and then
prepared patches moving files from mach-exynos to drivers/mfd
Pankaj Dubey (2):
ARM: EXYNOS: Move pmu specific header files under linux/mfd/samsung
drivers: mfd: Add support for Exynos PMU driver
Younggun Jang (1):
ARM: EXYNOS: Move PMU specific
From: Younggun Jang yg1004.j...@samsung.com
This patch moves PMU specific definitions into a new file
as exynos-pmu.h. This will help in making PMU implementation
independent of common.h header.
Signed-off-by: Young-Gun Jang yg1004.j...@samsung.com
Signed-off-by: Pankaj Dubey pankaj.du
/pmu.c but
moving ahead for ARM64 based SoC support, there is a need of DT based
implementation of PMU driver.
This driver uses already existing DT binding information.
CC: Sangbeom Kim sbki...@samsung.com
CC: Samuel Ortiz sa...@linux.intel.com
CC: Lee Jones lee.jo...@linaro.org
Signed-off-by: Pankaj
lee.jo...@linaro.org
Signed-off-by: Pankaj Dubey pankaj.du...@samsung.com
---
arch/arm/mach-exynos/Kconfig |2 ++
arch/arm/mach-exynos/Makefile |2 --
drivers/mfd/Kconfig|9 +
drivers/mfd
...@samsung.com
CC: Samuel Ortiz sa...@linux.intel.com
CC: Lee Jones lee.jo...@linaro.org
Signed-off-by: Pankaj Dubey pankaj.du...@samsung.com
---
arch/arm/mach-exynos/Kconfig |2 ++
arch/arm/mach-exynos/Makefile |2 --
drivers/mfd/Kconfig
As machine function ops are used only in this file let's make
them static.
Signed-off-by: Pankaj Dubey pankaj.du...@samsung.com
---
arch/arm/mach-exynos/exynos.c |6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/arch/arm/mach-exynos/exynos.c b/arch/arm/mach-exynos
-pmu.h
Signed-off-by: Young-Gun Jang yg1004.j...@samsung.com
Signed-off-by: Pankaj Dubey pankaj.du...@samsung.com
Reviewed-by: Tomasz Figa t.f...@samsung.com
---
arch/arm/mach-exynos/exynos.c |1 +
arch/arm/mach-exynos/pm.c |1 +
arch/arm/mach-exynos/regs-pmu.h |3 ---
arch/arm
This patch removes unnecessary header file inclusion from pmu.c.
Signed-off-by: Young-Gun Jang yg1004.j...@samsung.com
Reviewed-by: Tomasz Figa t.f...@samsung.com
---
arch/arm/mach-exynos/pmu.c |1 -
1 file changed, 1 deletion(-)
diff --git a/arch/arm/mach-exynos/pmu.c
From: Young-Gun Jang yg1004.j...@samsung.com
This patch moves PMU specific definitions into a new file
as exynos-pmu.h. This will help in making PMU implementation
independent of common.h header.
Signed-off-by: Young-Gun Jang yg1004.j...@samsung.com
Signed-off-by: Pankaj Dubey pankaj.du
Many files under arm/mach-exynos are having file path in file
comment section which is invalid now.
So for better code maintainability let's remove them.
Signed-off-by: Pankaj Dubey pankaj.du...@samsung.com
Reviewed-by: Tomasz Figa t.f...@samsung.com
---
arch/arm/mach-exynos/headsmp.S
Remove unused and unwanted declarations from mach-exynos/common.h
Signed-off-by: Pankaj Dubey pankaj.du...@samsung.com
---
arch/arm/mach-exynos/common.h |9 -
1 file changed, 9 deletions(-)
diff --git a/arch/arm/mach-exynos/common.h b/arch/arm/mach-exynos/common.h
index 30123a0
it
more cleaner.
Suggested-by: Tomasz Figa t.f...@samsung.com
Signed-off-by: Pankaj Dubey pankaj.du...@samsung.com
---
arch/arm/mach-exynos/exynos.c | 19 ---
1 file changed, 4 insertions(+), 15 deletions(-)
diff --git a/arch/arm/mach-exynos/exynos.c b/arch/arm/mach-exynos/exynos.c
that we can reduce dependency over machine header files.
- Separate each SoC's PMU initialization function and make it as part of
platform data.
- It also removes uses of soc_is_exynos() thus making PMU implementation
independent of plat/cpu.h.
Signed-off-by: Pankaj Dubey pankaj.du
As we have removed static mappings from regs-pmu.h it does not
need map.h anymore. But platsmp.c needed this and till now it
got included indirectly. So lets move header inclusion of
mach/map.h from regs-pmu.h to platsmp.c.
Signed-off-by: Pankaj Dubey pankaj.du...@samsung.com
---
arch/arm/mach
] http://thread.gmane.org/gmane.linux.kernel.samsung-soc/29085
We have tested these patches on SMDK5250 board for System boot and
Arndale (Exynos5250) board for System boot and PMU initialization and S2R.
For testing on Arndale (Exynos5250) board:
Tested-by: Pankaj Dubey pankaj.du...@samsung.com
from pm_domain.c it's
better we define this definition in pm_domain.c file itself and thus it
will help in removing header file inclusion from pm_domain.c.
Also removing S5P_ prefix from macro.
Signed-off-by: Young-Gun Jang yg1004.j...@samsung.com
Signed-off-by: Pankaj Dubey pankaj.du...@samsung.com
: Arnd Bergmann a...@arndb.de
Signed-off-by: Pankaj Dubey pankaj.du...@samsung.com
---
arch/arm/mach-exynos/common.h|4 +-
arch/arm/mach-exynos/exynos.c| 19 +-
arch/arm/mach-exynos/hotplug.c |4 +-
arch/arm/mach-exynos/include/mach/map.h
handle.
Signed-off-by: Young-Gun Jang yg1004.j...@samsung.com
Signed-off-by: Pankaj Dubey pankaj.du...@samsung.com
---
arch/arm/mach-exynos/Kconfig |2 ++
arch/arm/mach-exynos/common.h |2 ++
arch/arm/mach-exynos/exynos.c | 39 +++
3 files changed, 43
Hi Sachin,
On 04/30/2014 03:00 PM, Sachin Kamat wrote:
Hi Pankaj,
On 30 April 2014 10:47, Pankaj Dubey pankaj.du...@samsung.com wrote:
As machine function ops are used only in this file let's make
them static.
Signed-off-by: Pankaj Dubey pankaj.du...@samsung.com
---
arch/arm/mach-exynos
On 04/30/2014 03:05 PM, Vikas Sajjan wrote:
Hi Pankaj,
On Wed, Apr 30, 2014 at 10:47 AM, Pankaj Dubey pankaj.du...@samsung.com wrote:
This patch modifies Exynos Power Management Unit (PMU) initialization
implementation in following way:
- Added platform_device support by registering static
Hi,
Gentle ping.
Tomasz, Kukjin will you please have a look on this series.
Thanks,
Pankaj Dubey
On 04/30/2014 02:17 PM, Pankaj Dubey wrote:
This patch series, does some minor cleanup of exynos machine files.
It also modifies Exynos Power Management Unit (PMU) related code for
converting
support is getting
added. So this driver intends to provide initialization code
all these functionalites and thus helping in removing macros.
CC: Arnd Bergmann a...@arndb.de
CC: Greg Kroah-Hartman gre...@linuxfoundation.org
Signed-off-by: Pankaj Dubey pankaj.du...@samsung.com
---
drivers/misc
/msg327677.html
[2]: Exynos PMU cleanup and refactoring.
https://lkml.org/lkml/2014/4/30/44
Pankaj Dubey (4):
ARM: EXYNOS: remove soc_is_exynos4/5 from exynos.c
ARM: EXYNOS: remove unused header inclusion from hotplug.c
misc: exynos-chipid: Add Exynos Chipid driver support
ARM: EXYNOS
Signed-off-by: Pankaj Dubey pankaj.du...@samsung.com
---
arch/arm/mach-exynos/exynos.c| 30 +++---
arch/arm/plat-samsung/include/plat/cpu.h |3 ---
2 files changed, 27 insertions(+), 6 deletions(-)
diff --git a/arch/arm/mach-exynos/exynos.c b/arch/arm
This patch removed plat/cpu.h inclusion from hotplug.c as it
is not required.
Signed-off-by: Pankaj Dubey pankaj.du...@samsung.com
---
arch/arm/mach-exynos/hotplug.c |2 --
1 file changed, 2 deletions(-)
diff --git a/arch/arm/mach-exynos/hotplug.c b/arch/arm/mach-exynos/hotplug.c
index
Hi Arnd,
Thanks for review and suggestions.
On 05/04/2014 12:02 AM, Arnd Bergmann wrote:
On Saturday 03 May 2014 15:11:36 Pankaj Dubey wrote:
This patch series attempts to get rid of soc_is_exynos macros
and eventually with the help of this series we can probably get
rid
On 05/05/2014 04:57 PM, Krzysztof Kozlowski wrote:
On sob, 2014-05-03 at 15:11 +0900, Pankaj Dubey wrote:
diff --git a/drivers/misc/Makefile b/drivers/misc/Makefile
index 7eb4b69..48c8fb5 100644
--- a/drivers/misc/Makefile
+++ b/drivers/misc/Makefile
@@ -55,3 +55,4 @@ obj-$(CONFIG_SRAM
On 05/05/2014 11:58 PM, Arnd Bergmann wrote:
On Monday 05 May 2014 18:23:55 Pankaj Dubey wrote:
On 05/04/2014 12:02 AM, Arnd Bergmann wrote:
Ideally this should be done by slightly restructuring the DT
source to make all on-chip devices appear below the soc node.
Currently I can't see soc
This patch removed plat/cpu.h inclusion from hotplug.c as it
is not required.
Signed-off-by: Pankaj Dubey pankaj.du...@samsung.com
---
arch/arm/mach-exynos/hotplug.c |2 --
1 file changed, 2 deletions(-)
diff --git a/arch/arm/mach-exynos/hotplug.c b/arch/arm/mach-exynos/hotplug.c
index
support is getting
added. So this driver intends to provide initialization code
all these functionalites and thus helping in removing macros.
Signed-off-by: Pankaj Dubey pankaj.du...@samsung.com
---
drivers/soc/Kconfig |1 +
drivers/soc/Makefile|1 +
drivers/soc
...@arm.linux.org.uk
CC: linux-...@vger.kernel.org
Signed-off-by: Pankaj Dubey pankaj.du...@samsung.com
---
arch/arm/mach-exynos/exynos.c | 12 +---
arch/arm/mach-exynos/include/mach/map.h |3 ---
arch/arm/mach-exynos/pm.c | 10 --
arch/arm/mach-exynos
Hi Tomasz,
Thanks for review.
On 05/07/2014 03:36 AM, Tomasz Figa wrote:
Hi Pankaj,
On 06.05.2014 10:51, Pankaj Dubey wrote:
Let's move I2C interrupt re-configuration code from machine
file exynos.c to I2C driver. Since only Exynos5250, and
Exynos5420 need to do this, added syscon based
after each commit.
V2:
1) Adding new Kconfig file for Samsung common clock.
2) Make COMMON_CLK_SAMSUNG option invisible. (as suggested by Tomasz Figa)
3) Let COMMON_CLK_SAMSUNG select COMMON_CLK. (as suggested by Tomasz Figa)
4) Move S3C24XX clock config option in new Kconfig file.
Pankaj Dubey (4
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 mturque...@linaro.org
Signed-off-by: Pankaj Dubey pankaj.du...@samsung.com
---
drivers/clk/Kconfig |2 ++
drivers/clk
...@arm.linux.org.uk
Signed-off-by: Pankaj Dubey pankaj.du...@samsung.com
---
arch/arm/mach-s3c24xx/Kconfig | 14 --
drivers/clk/samsung/Kconfig |9 +
2 files changed, 9 insertions(+), 14 deletions(-)
diff --git a/arch/arm/mach-s3c24xx/Kconfig b/arch/arm/mach-s3c24xx/Kconfig
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 li...@arm.linux.org.uk
Signed-off-by: Pankaj Dubey pankaj.du...@samsung.com
---
arch/arm/Kconfig |4 ++--
1 file changed, 2
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 mturque...@linaro.org
Signed-off-by: Pankaj Dubey pankaj.du...@samsung.com
,
Pankaj Dubey
--
To unsubscribe from this list: send the line unsubscribe linux-samsung-soc in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
,
+ struct samsung_out_clock *out_clk_list, unsigned int nr_out_clk);
extern unsigned long _get_rate(const char *clk_name);
--
Best Regards,
Pankaj Dubey
--
To unsubscribe from this list: send the line unsubscribe linux-samsung-soc in
the body of a message to majord
://lkml.org/lkml/2014/4/30/8
#define EXYNOS5_AUTO_WDTRESET_DISABLE (0x0408)
#define EXYNOS5_MASK_WDTRESET_REQUEST (0x040C)
--
Best Regards,
Pankaj Dubey
--
To unsubscribe from this list: send the line unsubscribe linux-samsung-soc in
the body
EXYNOS5420_KFC_USE_STANDBY_WFE2BIT(22)
+#define EXYNOS5420_KFC_USE_STANDBY_WFE3BIT(23)
+
+#define DUR_WAIT_RESET 0xF
+
+
#endif /* __ASM_ARCH_REGS_PMU_H */
--
Best Regards,
Pankaj Dubey
--
To unsubscribe from this list: send
This patch adds pmu regnode to exynos4210 dtsi to handle
PMU register access via DT.
Signed-off-by: Pankaj Dubey pankaj.du...@samsung.com
---
arch/arm/boot/dts/exynos4210.dtsi |5 +
1 file changed, 5 insertions(+)
diff --git a/arch/arm/boot/dts/exynos4210.dtsi
b/arch/arm/boot/dts
This patch adds pmu regnode to exynos4212 and exynos4412 dtsi to
handle PMU register access via DT.
Signed-off-by: Pankaj Dubey pankaj.du...@samsung.com
---
arch/arm/boot/dts/exynos4212.dtsi |5 +
arch/arm/boot/dts/exynos4412.dtsi |5 +
2 files changed, 10 insertions(+)
diff
branch.
[1]: Allow NULL property in syscon_early_regmap_lookup_by_phandle
https://lkml.org/lkml/2014/5/10/10 and
https://lkml.org/lkml/2014/4/29/661
[2]: https://lkml.org/lkml/2014/4/25/762
Pankaj Dubey (3):
ARM: dts: Add PMU node to exynos4210
ARM: dts: Add PMU node to exynos4212
This patch updates samsung pmu (power management unit) binding information.
CC: Leela Krishna Amudala l.kris...@samsung.com
CC: Tomasz Figa t.f...@samsung.com
CC: Guenter Roeck li...@roeck-us.net
CC: Rob Landley r...@landley.net
Signed-off-by: Pankaj Dubey pankaj.du...@samsung.com
it
more cleaner.
Suggested-by: Tomasz Figa t.f...@samsung.com
Signed-off-by: Pankaj Dubey pankaj.du...@samsung.com
---
arch/arm/mach-exynos/exynos.c | 19 ---
1 file changed, 4 insertions(+), 15 deletions(-)
diff --git a/arch/arm/mach-exynos/exynos.c b/arch/arm/mach-exynos/exynos.c
.
For testing on Arndale (Exynos5250) board:
Tested-by: Pankaj Dubey pankaj.du...@samsung.com
Changes Since v3:
- Addressed build fail issue in exynos.c as reported by Sachin Kamat.
- Optimized exynos_pmu_probe function by removing exynos_pmu_data_init
as suggested by Vikas Sajjan.
- Rebased on top
From: Young-Gun Jang yg1004.j...@samsung.com
This patch moves PMU specific definitions into a new file
as exynos-pmu.h. This will help in making PMU implementation
independent of common.h header.
Signed-off-by: Young-Gun Jang yg1004.j...@samsung.com
Signed-off-by: Pankaj Dubey pankaj.du
-pmu.h
Signed-off-by: Young-Gun Jang yg1004.j...@samsung.com
Signed-off-by: Pankaj Dubey pankaj.du...@samsung.com
Reviewed-by: Tomasz Figa t.f...@samsung.com
---
arch/arm/mach-exynos/exynos.c |1 +
arch/arm/mach-exynos/pm.c |1 +
arch/arm/mach-exynos/regs-pmu.h |3 ---
arch/arm
that we can reduce dependency over machine header files.
- Separate each SoC's PMU initialization function and make it as part of
platform data.
- It also removes uses of soc_is_exynosXYZ() thus making PMU implementation
independent of plat/cpu.h.
Signed-off-by: Pankaj Dubey pankaj.du
Many files under arm/mach-exynos are having file path in file
comment section which is invalid now.
So for better code maintainability let's remove them.
Signed-off-by: Pankaj Dubey pankaj.du...@samsung.com
Reviewed-by: Tomasz Figa t.f...@samsung.com
---
arch/arm/mach-exynos/headsmp.S
static mapping of PMU base address
as well as help in reducing dependency over machine header files.
Thus helping for migration of PMU implementation from machine to
driver folder which can be reused for ARM64 bsed SoC.
Signed-off-by: Pankaj Dubey pankaj.du...@samsung.com
---
arch/arm/mach-exynos
As we have removed static mappings from regs-pmu.h it does not
need map.h anymore. But platsmp.c needed this and till now it
got included indirectly. So lets move header inclusion of
mach/map.h from regs-pmu.h to platsmp.c.
Signed-off-by: Pankaj Dubey pankaj.du...@samsung.com
---
arch/arm/mach
This patch removes unnecessary header file inclusion from pmu.c.
Signed-off-by: Young-Gun Jang yg1004.j...@samsung.com
Reviewed-by: Tomasz Figa t.f...@samsung.com
---
arch/arm/mach-exynos/pmu.c |1 -
1 file changed, 1 deletion(-)
diff --git a/arch/arm/mach-exynos/pmu.c
from pm_domain.c it's
better we define this definition in pm_domain.c file itself and thus it
will help in removing header file inclusion from pm_domain.c.
Also removing S5P_ prefix from macro.
Signed-off-by: Young-Gun Jang yg1004.j...@samsung.com
Signed-off-by: Pankaj Dubey pankaj.du...@samsung.com
handle.
Signed-off-by: Young-Gun Jang yg1004.j...@samsung.com
Signed-off-by: Pankaj Dubey pankaj.du...@samsung.com
---
arch/arm/Kconfig |1 +
arch/arm/mach-exynos/common.h |2 ++
arch/arm/mach-exynos/exynos.c | 39 +++
3 files changed, 42
provided infrastructure to make SoC specific
information avaible to user space via sysfs entry, as suggested by Arnd.
Pankaj Dubey (6):
i2c: s3c2410: Handle i2c sys_cfg register in i2c driver
ARM: EXYNOS: Remove i2c sys configuration related code
ARM: EXYNOS: Remove soc_is_exynos4/5 from
This patch removes usage of soc_is_exynos4/5 from exynos.c.
For this we need to separate machine descriptors for exynos4
and exynos5. While doing this patch does some consolidation also.
CC: Russell King li...@arm.linux.org.uk
CC: Thomas Abraham thomas.abra...@linaro.org
Signed-off-by: Pankaj
This patch removed plat/cpu.h inclusion from hotplug.c as it
is not required.
Signed-off-by: Pankaj Dubey pankaj.du...@samsung.com
---
arch/arm/mach-exynos/hotplug.c |2 --
1 file changed, 2 deletions(-)
diff --git a/arch/arm/mach-exynos/hotplug.c b/arch/arm/mach-exynos/hotplug.c
index
-mask we need
separate compatible string for exynos4 and exynos5. Hoping this will
be helpful in future as bit-mask and bit-shift bit may differ.
Added binding information as well.
Signed-off-by: Pankaj Dubey pankaj.du...@samsung.com
---
.../bindings/arm/samsung/exynos-chipid.txt | 21
Since all these code has been moved into i2c driver, now we can
safely remove them from machine files.
CC: Russell King li...@arm.linux.org.uk
Signed-off-by: Pankaj Dubey pankaj.du...@samsung.com
---
arch/arm/mach-exynos/exynos.c | 38 +--
arch/arm/mach
...@vger.kernel.org
CC: linux-...@vger.kernel.org
CC: linux-...@vger.kernel.org
Signed-off-by: Pankaj Dubey pankaj.du...@samsung.com
---
.../devicetree/bindings/arm/samsung/sysreg.txt |1 +
arch/arm/boot/dts/exynos5.dtsi |5 +++
arch/arm/boot/dts/exynos5250.dtsi
support is getting
added. So this driver intends to provide initialization code
all these functionalites and thus helping in removing macros.
Signed-off-by: Pankaj Dubey pankaj.du...@samsung.com
---
drivers/soc/Kconfig |1 +
drivers/soc/Makefile|1 +
drivers/soc
On 05/11/2014 04:12 PM, Olof Johansson wrote:
Hi,
On Sat, May 10, 2014 at 12:18 AM, y...@samsung.com wrote:
From: Pankaj Dubey pankaj.du...@samsung.com
This patch series attempts to get rid of soc_is_exynos macros
and eventually with the help of this series we can probably get
rid
On 05/11/2014 04:10 PM, Olof Johansson wrote:
On Sat, May 10, 2014 at 12:18 AM, y...@samsung.com wrote:
From: Pankaj Dubey pankaj.du...@samsung.com
This patch enables chipid driver for ARCH_EXYNOS and refactors
machine code as well as exynos cpufreq driver code for using
chipid driver
On 05/11/2014 03:52 PM, Olof Johansson wrote:
On Sat, May 10, 2014 at 12:18 AM, y...@samsung.com wrote:
From: Pankaj Dubey pankaj.du...@samsung.com
This patch removes usage of soc_is_exynos4/5 from exynos.c.
For this we need to separate machine descriptors for exynos4
and exynos5. While doing
Hi Tomasz,
-Original Message-
Hi Pankaj,
On 10.05.2014 08:56, Pankaj Dubey wrote:
As exynos_cpuidle_init and exynos_cpufreq_init function have just one
lines of code for registering platform devices. We can move these
lines to exynos_dt_machine_init and delete
Hi Tomasz,
-Original Message-
Hi Pankaj,
On 10.05.2014 09:20, Pankaj Dubey wrote:
This patch removed plat/cpu.h inclusion from hotplug.c as it is not
required.
Signed-off-by: Pankaj Dubey pankaj.du...@samsung.com
---
arch/arm/mach-exynos/hotplug.c |2 --
1 file
Hi Tomasz,
Hi Pankaj,
On 10.05.2014 09:20, Pankaj Dubey wrote:
Let's handle i2c interrupt re-configuration in i2c driver. This will
help us in removing some soc specific checks from machine files.
Since only Exynos5250, and Exynos5420 need to do this, added syscon
based phandle
Hi Tomasz,
Hi,
On 10.05.2014 08:56, Pankaj Dubey wrote:
From: Young-Gun Jang yg1004.j...@samsung.com
Add support for mapping Samsung Power Management Unit (PMU) base
address from device tree. This patch also adds helper function as
get_exynos_pmuregmap. This function can be used
reply.
I tested this patch after changing exynos PMU to be a syscon provider and it's
working well.
So if we can address Arnd's comments, this patch will be helpful in making
exynos PMU a
complete platform driver.
Thanks,
Pankaj Dubey
Signed-off-by: Tomasz Figa t.f...@samsung.com
Hi
Hi,
On Wednesday, June 25 2014 Tomasz Figa write:
On 24.06.2014 13:28, Pankaj Dubey wrote:
On Tuesday, June 17 2014, Tomasz Figa wrote:
On 10.05.2014 08:56, Pankaj Dubey wrote:
[snip]
+
+ ret = platform_driver_register(exynos_pmu_driver);
+ if (ret 0)
+ goto out
this here. If
I have missed something please point to any existing such patch.
- Added patch: Remove linux/bug.h from pmu.c.
- Added patch: Move mach/map.h inclusion from regs-pmu.h to platsmp.c
Pankaj Dubey (6):
ARM: EXYNOS: Make exynos machine_ops as static
ARM: EXYNOS: Move cpufreq
1 - 100 of 495 matches
Mail list logo