diff options
author | Olof Johansson <olof@lixom.net> | 2015-01-26 23:28:20 -0500 |
---|---|---|
committer | Olof Johansson <olof@lixom.net> | 2015-01-26 23:28:20 -0500 |
commit | d846c1a63fd8124a9ab174b12d590daeb7d50074 (patch) | |
tree | fc66a9fc69f3b24e82e683ad060129e4c4cf1e63 | |
parent | b2cb793c2c08987a1106f1b629170b269aae6a10 (diff) | |
parent | 20d9448a59770420ead8078fb76948de32765fe6 (diff) |
Merge tag 'omap-for-v3.20/fixes-not-urgent-pt2' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap into next/fixes-non-critical
Merge "omap non-urgent fixes for v3.20, part 2" from Tony Lindgren:
Non-critical fixes for omap hwmod code via Paul Walmsley <paul@pwsan.com>:
First set of OMAP2+ hwmod patches for Linux v3.20. These are mostly
fixes for warnings, although there's one DRA7xx patch that fixes
CONFIG_DEBUG_LL for AM572x/DRA7xx SoCs that use UART3 for console,
such as the BeagleBoard-X15.
These patches entered Linux-next starting with the next-20150121 tag.
Basic build, boot, and PM test results can be found here:
http://www.pwsan.com/omap/testlogs/omap-hwmod-a-for-v3.20/20150121142621/
* tag 'omap-for-v3.20/fixes-not-urgent-pt2' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap:
ARM: DRA7: hwmod: Fix boot crash with DEBUG_LL enabled on UART3
ARM: OMAP: DRA7: hwmod: Make gpmc software supervised as the smart idle is broken
ARM: AM43xx: hwmod: set DSS submodule parent hwmods
ARM: OMAP2+: hwmod: print error if wait_target_ready() failed
MAINTAINERS: add maintainer for OMAP hwmod data
Signed-off-by: Olof Johansson <olof@lixom.net>
-rw-r--r-- | MAINTAINERS | 6 | ||||
-rw-r--r-- | arch/arm/mach-omap2/omap_hwmod.c | 4 | ||||
-rw-r--r-- | arch/arm/mach-omap2/omap_hwmod_43xx_data.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-omap2/omap_hwmod_7xx_data.c | 5 |
4 files changed, 13 insertions, 4 deletions
diff --git a/MAINTAINERS b/MAINTAINERS index b04053f70cb1..b70f687ec2f4 100644 --- a/MAINTAINERS +++ b/MAINTAINERS | |||
@@ -6890,6 +6890,12 @@ L: linux-omap@vger.kernel.org | |||
6890 | S: Maintained | 6890 | S: Maintained |
6891 | F: arch/arm/mach-omap2/omap_hwmod.* | 6891 | F: arch/arm/mach-omap2/omap_hwmod.* |
6892 | 6892 | ||
6893 | OMAP HWMOD DATA | ||
6894 | M: Paul Walmsley <paul@pwsan.com> | ||
6895 | L: linux-omap@vger.kernel.org | ||
6896 | S: Maintained | ||
6897 | F: arch/arm/mach-omap2/omap_hwmod*data* | ||
6898 | |||
6893 | OMAP HWMOD DATA FOR OMAP4-BASED DEVICES | 6899 | OMAP HWMOD DATA FOR OMAP4-BASED DEVICES |
6894 | M: Benoît Cousson <bcousson@baylibre.com> | 6900 | M: Benoît Cousson <bcousson@baylibre.com> |
6895 | L: linux-omap@vger.kernel.org | 6901 | L: linux-omap@vger.kernel.org |
diff --git a/arch/arm/mach-omap2/omap_hwmod.c b/arch/arm/mach-omap2/omap_hwmod.c index cbb908dc5cf0..06157af892ce 100644 --- a/arch/arm/mach-omap2/omap_hwmod.c +++ b/arch/arm/mach-omap2/omap_hwmod.c | |||
@@ -2155,8 +2155,8 @@ static int _enable(struct omap_hwmod *oh) | |||
2155 | if (soc_ops.disable_module) | 2155 | if (soc_ops.disable_module) |
2156 | soc_ops.disable_module(oh); | 2156 | soc_ops.disable_module(oh); |
2157 | _disable_clocks(oh); | 2157 | _disable_clocks(oh); |
2158 | pr_debug("omap_hwmod: %s: _wait_target_ready: %d\n", | 2158 | pr_err("omap_hwmod: %s: _wait_target_ready failed: %d\n", |
2159 | oh->name, r); | 2159 | oh->name, r); |
2160 | 2160 | ||
2161 | if (oh->clkdm) | 2161 | if (oh->clkdm) |
2162 | clkdm_hwmod_disable(oh->clkdm, oh); | 2162 | clkdm_hwmod_disable(oh->clkdm, oh); |
diff --git a/arch/arm/mach-omap2/omap_hwmod_43xx_data.c b/arch/arm/mach-omap2/omap_hwmod_43xx_data.c index 5c6c8410160e..8eb85925e444 100644 --- a/arch/arm/mach-omap2/omap_hwmod_43xx_data.c +++ b/arch/arm/mach-omap2/omap_hwmod_43xx_data.c | |||
@@ -498,6 +498,7 @@ static struct omap_hwmod am43xx_dss_dispc_hwmod = { | |||
498 | }, | 498 | }, |
499 | }, | 499 | }, |
500 | .dev_attr = &am43xx_dss_dispc_dev_attr, | 500 | .dev_attr = &am43xx_dss_dispc_dev_attr, |
501 | .parent_hwmod = &am43xx_dss_core_hwmod, | ||
501 | }; | 502 | }; |
502 | 503 | ||
503 | /* rfbi */ | 504 | /* rfbi */ |
@@ -512,6 +513,7 @@ static struct omap_hwmod am43xx_dss_rfbi_hwmod = { | |||
512 | .clkctrl_offs = AM43XX_CM_PER_DSS_CLKCTRL_OFFSET, | 513 | .clkctrl_offs = AM43XX_CM_PER_DSS_CLKCTRL_OFFSET, |
513 | }, | 514 | }, |
514 | }, | 515 | }, |
516 | .parent_hwmod = &am43xx_dss_core_hwmod, | ||
515 | }; | 517 | }; |
516 | 518 | ||
517 | /* Interfaces */ | 519 | /* Interfaces */ |
diff --git a/arch/arm/mach-omap2/omap_hwmod_7xx_data.c b/arch/arm/mach-omap2/omap_hwmod_7xx_data.c index ffd6604cd546..e8692e7675b8 100644 --- a/arch/arm/mach-omap2/omap_hwmod_7xx_data.c +++ b/arch/arm/mach-omap2/omap_hwmod_7xx_data.c | |||
@@ -819,7 +819,8 @@ static struct omap_hwmod dra7xx_gpmc_hwmod = { | |||
819 | .name = "gpmc", | 819 | .name = "gpmc", |
820 | .class = &dra7xx_gpmc_hwmod_class, | 820 | .class = &dra7xx_gpmc_hwmod_class, |
821 | .clkdm_name = "l3main1_clkdm", | 821 | .clkdm_name = "l3main1_clkdm", |
822 | .flags = HWMOD_INIT_NO_IDLE | HWMOD_INIT_NO_RESET, | 822 | .flags = (HWMOD_INIT_NO_IDLE | HWMOD_INIT_NO_RESET | |
823 | HWMOD_SWSUP_SIDLE), | ||
823 | .main_clk = "l3_iclk_div", | 824 | .main_clk = "l3_iclk_div", |
824 | .prcm = { | 825 | .prcm = { |
825 | .omap4 = { | 826 | .omap4 = { |
@@ -2017,7 +2018,7 @@ static struct omap_hwmod dra7xx_uart3_hwmod = { | |||
2017 | .class = &dra7xx_uart_hwmod_class, | 2018 | .class = &dra7xx_uart_hwmod_class, |
2018 | .clkdm_name = "l4per_clkdm", | 2019 | .clkdm_name = "l4per_clkdm", |
2019 | .main_clk = "uart3_gfclk_mux", | 2020 | .main_clk = "uart3_gfclk_mux", |
2020 | .flags = HWMOD_SWSUP_SIDLE_ACT, | 2021 | .flags = HWMOD_SWSUP_SIDLE_ACT | DEBUG_OMAP4UART3_FLAGS, |
2021 | .prcm = { | 2022 | .prcm = { |
2022 | .omap4 = { | 2023 | .omap4 = { |
2023 | .clkctrl_offs = DRA7XX_CM_L4PER_UART3_CLKCTRL_OFFSET, | 2024 | .clkctrl_offs = DRA7XX_CM_L4PER_UART3_CLKCTRL_OFFSET, |