From: Krzysztof Kozlowski <k.kozlowski@samsung.com>
To: Olof Johansson <olof@lixom.net>, Arnd Bergmann <arnd@arndb.de>,
Kevin Hilman <khilman@kernel.org>,
arm@kernel.org
Cc: Kukjin Kim <kgene@kernel.org>,
linux-arm-kernel@lists.infradead.org,
linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org,
Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>,
krzk@kernel.org, k.kozlowski@samsung.com
Subject: [GIT PULL 1/4] ARM: exynos: Mach updates for v4.8, part 2
Date: Thu, 30 Jun 2016 09:51:12 +0200 [thread overview]
Message-ID: <1467273075-13747-2-git-send-email-k.kozlowski@samsung.com> (raw)
In-Reply-To: <1467273075-13747-1-git-send-email-k.kozlowski@samsung.com>
Hi,
Mostly endian-related cleanup/fixes, on top of previous pull.
Expected conflicts:
diff --cc arch/arm/mach-exynos/exynos.c
index a8620c6eb723,bdaf81c46d74..9c51b6dcb551
--- a/arch/arm/mach-exynos/exynos.c
+++ b/arch/arm/mach-exynos/exynos.c
@@@ -25,8 -25,10 +25,9 @@@
#include <asm/mach/map.h>
#include <mach/map.h>
+ #include <plat/cpu.h>
#include "common.h"
-#include "mfc.h"
static struct map_desc exynos4_iodesc[] __initdata = {
{
diff --cc drivers/soc/samsung/pm_domains.c
index f60515eefb66,0e075d96ccd4..4822346aadc6
--- a/drivers/soc/samsung/pm_domains.c
+++ b/drivers/soc/samsung/pm_domains.c
@@@ -74,13 -69,13 +74,13 @@@ static int exynos_pd_power(struct gener
}
}
- pwr = power_on ? INT_LOCAL_PWR_EN : 0;
+ pwr = power_on ? pd->local_pwr_cfg : 0;
- __raw_writel(pwr, base);
+ writel_relaxed(pwr, base);
/* Wait max 1ms */
timeout = 10;
- while ((__raw_readl(base + 0x4) & pd->local_pwr_cfg) != pwr) {
- while ((readl_relaxed(base + 0x4) & INT_LOCAL_PWR_EN) != pwr) {
++ while ((readl_relaxed(base + 0x4) & pd->local_pwr_cfg) != pwr) {
if (!timeout) {
op = (power_on) ? "enable" : "disable";
pr_err("Power domain %s %s failed\n", domain->name, op);
@@@ -207,7 -185,7 +207,7 @@@ static __init int exynos4_pm_init_power
clk_put(pd->oscclk);
no_clk:
- on = __raw_readl(pd->base + 0x4) & pd->local_pwr_cfg;
- on = readl_relaxed(pd->base + 0x4) & INT_LOCAL_PWR_EN;
++ on = readl_relaxed(pd->base + 0x4) & pd->local_pwr_cfg;
pm_genpd_init(&pd->pd, NULL, !on);
of_genpd_add_provider_simple(np, &pd->pd);
Best regards,
Krzysztof
The following changes since commit da81593a5a0d93fcca45baa15d0628ba8405695b:
ARM: s3c24xx: Sort cpufreq tables (2016-06-03 13:54:36 +0200)
are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux.git tags/samsung-soc-4.8-2
for you to fetch changes up to 1c03274d68f4744afe582fcff1c2e5b1c5c34b5b:
MAINTAINERS: Extend Samsung SoC entry with S3C/S5P drivers (2016-06-23 08:12:08 +0200)
----------------------------------------------------------------
Samsung mach/soc update for v4.8, part 2:
1. Endian-friendly fixes.
2. Maintainers update.
----------------------------------------------------------------
Ben Dooks (7):
ARM: EXYNOS: Fixup debug macros for big-endian
ARM: SAMSUNG: Fixup endian issues in CPU detection
ARM: EXYNOS: Fixups for big-endian operation
ARM: EXYNOS: Fixup endian in pm/pmu
ARM: SAMSUNG: Fixup usage of __raw IO in PM
ARM: EXYNOS: Fixup for __raw operations in suspend.c
ARM: SAMSUNG: Fix missing s5p_init_cpu() declaration
Joonyoung Shim (1):
ARM: EXYNOS: Fix UART address selection for DEBUG_LL
Krzysztof Kozlowski (1):
MAINTAINERS: Extend Samsung SoC entry with S3C/S5P drivers
MAINTAINERS | 6 ++++--
arch/arm/include/debug/exynos.S | 6 +++++-
arch/arm/include/debug/samsung.S | 8 ++++++++
arch/arm/mach-exynos/common.h | 5 ++---
arch/arm/mach-exynos/exynos.c | 1 +
arch/arm/mach-exynos/firmware.c | 18 +++++++++---------
arch/arm/mach-exynos/headsmp.S | 3 +++
arch/arm/mach-exynos/platsmp.c | 4 ++--
arch/arm/mach-exynos/pm.c | 6 +++---
arch/arm/mach-exynos/pm_domains.c | 6 +++---
arch/arm/mach-exynos/suspend.c | 12 ++++++------
arch/arm/plat-samsung/cpu.c | 8 ++++----
arch/arm/plat-samsung/include/plat/cpu.h | 1 +
arch/arm/plat-samsung/pm-common.c | 8 ++++----
14 files changed, 55 insertions(+), 37 deletions(-)
next prev parent reply other threads:[~2016-06-30 7:52 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-06-30 7:51 [GIT PULL 0/4] ARM: exynos: Second round for v4.8 Krzysztof Kozlowski
2016-06-30 7:51 ` Krzysztof Kozlowski [this message]
2016-07-07 12:31 ` [GIT PULL 1/4] ARM: exynos: Mach updates for v4.8, part 2 Arnd Bergmann
2016-07-07 12:32 ` Krzysztof Kozlowski
2016-06-30 7:51 ` [GIT PULL 2/4] ARM: exynos: Drivers " Krzysztof Kozlowski
2016-07-06 5:44 ` Olof Johansson
2016-06-30 7:51 ` [GIT PULL 3/4] ARM: dts: exynos: MFC driver topic branch " Krzysztof Kozlowski
2016-07-06 5:48 ` Olof Johansson
2016-06-30 7:51 ` [GIT PULL 4/4] ARM: defconfig: exynos: Stuff " Krzysztof Kozlowski
2016-07-06 5:49 ` Olof Johansson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1467273075-13747-2-git-send-email-k.kozlowski@samsung.com \
--to=k.kozlowski@samsung.com \
--cc=arm@kernel.org \
--cc=arnd@arndb.de \
--cc=b.zolnierkie@samsung.com \
--cc=kgene@kernel.org \
--cc=khilman@kernel.org \
--cc=krzk@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-samsung-soc@vger.kernel.org \
--cc=olof@lixom.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®