* [PATCH v4 0/3] ARM: OMAP2+: wkup_m3_rproc support patches
@ 2015-07-13 17:34 Dave Gerlach
2015-07-13 17:34 ` [PATCH v4 1/3] ARM: OMAP2+: Use pdata-quirks for wkup_m3 reset management Dave Gerlach
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: Dave Gerlach @ 2015-07-13 17:34 UTC (permalink / raw)
To: linux-arm-kernel
Hi,
Now that wkup_m3_rproc driver [1] has been merged the support code
contained in this series can be merged. This is v4 which is just a
rebase of v3 [2] code on v4.2-rc2, no other changes.
Regards,
Dave
[1] http://www.spinics.net/lists/linux-omap/msg118768.html
[2] http://www.spinics.net/lists/linux-omap/msg117614.html
Dave Gerlach (1):
ARM: OMAP2+: Use pdata-quirks for wkup_m3 reset management
Suman Anna (2):
ARM: dts: AM33xx: Update and move wkup_m3 node to l4 node
ARM: dts: AM4372: Add the wkupm3 rproc node
arch/arm/boot/dts/am33xx.dtsi | 17 +++++++++--------
arch/arm/boot/dts/am4372.dtsi | 9 +++++++++
arch/arm/mach-omap2/pdata-quirks.c | 15 +++++++++++++++
3 files changed, 33 insertions(+), 8 deletions(-)
--
2.4.5
^ permalink raw reply [flat|nested] 5+ messages in thread* [PATCH v4 1/3] ARM: OMAP2+: Use pdata-quirks for wkup_m3 reset management 2015-07-13 17:34 [PATCH v4 0/3] ARM: OMAP2+: wkup_m3_rproc support patches Dave Gerlach @ 2015-07-13 17:34 ` Dave Gerlach 2015-07-13 17:34 ` [PATCH v4 2/3] ARM: dts: AM33xx: Update and move wkup_m3 node to l4 node Dave Gerlach ` (2 subsequent siblings) 3 siblings, 0 replies; 5+ messages in thread From: Dave Gerlach @ 2015-07-13 17:34 UTC (permalink / raw) To: linux-arm-kernel Use pdata-quirks to provide platform data required for reset management during boot and shutdown of the wkup_m3 processor on both the AM33xx and AM43xx SoCs. The WkupM3 remote processor is used to implement and achieve low-power functionality on the AM33xx & AM43xx SoCs. Signed-off-by: Suman Anna <s-anna@ti.com> Signed-off-by: Dave Gerlach <d-gerlach@ti.com> --- arch/arm/mach-omap2/pdata-quirks.c | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/arch/arm/mach-omap2/pdata-quirks.c b/arch/arm/mach-omap2/pdata-quirks.c index 821171c..5417f2c 100644 --- a/arch/arm/mach-omap2/pdata-quirks.c +++ b/arch/arm/mach-omap2/pdata-quirks.c @@ -17,6 +17,7 @@ #include <linux/platform_data/pinctrl-single.h> #include <linux/platform_data/iommu-omap.h> +#include <linux/platform_data/wkup_m3.h> #include "common.h" #include "common-board-devices.h" @@ -278,6 +279,14 @@ static struct iommu_platform_data omap4_iommu_pdata = { }; #endif +#if defined(CONFIG_SOC_AM33XX) || defined(CONFIG_SOC_AM43XX) +static struct wkup_m3_platform_data wkup_m3_data = { + .reset_name = "wkup_m3", + .assert_reset = omap_device_assert_hardreset, + .deassert_reset = omap_device_deassert_hardreset, +}; +#endif + #ifdef CONFIG_SOC_OMAP5 static void __init omap5_uevm_legacy_init(void) { @@ -340,6 +349,10 @@ struct of_dev_auxdata omap_auxdata_lookup[] __initdata = { OF_DEV_AUXDATA("ti,am3517-emac", 0x5c000000, "davinci_emac.0", &am35xx_emac_pdata), #endif +#ifdef CONFIG_SOC_AM33XX + OF_DEV_AUXDATA("ti,am3352-wkup-m3", 0x44d00000, "44d00000.wkup_m3", + &wkup_m3_data), +#endif #ifdef CONFIG_ARCH_OMAP4 OF_DEV_AUXDATA("ti,omap4-padconf", 0x4a100040, "4a100040.pinmux", &pcs_pdata), OF_DEV_AUXDATA("ti,omap4-padconf", 0x4a31e040, "4a31e040.pinmux", &pcs_pdata), @@ -353,6 +366,8 @@ struct of_dev_auxdata omap_auxdata_lookup[] __initdata = { #endif #ifdef CONFIG_SOC_AM43XX OF_DEV_AUXDATA("ti,am437-padconf", 0x44e10800, "44e10800.pinmux", &pcs_pdata), + OF_DEV_AUXDATA("ti,am4372-wkup-m3", 0x44d00000, "44d00000.wkup_m3", + &wkup_m3_data), #endif #if defined(CONFIG_ARCH_OMAP4) || defined(CONFIG_SOC_OMAP5) OF_DEV_AUXDATA("ti,omap4-iommu", 0x4a066000, "4a066000.mmu", -- 2.4.5 ^ permalink raw reply related [flat|nested] 5+ messages in thread
* [PATCH v4 2/3] ARM: dts: AM33xx: Update and move wkup_m3 node to l4 node 2015-07-13 17:34 [PATCH v4 0/3] ARM: OMAP2+: wkup_m3_rproc support patches Dave Gerlach 2015-07-13 17:34 ` [PATCH v4 1/3] ARM: OMAP2+: Use pdata-quirks for wkup_m3 reset management Dave Gerlach @ 2015-07-13 17:34 ` Dave Gerlach 2015-07-13 17:34 ` [PATCH v4 3/3] ARM: dts: AM4372: Add the wkupm3 rproc node Dave Gerlach 2015-07-14 10:00 ` [PATCH v4 0/3] ARM: OMAP2+: wkup_m3_rproc support patches Tony Lindgren 3 siblings, 0 replies; 5+ messages in thread From: Dave Gerlach @ 2015-07-13 17:34 UTC (permalink / raw) To: linux-arm-kernel From: Suman Anna <s-anna@ti.com> The WakeupM3 remote processor device node has been moved to be a child node of the newly created l4_wkup node, to reflect its presence properly within the SoC. The node was added previously before any driver support, it is now updated as per the wkup_m3_rproc bindings added alongside the driver support. Signed-off-by: Suman Anna <s-anna@ti.com> Signed-off-by: Dave Gerlach <d-gerlach@ti.com> --- arch/arm/boot/dts/am33xx.dtsi | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/arch/arm/boot/dts/am33xx.dtsi b/arch/arm/boot/dts/am33xx.dtsi index 21fcc44..4c1b4a8 100644 --- a/arch/arm/boot/dts/am33xx.dtsi +++ b/arch/arm/boot/dts/am33xx.dtsi @@ -103,6 +103,15 @@ #size-cells = <1>; ranges = <0 0x44c00000 0x280000>; + wkup_m3: wkup_m3 at 100000 { + compatible = "ti,am3352-wkup-m3"; + reg = <0x100000 0x4000>, + <0x180000 0x2000>; + reg-names = "umem", "dmem"; + ti,hwmods = "wkup_m3"; + ti,pm-firmware = "am335x-pm-firmware.elf"; + }; + prcm: prcm at 200000 { compatible = "ti,am3-prcm"; reg = <0x200000 0x4000>; @@ -762,14 +771,6 @@ reg = <0x40300000 0x10000>; /* 64k */ }; - wkup_m3: wkup_m3 at 44d00000 { - compatible = "ti,am3353-wkup-m3"; - reg = <0x44d00000 0x4000 /* M3 UMEM */ - 0x44d80000 0x2000>; /* M3 DMEM */ - ti,hwmods = "wkup_m3"; - ti,no-reset-on-init; - }; - elm: elm at 48080000 { compatible = "ti,am3352-elm"; reg = <0x48080000 0x2000>; -- 2.4.5 ^ permalink raw reply related [flat|nested] 5+ messages in thread
* [PATCH v4 3/3] ARM: dts: AM4372: Add the wkupm3 rproc node 2015-07-13 17:34 [PATCH v4 0/3] ARM: OMAP2+: wkup_m3_rproc support patches Dave Gerlach 2015-07-13 17:34 ` [PATCH v4 1/3] ARM: OMAP2+: Use pdata-quirks for wkup_m3 reset management Dave Gerlach 2015-07-13 17:34 ` [PATCH v4 2/3] ARM: dts: AM33xx: Update and move wkup_m3 node to l4 node Dave Gerlach @ 2015-07-13 17:34 ` Dave Gerlach 2015-07-14 10:00 ` [PATCH v4 0/3] ARM: OMAP2+: wkup_m3_rproc support patches Tony Lindgren 3 siblings, 0 replies; 5+ messages in thread From: Dave Gerlach @ 2015-07-13 17:34 UTC (permalink / raw) To: linux-arm-kernel From: Suman Anna <s-anna@ti.com> Add the Wakeup M3 remote processor device node for the AM4372 SoC. The WkupM3 remote processor is used to implement and achieve low-power functionality on the AM33xx & AM43xx SoCs. This node is added as a child of the recently added l4_wkup node to reflect its presence within the SoC. Signed-off-by: Suman Anna <s-anna@ti.com> Signed-off-by: Dave Gerlach <d-gerlach@ti.com> --- arch/arm/boot/dts/am4372.dtsi | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/arch/arm/boot/dts/am4372.dtsi b/arch/arm/boot/dts/am4372.dtsi index ade28c79..6f6f393 100644 --- a/arch/arm/boot/dts/am4372.dtsi +++ b/arch/arm/boot/dts/am4372.dtsi @@ -83,6 +83,15 @@ #size-cells = <1>; ranges = <0 0x44c00000 0x287000>; + wkup_m3: wkup_m3 at 100000 { + compatible = "ti,am4372-wkup-m3"; + reg = <0x100000 0x4000>, + <0x180000 0x2000>; + reg-names = "umem", "dmem"; + ti,hwmods = "wkup_m3"; + ti,pm-firmware = "am335x-pm-firmware.elf"; + }; + prcm: prcm at 1f0000 { compatible = "ti,am4-prcm"; reg = <0x1f0000 0x11000>; -- 2.4.5 ^ permalink raw reply related [flat|nested] 5+ messages in thread
* [PATCH v4 0/3] ARM: OMAP2+: wkup_m3_rproc support patches 2015-07-13 17:34 [PATCH v4 0/3] ARM: OMAP2+: wkup_m3_rproc support patches Dave Gerlach ` (2 preceding siblings ...) 2015-07-13 17:34 ` [PATCH v4 3/3] ARM: dts: AM4372: Add the wkupm3 rproc node Dave Gerlach @ 2015-07-14 10:00 ` Tony Lindgren 3 siblings, 0 replies; 5+ messages in thread From: Tony Lindgren @ 2015-07-14 10:00 UTC (permalink / raw) To: linux-arm-kernel * Dave Gerlach <d-gerlach@ti.com> [150713 10:37]: > Hi, > > Now that wkup_m3_rproc driver [1] has been merged the support code > contained in this series can be merged. This is v4 which is just a > rebase of v3 [2] code on v4.2-rc2, no other changes. Thanks applying into omap-for-v4.3/dt. Tony > [1] http://www.spinics.net/lists/linux-omap/msg118768.html > [2] http://www.spinics.net/lists/linux-omap/msg117614.html > > Dave Gerlach (1): > ARM: OMAP2+: Use pdata-quirks for wkup_m3 reset management > > Suman Anna (2): > ARM: dts: AM33xx: Update and move wkup_m3 node to l4 node > ARM: dts: AM4372: Add the wkupm3 rproc node > > arch/arm/boot/dts/am33xx.dtsi | 17 +++++++++-------- > arch/arm/boot/dts/am4372.dtsi | 9 +++++++++ > arch/arm/mach-omap2/pdata-quirks.c | 15 +++++++++++++++ > 3 files changed, 33 insertions(+), 8 deletions(-) > > -- > 2.4.5 > ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2015-07-14 10:00 UTC | newest] Thread overview: 5+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2015-07-13 17:34 [PATCH v4 0/3] ARM: OMAP2+: wkup_m3_rproc support patches Dave Gerlach 2015-07-13 17:34 ` [PATCH v4 1/3] ARM: OMAP2+: Use pdata-quirks for wkup_m3 reset management Dave Gerlach 2015-07-13 17:34 ` [PATCH v4 2/3] ARM: dts: AM33xx: Update and move wkup_m3 node to l4 node Dave Gerlach 2015-07-13 17:34 ` [PATCH v4 3/3] ARM: dts: AM4372: Add the wkupm3 rproc node Dave Gerlach 2015-07-14 10:00 ` [PATCH v4 0/3] ARM: OMAP2+: wkup_m3_rproc support patches Tony Lindgren
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).