This patch adds Exynos SROM controller driver which will handle
save restore of SROM registers during S2R.
Change-Id: Iaddaaebc1d7090c9889e948e68e886519562c43c
Signed-off-by: Pankaj Dubey
---
drivers/soc/Kconfig | 1 +
drivers/soc/Makefile | 1 +
drivers/soc
As now we have dedicated driver for SROM controller, it will take care
of saving register banks during S2R so we can safely remove these
settings from mach-exynos.
Signed-off-by: Pankaj Dubey
---
arch/arm/mach-exynos/Kconfig | 2 +
arch/arm/mach-exynos/exynos.c
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
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
> > ---
&g
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
Hi Tomasz,
> Hi,
>
> On 10.05.2014 08:56, Pankaj Dubey wrote:
> > From: Young-Gun Jang
> >
> > Add support for mapping Samsung Power Management Unit (PMU) base
> > address from device tree. This patch also adds helper function as
> > "get_exynos_pm
>
Sorry for late 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-of
comments for changed related
to
> regmap, as according to our previous discussion they will be dropped in
next version.
>
> On 10.05.2014 08:56, Pankaj Dubey wrote:
> > This patch modifies Exynos Power Management Unit (PMU) initialization
> > implementation in followin
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_drive
ut since I could not find I have included 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
more cleaner.
Suggested-by: Tomasz Figa
Signed-off-by: Pankaj Dubey
Reviewed-by: Tomasz Figa
---
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
index 6affcd9
As machine function ops are used only in this file let's make
them static. Also remove unused and unwanted declarations from
common.h.
Signed-off-by: Pankaj Dubey
Reviewed-by: Tomasz Figa
---
arch/arm/mach-exynos/common.h |8
arch/arm/mach-exynos/exynos.c |6 +++---
2
While making PMU implementation to be device tree based, there are
few register offsets related with SYSREG present in regs-pmu.h, so
let's make a new header file "regs-sys.h" to keep all such SYSREG
related register offsets and remove them from "regs-pmu.h"
Signed-off-b
file dependency 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: Pankaj Dubey
Reviewe
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
Reviewed-by: Tomasz Figa
---
arch/arm/mach-exynos/headsmp.S |1 -
arch/
This patch removes unnecessary header file inclusion from pmu.c.
Signed-off-by: Pankaj Dubey
Reviewed-by: Tomasz Figa
---
arch/arm/mach-exynos/pmu.c |1 -
1 file changed, 1 deletion(-)
diff --git a/arch/arm/mach-exynos/pmu.c b/arch/arm/mach-exynos/pmu.c
index fb0deda..dcfcb44 100644
--- a
N config option, current "syscon" driver probe
gets called and PMU probe never gets called. So modified PMU
initialization code to scan DT and match against supported compatiblity
string in driver code, and once we get matching node use that for
accessing PMU
Add support for mapping Samsung Power Management Unit (PMU)
base address from device tree.
Signed-off-by: Pankaj Dubey
---
arch/arm/mach-exynos/common.h |1 +
arch/arm/mach-exynos/exynos.c | 45 +
2 files changed, 46 insertions(+)
diff --git a/arch
_exynosXYZ().
Signed-off-by: Pankaj Dubey
---
arch/arm/mach-exynos/Kconfig |1 +
arch/arm/mach-exynos/pmu.c | 201 +-
2 files changed, 161 insertions(+), 41 deletions(-)
diff --git a/arch/arm/mach-exynos/Kconfig b/arch/arm/mach-exynos/Kconfig
index d58995c
ing 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
---
arch/arm/mach-exynos/common.h|4 +-
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".
Sig
This patch moves PMU specific definitions into a new file
as exynos-pmu.h.
This will help in reducing dependency of common.h in pmu.c.
Signed-off-by: Pankaj Dubey
---
arch/arm/mach-exynos/common.h | 17 -
arch/arm/mach-exynos/exynos-pmu.h | 31
Hi Tomasz,
On Monday, June 30, 2014 Tomasz Figa wrote:
>
> Hi Pankaj,
>
> In general the patch seems quite nice, but please see few comments inline.
>
> On 25.06.2014 16:03, Pankaj Dubey wrote:
> > Add support for mapping Samsung Power Management Unit (PMU) base
>
Hi Tomasz,
On Monday, June 30, 2014 Tomasz Figa wrote:
> Hi Pankaj,
>
> This looks much better now, but please see my comments inline.
>
> On 25.06.2014 16:03, Pankaj Dubey wrote:
> > Under "arm/mach-exynos" many files are using PMU register offsets.
>
Hi Tomasz,
On Monday, June 30, 2014 Tomasz Figa wrote:
> Hi Pankaj,
>
> On 25.06.2014 16:03, Pankaj Dubey wrote:
> > 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
Hi Tomasz,
On Monday, June 30, 2014 Tomasz Figa wrote:
> Hi Pankaj,
>
> Please see my comments inline.
>
> On 25.06.2014 16:03, Pankaj Dubey wrote:
> > This patch modifies Exynos Power Management Unit (PMU) initialization
> > implementation in following way:
>
Hi Tomasz,
On Monday, June 30, 2014 Tomasz Figa wrote:
> Hi Pankaj,
>
> On 25.06.2014 16:03, Pankaj Dubey wrote:
> > This patch moves PMU specific definitions into a new file as
> > exynos-pmu.h.
> > This will help in reducing dependency of common.h in pmu.c.
> >
ux/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 and cpuidle device registration to
init_machine
ARM: EXYNOS: Move SYSREG definition
As machine function ops are used only in this file let's make
them static. Also remove unused and unwanted declarations from
common.h.
Signed-off-by: Pankaj Dubey
Reviewed-by: Tomasz Figa
---
arch/arm/mach-exynos/common.h |8
arch/arm/mach-exynos/exynos.c |6 +++---
2
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
Reviewed-by: Tomasz Figa
---
arch/arm/mach-exynos/headsmp.S |1 -
arch/
file dependency 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: Pankaj Dubey
Reviewe
This patch removes unnecessary header file inclusion from pmu.c.
Signed-off-by: Pankaj Dubey
Reviewed-by: Tomasz Figa
---
arch/arm/mach-exynos/pmu.c |1 -
1 file changed, 1 deletion(-)
diff --git a/arch/arm/mach-exynos/pmu.c b/arch/arm/mach-exynos/pmu.c
index fb0deda..dcfcb44 100644
--- a
While making PMU implementation to be device tree based, there are
few register offsets related with SYSREG present in regs-pmu.h, so
let's make a new header file "regs-sys.h" to keep all such SYSREG
related register offsets and remove them from "regs-pmu.h"
Signed-off-b
more cleaner.
Suggested-by: Tomasz Figa
Signed-off-by: Pankaj Dubey
Reviewed-by: Tomasz Figa
---
arch/arm/mach-exynos/exynos.c | 20
1 file changed, 4 insertions(+), 16 deletions(-)
diff --git a/arch/arm/mach-exynos/exynos.c b/arch/arm/mach-exynos/exynos.c
index ff60b4c
This patch moves PMU specific definitions into a new file
as exynos-pmu.h.
This will help in reducing dependency of common.h in pmu.c.
Signed-off-by: Pankaj Dubey
---
arch/arm/mach-exynos/common.h | 17 -
arch/arm/mach-exynos/exynos-pmu.h | 24
e. 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
---
arch/arm/mach-exynos/common.h|4 +-
arch/arm/ma
Add support for mapping Samsung Power Management Unit (PMU)
base address from device tree.
Signed-off-by: Pankaj Dubey
---
arch/arm/mach-exynos/common.h |1 +
arch/arm/mach-exynos/exynos.c | 37 +
2 files changed, 38 insertions(+)
diff --git a/arch/arm
lity
string in driver code, and once we get matching node use that for
accessing PMU regmap handle using
"syscon_early_regmap_lookup_by_phandle".
If there is any better solution please suggest.
Pankaj Dubey (4):
ARM: EXYNOS: Add support for mapping PMU base address
_exynosXYZ().
Signed-off-by: Pankaj Dubey
---
arch/arm/mach-exynos/Kconfig |1 +
arch/arm/mach-exynos/pmu.c | 188 +-
2 files changed, 149 insertions(+), 40 deletions(-)
diff --git a/arch/arm/mach-exynos/Kconfig b/arch/arm/mach-exynos/Kconfig
index 8f9b66
Hi Kukjin,
>
> On 07/07/14 12:50, 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 exynos_cpuidle_init and
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
Reviewed-by: Tomasz Figa
---
arch/arm/mach-exynos/common.h
PMU probe never gets called. So modified PMU
initialization code to scan DT and match against supported compatiblity
string in driver code, and once we get matching node use that for
accessing PMU regmap handle using
"syscon_early_regmap_lookup_by_phandle".
This patch moves PMU specific definitions into a new file
as exynos-pmu.h.
This will help in reducing dependency of common.h in pmu.c.
Signed-off-by: Pankaj Dubey
Reviewed-by: Tomasz Figa
---
arch/arm/mach-exynos/common.h | 17 -
arch/arm/mach-exynos/exynos-pmu.h | 24
_exynosXYZ().
Signed-off-by: Pankaj Dubey
Reviewed-by: Tomasz Figa
---
arch/arm/mach-exynos/Kconfig |1 +
arch/arm/mach-exynos/pmu.c | 185 +-
2 files changed, 146 insertions(+), 40 deletions(-)
diff --git a/arch/arm/mach-exynos/Kconfig b/arch/arm/mach-exyn
Add support for mapping Samsung Power Management Unit (PMU)
base address from device tree.
Signed-off-by: Pankaj Dubey
Reviewed-by: Tomasz Figa
---
arch/arm/mach-exynos/common.h |1 +
arch/arm/mach-exynos/exynos.c | 37 +
2 files changed, 38 insertions
more cleaner.
Suggested-by: Tomasz Figa
Signed-off-by: Pankaj Dubey
Reviewed-by: Tomasz Figa
---
This patch is part of exynos-cleanup series v6 [1]. Just respinning after
resolving merge conflicts on latest kgene/for-next.
[1]: https://lkml.org/lkml/2014/7/10/338
arch/arm/mach-exynos
Hi Kukjin,
On Thursday, July 10, 2014 7:04 PM, Kukjin wrote:
> Pankaj Dubey wrote:
> >
> > Hi Kukjin,
> >
> Hi,
>
> > >
> > > On 07/07/14 12:50, Pankaj Dubey wrote:
> > > > As exynos_cpuidle_init and exynos_cpufreq_init function hav
This patch fixes a typo in struct named as "exynos5_list_diable_wfi_wfe"
by making it "exynos5_list_disable_wfi_wfe" which is more meaningful.
Signed-off-by: Pankaj Dubey
---
arch/arm/mach-exynos/pmu.c |8
1 file changed, 4 insertions(+), 4 deletions(-)
diff -
ructure to make SoC specific
information avaible to user space via sysfs entry, as suggested by Arnd.
Pankaj Dubey (2):
i2c: s3c2410: Handle i2c sys_cfg register in i2c driver
ARM: EXYNOS: Remove i2c sys configuration related code
.../devicetree/bindings/i2c/i2c-s3c2410.txt|1 +
linux-...@vger.kernel.org
Signed-off-by: Pankaj Dubey
---
.../devicetree/bindings/i2c/i2c-s3c2410.txt|1 +
arch/arm/boot/dts/exynos5250.dtsi |4 +++
arch/arm/boot/dts/exynos5420.dtsi |4 +++
drivers/i2c/busses/i2c-s3c2410.c |
As all these code has been moved into i2c driver, now we can
safely remove them from machine files.
CC: Russell King
Signed-off-by: Pankaj Dubey
---
arch/arm/mach-exynos/exynos.c | 39 ++-
arch/arm/mach-exynos/include/mach/map.h |3 ---
arch/arm/mach
Hi Lee,
On Monday, November 03, 2014 8:56 PM, Lee Jones wrote,
> Subject: Re: [PATCH 02/12] drivers: mfd: Add support for Exynos PMU driver
>
> On Mon, 03 Nov 2014, Amit Daniel Kachhap wrote:
>
> > From: Pankaj Dubey
> >
> > This patch moves Exynos PMU driver
on from where the notifier chains are
> > supposed to be called to the subsystem's maintainers preference, I'm
> > rather reluctant to having one global notifiers list for all possible
power domains
> and all the notification clients.
> > The possibly long list needs
On Wednesday, November 05, 2014 7:18 PM, Sylwester Nawrocki wrote:
> On 04/11/14 04:18, Pankaj Dubey wrote:
> > 2: Since PM domain relies on PMU registers and does not have its own
> > DT binding, MFD client and MFD device is most suitable for making
> > this kind of plat
rm-kernel/msg372742.html
Thanks,
Pankaj Dubey
> Signed-off-by: Amit Daniel Kachhap
> ---
> drivers/soc/samsung/exynos-pmu.c |8
> 1 file changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/drivers/soc/samsung/exynos-pmu.c
> b/drivers/soc/samsung/exynos-pmu.c
&
will be required to configure
> before Suspend/Resume. Currently all these settings are done in
> "arch/arm/mach-exynos/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
y.
>
> Reviewed-by: Pankaj Dubey
> Signed-off-by: Eunseok Choi
> Signed-off-by: Abhilash Kesavan
> Signed-off-by: Amit Daniel Kachhap
> ---
> .../devicetree/bindings/arm/samsung/pmu.txt|1 +
> drivers/soc/samsung/exynos-pmu.c | 425
>
Hi Kukjin,
On Tuesday, October 07, 2014 1:23 PM, Pankaj Dubey wrote:
> Subject: [PATCH v3 0/2] Handle reboot for Exynos SoC via restart_handler
>
> This patch removes restart hook from machine_desc of Exynos, and moves
respective
> code into reboot_notifiers.
> Exynos5440 han
This patch removes all unused static iomapping from
exynos4/5_iodesc table, and at the same time removes
related macros from map.h and map-s5p.h.
All such mappings are present in exynos.c but not currently
there are no users of these mappings, so its safe to remove these.
Signed-off-by: Pankaj
smp_ops;
extern void exynos_cpu_resume(void);
extern void exynos_cpu_resume_ns(void);
-extern void exynos_cpu_die(unsigned int cpu);
extern void exynos_cpu_power_down(int cpu);
extern void exynos_cpu_power_up(int cpu);
extern int exynos_cpu_power_state(int cpu);
------
Hi Kukjin,
On Thursday, November 13, 2014 8:14 AM, Kukjin Kim wrote:
> Subject: Re: [PATCH] ARM: EXYNOS: Remove unused static iomapping
>
> On 11/11/14 14:17, Pankaj Dubey wrote:
> > This patch removes all unused static iomapping from exynos4/5_iodesc
> > table, and at
hanges since v1:
- Addressed review comments from Tomasz Figa. Removed usage of
local variables where ever unnecessary.
- Make reg_base as global in clk-exynos5440.c file, to avoid
iomapping it again in reboot_notifier handler.
Pankaj Dubey (2):
clk: samsung: exynos5440: move restart
Let's register restart handler for Exynos5440 from it's clock driver
for reboot functionality. So that we can cleanup restart hooks from
machine specific file.
CC: Sylwester Nawrocki
CC: Tomasz Figa
Signed-off-by: Pankaj Dubey
---
arch/arm/mach-exynos/exynos.c
Let's register restart handler from PMU driver for reboot
functionality. So that we can remove restart hooks from
machine specific file, and thus moving ahead when PMU moved
to driver folder, this functionality can be reused for ARM64
based Exynos SoC's.
Signed-off-by: Pankaj Dubey
---
On Monday, November 17, 2014 10:11 PM, Guenter Roeck wrote:
> On Mon, Nov 17, 2014 at 04:51:13PM +0530, Pankaj Dubey wrote:
> >
> > +/*
> > + * Exynos PMU reboot notifier, handles reboot functionality
>
> restart, really.
>
> > + */
> > +static
id
iomapping it again in reboot_notifier handler.
Pankaj Dubey (2):
clk: samsung: exynos5440: move restart code into clock driver
ARM: EXYNOS: PMU: move restart code into pmu driver
arch/arm/mach-exynos/common.h|1 -
arch/arm/mach-exynos/exynos.c| 23 -
Let's register restart handler from PMU driver for restart
functionality. So that we can remove restart hooks from
machine specific file, and thus moving ahead when PMU moved
to driver folder, this functionality can be reused for ARM64
based Exynos SoC's.
Signed-off-by: Pankaj Dubey
Let's register restart handler for Exynos5440 from it's clock driver
for restart functionality. So that we can cleanup restart hooks from
machine specific file.
CC: Sylwester Nawrocki
CC: Tomasz Figa
Signed-off-by: Pankaj Dubey
Acked-by: Guenter Roeck
---
arch/arm/mach-exyno
On Tuesday, November 18, 2014 8:50 PM, Sylwester Nawrocki Wrote:
> On 18/11/14 11:47, Pankaj Dubey wrote:
> > diff --git a/arch/arm/mach-exynos/pmu.c b/arch/arm/mach-exynos/pmu.c
> > index 6c8a76d..e4c3512 100644
> > --- a/arch/arm/mach-exynos/pmu.c
> > +++ b
On Tuesday, November 18, 2014 8:47 PM, Sylwester Nawrocki Wrote:
> On 18/11/14 11:47, Pankaj Dubey wrote:
> > Let's register restart handler for Exynos5440 from it's clock driver
> > for restart functionality. So that we can cleanup restart hooks from
> > ma
On Tuesday, November 18, 2014 11:05 PM, Bartlomiej Zolnierkiewicz Wrote:
> This patch prepares the PMU code for the future:
> - suspend/resume (S2R) support
> - cpuidle AFTR/W-AFTR modes support
> on Exynos3250.
>
> Cc: Pankaj Dubey
> Cc: Vikas Sajjan
> Acked-by: Kyungm
boot is fine now, hence
Tested-by: Pankaj Dubey
---
arch/arm/boot/dts/exynos5250-smdk5250.dts |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/arch/arm/boot/dts/exynos5250-smdk5250.dts
b/arch/arm/boot/dts/exynos5250-smdk5250.dts
index bc27cc2..95b5b51 100644
--- a/arc
makes max77686 RTC work and also configures it as wakeup source.
Signed-off-by: Yadwinder Singh Brar
Reviewed-by: Javier Martinez Canillas
Tested this on SMDK5250, and with this PMIC RTC is working fine.
Tested-by: Pankaj Dubey
Thanks,
Pankaj Dubey
---
arch/arm/boot/dts/exynos5250-smdk5250
defconfig).
>>>
>>
>> Yes, that works because the commit that caused the Exynos DRM lockup was:
>>
>> 43c0767 ("of/platform: Move platform devices under /sys/devices/platform")
>>
>> which landed in next-20141105.
>>
>> Reverting
led to register input device\n");
> + return error;
> + }
> +
> + platform_set_drvdata(pdev, haptic);
> +
> + return 0;
> +}
> +
> +static int __maybe_unused regulator_haptic_suspend(struct device *dev)
> +{
> + struct platfor
On Friday 21 November 2014 12:55 PM, Wolfram Sang wrote:
On Thu, Oct 30, 2014 at 01:34:29PM +0530, 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 and
will help in removing static ioma
ed infrastructure to make SoC specific
information avaible to user space via sysfs entry, as suggested by Arnd.
Pankaj Dubey (2):
i2c: s3c2410: Handle i2c sys_cfg register in i2c driver
ARM: EXYNOS: Remove i2c sys configuration related code
.../devicetree/bindings/i2c/i2c-s3c2410.txt
linux-...@vger.kernel.org
Signed-off-by: Pankaj Dubey
---
.../devicetree/bindings/i2c/i2c-s3c2410.txt|1 +
arch/arm/boot/dts/exynos5250.dtsi |4 +++
arch/arm/boot/dts/exynos5420.dtsi |4 +++
drivers/i2c/busses/i2c-s3c2410.c |
As all these code has been moved into i2c driver, now we can
safely remove them from machine files.
CC: Russell King
Signed-off-by: Pankaj Dubey
---
arch/arm/mach-exynos/exynos.c | 39 ++-
arch/arm/mach-exynos/include/mach/map.h |3 ---
arch/arm/mach
Hi Kukjin,
On Thursday 20 November 2014 11:18 PM, Sylwester Nawrocki wrote:
On 19/11/14 04:37, Pankaj Dubey wrote:
+static int exynos5440_clk_restart_notify(struct notifier_block *this,
+ unsigned long code, void *unused)
+{
+ u32 val, status;
+
+ status
f i2c driver.
CC: Wolfram Sang
CC: linux-...@vger.kernel.org
Signed-off-by: Pankaj Dubey
---
This patch is created from following patch series V5(1/2).
https://patchwork.kernel.org/patch/5354131/
DT and machine (mach-exynos) changes will be posted separately.
drivers/i2c/busses/i2c-s3c2410.c |
space via sysfs entry, as suggested by Arnd.
Pankaj Dubey (2):
i2c: s3c2410: add Sysreg phandle to i2c device nodes
ARM: EXYNOS: Remove i2c sys configuration related code
.../devicetree/bindings/i2c/i2c-s3c2410.txt|1 +
arch/arm/boot/dts/exynos5250.dtsi |
As all these code has been moved into i2c driver, now we can
safely remove them from machine files.
CC: Russell King
Signed-off-by: Pankaj Dubey
---
arch/arm/mach-exynos/exynos.c | 39 ++-
arch/arm/mach-exynos/include/mach/map.h |3 ---
arch/arm/mach
-...@vger.kernel.org
Signed-off-by: Pankaj Dubey
---
.../devicetree/bindings/i2c/i2c-s3c2410.txt|1 +
arch/arm/boot/dts/exynos5250.dtsi |4
arch/arm/boot/dts/exynos5420.dtsi |4
3 files changed, 9 insertions(+)
diff --git a/Documentation
msung-soc/40155
Thanks,
Pankaj Dubey
Thanks,
Kukjin
--
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
;
+ unsigned int max_volt;
+ unsigned int min_volt;
+};
+
+#endif /* _REGULATOR_HAPTIC_H */
With these two minor fixes please feel free to add:
Reviewed-by: Pankaj Dubey
Thanks,
Pankaj Dubey
--
To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in
the
Hi Sylwester,
On Thursday, October 23, 2014 10:58 PM, Sylwester Nawrocki Wrote:
> To: Pankaj Dubey; linux-arm-ker...@lists.infradead.org; linux-samsung-
> s...@vger.kernel.org; tomasz.f...@gmail.com
> Cc: kgene@samsung.com; mturque...@linaro.org; naus...@samsung.com
> Subject: Re:
bb8 arch/arm/mach-exynos/pmu.o.after
Signed-off-by: Bartlomiej Zolnierkiewicz
Acked-by: Kyungmin Park
I tested this patch and it's really helpful to reduce size.
How about resubmitting this change? As this will not get applied on
current tree.
Thanks,
Pankaj Dubey
---
arch/arm
, so that we can
come up with single approach for all such needs.
[1]: https://patchwork.kernel.org/patch/5366171/
Thanks,
Pankaj Dubey
Node of a device using power domains must have a samsung,power-domain property
defined with a phandle to respective power domain.
diff --git a/arch/arm/mach
On Thursday 27 November 2014 12:13 AM, Kukjin Kim wrote:
On 11/24/14 17:47, Pankaj Dubey wrote:
This patch adds syscon based phandle to i2c device nodes of exynos5250
and exynos5420. These phandles will be used to save restore i2c sysreg
configuration register during s2r from i2c driver.
CC
N_BANK_EINTG(8, 0x200, "gpg3", 0x40),
+};
+
+/* pin banks of exynos5433 pin-controller - TOUCH */
+static struct samsung_pin_bank exynos5433_pin_banks9[] = {
+ EXYNOS_PIN_BANK_EINTG(3, 0x000, "gpj1", 0x00),
+};
+
+/*
+ * Samsung pinctrl driver data for Exynos5433
Hi Chanwoo,
On Thursday 27 November 2014 01:05 PM, Chanwoo Choi wrote:
This patch adds the support for CMU (Clock Management Units) of Exynos5433
which is 64bit SoC and has Octa-cores. This patch supports necessary clocks
for kernel boot as following:
- PLL/MMC/UART/MCT/I2C/SPI
Cc: Sylwester Na
+ if (IS_ERR(ctx->aclk)) {
> + dev_err(dev, "failed to get bus clock aclk\n");
> + ret = PTR_ERR(ctx->aclk);
> + goto err_del_component;
> + }
> +
> + ctx->eclk = devm_clk_get(dev, "decon0_ec
rt.
>>>
>>> Note: In this patch some static declarations lines are over 80
>>> characters per line for easy redability.
>>>
>>> Reviewed-by: Pankaj Dubey
>>> Signed-off-by: Eunseok Choi
>>> Signed-off-by: Abhilash Kesavan
>
robe(dev);
> + if (IS_ERR(ctx->display)) {
> + ret = PTR_ERR(ctx->display);
> + goto err_del_component;
> + }
> +
> + pm_runtime_enable(dev);
> +
> + ret = component_add(dev, &decon_component_ops);
> +
Exynos SoC's DT files are using Chipid device nodes, but it's binding
information is missing. This patch adds exynos-chipid binding information.
Signed-off-by: Pankaj Dubey
---
.../bindings/arm/samsung/exynos-chipid.txt | 12
1 file changed, 12 insertions(+)
c
".
- Added drivers/base/soc.c provided infrastructure to make SoC specific
information avaible to user space via sysfs entry, as suggested by Arnd.
Pankaj Dubey (2):
soc: samsung: add exynos chipid driver support
ARM: EXYNOS: refactoring of mach-exynos to enable chipid dr
This patch enables chipid driver for ARCH_EXYNOS and refactors
machine code for using chipid driver for identification of
SoC ID and SoC rev.
Signed-off-by: Pankaj Dubey
---
arch/arm/mach-exynos/Kconfig |2 +
arch/arm/mach-exynos/common.h| 46
-chipid.
CC: Grant Likely
CC: Rob Herring
CC: Linus Walleij
Signed-off-by: Pankaj Dubey
---
drivers/soc/Kconfig|1 +
drivers/soc/Makefile |1 +
drivers/soc/samsung/Kconfig| 14 ++
drivers/soc/samsung/Makefile |1
removing syscore_ops.h from clk.h.
Changes since v1:
- Added patch commit message description to patch 1/3 and 2/3.
Pankaj Dubey (3):
clk: samsung: Spelling s/bwtween/between/
clk: samsung: remove unnecessary CONFIG_OF from clk.c
clk: samsung: remove unnecessary inclusion of header files from
301 - 400 of 530 matches
Mail list logo