* [PATCH 1/4] ARM: dove: add system controller node
2014-02-27 21:28 [PATCH 0/4] ARM: dove: move Dove DT to MVEBU Sebastian Hesselbarth
@ 2014-02-27 21:28 ` Sebastian Hesselbarth
2014-03-04 4:00 ` Jason Cooper
2014-02-27 21:28 ` [PATCH 2/4] ARM: dove: prepare new Dove DT Kconfig variable Sebastian Hesselbarth
` (3 subsequent siblings)
4 siblings, 1 reply; 40+ messages in thread
From: Sebastian Hesselbarth @ 2014-02-27 21:28 UTC (permalink / raw)
To: Sebastian Hesselbarth
Cc: Rob Herring, Pawel Moll, Mark Rutland, Ian Campbell, Kumar Gala,
Russell King, Jason Cooper, Andrew Lunn, Gregory Clement,
devicetree, linux-arm-kernel, linux-kernel
This adds a DT node for the system-controller found on Marvell Dove
SoCs.
Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
---
Cc: Rob Herring <robh+dt@kernel.org>
Cc: Pawel Moll <pawel.moll@arm.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Ian Campbell <ijc+devicetree@hellion.org.uk>
Cc: Kumar Gala <galak@codeaurora.org>
Cc: Russell King <linux@arm.linux.org.uk>
Cc: Jason Cooper <jason@lakedaemon.net>
Cc: Andrew Lunn <andrew@lunn.ch>
Cc: Gregory Clement <gregory.clement@free-electrons.com>
Cc: devicetree@vger.kernel.org
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux-kernel@vger.kernel.org
---
arch/arm/boot/dts/dove.dtsi | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/arch/arm/boot/dts/dove.dtsi b/arch/arm/boot/dts/dove.dtsi
index 187fd46b7b5e..bd63452b18c0 100644
--- a/arch/arm/boot/dts/dove.dtsi
+++ b/arch/arm/boot/dts/dove.dtsi
@@ -186,6 +186,11 @@
reg = <0x20000 0x80>, <0x800100 0x8>;
};
+ sysc: system-ctrl@20000 {
+ compatible = "marvell,orion-system-controller";
+ reg = <0x20000 0x110>;
+ };
+
bridge_intc: bridge-interrupt-ctrl@20110 {
compatible = "marvell,orion-bridge-intc";
interrupt-controller;
--
1.8.5.3
^ permalink raw reply related [flat|nested] 40+ messages in thread
* Re: [PATCH 1/4] ARM: dove: add system controller node
2014-02-27 21:28 ` [PATCH 1/4] ARM: dove: add system controller node Sebastian Hesselbarth
@ 2014-03-04 4:00 ` Jason Cooper
0 siblings, 0 replies; 40+ messages in thread
From: Jason Cooper @ 2014-03-04 4:00 UTC (permalink / raw)
To: Sebastian Hesselbarth
Cc: Mark Rutland, Andrew Lunn, Russell King, Pawel Moll,
Ian Campbell, linux-kernel, devicetree, Rob Herring, Kumar Gala,
Gregory Clement, linux-arm-kernel
On Thu, Feb 27, 2014 at 10:28:02PM +0100, Sebastian Hesselbarth wrote:
> This adds a DT node for the system-controller found on Marvell Dove
> SoCs.
>
> Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
> ---
> Cc: Rob Herring <robh+dt@kernel.org>
> Cc: Pawel Moll <pawel.moll@arm.com>
> Cc: Mark Rutland <mark.rutland@arm.com>
> Cc: Ian Campbell <ijc+devicetree@hellion.org.uk>
> Cc: Kumar Gala <galak@codeaurora.org>
> Cc: Russell King <linux@arm.linux.org.uk>
> Cc: Jason Cooper <jason@lakedaemon.net>
> Cc: Andrew Lunn <andrew@lunn.ch>
> Cc: Gregory Clement <gregory.clement@free-electrons.com>
> Cc: devicetree@vger.kernel.org
> Cc: linux-arm-kernel@lists.infradead.org
> Cc: linux-kernel@vger.kernel.org
> ---
> arch/arm/boot/dts/dove.dtsi | 5 +++++
> 1 file changed, 5 insertions(+)
Applied to mvebu/dt
thx,
Jason.
^ permalink raw reply [flat|nested] 40+ messages in thread
* [PATCH 2/4] ARM: dove: prepare new Dove DT Kconfig variable
2014-02-27 21:28 [PATCH 0/4] ARM: dove: move Dove DT to MVEBU Sebastian Hesselbarth
2014-02-27 21:28 ` [PATCH 1/4] ARM: dove: add system controller node Sebastian Hesselbarth
@ 2014-02-27 21:28 ` Sebastian Hesselbarth
2014-02-27 21:51 ` Wim Van Sebroeck
` (6 more replies)
2014-02-27 21:28 ` [PATCH 3/4] ARM: mvebu: move DT Dove to MVEBU Sebastian Hesselbarth
` (2 subsequent siblings)
4 siblings, 7 replies; 40+ messages in thread
From: Sebastian Hesselbarth @ 2014-02-27 21:28 UTC (permalink / raw)
To: Sebastian Hesselbarth
Cc: Chris Ball, Zhang Rui, Eduardo Valentin, Wim Van Sebroeck,
Liam Girdwood, Mark Brown, Jason Cooper, Andrew Lunn,
Gregory Clement, alsa-devel, linux-watchdog, linux-pm, linux-mmc,
linux-arm-kernel, linux-kernel
DT-enabled Dove will move over from ARCH_DOVE in mach-dove to MACH_DOVE in
mach-mvebu. As non-DT ARCH_DOVE will stay to rot for a while, add a new
DT-only MACH_DOVE to mmc, thermal, wdt, and asoc Kconfigs.
Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
---
Cc: Chris Ball <chris@printf.net>
Cc: Zhang Rui <rui.zhang@intel.com>
Cc: Eduardo Valentin <eduardo.valentin@ti.com>
Cc: Wim Van Sebroeck <wim@iguana.be>
Cc: Liam Girdwood <lgirdwood@gmail.com>
Cc: Mark Brown <broonie@kernel.org>
Cc: Jason Cooper <jason@lakedaemon.net>
Cc: Andrew Lunn <andrew@lunn.ch>
Cc: Gregory Clement <gregory.clement@free-electrons.com>
Cc: alsa-devel@alsa-project.org
Cc: linux-watchdog@vger.kernel.org
Cc: linux-pm@vger.kernel.org
Cc: linux-mmc@vger.kernel.org
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux-kernel@vger.kernel.org
---
drivers/mmc/host/Kconfig | 2 +-
drivers/thermal/Kconfig | 2 +-
drivers/watchdog/Kconfig | 2 +-
sound/soc/kirkwood/Kconfig | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/mmc/host/Kconfig b/drivers/mmc/host/Kconfig
index 1384f67abe21..a69e48b582e5 100644
--- a/drivers/mmc/host/Kconfig
+++ b/drivers/mmc/host/Kconfig
@@ -168,7 +168,7 @@ config MMC_SDHCI_ESDHC_IMX
config MMC_SDHCI_DOVE
tristate "SDHCI support on Marvell's Dove SoC"
- depends on ARCH_DOVE
+ depends on ARCH_DOVE || MACH_DOVE
depends on MMC_SDHCI_PLTFM
select MMC_SDHCI_IO_ACCESSORS
help
diff --git a/drivers/thermal/Kconfig b/drivers/thermal/Kconfig
index 35c066489a19..07b5e56e9a97 100644
--- a/drivers/thermal/Kconfig
+++ b/drivers/thermal/Kconfig
@@ -150,7 +150,7 @@ config KIRKWOOD_THERMAL
config DOVE_THERMAL
tristate "Temperature sensor on Marvell Dove SoCs"
- depends on ARCH_DOVE
+ depends on ARCH_DOVE || MACH_DOVE
depends on OF
help
Support for the Dove thermal sensor driver in the Linux thermal
diff --git a/drivers/watchdog/Kconfig b/drivers/watchdog/Kconfig
index 79d25894343a..5659c62a175c 100644
--- a/drivers/watchdog/Kconfig
+++ b/drivers/watchdog/Kconfig
@@ -292,7 +292,7 @@ config DAVINCI_WATCHDOG
config ORION_WATCHDOG
tristate "Orion watchdog"
- depends on ARCH_ORION5X || ARCH_KIRKWOOD || ARCH_DOVE
+ depends on ARCH_ORION5X || ARCH_KIRKWOOD || ARCH_DOVE || MACH_DOVE
select WATCHDOG_CORE
help
Say Y here if to include support for the watchdog timer
diff --git a/sound/soc/kirkwood/Kconfig b/sound/soc/kirkwood/Kconfig
index 78ed4a42ad21..a1506d57e646 100644
--- a/sound/soc/kirkwood/Kconfig
+++ b/sound/soc/kirkwood/Kconfig
@@ -1,6 +1,6 @@
config SND_KIRKWOOD_SOC
tristate "SoC Audio for the Marvell Kirkwood and Dove chips"
- depends on ARCH_KIRKWOOD || ARCH_DOVE || COMPILE_TEST
+ depends on ARCH_KIRKWOOD || ARCH_DOVE || MACH_DOVE || COMPILE_TEST
help
Say Y or M if you want to add support for codecs attached to
the Kirkwood I2S interface. You will also need to select the
--
1.8.5.3
^ permalink raw reply related [flat|nested] 40+ messages in thread
* Re: [PATCH 2/4] ARM: dove: prepare new Dove DT Kconfig variable
2014-02-27 21:28 ` [PATCH 2/4] ARM: dove: prepare new Dove DT Kconfig variable Sebastian Hesselbarth
@ 2014-02-27 21:51 ` Wim Van Sebroeck
2014-02-27 22:05 ` Sebastian Hesselbarth
2014-02-28 1:53 ` Mark Brown
` (5 subsequent siblings)
6 siblings, 1 reply; 40+ messages in thread
From: Wim Van Sebroeck @ 2014-02-27 21:51 UTC (permalink / raw)
To: Sebastian Hesselbarth
Cc: Chris Ball, Zhang Rui, Eduardo Valentin, Liam Girdwood,
Mark Brown, Jason Cooper, Andrew Lunn, Gregory Clement,
alsa-devel, linux-watchdog, linux-pm, linux-mmc,
linux-arm-kernel, linux-kernel
Hi Sebastian,
Acked-by me.
Kind regards,
Wim.
> DT-enabled Dove will move over from ARCH_DOVE in mach-dove to MACH_DOVE in
> mach-mvebu. As non-DT ARCH_DOVE will stay to rot for a while, add a new
> DT-only MACH_DOVE to mmc, thermal, wdt, and asoc Kconfigs.
>
> Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
> ---
> Cc: Chris Ball <chris@printf.net>
> Cc: Zhang Rui <rui.zhang@intel.com>
> Cc: Eduardo Valentin <eduardo.valentin@ti.com>
> Cc: Wim Van Sebroeck <wim@iguana.be>
> Cc: Liam Girdwood <lgirdwood@gmail.com>
> Cc: Mark Brown <broonie@kernel.org>
> Cc: Jason Cooper <jason@lakedaemon.net>
> Cc: Andrew Lunn <andrew@lunn.ch>
> Cc: Gregory Clement <gregory.clement@free-electrons.com>
> Cc: alsa-devel@alsa-project.org
> Cc: linux-watchdog@vger.kernel.org
> Cc: linux-pm@vger.kernel.org
> Cc: linux-mmc@vger.kernel.org
> Cc: linux-arm-kernel@lists.infradead.org
> Cc: linux-kernel@vger.kernel.org
> ---
> drivers/mmc/host/Kconfig | 2 +-
> drivers/thermal/Kconfig | 2 +-
> drivers/watchdog/Kconfig | 2 +-
> sound/soc/kirkwood/Kconfig | 2 +-
> 4 files changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/drivers/mmc/host/Kconfig b/drivers/mmc/host/Kconfig
> index 1384f67abe21..a69e48b582e5 100644
> --- a/drivers/mmc/host/Kconfig
> +++ b/drivers/mmc/host/Kconfig
> @@ -168,7 +168,7 @@ config MMC_SDHCI_ESDHC_IMX
>
> config MMC_SDHCI_DOVE
> tristate "SDHCI support on Marvell's Dove SoC"
> - depends on ARCH_DOVE
> + depends on ARCH_DOVE || MACH_DOVE
> depends on MMC_SDHCI_PLTFM
> select MMC_SDHCI_IO_ACCESSORS
> help
> diff --git a/drivers/thermal/Kconfig b/drivers/thermal/Kconfig
> index 35c066489a19..07b5e56e9a97 100644
> --- a/drivers/thermal/Kconfig
> +++ b/drivers/thermal/Kconfig
> @@ -150,7 +150,7 @@ config KIRKWOOD_THERMAL
>
> config DOVE_THERMAL
> tristate "Temperature sensor on Marvell Dove SoCs"
> - depends on ARCH_DOVE
> + depends on ARCH_DOVE || MACH_DOVE
> depends on OF
> help
> Support for the Dove thermal sensor driver in the Linux thermal
> diff --git a/drivers/watchdog/Kconfig b/drivers/watchdog/Kconfig
> index 79d25894343a..5659c62a175c 100644
> --- a/drivers/watchdog/Kconfig
> +++ b/drivers/watchdog/Kconfig
> @@ -292,7 +292,7 @@ config DAVINCI_WATCHDOG
>
> config ORION_WATCHDOG
> tristate "Orion watchdog"
> - depends on ARCH_ORION5X || ARCH_KIRKWOOD || ARCH_DOVE
> + depends on ARCH_ORION5X || ARCH_KIRKWOOD || ARCH_DOVE || MACH_DOVE
> select WATCHDOG_CORE
> help
> Say Y here if to include support for the watchdog timer
> diff --git a/sound/soc/kirkwood/Kconfig b/sound/soc/kirkwood/Kconfig
> index 78ed4a42ad21..a1506d57e646 100644
> --- a/sound/soc/kirkwood/Kconfig
> +++ b/sound/soc/kirkwood/Kconfig
> @@ -1,6 +1,6 @@
> config SND_KIRKWOOD_SOC
> tristate "SoC Audio for the Marvell Kirkwood and Dove chips"
> - depends on ARCH_KIRKWOOD || ARCH_DOVE || COMPILE_TEST
> + depends on ARCH_KIRKWOOD || ARCH_DOVE || MACH_DOVE || COMPILE_TEST
> help
> Say Y or M if you want to add support for codecs attached to
> the Kirkwood I2S interface. You will also need to select the
> --
> 1.8.5.3
>
^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: [PATCH 2/4] ARM: dove: prepare new Dove DT Kconfig variable
2014-02-27 21:51 ` Wim Van Sebroeck
@ 2014-02-27 22:05 ` Sebastian Hesselbarth
0 siblings, 0 replies; 40+ messages in thread
From: Sebastian Hesselbarth @ 2014-02-27 22:05 UTC (permalink / raw)
To: Wim Van Sebroeck
Cc: Chris Ball, Zhang Rui, Eduardo Valentin, Liam Girdwood,
Mark Brown, Jason Cooper, Andrew Lunn, Gregory Clement,
alsa-devel, linux-watchdog, linux-pm, linux-mmc,
linux-arm-kernel, linux-kernel
On 02/27/2014 10:51 PM, Wim Van Sebroeck wrote:
> Acked-by me.
Thanks Wim,
as I forgot to explicitly ask for maintainer Acks: It would be great to
get Acked-by's from mmc, thermal, and asoc, too.
Sebastian
>> DT-enabled Dove will move over from ARCH_DOVE in mach-dove to MACH_DOVE in
>> mach-mvebu. As non-DT ARCH_DOVE will stay to rot for a while, add a new
>> DT-only MACH_DOVE to mmc, thermal, wdt, and asoc Kconfigs.
>>
>> Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
>> ---
>> Cc: Chris Ball <chris@printf.net>
>> Cc: Zhang Rui <rui.zhang@intel.com>
>> Cc: Eduardo Valentin <eduardo.valentin@ti.com>
>> Cc: Wim Van Sebroeck <wim@iguana.be>
>> Cc: Liam Girdwood <lgirdwood@gmail.com>
>> Cc: Mark Brown <broonie@kernel.org>
>> Cc: Jason Cooper <jason@lakedaemon.net>
>> Cc: Andrew Lunn <andrew@lunn.ch>
>> Cc: Gregory Clement <gregory.clement@free-electrons.com>
>> Cc: alsa-devel@alsa-project.org
>> Cc: linux-watchdog@vger.kernel.org
>> Cc: linux-pm@vger.kernel.org
>> Cc: linux-mmc@vger.kernel.org
>> Cc: linux-arm-kernel@lists.infradead.org
>> Cc: linux-kernel@vger.kernel.org
>> ---
>> drivers/mmc/host/Kconfig | 2 +-
>> drivers/thermal/Kconfig | 2 +-
>> drivers/watchdog/Kconfig | 2 +-
>> sound/soc/kirkwood/Kconfig | 2 +-
>> 4 files changed, 4 insertions(+), 4 deletions(-)
>>
>> diff --git a/drivers/mmc/host/Kconfig b/drivers/mmc/host/Kconfig
>> index 1384f67abe21..a69e48b582e5 100644
>> --- a/drivers/mmc/host/Kconfig
>> +++ b/drivers/mmc/host/Kconfig
>> @@ -168,7 +168,7 @@ config MMC_SDHCI_ESDHC_IMX
>>
>> config MMC_SDHCI_DOVE
>> tristate "SDHCI support on Marvell's Dove SoC"
>> - depends on ARCH_DOVE
>> + depends on ARCH_DOVE || MACH_DOVE
>> depends on MMC_SDHCI_PLTFM
>> select MMC_SDHCI_IO_ACCESSORS
>> help
>> diff --git a/drivers/thermal/Kconfig b/drivers/thermal/Kconfig
>> index 35c066489a19..07b5e56e9a97 100644
>> --- a/drivers/thermal/Kconfig
>> +++ b/drivers/thermal/Kconfig
>> @@ -150,7 +150,7 @@ config KIRKWOOD_THERMAL
>>
>> config DOVE_THERMAL
>> tristate "Temperature sensor on Marvell Dove SoCs"
>> - depends on ARCH_DOVE
>> + depends on ARCH_DOVE || MACH_DOVE
>> depends on OF
>> help
>> Support for the Dove thermal sensor driver in the Linux thermal
>> diff --git a/drivers/watchdog/Kconfig b/drivers/watchdog/Kconfig
>> index 79d25894343a..5659c62a175c 100644
>> --- a/drivers/watchdog/Kconfig
>> +++ b/drivers/watchdog/Kconfig
>> @@ -292,7 +292,7 @@ config DAVINCI_WATCHDOG
>>
>> config ORION_WATCHDOG
>> tristate "Orion watchdog"
>> - depends on ARCH_ORION5X || ARCH_KIRKWOOD || ARCH_DOVE
>> + depends on ARCH_ORION5X || ARCH_KIRKWOOD || ARCH_DOVE || MACH_DOVE
>> select WATCHDOG_CORE
>> help
>> Say Y here if to include support for the watchdog timer
>> diff --git a/sound/soc/kirkwood/Kconfig b/sound/soc/kirkwood/Kconfig
>> index 78ed4a42ad21..a1506d57e646 100644
>> --- a/sound/soc/kirkwood/Kconfig
>> +++ b/sound/soc/kirkwood/Kconfig
>> @@ -1,6 +1,6 @@
>> config SND_KIRKWOOD_SOC
>> tristate "SoC Audio for the Marvell Kirkwood and Dove chips"
>> - depends on ARCH_KIRKWOOD || ARCH_DOVE || COMPILE_TEST
>> + depends on ARCH_KIRKWOOD || ARCH_DOVE || MACH_DOVE || COMPILE_TEST
>> help
>> Say Y or M if you want to add support for codecs attached to
>> the Kirkwood I2S interface. You will also need to select the
>> --
>> 1.8.5.3
>>
^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: [PATCH 2/4] ARM: dove: prepare new Dove DT Kconfig variable
2014-02-27 21:28 ` [PATCH 2/4] ARM: dove: prepare new Dove DT Kconfig variable Sebastian Hesselbarth
2014-02-27 21:51 ` Wim Van Sebroeck
@ 2014-02-28 1:53 ` Mark Brown
2014-02-28 16:34 ` Jason Cooper
2014-03-01 8:33 ` [PATCH v2 1/5] ASoC: kirkwood: " Sebastian Hesselbarth
` (4 subsequent siblings)
6 siblings, 1 reply; 40+ messages in thread
From: Mark Brown @ 2014-02-28 1:53 UTC (permalink / raw)
To: Sebastian Hesselbarth
Cc: Chris Ball, Zhang Rui, Eduardo Valentin, Wim Van Sebroeck,
Liam Girdwood, Jason Cooper, Andrew Lunn, Gregory Clement,
alsa-devel, linux-watchdog, linux-pm, linux-mmc,
linux-arm-kernel, linux-kernel
[-- Attachment #1: Type: text/plain, Size: 463 bytes --]
On Thu, Feb 27, 2014 at 10:28:03PM +0100, Sebastian Hesselbarth wrote:
> DT-enabled Dove will move over from ARCH_DOVE in mach-dove to MACH_DOVE in
> mach-mvebu. As non-DT ARCH_DOVE will stay to rot for a while, add a new
> DT-only MACH_DOVE to mmc, thermal, wdt, and asoc Kconfigs.
I'd be much happier merging this sort of stuff individually through the
subsystems, we already have an annoying conflict here... Is there some
bisection problem with doing that?
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: [PATCH 2/4] ARM: dove: prepare new Dove DT Kconfig variable
2014-02-28 1:53 ` Mark Brown
@ 2014-02-28 16:34 ` Jason Cooper
2014-02-28 18:12 ` Sebastian Hesselbarth
0 siblings, 1 reply; 40+ messages in thread
From: Jason Cooper @ 2014-02-28 16:34 UTC (permalink / raw)
To: Mark Brown
Cc: Sebastian Hesselbarth, Chris Ball, Zhang Rui, Eduardo Valentin,
Wim Van Sebroeck, Liam Girdwood, Andrew Lunn, Gregory Clement,
alsa-devel, linux-watchdog, linux-pm, linux-mmc,
linux-arm-kernel, linux-kernel
On Fri, Feb 28, 2014 at 10:53:10AM +0900, Mark Brown wrote:
> On Thu, Feb 27, 2014 at 10:28:03PM +0100, Sebastian Hesselbarth wrote:
> > DT-enabled Dove will move over from ARCH_DOVE in mach-dove to MACH_DOVE in
> > mach-mvebu. As non-DT ARCH_DOVE will stay to rot for a while, add a new
> > DT-only MACH_DOVE to mmc, thermal, wdt, and asoc Kconfigs.
>
> I'd be much happier merging this sort of stuff individually through the
> subsystems, we already have an annoying conflict here... Is there some
> bisection problem with doing that?
shouldn't be. Since these changes || the old with the new config
symbols.
Sebastian, can you split this up into individual patches?
thx,
Jason.
^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: [PATCH 2/4] ARM: dove: prepare new Dove DT Kconfig variable
2014-02-28 16:34 ` Jason Cooper
@ 2014-02-28 18:12 ` Sebastian Hesselbarth
0 siblings, 0 replies; 40+ messages in thread
From: Sebastian Hesselbarth @ 2014-02-28 18:12 UTC (permalink / raw)
To: Jason Cooper, Mark Brown
Cc: Chris Ball, Zhang Rui, Eduardo Valentin, Wim Van Sebroeck,
Liam Girdwood, Andrew Lunn, Gregory Clement, alsa-devel,
linux-watchdog, linux-pm, linux-mmc, linux-arm-kernel,
linux-kernel
On 02/28/2014 05:34 PM, Jason Cooper wrote:
> On Fri, Feb 28, 2014 at 10:53:10AM +0900, Mark Brown wrote:
>> On Thu, Feb 27, 2014 at 10:28:03PM +0100, Sebastian Hesselbarth wrote:
>>> DT-enabled Dove will move over from ARCH_DOVE in mach-dove to MACH_DOVE in
>>> mach-mvebu. As non-DT ARCH_DOVE will stay to rot for a while, add a new
>>> DT-only MACH_DOVE to mmc, thermal, wdt, and asoc Kconfigs.
>>
>> I'd be much happier merging this sort of stuff individually through the
>> subsystems, we already have an annoying conflict here... Is there some
>> bisection problem with doing that?
>
> shouldn't be. Since these changes || the old with the new config
> symbols.
>
> Sebastian, can you split this up into individual patches?
Sure, I'll send them in-reply-to this mail soon. I'll also add the SATA
PHY Kconfig in a bisectable way, i.e. add MACH_DOVE and for now ignore
that the driver is DT-only. We plan to remove mach-dove in one or two
cycles anyway, it will go with it then.
Sebastian
^ permalink raw reply [flat|nested] 40+ messages in thread
* [PATCH v2 1/5] ASoC: kirkwood: prepare new Dove DT Kconfig variable
2014-02-27 21:28 ` [PATCH 2/4] ARM: dove: prepare new Dove DT Kconfig variable Sebastian Hesselbarth
2014-02-27 21:51 ` Wim Van Sebroeck
2014-02-28 1:53 ` Mark Brown
@ 2014-03-01 8:33 ` Sebastian Hesselbarth
2014-03-04 4:01 ` Jason Cooper
2014-03-04 4:03 ` Mark Brown
2014-03-01 8:33 ` [PATCH v2 2/5] watchdog: orion: " Sebastian Hesselbarth
` (3 subsequent siblings)
6 siblings, 2 replies; 40+ messages in thread
From: Sebastian Hesselbarth @ 2014-03-01 8:33 UTC (permalink / raw)
To: Sebastian Hesselbarth
Cc: Mark Brown, Liam Girdwood, Jason Cooper, Andrew Lunn,
Gregory Clement, alsa-devel, linux-arm-kernel, linux-kernel
DT-enabled Dove will move over from ARCH_DOVE in mach-dove to MACH_DOVE in
mach-mvebu. As non-DT ARCH_DOVE will stay to rot for a while, add a new
DT-only MACH_DOVE Kconfig.
Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
---
Mark, as requested, this is the ASoC only patch touching Kconfig for
Marvell Dove to mach-mvebu conversion.
Cc: Mark Brown <broonie@kernel.org>
Cc: Liam Girdwood <lgirdwood@gmail.com>
Cc: Jason Cooper <jason@lakedaemon.net>
Cc: Andrew Lunn <andrew@lunn.ch>
Cc: Gregory Clement <gregory.clement@free-electrons.com>
Cc: alsa-devel@alsa-project.org
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux-kernel@vger.kernel.org
---
sound/soc/kirkwood/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sound/soc/kirkwood/Kconfig b/sound/soc/kirkwood/Kconfig
index 78ed4a42ad21..a1506d57e646 100644
--- a/sound/soc/kirkwood/Kconfig
+++ b/sound/soc/kirkwood/Kconfig
@@ -1,6 +1,6 @@
config SND_KIRKWOOD_SOC
tristate "SoC Audio for the Marvell Kirkwood and Dove chips"
- depends on ARCH_KIRKWOOD || ARCH_DOVE || COMPILE_TEST
+ depends on ARCH_KIRKWOOD || ARCH_DOVE || MACH_DOVE || COMPILE_TEST
help
Say Y or M if you want to add support for codecs attached to
the Kirkwood I2S interface. You will also need to select the
--
1.8.5.3
^ permalink raw reply related [flat|nested] 40+ messages in thread
* Re: [PATCH v2 1/5] ASoC: kirkwood: prepare new Dove DT Kconfig variable
2014-03-01 8:33 ` [PATCH v2 1/5] ASoC: kirkwood: " Sebastian Hesselbarth
@ 2014-03-04 4:01 ` Jason Cooper
2014-03-04 4:03 ` Mark Brown
1 sibling, 0 replies; 40+ messages in thread
From: Jason Cooper @ 2014-03-04 4:01 UTC (permalink / raw)
To: Sebastian Hesselbarth
Cc: Andrew Lunn, alsa-devel, Liam Girdwood, linux-kernel, Mark Brown,
Gregory Clement, linux-arm-kernel
On Sat, Mar 01, 2014 at 09:33:17AM +0100, Sebastian Hesselbarth wrote:
> DT-enabled Dove will move over from ARCH_DOVE in mach-dove to MACH_DOVE in
> mach-mvebu. As non-DT ARCH_DOVE will stay to rot for a while, add a new
> DT-only MACH_DOVE Kconfig.
>
> Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
> ---
> Mark, as requested, this is the ASoC only patch touching Kconfig for
> Marvell Dove to mach-mvebu conversion.
>
> Cc: Mark Brown <broonie@kernel.org>
> Cc: Liam Girdwood <lgirdwood@gmail.com>
> Cc: Jason Cooper <jason@lakedaemon.net>
> Cc: Andrew Lunn <andrew@lunn.ch>
> Cc: Gregory Clement <gregory.clement@free-electrons.com>
> Cc: alsa-devel@alsa-project.org
> Cc: linux-arm-kernel@lists.infradead.org
> Cc: linux-kernel@vger.kernel.org
> ---
> sound/soc/kirkwood/Kconfig | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Acked-by: Jason Cooper <jason@lakedaemon.net>
thx,
Jason.
^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: [PATCH v2 1/5] ASoC: kirkwood: prepare new Dove DT Kconfig variable
2014-03-01 8:33 ` [PATCH v2 1/5] ASoC: kirkwood: " Sebastian Hesselbarth
2014-03-04 4:01 ` Jason Cooper
@ 2014-03-04 4:03 ` Mark Brown
2014-03-04 10:32 ` Sebastian Hesselbarth
1 sibling, 1 reply; 40+ messages in thread
From: Mark Brown @ 2014-03-04 4:03 UTC (permalink / raw)
To: Sebastian Hesselbarth
Cc: Liam Girdwood, Jason Cooper, Andrew Lunn, Gregory Clement,
alsa-devel, linux-arm-kernel, linux-kernel
[-- Attachment #1: Type: text/plain, Size: 318 bytes --]
On Sat, Mar 01, 2014 at 09:33:17AM +0100, Sebastian Hesselbarth wrote:
> DT-enabled Dove will move over from ARCH_DOVE in mach-dove to MACH_DOVE in
> mach-mvebu. As non-DT ARCH_DOVE will stay to rot for a while, add a new
> DT-only MACH_DOVE Kconfig.
This doesn't apply against current ASoC, please check and resend.
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: [PATCH v2 1/5] ASoC: kirkwood: prepare new Dove DT Kconfig variable
2014-03-04 4:03 ` Mark Brown
@ 2014-03-04 10:32 ` Sebastian Hesselbarth
0 siblings, 0 replies; 40+ messages in thread
From: Sebastian Hesselbarth @ 2014-03-04 10:32 UTC (permalink / raw)
To: Mark Brown
Cc: Liam Girdwood, Jason Cooper, Andrew Lunn, Gregory Clement,
alsa-devel, linux-arm-kernel, linux-kernel
On 03/04/2014 05:03 AM, Mark Brown wrote:
> On Sat, Mar 01, 2014 at 09:33:17AM +0100, Sebastian Hesselbarth wrote:
>> DT-enabled Dove will move over from ARCH_DOVE in mach-dove to MACH_DOVE in
>> mach-mvebu. As non-DT ARCH_DOVE will stay to rot for a while, add a new
>> DT-only MACH_DOVE Kconfig.
>
> This doesn't apply against current ASoC, please check and resend.
Mark,
actually looking at what that specific Kconfig will look like in
asoc/for-next, I guess the current version is sufficient already.
It already says:
depends on ARCH_KIRKWOOD || ARCH_DOVE || ARCH_MVEBU || COMPILE_TEST
and MACH_DOVE will be part of ARCH_MVEBU.
Thanks for pointing this out, please ignore this patch.
Sebastian
^ permalink raw reply [flat|nested] 40+ messages in thread
* [PATCH v2 2/5] watchdog: orion: prepare new Dove DT Kconfig variable
2014-02-27 21:28 ` [PATCH 2/4] ARM: dove: prepare new Dove DT Kconfig variable Sebastian Hesselbarth
` (2 preceding siblings ...)
2014-03-01 8:33 ` [PATCH v2 1/5] ASoC: kirkwood: " Sebastian Hesselbarth
@ 2014-03-01 8:33 ` Sebastian Hesselbarth
2014-03-02 14:25 ` Wim Van Sebroeck
2014-03-04 4:02 ` Jason Cooper
2014-03-01 8:33 ` [PATCH v2 3/5] thermal: dove: " Sebastian Hesselbarth
` (2 subsequent siblings)
6 siblings, 2 replies; 40+ messages in thread
From: Sebastian Hesselbarth @ 2014-03-01 8:33 UTC (permalink / raw)
To: Sebastian Hesselbarth
Cc: Wim Van Sebroeck, Jason Cooper, Andrew Lunn, Gregory Clement,
linux-watchdog, linux-arm-kernel, linux-kernel
DT-enabled Dove will move over from ARCH_DOVE in mach-dove to MACH_DOVE in
mach-mvebu. As non-DT ARCH_DOVE will stay to rot for a while, add a new
DT-only MACH_DOVE Kconfig.
Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Acked-by: Wim Van Sebroeck <wim@iguana.be>
---
Wim, Mark Brown requested to take the corresponding ASoC patch through
his tree. Therefore, I have split the former patch into individual subsystem
patches.
Cc: Wim Van Sebroeck <wim@iguana.be>
Cc: Jason Cooper <jason@lakedaemon.net>
Cc: Andrew Lunn <andrew@lunn.ch>
Cc: Gregory Clement <gregory.clement@free-electrons.com>
Cc: linux-watchdog@vger.kernel.org
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux-kernel@vger.kernel.org
---
drivers/watchdog/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/watchdog/Kconfig b/drivers/watchdog/Kconfig
index 79d25894343a..5659c62a175c 100644
--- a/drivers/watchdog/Kconfig
+++ b/drivers/watchdog/Kconfig
@@ -292,7 +292,7 @@ config DAVINCI_WATCHDOG
config ORION_WATCHDOG
tristate "Orion watchdog"
- depends on ARCH_ORION5X || ARCH_KIRKWOOD || ARCH_DOVE
+ depends on ARCH_ORION5X || ARCH_KIRKWOOD || ARCH_DOVE || MACH_DOVE
select WATCHDOG_CORE
help
Say Y here if to include support for the watchdog timer
--
1.8.5.3
^ permalink raw reply related [flat|nested] 40+ messages in thread
* Re: [PATCH v2 2/5] watchdog: orion: prepare new Dove DT Kconfig variable
2014-03-01 8:33 ` [PATCH v2 2/5] watchdog: orion: " Sebastian Hesselbarth
@ 2014-03-02 14:25 ` Wim Van Sebroeck
2014-03-04 4:02 ` Jason Cooper
1 sibling, 0 replies; 40+ messages in thread
From: Wim Van Sebroeck @ 2014-03-02 14:25 UTC (permalink / raw)
To: Sebastian Hesselbarth
Cc: Jason Cooper, Andrew Lunn, Gregory Clement, linux-watchdog,
linux-arm-kernel, linux-kernel
Hi Sebastian,
> DT-enabled Dove will move over from ARCH_DOVE in mach-dove to MACH_DOVE in
> mach-mvebu. As non-DT ARCH_DOVE will stay to rot for a while, add a new
> DT-only MACH_DOVE Kconfig.
>
> Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
> Acked-by: Wim Van Sebroeck <wim@iguana.be>
Patch added to linux-watchdog-next.
Kind regards,
Wim.
^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: [PATCH v2 2/5] watchdog: orion: prepare new Dove DT Kconfig variable
2014-03-01 8:33 ` [PATCH v2 2/5] watchdog: orion: " Sebastian Hesselbarth
2014-03-02 14:25 ` Wim Van Sebroeck
@ 2014-03-04 4:02 ` Jason Cooper
1 sibling, 0 replies; 40+ messages in thread
From: Jason Cooper @ 2014-03-04 4:02 UTC (permalink / raw)
To: Sebastian Hesselbarth
Cc: Andrew Lunn, linux-kernel, Wim Van Sebroeck, Gregory Clement,
linux-arm-kernel, linux-watchdog
On Sat, Mar 01, 2014 at 09:33:18AM +0100, Sebastian Hesselbarth wrote:
> DT-enabled Dove will move over from ARCH_DOVE in mach-dove to MACH_DOVE in
> mach-mvebu. As non-DT ARCH_DOVE will stay to rot for a while, add a new
> DT-only MACH_DOVE Kconfig.
>
> Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
> Acked-by: Wim Van Sebroeck <wim@iguana.be>
> ---
> Wim, Mark Brown requested to take the corresponding ASoC patch through
> his tree. Therefore, I have split the former patch into individual subsystem
> patches.
>
> Cc: Wim Van Sebroeck <wim@iguana.be>
> Cc: Jason Cooper <jason@lakedaemon.net>
> Cc: Andrew Lunn <andrew@lunn.ch>
> Cc: Gregory Clement <gregory.clement@free-electrons.com>
> Cc: linux-watchdog@vger.kernel.org
> Cc: linux-arm-kernel@lists.infradead.org
> Cc: linux-kernel@vger.kernel.org
> ---
> drivers/watchdog/Kconfig | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Acked-by: Jason Cooper <jason@lakedaemon.net>
thx,
Jason.
^ permalink raw reply [flat|nested] 40+ messages in thread
* [PATCH v2 3/5] thermal: dove: prepare new Dove DT Kconfig variable
2014-02-27 21:28 ` [PATCH 2/4] ARM: dove: prepare new Dove DT Kconfig variable Sebastian Hesselbarth
` (3 preceding siblings ...)
2014-03-01 8:33 ` [PATCH v2 2/5] watchdog: orion: " Sebastian Hesselbarth
@ 2014-03-01 8:33 ` Sebastian Hesselbarth
2014-03-04 4:03 ` Jason Cooper
2014-03-01 8:33 ` [PATCH v2 4/5] mmc: " Sebastian Hesselbarth
2014-03-01 8:33 ` [PATCH v2 5/5] phy: mvebu-sata: " Sebastian Hesselbarth
6 siblings, 1 reply; 40+ messages in thread
From: Sebastian Hesselbarth @ 2014-03-01 8:33 UTC (permalink / raw)
To: Sebastian Hesselbarth
Cc: Zhang Rui, Eduardo Valentin, Jason Cooper, Andrew Lunn,
Gregory Clement, linux-pm, linux-arm-kernel, linux-kernel
DT-enabled Dove will move over from ARCH_DOVE in mach-dove to MACH_DOVE in
mach-mvebu. As non-DT ARCH_DOVE will stay to rot for a while, add a new
DT-only MACH_DOVE Kconfig.
Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
---
Rui, Eduardo,
Mark Brown requested to take the corresponding ASoC patch through
his tree. Therefore, I have split the former patch into individual subsystem
patches.
Cc: Zhang Rui <rui.zhang@intel.com>
Cc: Eduardo Valentin <eduardo.valentin@ti.com>
Cc: Jason Cooper <jason@lakedaemon.net>
Cc: Andrew Lunn <andrew@lunn.ch>
Cc: Gregory Clement <gregory.clement@free-electrons.com>
Cc: linux-pm@vger.kernel.org
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux-kernel@vger.kernel.org
---
drivers/thermal/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/thermal/Kconfig b/drivers/thermal/Kconfig
index 35c066489a19..07b5e56e9a97 100644
--- a/drivers/thermal/Kconfig
+++ b/drivers/thermal/Kconfig
@@ -150,7 +150,7 @@ config KIRKWOOD_THERMAL
config DOVE_THERMAL
tristate "Temperature sensor on Marvell Dove SoCs"
- depends on ARCH_DOVE
+ depends on ARCH_DOVE || MACH_DOVE
depends on OF
help
Support for the Dove thermal sensor driver in the Linux thermal
--
1.8.5.3
^ permalink raw reply related [flat|nested] 40+ messages in thread
* Re: [PATCH v2 3/5] thermal: dove: prepare new Dove DT Kconfig variable
2014-03-01 8:33 ` [PATCH v2 3/5] thermal: dove: " Sebastian Hesselbarth
@ 2014-03-04 4:03 ` Jason Cooper
2014-03-20 5:57 ` Zhang Rui
0 siblings, 1 reply; 40+ messages in thread
From: Jason Cooper @ 2014-03-04 4:03 UTC (permalink / raw)
To: Sebastian Hesselbarth
Cc: Andrew Lunn, linux-pm, linux-kernel, Eduardo Valentin,
Gregory Clement, Zhang Rui, linux-arm-kernel
On Sat, Mar 01, 2014 at 09:33:19AM +0100, Sebastian Hesselbarth wrote:
> DT-enabled Dove will move over from ARCH_DOVE in mach-dove to MACH_DOVE in
> mach-mvebu. As non-DT ARCH_DOVE will stay to rot for a while, add a new
> DT-only MACH_DOVE Kconfig.
>
> Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
> ---
> Rui, Eduardo,
>
> Mark Brown requested to take the corresponding ASoC patch through
> his tree. Therefore, I have split the former patch into individual subsystem
> patches.
>
> Cc: Zhang Rui <rui.zhang@intel.com>
> Cc: Eduardo Valentin <eduardo.valentin@ti.com>
> Cc: Jason Cooper <jason@lakedaemon.net>
> Cc: Andrew Lunn <andrew@lunn.ch>
> Cc: Gregory Clement <gregory.clement@free-electrons.com>
> Cc: linux-pm@vger.kernel.org
> Cc: linux-arm-kernel@lists.infradead.org
> Cc: linux-kernel@vger.kernel.org
> ---
> drivers/thermal/Kconfig | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Acked-by: Jason Cooper <jason@lakedaemon.net>
thx,
Jason.
^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: [PATCH v2 3/5] thermal: dove: prepare new Dove DT Kconfig variable
2014-03-04 4:03 ` Jason Cooper
@ 2014-03-20 5:57 ` Zhang Rui
0 siblings, 0 replies; 40+ messages in thread
From: Zhang Rui @ 2014-03-20 5:57 UTC (permalink / raw)
To: Jason Cooper
Cc: Sebastian Hesselbarth, Andrew Lunn, linux-pm, linux-kernel,
Eduardo Valentin, Gregory Clement, linux-arm-kernel
On Mon, 2014-03-03 at 23:03 -0500, Jason Cooper wrote:
> On Sat, Mar 01, 2014 at 09:33:19AM +0100, Sebastian Hesselbarth wrote:
> > DT-enabled Dove will move over from ARCH_DOVE in mach-dove to MACH_DOVE in
> > mach-mvebu. As non-DT ARCH_DOVE will stay to rot for a while, add a new
> > DT-only MACH_DOVE Kconfig.
> >
> > Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
> > ---
> > Rui, Eduardo,
> >
> > Mark Brown requested to take the corresponding ASoC patch through
> > his tree. Therefore, I have split the former patch into individual subsystem
> > patches.
> >
> > Cc: Zhang Rui <rui.zhang@intel.com>
> > Cc: Eduardo Valentin <eduardo.valentin@ti.com>
> > Cc: Jason Cooper <jason@lakedaemon.net>
> > Cc: Andrew Lunn <andrew@lunn.ch>
> > Cc: Gregory Clement <gregory.clement@free-electrons.com>
> > Cc: linux-pm@vger.kernel.org
> > Cc: linux-arm-kernel@lists.infradead.org
> > Cc: linux-kernel@vger.kernel.org
> > ---
> > drivers/thermal/Kconfig | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
>
> Acked-by: Jason Cooper <jason@lakedaemon.net>
applied.
thanks,
rui
>
> thx,
>
> Jason.
^ permalink raw reply [flat|nested] 40+ messages in thread
* [PATCH v2 4/5] mmc: dove: prepare new Dove DT Kconfig variable
2014-02-27 21:28 ` [PATCH 2/4] ARM: dove: prepare new Dove DT Kconfig variable Sebastian Hesselbarth
` (4 preceding siblings ...)
2014-03-01 8:33 ` [PATCH v2 3/5] thermal: dove: " Sebastian Hesselbarth
@ 2014-03-01 8:33 ` Sebastian Hesselbarth
2014-03-04 4:03 ` Jason Cooper
2014-03-01 8:33 ` [PATCH v2 5/5] phy: mvebu-sata: " Sebastian Hesselbarth
6 siblings, 1 reply; 40+ messages in thread
From: Sebastian Hesselbarth @ 2014-03-01 8:33 UTC (permalink / raw)
To: Sebastian Hesselbarth
Cc: Chris Ball, Jason Cooper, Andrew Lunn, Gregory Clement,
linux-arm-kernel, linux-kernel
DT-enabled Dove will move over from ARCH_DOVE in mach-dove to MACH_DOVE in
mach-mvebu. As non-DT ARCH_DOVE will stay to rot for a while, add a new
DT-only MACH_DOVE Kconfig.
Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
---
Chris,
Mark Brown requested to take the corresponding ASoC patch through
his tree. Therefore, I have split the former patch into individual subsystem
patches.
Cc: Chris Ball <chris@printf.net>
Cc: Jason Cooper <jason@lakedaemon.net>
Cc: Andrew Lunn <andrew@lunn.ch>
Cc: Gregory Clement <gregory.clement@free-electrons.com>
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux-kernel@vger.kernel.org
---
drivers/mmc/host/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/mmc/host/Kconfig b/drivers/mmc/host/Kconfig
index 1384f67abe21..a69e48b582e5 100644
--- a/drivers/mmc/host/Kconfig
+++ b/drivers/mmc/host/Kconfig
@@ -168,7 +168,7 @@ config MMC_SDHCI_ESDHC_IMX
config MMC_SDHCI_DOVE
tristate "SDHCI support on Marvell's Dove SoC"
- depends on ARCH_DOVE
+ depends on ARCH_DOVE || MACH_DOVE
depends on MMC_SDHCI_PLTFM
select MMC_SDHCI_IO_ACCESSORS
help
--
1.8.5.3
^ permalink raw reply related [flat|nested] 40+ messages in thread
* Re: [PATCH v2 4/5] mmc: dove: prepare new Dove DT Kconfig variable
2014-03-01 8:33 ` [PATCH v2 4/5] mmc: " Sebastian Hesselbarth
@ 2014-03-04 4:03 ` Jason Cooper
2014-03-27 15:24 ` Sebastian Hesselbarth
0 siblings, 1 reply; 40+ messages in thread
From: Jason Cooper @ 2014-03-04 4:03 UTC (permalink / raw)
To: Sebastian Hesselbarth
Cc: Andrew Lunn, linux-kernel, Chris Ball, Gregory Clement, linux-arm-kernel
On Sat, Mar 01, 2014 at 09:33:20AM +0100, Sebastian Hesselbarth wrote:
> DT-enabled Dove will move over from ARCH_DOVE in mach-dove to MACH_DOVE in
> mach-mvebu. As non-DT ARCH_DOVE will stay to rot for a while, add a new
> DT-only MACH_DOVE Kconfig.
>
> Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
> ---
> Chris,
>
> Mark Brown requested to take the corresponding ASoC patch through
> his tree. Therefore, I have split the former patch into individual subsystem
> patches.
>
> Cc: Chris Ball <chris@printf.net>
> Cc: Jason Cooper <jason@lakedaemon.net>
> Cc: Andrew Lunn <andrew@lunn.ch>
> Cc: Gregory Clement <gregory.clement@free-electrons.com>
> Cc: linux-arm-kernel@lists.infradead.org
> Cc: linux-kernel@vger.kernel.org
> ---
> drivers/mmc/host/Kconfig | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Acked-by: Jason Cooper <jason@lakedaemon.net>
thx,
Jason.
^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: [PATCH v2 4/5] mmc: dove: prepare new Dove DT Kconfig variable
2014-03-04 4:03 ` Jason Cooper
@ 2014-03-27 15:24 ` Sebastian Hesselbarth
2014-04-15 18:20 ` Sebastian Hesselbarth
0 siblings, 1 reply; 40+ messages in thread
From: Sebastian Hesselbarth @ 2014-03-27 15:24 UTC (permalink / raw)
To: Jason Cooper
Cc: Andrew Lunn, linux-kernel, Chris Ball, Gregory Clement, linux-arm-kernel
On 03/04/2014 05:03 AM, Jason Cooper wrote:
> On Sat, Mar 01, 2014 at 09:33:20AM +0100, Sebastian Hesselbarth wrote:
>> DT-enabled Dove will move over from ARCH_DOVE in mach-dove to MACH_DOVE in
>> mach-mvebu. As non-DT ARCH_DOVE will stay to rot for a while, add a new
>> DT-only MACH_DOVE Kconfig.
>>
>> Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
>> ---
>> Chris,
>>
>> Mark Brown requested to take the corresponding ASoC patch through
>> his tree. Therefore, I have split the former patch into individual subsystem
>> patches.
>>
>> Cc: Chris Ball <chris@printf.net>
>> Cc: Jason Cooper <jason@lakedaemon.net>
>> Cc: Andrew Lunn <andrew@lunn.ch>
>> Cc: Gregory Clement <gregory.clement@free-electrons.com>
>> Cc: linux-arm-kernel@lists.infradead.org
>> Cc: linux-kernel@vger.kernel.org
>> ---
>> drivers/mmc/host/Kconfig | 2 +-
>> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> Acked-by: Jason Cooper <jason@lakedaemon.net>
Ping. Chris, can you please take it in for v3.15-rc1?
Sebastian
^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: [PATCH v2 4/5] mmc: dove: prepare new Dove DT Kconfig variable
2014-03-27 15:24 ` Sebastian Hesselbarth
@ 2014-04-15 18:20 ` Sebastian Hesselbarth
0 siblings, 0 replies; 40+ messages in thread
From: Sebastian Hesselbarth @ 2014-04-15 18:20 UTC (permalink / raw)
To: Jason Cooper
Cc: Andrew Lunn, linux-kernel, Chris Ball, Gregory Clement, linux-arm-kernel
On 03/27/2014 04:24 PM, Sebastian Hesselbarth wrote:
> On 03/04/2014 05:03 AM, Jason Cooper wrote:
>> On Sat, Mar 01, 2014 at 09:33:20AM +0100, Sebastian Hesselbarth wrote:
>>> DT-enabled Dove will move over from ARCH_DOVE in mach-dove to
>>> MACH_DOVE in
>>> mach-mvebu. As non-DT ARCH_DOVE will stay to rot for a while, add a new
>>> DT-only MACH_DOVE Kconfig.
>>>
>>> Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
>>> ---
>>> Chris,
>>>
>>> Mark Brown requested to take the corresponding ASoC patch through
>>> his tree. Therefore, I have split the former patch into individual
>>> subsystem
>>> patches.
>>>
>>> Cc: Chris Ball <chris@printf.net>
>>> Cc: Jason Cooper <jason@lakedaemon.net>
>>> Cc: Andrew Lunn <andrew@lunn.ch>
>>> Cc: Gregory Clement <gregory.clement@free-electrons.com>
>>> Cc: linux-arm-kernel@lists.infradead.org
>>> Cc: linux-kernel@vger.kernel.org
>>> ---
>>> drivers/mmc/host/Kconfig | 2 +-
>>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> Acked-by: Jason Cooper <jason@lakedaemon.net>
>
> Ping. Chris, can you please take it in for v3.15-rc1?
Ping again.
Chris, anything wrong with this one? It still applies to
v3.15-rc1 and is required to get sdhci working again on
MULTI_V7 Dove.
Sebastian
^ permalink raw reply [flat|nested] 40+ messages in thread
* [PATCH v2 5/5] phy: mvebu-sata: prepare new Dove DT Kconfig variable
2014-02-27 21:28 ` [PATCH 2/4] ARM: dove: prepare new Dove DT Kconfig variable Sebastian Hesselbarth
` (5 preceding siblings ...)
2014-03-01 8:33 ` [PATCH v2 4/5] mmc: " Sebastian Hesselbarth
@ 2014-03-01 8:33 ` Sebastian Hesselbarth
2014-03-01 13:38 ` Kishon Vijay Abraham I
2014-03-04 4:04 ` Jason Cooper
6 siblings, 2 replies; 40+ messages in thread
From: Sebastian Hesselbarth @ 2014-03-01 8:33 UTC (permalink / raw)
To: Sebastian Hesselbarth
Cc: Kishon Vijay Abraham I, Jason Cooper, Andrew Lunn,
Gregory Clement, linux-arm-kernel, linux-kernel
DT-enabled Dove will move over from ARCH_DOVE in mach-dove to MACH_DOVE in
mach-mvebu. As non-DT ARCH_DOVE will stay to rot for a while, add a new
DT-only MACH_DOVE Kconfig.
Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
---
Kishon,
Mark Brown requested to take the corresponding ASoC patch through
his tree. Therefore, I have split the former patch into individual subsystem
patches. This patch also received an update, to not break bisectability
we add DT-enabled MACH_DOVE and maintain ARCH_DOVE, which is non-DT only
after conversion. ARCH_DOVE will be removed, when legacy mach-dove will
be removed.
Cc: Kishon Vijay Abraham I <kishon@ti.com>
Cc: Jason Cooper <jason@lakedaemon.net>
Cc: Andrew Lunn <andrew@lunn.ch>
Cc: Gregory Clement <gregory.clement@free-electrons.com>
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux-kernel@vger.kernel.org
---
drivers/phy/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/phy/Kconfig b/drivers/phy/Kconfig
index c7a551c2d5f1..e81daff7b5a3 100644
--- a/drivers/phy/Kconfig
+++ b/drivers/phy/Kconfig
@@ -24,7 +24,7 @@ config PHY_EXYNOS_MIPI_VIDEO
config PHY_MVEBU_SATA
def_bool y
- depends on ARCH_KIRKWOOD || ARCH_DOVE
+ depends on ARCH_KIRKWOOD || ARCH_DOVE || MACH_DOVE
depends on OF
select GENERIC_PHY
--
1.8.5.3
^ permalink raw reply related [flat|nested] 40+ messages in thread
* Re: [PATCH v2 5/5] phy: mvebu-sata: prepare new Dove DT Kconfig variable
2014-03-01 8:33 ` [PATCH v2 5/5] phy: mvebu-sata: " Sebastian Hesselbarth
@ 2014-03-01 13:38 ` Kishon Vijay Abraham I
2014-03-02 20:47 ` Sebastian Hesselbarth
2014-03-04 4:04 ` Jason Cooper
1 sibling, 1 reply; 40+ messages in thread
From: Kishon Vijay Abraham I @ 2014-03-01 13:38 UTC (permalink / raw)
To: Sebastian Hesselbarth
Cc: Jason Cooper, Andrew Lunn, Gregory Clement, linux-arm-kernel,
linux-kernel
On Saturday 01 March 2014 02:03 PM, Sebastian Hesselbarth wrote:
> DT-enabled Dove will move over from ARCH_DOVE in mach-dove to MACH_DOVE in
> mach-mvebu. As non-DT ARCH_DOVE will stay to rot for a while, add a new
> DT-only MACH_DOVE Kconfig.
>
> Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
> ---
> Kishon,
>
> Mark Brown requested to take the corresponding ASoC patch through
> his tree. Therefore, I have split the former patch into individual subsystem
> patches. This patch also received an update, to not break bisectability
> we add DT-enabled MACH_DOVE and maintain ARCH_DOVE, which is non-DT only
> after conversion. ARCH_DOVE will be removed, when legacy mach-dove will
> be removed.
Cool.. Should this patch be going through PHY tree?
Cheers
Kishon
>
> Cc: Kishon Vijay Abraham I <kishon@ti.com>
> Cc: Jason Cooper <jason@lakedaemon.net>
> Cc: Andrew Lunn <andrew@lunn.ch>
> Cc: Gregory Clement <gregory.clement@free-electrons.com>
> Cc: linux-arm-kernel@lists.infradead.org
> Cc: linux-kernel@vger.kernel.org
> ---
> drivers/phy/Kconfig | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/phy/Kconfig b/drivers/phy/Kconfig
> index c7a551c2d5f1..e81daff7b5a3 100644
> --- a/drivers/phy/Kconfig
> +++ b/drivers/phy/Kconfig
> @@ -24,7 +24,7 @@ config PHY_EXYNOS_MIPI_VIDEO
>
> config PHY_MVEBU_SATA
> def_bool y
> - depends on ARCH_KIRKWOOD || ARCH_DOVE
> + depends on ARCH_KIRKWOOD || ARCH_DOVE || MACH_DOVE
> depends on OF
> select GENERIC_PHY
>
>
^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: [PATCH v2 5/5] phy: mvebu-sata: prepare new Dove DT Kconfig variable
2014-03-01 13:38 ` Kishon Vijay Abraham I
@ 2014-03-02 20:47 ` Sebastian Hesselbarth
0 siblings, 0 replies; 40+ messages in thread
From: Sebastian Hesselbarth @ 2014-03-02 20:47 UTC (permalink / raw)
To: Kishon Vijay Abraham I
Cc: Jason Cooper, Andrew Lunn, Gregory Clement, linux-arm-kernel,
linux-kernel
On 03/01/2014 02:38 PM, Kishon Vijay Abraham I wrote:
> On Saturday 01 March 2014 02:03 PM, Sebastian Hesselbarth wrote:
>> DT-enabled Dove will move over from ARCH_DOVE in mach-dove to
>> MACH_DOVE in
>> mach-mvebu. As non-DT ARCH_DOVE will stay to rot for a while, add a new
>> DT-only MACH_DOVE Kconfig.
>>
>> Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
>> ---
>> Kishon,
>>
>> Mark Brown requested to take the corresponding ASoC patch through
>> his tree. Therefore, I have split the former patch into individual
>> subsystem
>> patches. This patch also received an update, to not break bisectability
>> we add DT-enabled MACH_DOVE and maintain ARCH_DOVE, which is non-DT only
>> after conversion. ARCH_DOVE will be removed, when legacy mach-dove will
>> be removed.
>
> Cool.. Should this patch be going through PHY tree?
Yes, please pick it up.
Thanks,
Sebastian
^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: [PATCH v2 5/5] phy: mvebu-sata: prepare new Dove DT Kconfig variable
2014-03-01 8:33 ` [PATCH v2 5/5] phy: mvebu-sata: " Sebastian Hesselbarth
2014-03-01 13:38 ` Kishon Vijay Abraham I
@ 2014-03-04 4:04 ` Jason Cooper
1 sibling, 0 replies; 40+ messages in thread
From: Jason Cooper @ 2014-03-04 4:04 UTC (permalink / raw)
To: Sebastian Hesselbarth
Cc: Andrew Lunn, linux-kernel, Kishon Vijay Abraham I,
Gregory Clement, linux-arm-kernel
On Sat, Mar 01, 2014 at 09:33:21AM +0100, Sebastian Hesselbarth wrote:
> DT-enabled Dove will move over from ARCH_DOVE in mach-dove to MACH_DOVE in
> mach-mvebu. As non-DT ARCH_DOVE will stay to rot for a while, add a new
> DT-only MACH_DOVE Kconfig.
>
> Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
> ---
> Kishon,
>
> Mark Brown requested to take the corresponding ASoC patch through
> his tree. Therefore, I have split the former patch into individual subsystem
> patches. This patch also received an update, to not break bisectability
> we add DT-enabled MACH_DOVE and maintain ARCH_DOVE, which is non-DT only
> after conversion. ARCH_DOVE will be removed, when legacy mach-dove will
> be removed.
>
> Cc: Kishon Vijay Abraham I <kishon@ti.com>
> Cc: Jason Cooper <jason@lakedaemon.net>
> Cc: Andrew Lunn <andrew@lunn.ch>
> Cc: Gregory Clement <gregory.clement@free-electrons.com>
> Cc: linux-arm-kernel@lists.infradead.org
> Cc: linux-kernel@vger.kernel.org
> ---
> drivers/phy/Kconfig | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Kishon,
fwiw:
Acked-by: Jason Cooper <jason@lakedaemon.net>
thx,
Jason.
^ permalink raw reply [flat|nested] 40+ messages in thread
* [PATCH 3/4] ARM: mvebu: move DT Dove to MVEBU
2014-02-27 21:28 [PATCH 0/4] ARM: dove: move Dove DT to MVEBU Sebastian Hesselbarth
2014-02-27 21:28 ` [PATCH 1/4] ARM: dove: add system controller node Sebastian Hesselbarth
2014-02-27 21:28 ` [PATCH 2/4] ARM: dove: prepare new Dove DT Kconfig variable Sebastian Hesselbarth
@ 2014-02-27 21:28 ` Sebastian Hesselbarth
2014-02-27 21:40 ` Jason Cooper
2014-02-27 22:03 ` [PATCH v2 " Sebastian Hesselbarth
2014-02-27 21:28 ` [PATCH 4/4] ARM: add Marvell Dove and some drivers to multi_v7 defconfig Sebastian Hesselbarth
2014-02-27 21:45 ` [PATCH 0/4] ARM: dove: move Dove DT to MVEBU Jason Cooper
4 siblings, 2 replies; 40+ messages in thread
From: Sebastian Hesselbarth @ 2014-02-27 21:28 UTC (permalink / raw)
To: Sebastian Hesselbarth
Cc: Rob Herring, Pawel Moll, Mark Rutland, Ian Campbell, Kumar Gala,
Russell King, Jason Cooper, Andrew Lunn, Gregory Clement,
Kishon Vijay Abraham I, devicetree, linux-arm-kernel,
linux-kernel
With all the DT support preparation done, we are able to move Dove
to MVEBU easily. Legacy non-DT mach-dove is left untouched to rot
for a while before removal. Also, convert SATA PHY Kconfig entry,
which is DT-only.
Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
---
Cc: Rob Herring <robh+dt@kernel.org>
Cc: Pawel Moll <pawel.moll@arm.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Ian Campbell <ijc+devicetree@hellion.org.uk>
Cc: Kumar Gala <galak@codeaurora.org>
Cc: Russell King <linux@arm.linux.org.uk>
Cc: Jason Cooper <jason@lakedaemon.net>
Cc: Andrew Lunn <andrew@lunn.ch>
Cc: Gregory Clement <gregory.clement@free-electrons.com>
Cc: Kishon Vijay Abraham I <kishon@ti.com>
Cc: devicetree@vger.kernel.org
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux-kernel@vger.kernel.org
---
arch/arm/boot/dts/Makefile | 12 ++++++------
arch/arm/mach-dove/Kconfig | 12 ------------
arch/arm/mach-dove/Makefile | 1 -
arch/arm/mach-mvebu/Kconfig | 12 ++++++++++++
arch/arm/mach-mvebu/Makefile | 1 +
arch/arm/{mach-dove/board-dt.c => mach-mvebu/dove.c} | 20 ++++++++------------
drivers/phy/Kconfig | 2 +-
7 files changed, 28 insertions(+), 32 deletions(-)
rename arch/arm/{mach-dove/board-dt.c => mach-mvebu/dove.c} (61%)
diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
index 032030361bef..376a2573e500 100644
--- a/arch/arm/boot/dts/Makefile
+++ b/arch/arm/boot/dts/Makefile
@@ -55,11 +55,6 @@ dtb-$(CONFIG_ARCH_BERLIN) += \
berlin2cd-google-chromecast.dtb
dtb-$(CONFIG_ARCH_DAVINCI) += da850-enbw-cmc.dtb \
da850-evm.dtb
-dtb-$(CONFIG_ARCH_DOVE) += dove-cm-a510.dtb \
- dove-cubox.dtb \
- dove-d2plug.dtb \
- dove-d3plug.dtb \
- dove-dove-db.dtb
dtb-$(CONFIG_ARCH_EFM32) += efm32gg-dk3750.dtb
dtb-$(CONFIG_ARCH_EXYNOS) += exynos4210-origen.dtb \
exynos4210-smdkv310.dtb \
@@ -132,7 +127,12 @@ dtb-$(CONFIG_ARCH_MVEBU) += armada-370-db.dtb \
armada-xp-gp.dtb \
armada-xp-netgear-rn2120.dtb \
armada-xp-matrix.dtb \
- armada-xp-openblocks-ax3-4.dtb
+ armada-xp-openblocks-ax3-4.dtb \
+ dove-cm-a510.dtb \
+ dove-cubox.dtb \
+ dove-d2plug.dtb \
+ dove-d3plug.dtb \
+ dove-dove-db.dtb
dtb-$(CONFIG_ARCH_MXC) += \
imx25-karo-tx25.dtb \
imx25-pdk.dtb \
diff --git a/arch/arm/mach-dove/Kconfig b/arch/arm/mach-dove/Kconfig
index 0bc7cdf8cf46..d8c439c89ea9 100644
--- a/arch/arm/mach-dove/Kconfig
+++ b/arch/arm/mach-dove/Kconfig
@@ -20,18 +20,6 @@ config MACH_CM_A510
Say 'Y' here if you want your kernel to support the
CompuLab CM-A510 Board.
-config MACH_DOVE_DT
- bool "Marvell Dove Flattened Device Tree"
- select DOVE_CLK
- select ORION_IRQCHIP
- select ORION_TIMER
- select REGULATOR
- select REGULATOR_FIXED_VOLTAGE
- select USE_OF
- help
- Say 'Y' here if you want your kernel to support the
- Marvell Dove using flattened device tree.
-
endmenu
endif
diff --git a/arch/arm/mach-dove/Makefile b/arch/arm/mach-dove/Makefile
index cbc5c0618788..b608a21919fb 100644
--- a/arch/arm/mach-dove/Makefile
+++ b/arch/arm/mach-dove/Makefile
@@ -2,5 +2,4 @@ obj-y += common.o
obj-$(CONFIG_DOVE_LEGACY) += irq.o mpp.o
obj-$(CONFIG_PCI) += pcie.o
obj-$(CONFIG_MACH_DOVE_DB) += dove-db-setup.o
-obj-$(CONFIG_MACH_DOVE_DT) += board-dt.o
obj-$(CONFIG_MACH_CM_A510) += cm-a510.o
diff --git a/arch/arm/mach-mvebu/Kconfig b/arch/arm/mach-mvebu/Kconfig
index 5e269d7263ce..966e5c6b9944 100644
--- a/arch/arm/mach-mvebu/Kconfig
+++ b/arch/arm/mach-mvebu/Kconfig
@@ -46,6 +46,18 @@ config MACH_ARMADA_XP
Say 'Y' here if you want your kernel to support boards based
on the Marvell Armada XP SoC with device tree.
+config MACH_DOVE
+ bool "Marvell Dove boards" if ARCH_MULTI_V7
+ select CACHE_L2X0
+ select CPU_PJ4
+ select DOVE_CLK
+ select ORION_IRQCHIP
+ select ORION_TIMER
+ select PINCTRL_DOVE
+ help
+ Say 'Y' here if you want your kernel to support the
+ Marvell Dove using flattened device tree.
+
endmenu
endif
diff --git a/arch/arm/mach-mvebu/Makefile b/arch/arm/mach-mvebu/Makefile
index 878aebe98dcc..dd3e7188f75d 100644
--- a/arch/arm/mach-mvebu/Makefile
+++ b/arch/arm/mach-mvebu/Makefile
@@ -5,6 +5,7 @@ AFLAGS_coherency_ll.o := -Wa,-march=armv7-a
obj-y += system-controller.o mvebu-soc-id.o
obj-$(CONFIG_MACH_ARMADA_370_XP) += armada-370-xp.o
+obj-$(CONFIG_MACH_DOVE) += dove.o
obj-$(CONFIG_ARCH_MVEBU) += coherency.o coherency_ll.o pmsu.o
obj-$(CONFIG_SMP) += platsmp.o headsmp.o
obj-$(CONFIG_HOTPLUG_CPU) += hotplug.o
diff --git a/arch/arm/mach-dove/board-dt.c b/arch/arm/mach-mvebu/dove.c
similarity index 61%
rename from arch/arm/mach-dove/board-dt.c
rename to arch/arm/mach-mvebu/dove.c
index 49fa9abd09da..5e5a43624237 100644
--- a/arch/arm/mach-dove/board-dt.c
+++ b/arch/arm/mach-mvebu/dove.c
@@ -1,5 +1,5 @@
/*
- * arch/arm/mach-dove/board-dt.c
+ * arch/arm/mach-mvebu/dove.c
*
* Marvell Dove 88AP510 System On Chip FDT Board
*
@@ -9,17 +9,14 @@
*/
#include <linux/init.h>
-#include <linux/clk-provider.h>
+#include <linux/mbus.h>
#include <linux/of.h>
#include <linux/of_platform.h>
#include <asm/hardware/cache-tauros2.h>
#include <asm/mach/arch.h>
-#include <mach/dove.h>
-#include <mach/pm.h>
-#include <plat/common.h>
#include "common.h"
-static void __init dove_dt_init(void)
+static void __init dove_init(void)
{
pr_info("Dove 88AP510 SoC\n");
@@ -30,14 +27,13 @@ static void __init dove_dt_init(void)
of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL);
}
-static const char * const dove_dt_board_compat[] = {
+static const char * const dove_dt_compat[] = {
"marvell,dove",
NULL
};
-DT_MACHINE_START(DOVE_DT, "Marvell Dove (Flattened Device Tree)")
- .map_io = dove_map_io,
- .init_machine = dove_dt_init,
- .restart = dove_restart,
- .dt_compat = dove_dt_board_compat,
+DT_MACHINE_START(DOVE_DT, "Marvell Dove")
+ .init_machine = dove_init,
+ .restart = mvebu_restart,
+ .dt_compat = dove_dt_compat,
MACHINE_END
diff --git a/drivers/phy/Kconfig b/drivers/phy/Kconfig
index c7a551c2d5f1..ffd7f07adca3 100644
--- a/drivers/phy/Kconfig
+++ b/drivers/phy/Kconfig
@@ -24,7 +24,7 @@ config PHY_EXYNOS_MIPI_VIDEO
config PHY_MVEBU_SATA
def_bool y
- depends on ARCH_KIRKWOOD || ARCH_DOVE
+ depends on ARCH_KIRKWOOD || MACH_DOVE
depends on OF
select GENERIC_PHY
--
1.8.5.3
^ permalink raw reply related [flat|nested] 40+ messages in thread
* Re: [PATCH 3/4] ARM: mvebu: move DT Dove to MVEBU
2014-02-27 21:28 ` [PATCH 3/4] ARM: mvebu: move DT Dove to MVEBU Sebastian Hesselbarth
@ 2014-02-27 21:40 ` Jason Cooper
2014-02-27 21:43 ` Sebastian Hesselbarth
2014-02-27 22:03 ` [PATCH v2 " Sebastian Hesselbarth
1 sibling, 1 reply; 40+ messages in thread
From: Jason Cooper @ 2014-02-27 21:40 UTC (permalink / raw)
To: Sebastian Hesselbarth
Cc: Rob Herring, Pawel Moll, Mark Rutland, Ian Campbell, Kumar Gala,
Russell King, Andrew Lunn, Gregory Clement,
Kishon Vijay Abraham I, devicetree, linux-arm-kernel,
linux-kernel
On Thu, Feb 27, 2014 at 10:28:04PM +0100, Sebastian Hesselbarth wrote:
> With all the DT support preparation done, we are able to move Dove
> to MVEBU easily. Legacy non-DT mach-dove is left untouched to rot
> for a while before removal. Also, convert SATA PHY Kconfig entry,
> which is DT-only.
>
> Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
> ---
> Cc: Rob Herring <robh+dt@kernel.org>
> Cc: Pawel Moll <pawel.moll@arm.com>
> Cc: Mark Rutland <mark.rutland@arm.com>
> Cc: Ian Campbell <ijc+devicetree@hellion.org.uk>
> Cc: Kumar Gala <galak@codeaurora.org>
> Cc: Russell King <linux@arm.linux.org.uk>
> Cc: Jason Cooper <jason@lakedaemon.net>
> Cc: Andrew Lunn <andrew@lunn.ch>
> Cc: Gregory Clement <gregory.clement@free-electrons.com>
> Cc: Kishon Vijay Abraham I <kishon@ti.com>
> Cc: devicetree@vger.kernel.org
> Cc: linux-arm-kernel@lists.infradead.org
> Cc: linux-kernel@vger.kernel.org
> ---
> arch/arm/boot/dts/Makefile | 12 ++++++------
> arch/arm/mach-dove/Kconfig | 12 ------------
> arch/arm/mach-dove/Makefile | 1 -
> arch/arm/mach-mvebu/Kconfig | 12 ++++++++++++
> arch/arm/mach-mvebu/Makefile | 1 +
> arch/arm/{mach-dove/board-dt.c => mach-mvebu/dove.c} | 20 ++++++++------------
> drivers/phy/Kconfig | 2 +-
> 7 files changed, 28 insertions(+), 32 deletions(-)
> rename arch/arm/{mach-dove/board-dt.c => mach-mvebu/dove.c} (61%)
>
> diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
> index 032030361bef..376a2573e500 100644
> --- a/arch/arm/boot/dts/Makefile
> +++ b/arch/arm/boot/dts/Makefile
> @@ -55,11 +55,6 @@ dtb-$(CONFIG_ARCH_BERLIN) += \
> berlin2cd-google-chromecast.dtb
> dtb-$(CONFIG_ARCH_DAVINCI) += da850-enbw-cmc.dtb \
> da850-evm.dtb
> -dtb-$(CONFIG_ARCH_DOVE) += dove-cm-a510.dtb \
> - dove-cubox.dtb \
> - dove-d2plug.dtb \
> - dove-d3plug.dtb \
> - dove-dove-db.dtb
> dtb-$(CONFIG_ARCH_EFM32) += efm32gg-dk3750.dtb
> dtb-$(CONFIG_ARCH_EXYNOS) += exynos4210-origen.dtb \
> exynos4210-smdkv310.dtb \
> @@ -132,7 +127,12 @@ dtb-$(CONFIG_ARCH_MVEBU) += armada-370-db.dtb \
> armada-xp-gp.dtb \
> armada-xp-netgear-rn2120.dtb \
> armada-xp-matrix.dtb \
> - armada-xp-openblocks-ax3-4.dtb
> + armada-xp-openblocks-ax3-4.dtb \
> + dove-cm-a510.dtb \
> + dove-cubox.dtb \
> + dove-d2plug.dtb \
> + dove-d3plug.dtb \
> + dove-dove-db.dtb
This is going to conflict badly with
a02dd0271d01 ARM: mvebu: select dtbs from MACH_ARMADA_*
Perhaps you could mimic what Andrew did in his series:
dove := dove-cm-a510.dtb \
dove-cubox.dtb \
dove-d2plug.dtb \
dove-d3plug.dtb \
dove-dove-db.dtb
dtb-$(CONFIG_ARCH_DOVE) += $(dove)
dtb-$(CONFIG_MACH_DOVE) += $(dove)
We plan on re-alphabetizing next window to prevent bad conflicts in this
window.
thx,
Jason.
^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: [PATCH 3/4] ARM: mvebu: move DT Dove to MVEBU
2014-02-27 21:40 ` Jason Cooper
@ 2014-02-27 21:43 ` Sebastian Hesselbarth
2014-02-27 21:47 ` Jason Cooper
0 siblings, 1 reply; 40+ messages in thread
From: Sebastian Hesselbarth @ 2014-02-27 21:43 UTC (permalink / raw)
To: Jason Cooper
Cc: Rob Herring, Pawel Moll, Mark Rutland, Ian Campbell, Kumar Gala,
Russell King, Andrew Lunn, Gregory Clement,
Kishon Vijay Abraham I, devicetree, linux-arm-kernel,
linux-kernel
On 02/27/2014 10:40 PM, Jason Cooper wrote:
> On Thu, Feb 27, 2014 at 10:28:04PM +0100, Sebastian Hesselbarth wrote:
>> With all the DT support preparation done, we are able to move Dove
>> to MVEBU easily. Legacy non-DT mach-dove is left untouched to rot
>> for a while before removal. Also, convert SATA PHY Kconfig entry,
>> which is DT-only.
>>
>> Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
>> ---
>> Cc: Rob Herring <robh+dt@kernel.org>
>> Cc: Pawel Moll <pawel.moll@arm.com>
>> Cc: Mark Rutland <mark.rutland@arm.com>
>> Cc: Ian Campbell <ijc+devicetree@hellion.org.uk>
>> Cc: Kumar Gala <galak@codeaurora.org>
>> Cc: Russell King <linux@arm.linux.org.uk>
>> Cc: Jason Cooper <jason@lakedaemon.net>
>> Cc: Andrew Lunn <andrew@lunn.ch>
>> Cc: Gregory Clement <gregory.clement@free-electrons.com>
>> Cc: Kishon Vijay Abraham I <kishon@ti.com>
>> Cc: devicetree@vger.kernel.org
>> Cc: linux-arm-kernel@lists.infradead.org
>> Cc: linux-kernel@vger.kernel.org
>> ---
>> arch/arm/boot/dts/Makefile | 12 ++++++------
>> arch/arm/mach-dove/Kconfig | 12 ------------
>> arch/arm/mach-dove/Makefile | 1 -
>> arch/arm/mach-mvebu/Kconfig | 12 ++++++++++++
>> arch/arm/mach-mvebu/Makefile | 1 +
>> arch/arm/{mach-dove/board-dt.c => mach-mvebu/dove.c} | 20 ++++++++------------
>> drivers/phy/Kconfig | 2 +-
>> 7 files changed, 28 insertions(+), 32 deletions(-)
>> rename arch/arm/{mach-dove/board-dt.c => mach-mvebu/dove.c} (61%)
>>
>> diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
>> index 032030361bef..376a2573e500 100644
>> --- a/arch/arm/boot/dts/Makefile
>> +++ b/arch/arm/boot/dts/Makefile
>> @@ -55,11 +55,6 @@ dtb-$(CONFIG_ARCH_BERLIN) += \
>> berlin2cd-google-chromecast.dtb
>> dtb-$(CONFIG_ARCH_DAVINCI) += da850-enbw-cmc.dtb \
>> da850-evm.dtb
>> -dtb-$(CONFIG_ARCH_DOVE) += dove-cm-a510.dtb \
>> - dove-cubox.dtb \
>> - dove-d2plug.dtb \
>> - dove-d3plug.dtb \
>> - dove-dove-db.dtb
>> dtb-$(CONFIG_ARCH_EFM32) += efm32gg-dk3750.dtb
>> dtb-$(CONFIG_ARCH_EXYNOS) += exynos4210-origen.dtb \
>> exynos4210-smdkv310.dtb \
>> @@ -132,7 +127,12 @@ dtb-$(CONFIG_ARCH_MVEBU) += armada-370-db.dtb \
>> armada-xp-gp.dtb \
>> armada-xp-netgear-rn2120.dtb \
>> armada-xp-matrix.dtb \
>> - armada-xp-openblocks-ax3-4.dtb
>> + armada-xp-openblocks-ax3-4.dtb \
>> + dove-cm-a510.dtb \
>> + dove-cubox.dtb \
>> + dove-d2plug.dtb \
>> + dove-d3plug.dtb \
>> + dove-dove-db.dtb
>
> This is going to conflict badly with
>
> a02dd0271d01 ARM: mvebu: select dtbs from MACH_ARMADA_*
>
> Perhaps you could mimic what Andrew did in his series:
>
> dove := dove-cm-a510.dtb \
> dove-cubox.dtb \
> dove-d2plug.dtb \
> dove-d3plug.dtb \
> dove-dove-db.dtb
> dtb-$(CONFIG_ARCH_DOVE) += $(dove)
> dtb-$(CONFIG_MACH_DOVE) += $(dove)
Ok, will do - except dtb-$(CONFIG_ARCH_DOVE) above.. there is no
DT in ARCH_DOVE after this patch.
> We plan on re-alphabetizing next window to prevent bad conflicts in this
> window.
Good!
Sebastian
^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: [PATCH 3/4] ARM: mvebu: move DT Dove to MVEBU
2014-02-27 21:43 ` Sebastian Hesselbarth
@ 2014-02-27 21:47 ` Jason Cooper
0 siblings, 0 replies; 40+ messages in thread
From: Jason Cooper @ 2014-02-27 21:47 UTC (permalink / raw)
To: Sebastian Hesselbarth
Cc: Rob Herring, Pawel Moll, Mark Rutland, Ian Campbell, Kumar Gala,
Russell King, Andrew Lunn, Gregory Clement,
Kishon Vijay Abraham I, devicetree, linux-arm-kernel,
linux-kernel
On Thu, Feb 27, 2014 at 10:43:59PM +0100, Sebastian Hesselbarth wrote:
> On 02/27/2014 10:40 PM, Jason Cooper wrote:
> >On Thu, Feb 27, 2014 at 10:28:04PM +0100, Sebastian Hesselbarth wrote:
> >>With all the DT support preparation done, we are able to move Dove
> >>to MVEBU easily. Legacy non-DT mach-dove is left untouched to rot
> >>for a while before removal. Also, convert SATA PHY Kconfig entry,
> >>which is DT-only.
> >>
> >>Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
> >>---
> >>Cc: Rob Herring <robh+dt@kernel.org>
> >>Cc: Pawel Moll <pawel.moll@arm.com>
> >>Cc: Mark Rutland <mark.rutland@arm.com>
> >>Cc: Ian Campbell <ijc+devicetree@hellion.org.uk>
> >>Cc: Kumar Gala <galak@codeaurora.org>
> >>Cc: Russell King <linux@arm.linux.org.uk>
> >>Cc: Jason Cooper <jason@lakedaemon.net>
> >>Cc: Andrew Lunn <andrew@lunn.ch>
> >>Cc: Gregory Clement <gregory.clement@free-electrons.com>
> >>Cc: Kishon Vijay Abraham I <kishon@ti.com>
> >>Cc: devicetree@vger.kernel.org
> >>Cc: linux-arm-kernel@lists.infradead.org
> >>Cc: linux-kernel@vger.kernel.org
> >>---
> >> arch/arm/boot/dts/Makefile | 12 ++++++------
> >> arch/arm/mach-dove/Kconfig | 12 ------------
> >> arch/arm/mach-dove/Makefile | 1 -
> >> arch/arm/mach-mvebu/Kconfig | 12 ++++++++++++
> >> arch/arm/mach-mvebu/Makefile | 1 +
> >> arch/arm/{mach-dove/board-dt.c => mach-mvebu/dove.c} | 20 ++++++++------------
> >> drivers/phy/Kconfig | 2 +-
> >> 7 files changed, 28 insertions(+), 32 deletions(-)
> >> rename arch/arm/{mach-dove/board-dt.c => mach-mvebu/dove.c} (61%)
> >>
> >>diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
> >>index 032030361bef..376a2573e500 100644
> >>--- a/arch/arm/boot/dts/Makefile
> >>+++ b/arch/arm/boot/dts/Makefile
> >>@@ -55,11 +55,6 @@ dtb-$(CONFIG_ARCH_BERLIN) += \
> >> berlin2cd-google-chromecast.dtb
> >> dtb-$(CONFIG_ARCH_DAVINCI) += da850-enbw-cmc.dtb \
> >> da850-evm.dtb
> >>-dtb-$(CONFIG_ARCH_DOVE) += dove-cm-a510.dtb \
> >>- dove-cubox.dtb \
> >>- dove-d2plug.dtb \
> >>- dove-d3plug.dtb \
> >>- dove-dove-db.dtb
> >> dtb-$(CONFIG_ARCH_EFM32) += efm32gg-dk3750.dtb
> >> dtb-$(CONFIG_ARCH_EXYNOS) += exynos4210-origen.dtb \
> >> exynos4210-smdkv310.dtb \
> >>@@ -132,7 +127,12 @@ dtb-$(CONFIG_ARCH_MVEBU) += armada-370-db.dtb \
> >> armada-xp-gp.dtb \
> >> armada-xp-netgear-rn2120.dtb \
> >> armada-xp-matrix.dtb \
> >>- armada-xp-openblocks-ax3-4.dtb
> >>+ armada-xp-openblocks-ax3-4.dtb \
> >>+ dove-cm-a510.dtb \
> >>+ dove-cubox.dtb \
> >>+ dove-d2plug.dtb \
> >>+ dove-d3plug.dtb \
> >>+ dove-dove-db.dtb
> >
> >This is going to conflict badly with
> >
> > a02dd0271d01 ARM: mvebu: select dtbs from MACH_ARMADA_*
> >
> >Perhaps you could mimic what Andrew did in his series:
> >
> >dove := dove-cm-a510.dtb \
> > dove-cubox.dtb \
> > dove-d2plug.dtb \
> > dove-d3plug.dtb \
> > dove-dove-db.dtb
> >dtb-$(CONFIG_ARCH_DOVE) += $(dove)
> >dtb-$(CONFIG_MACH_DOVE) += $(dove)
>
> Ok, will do - except dtb-$(CONFIG_ARCH_DOVE) above.. there is no
> DT in ARCH_DOVE after this patch.
Ok, then there's no need for 'dove :=', just s/ARCH_DOVE/MACH_DOVE/ on
the original without movement.
thx,
Jason.
^ permalink raw reply [flat|nested] 40+ messages in thread
* [PATCH v2 3/4] ARM: mvebu: move DT Dove to MVEBU
2014-02-27 21:28 ` [PATCH 3/4] ARM: mvebu: move DT Dove to MVEBU Sebastian Hesselbarth
2014-02-27 21:40 ` Jason Cooper
@ 2014-02-27 22:03 ` Sebastian Hesselbarth
2014-03-01 8:39 ` [PATCH v3 " Sebastian Hesselbarth
1 sibling, 1 reply; 40+ messages in thread
From: Sebastian Hesselbarth @ 2014-02-27 22:03 UTC (permalink / raw)
To: Sebastian Hesselbarth
Cc: Rob Herring, Pawel Moll, Mark Rutland, Ian Campbell, Kumar Gala,
Russell King, Jason Cooper, Andrew Lunn, Gregory Clement,
Kishon Vijay Abraham I, devicetree, linux-arm-kernel,
linux-kernel
With all the DT support preparation done, we are able to move Dove
to MVEBU easily. Legacy non-DT mach-dove is left untouched to rot
for a while before removal. Also, convert SATA PHY Kconfig entry,
which is DT-only.
Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
---
Changelog:
v1->v2:
- just rename CONFIG_ARCH_DOVE to CONFIG_MACH_DOVE in dts/Makefile
(Suggested by Jason Cooper)
Cc: Rob Herring <robh+dt@kernel.org>
Cc: Pawel Moll <pawel.moll@arm.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Ian Campbell <ijc+devicetree@hellion.org.uk>
Cc: Kumar Gala <galak@codeaurora.org>
Cc: Russell King <linux@arm.linux.org.uk>
Cc: Jason Cooper <jason@lakedaemon.net>
Cc: Andrew Lunn <andrew@lunn.ch>
Cc: Gregory Clement <gregory.clement@free-electrons.com>
Cc: Kishon Vijay Abraham I <kishon@ti.com>
Cc: devicetree@vger.kernel.org
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux-kernel@vger.kernel.org
---
arch/arm/boot/dts/Makefile | 2 +-
arch/arm/mach-dove/Kconfig | 12 ------------
arch/arm/mach-dove/Makefile | 1 -
arch/arm/mach-mvebu/Kconfig | 12 ++++++++++++
arch/arm/mach-mvebu/Makefile | 1 +
arch/arm/{mach-dove/board-dt.c => mach-mvebu/dove.c} | 20 ++++++++------------
drivers/phy/Kconfig | 2 +-
7 files changed, 23 insertions(+), 27 deletions(-)
rename arch/arm/{mach-dove/board-dt.c => mach-mvebu/dove.c} (61%)
diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
index 032030361bef..21317af7fe48 100644
--- a/arch/arm/boot/dts/Makefile
+++ b/arch/arm/boot/dts/Makefile
@@ -55,7 +55,7 @@ dtb-$(CONFIG_ARCH_BERLIN) += \
berlin2cd-google-chromecast.dtb
dtb-$(CONFIG_ARCH_DAVINCI) += da850-enbw-cmc.dtb \
da850-evm.dtb
-dtb-$(CONFIG_ARCH_DOVE) += dove-cm-a510.dtb \
+dtb-$(CONFIG_MACH_DOVE) += dove-cm-a510.dtb \
dove-cubox.dtb \
dove-d2plug.dtb \
dove-d3plug.dtb \
diff --git a/arch/arm/mach-dove/Kconfig b/arch/arm/mach-dove/Kconfig
index 0bc7cdf8cf46..d8c439c89ea9 100644
--- a/arch/arm/mach-dove/Kconfig
+++ b/arch/arm/mach-dove/Kconfig
@@ -20,18 +20,6 @@ config MACH_CM_A510
Say 'Y' here if you want your kernel to support the
CompuLab CM-A510 Board.
-config MACH_DOVE_DT
- bool "Marvell Dove Flattened Device Tree"
- select DOVE_CLK
- select ORION_IRQCHIP
- select ORION_TIMER
- select REGULATOR
- select REGULATOR_FIXED_VOLTAGE
- select USE_OF
- help
- Say 'Y' here if you want your kernel to support the
- Marvell Dove using flattened device tree.
-
endmenu
endif
diff --git a/arch/arm/mach-dove/Makefile b/arch/arm/mach-dove/Makefile
index cbc5c0618788..b608a21919fb 100644
--- a/arch/arm/mach-dove/Makefile
+++ b/arch/arm/mach-dove/Makefile
@@ -2,5 +2,4 @@ obj-y += common.o
obj-$(CONFIG_DOVE_LEGACY) += irq.o mpp.o
obj-$(CONFIG_PCI) += pcie.o
obj-$(CONFIG_MACH_DOVE_DB) += dove-db-setup.o
-obj-$(CONFIG_MACH_DOVE_DT) += board-dt.o
obj-$(CONFIG_MACH_CM_A510) += cm-a510.o
diff --git a/arch/arm/mach-mvebu/Kconfig b/arch/arm/mach-mvebu/Kconfig
index 5e269d7263ce..966e5c6b9944 100644
--- a/arch/arm/mach-mvebu/Kconfig
+++ b/arch/arm/mach-mvebu/Kconfig
@@ -46,6 +46,18 @@ config MACH_ARMADA_XP
Say 'Y' here if you want your kernel to support boards based
on the Marvell Armada XP SoC with device tree.
+config MACH_DOVE
+ bool "Marvell Dove boards" if ARCH_MULTI_V7
+ select CACHE_L2X0
+ select CPU_PJ4
+ select DOVE_CLK
+ select ORION_IRQCHIP
+ select ORION_TIMER
+ select PINCTRL_DOVE
+ help
+ Say 'Y' here if you want your kernel to support the
+ Marvell Dove using flattened device tree.
+
endmenu
endif
diff --git a/arch/arm/mach-mvebu/Makefile b/arch/arm/mach-mvebu/Makefile
index 878aebe98dcc..dd3e7188f75d 100644
--- a/arch/arm/mach-mvebu/Makefile
+++ b/arch/arm/mach-mvebu/Makefile
@@ -5,6 +5,7 @@ AFLAGS_coherency_ll.o := -Wa,-march=armv7-a
obj-y += system-controller.o mvebu-soc-id.o
obj-$(CONFIG_MACH_ARMADA_370_XP) += armada-370-xp.o
+obj-$(CONFIG_MACH_DOVE) += dove.o
obj-$(CONFIG_ARCH_MVEBU) += coherency.o coherency_ll.o pmsu.o
obj-$(CONFIG_SMP) += platsmp.o headsmp.o
obj-$(CONFIG_HOTPLUG_CPU) += hotplug.o
diff --git a/arch/arm/mach-dove/board-dt.c b/arch/arm/mach-mvebu/dove.c
similarity index 61%
rename from arch/arm/mach-dove/board-dt.c
rename to arch/arm/mach-mvebu/dove.c
index 49fa9abd09da..5e5a43624237 100644
--- a/arch/arm/mach-dove/board-dt.c
+++ b/arch/arm/mach-mvebu/dove.c
@@ -1,5 +1,5 @@
/*
- * arch/arm/mach-dove/board-dt.c
+ * arch/arm/mach-mvebu/dove.c
*
* Marvell Dove 88AP510 System On Chip FDT Board
*
@@ -9,17 +9,14 @@
*/
#include <linux/init.h>
-#include <linux/clk-provider.h>
+#include <linux/mbus.h>
#include <linux/of.h>
#include <linux/of_platform.h>
#include <asm/hardware/cache-tauros2.h>
#include <asm/mach/arch.h>
-#include <mach/dove.h>
-#include <mach/pm.h>
-#include <plat/common.h>
#include "common.h"
-static void __init dove_dt_init(void)
+static void __init dove_init(void)
{
pr_info("Dove 88AP510 SoC\n");
@@ -30,14 +27,13 @@ static void __init dove_dt_init(void)
of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL);
}
-static const char * const dove_dt_board_compat[] = {
+static const char * const dove_dt_compat[] = {
"marvell,dove",
NULL
};
-DT_MACHINE_START(DOVE_DT, "Marvell Dove (Flattened Device Tree)")
- .map_io = dove_map_io,
- .init_machine = dove_dt_init,
- .restart = dove_restart,
- .dt_compat = dove_dt_board_compat,
+DT_MACHINE_START(DOVE_DT, "Marvell Dove")
+ .init_machine = dove_init,
+ .restart = mvebu_restart,
+ .dt_compat = dove_dt_compat,
MACHINE_END
diff --git a/drivers/phy/Kconfig b/drivers/phy/Kconfig
index c7a551c2d5f1..ffd7f07adca3 100644
--- a/drivers/phy/Kconfig
+++ b/drivers/phy/Kconfig
@@ -24,7 +24,7 @@ config PHY_EXYNOS_MIPI_VIDEO
config PHY_MVEBU_SATA
def_bool y
- depends on ARCH_KIRKWOOD || ARCH_DOVE
+ depends on ARCH_KIRKWOOD || MACH_DOVE
depends on OF
select GENERIC_PHY
--
1.8.5.3
^ permalink raw reply related [flat|nested] 40+ messages in thread
* [PATCH v3 3/4] ARM: mvebu: move DT Dove to MVEBU
2014-02-27 22:03 ` [PATCH v2 " Sebastian Hesselbarth
@ 2014-03-01 8:39 ` Sebastian Hesselbarth
2014-03-04 4:29 ` Jason Cooper
0 siblings, 1 reply; 40+ messages in thread
From: Sebastian Hesselbarth @ 2014-03-01 8:39 UTC (permalink / raw)
To: Sebastian Hesselbarth
Cc: Rob Herring, Pawel Moll, Mark Rutland, Ian Campbell, Kumar Gala,
Russell King, Jason Cooper, Andrew Lunn, Gregory Clement,
Kishon Vijay Abraham I, devicetree, linux-arm-kernel,
linux-kernel
With all the DT support preparation done, we are able to move Dove
to MVEBU easily. Legacy non-DT mach-dove is left untouched to rot
for a while before removal.
Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
---
Changelog:
v1->v2:
- just rename CONFIG_ARCH_DOVE to CONFIG_MACH_DOVE in dts/Makefile
(Suggested by Jason Cooper)
v2->v3:
- dropped drivers/phy/Kconfig change, which is now an individual
patch sent to Kishon.
Cc: Rob Herring <robh+dt@kernel.org>
Cc: Pawel Moll <pawel.moll@arm.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Ian Campbell <ijc+devicetree@hellion.org.uk>
Cc: Kumar Gala <galak@codeaurora.org>
Cc: Russell King <linux@arm.linux.org.uk>
Cc: Jason Cooper <jason@lakedaemon.net>
Cc: Andrew Lunn <andrew@lunn.ch>
Cc: Gregory Clement <gregory.clement@free-electrons.com>
Cc: Kishon Vijay Abraham I <kishon@ti.com>
Cc: devicetree@vger.kernel.org
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux-kernel@vger.kernel.org
---
arch/arm/boot/dts/Makefile | 2 +-
arch/arm/mach-dove/Kconfig | 12 ------------
arch/arm/mach-dove/Makefile | 1 -
arch/arm/mach-dove/board-dt.c | 43 -------------------------------------------
arch/arm/mach-mvebu/Kconfig | 12 ++++++++++++
arch/arm/mach-mvebu/Makefile | 1 +
arch/arm/mach-mvebu/dove.c | 39 +++++++++++++++++++++++++++++++++++++++
7 files changed, 53 insertions(+), 57 deletions(-)
delete mode 100644 arch/arm/mach-dove/board-dt.c
create mode 100644 arch/arm/mach-mvebu/dove.c
diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
index 032030361bef..21317af7fe48 100644
--- a/arch/arm/boot/dts/Makefile
+++ b/arch/arm/boot/dts/Makefile
@@ -55,7 +55,7 @@ dtb-$(CONFIG_ARCH_BERLIN) += \
berlin2cd-google-chromecast.dtb
dtb-$(CONFIG_ARCH_DAVINCI) += da850-enbw-cmc.dtb \
da850-evm.dtb
-dtb-$(CONFIG_ARCH_DOVE) += dove-cm-a510.dtb \
+dtb-$(CONFIG_MACH_DOVE) += dove-cm-a510.dtb \
dove-cubox.dtb \
dove-d2plug.dtb \
dove-d3plug.dtb \
diff --git a/arch/arm/mach-dove/Kconfig b/arch/arm/mach-dove/Kconfig
index 0bc7cdf8cf46..d8c439c89ea9 100644
--- a/arch/arm/mach-dove/Kconfig
+++ b/arch/arm/mach-dove/Kconfig
@@ -20,18 +20,6 @@ config MACH_CM_A510
Say 'Y' here if you want your kernel to support the
CompuLab CM-A510 Board.
-config MACH_DOVE_DT
- bool "Marvell Dove Flattened Device Tree"
- select DOVE_CLK
- select ORION_IRQCHIP
- select ORION_TIMER
- select REGULATOR
- select REGULATOR_FIXED_VOLTAGE
- select USE_OF
- help
- Say 'Y' here if you want your kernel to support the
- Marvell Dove using flattened device tree.
-
endmenu
endif
diff --git a/arch/arm/mach-dove/Makefile b/arch/arm/mach-dove/Makefile
index cbc5c0618788..b608a21919fb 100644
--- a/arch/arm/mach-dove/Makefile
+++ b/arch/arm/mach-dove/Makefile
@@ -2,5 +2,4 @@ obj-y += common.o
obj-$(CONFIG_DOVE_LEGACY) += irq.o mpp.o
obj-$(CONFIG_PCI) += pcie.o
obj-$(CONFIG_MACH_DOVE_DB) += dove-db-setup.o
-obj-$(CONFIG_MACH_DOVE_DT) += board-dt.o
obj-$(CONFIG_MACH_CM_A510) += cm-a510.o
diff --git a/arch/arm/mach-dove/board-dt.c b/arch/arm/mach-dove/board-dt.c
deleted file mode 100644
index 49fa9abd09da..000000000000
--- a/arch/arm/mach-dove/board-dt.c
+++ /dev/null
@@ -1,43 +0,0 @@
-/*
- * arch/arm/mach-dove/board-dt.c
- *
- * Marvell Dove 88AP510 System On Chip FDT Board
- *
- * This file is licensed under the terms of the GNU General Public
- * License version 2. This program is licensed "as is" without any
- * warranty of any kind, whether express or implied.
- */
-
-#include <linux/init.h>
-#include <linux/clk-provider.h>
-#include <linux/of.h>
-#include <linux/of_platform.h>
-#include <asm/hardware/cache-tauros2.h>
-#include <asm/mach/arch.h>
-#include <mach/dove.h>
-#include <mach/pm.h>
-#include <plat/common.h>
-#include "common.h"
-
-static void __init dove_dt_init(void)
-{
- pr_info("Dove 88AP510 SoC\n");
-
-#ifdef CONFIG_CACHE_TAUROS2
- tauros2_init(0);
-#endif
- BUG_ON(mvebu_mbus_dt_init());
- of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL);
-}
-
-static const char * const dove_dt_board_compat[] = {
- "marvell,dove",
- NULL
-};
-
-DT_MACHINE_START(DOVE_DT, "Marvell Dove (Flattened Device Tree)")
- .map_io = dove_map_io,
- .init_machine = dove_dt_init,
- .restart = dove_restart,
- .dt_compat = dove_dt_board_compat,
-MACHINE_END
diff --git a/arch/arm/mach-mvebu/Kconfig b/arch/arm/mach-mvebu/Kconfig
index 5e269d7263ce..966e5c6b9944 100644
--- a/arch/arm/mach-mvebu/Kconfig
+++ b/arch/arm/mach-mvebu/Kconfig
@@ -46,6 +46,18 @@ config MACH_ARMADA_XP
Say 'Y' here if you want your kernel to support boards based
on the Marvell Armada XP SoC with device tree.
+config MACH_DOVE
+ bool "Marvell Dove boards" if ARCH_MULTI_V7
+ select CACHE_L2X0
+ select CPU_PJ4
+ select DOVE_CLK
+ select ORION_IRQCHIP
+ select ORION_TIMER
+ select PINCTRL_DOVE
+ help
+ Say 'Y' here if you want your kernel to support the
+ Marvell Dove using flattened device tree.
+
endmenu
endif
diff --git a/arch/arm/mach-mvebu/Makefile b/arch/arm/mach-mvebu/Makefile
index 878aebe98dcc..dd3e7188f75d 100644
--- a/arch/arm/mach-mvebu/Makefile
+++ b/arch/arm/mach-mvebu/Makefile
@@ -5,6 +5,7 @@ AFLAGS_coherency_ll.o := -Wa,-march=armv7-a
obj-y += system-controller.o mvebu-soc-id.o
obj-$(CONFIG_MACH_ARMADA_370_XP) += armada-370-xp.o
+obj-$(CONFIG_MACH_DOVE) += dove.o
obj-$(CONFIG_ARCH_MVEBU) += coherency.o coherency_ll.o pmsu.o
obj-$(CONFIG_SMP) += platsmp.o headsmp.o
obj-$(CONFIG_HOTPLUG_CPU) += hotplug.o
diff --git a/arch/arm/mach-mvebu/dove.c b/arch/arm/mach-mvebu/dove.c
new file mode 100644
index 000000000000..5e5a43624237
--- /dev/null
+++ b/arch/arm/mach-mvebu/dove.c
@@ -0,0 +1,39 @@
+/*
+ * arch/arm/mach-mvebu/dove.c
+ *
+ * Marvell Dove 88AP510 System On Chip FDT Board
+ *
+ * This file is licensed under the terms of the GNU General Public
+ * License version 2. This program is licensed "as is" without any
+ * warranty of any kind, whether express or implied.
+ */
+
+#include <linux/init.h>
+#include <linux/mbus.h>
+#include <linux/of.h>
+#include <linux/of_platform.h>
+#include <asm/hardware/cache-tauros2.h>
+#include <asm/mach/arch.h>
+#include "common.h"
+
+static void __init dove_init(void)
+{
+ pr_info("Dove 88AP510 SoC\n");
+
+#ifdef CONFIG_CACHE_TAUROS2
+ tauros2_init(0);
+#endif
+ BUG_ON(mvebu_mbus_dt_init());
+ of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL);
+}
+
+static const char * const dove_dt_compat[] = {
+ "marvell,dove",
+ NULL
+};
+
+DT_MACHINE_START(DOVE_DT, "Marvell Dove")
+ .init_machine = dove_init,
+ .restart = mvebu_restart,
+ .dt_compat = dove_dt_compat,
+MACHINE_END
--
1.8.5.3
^ permalink raw reply related [flat|nested] 40+ messages in thread
* Re: [PATCH v3 3/4] ARM: mvebu: move DT Dove to MVEBU
2014-03-01 8:39 ` [PATCH v3 " Sebastian Hesselbarth
@ 2014-03-04 4:29 ` Jason Cooper
0 siblings, 0 replies; 40+ messages in thread
From: Jason Cooper @ 2014-03-04 4:29 UTC (permalink / raw)
To: Sebastian Hesselbarth
Cc: Mark Rutland, Andrew Lunn, Russell King, Pawel Moll,
Ian Campbell, linux-kernel, Kishon Vijay Abraham I, devicetree,
Rob Herring, Kumar Gala, Gregory Clement, linux-arm-kernel
On Sat, Mar 01, 2014 at 09:39:38AM +0100, Sebastian Hesselbarth wrote:
> With all the DT support preparation done, we are able to move Dove
> to MVEBU easily. Legacy non-DT mach-dove is left untouched to rot
> for a while before removal.
>
> Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
> ---
> Changelog:
> v1->v2:
> - just rename CONFIG_ARCH_DOVE to CONFIG_MACH_DOVE in dts/Makefile
> (Suggested by Jason Cooper)
> v2->v3:
> - dropped drivers/phy/Kconfig change, which is now an individual
> patch sent to Kishon.
>
> Cc: Rob Herring <robh+dt@kernel.org>
> Cc: Pawel Moll <pawel.moll@arm.com>
> Cc: Mark Rutland <mark.rutland@arm.com>
> Cc: Ian Campbell <ijc+devicetree@hellion.org.uk>
> Cc: Kumar Gala <galak@codeaurora.org>
> Cc: Russell King <linux@arm.linux.org.uk>
> Cc: Jason Cooper <jason@lakedaemon.net>
> Cc: Andrew Lunn <andrew@lunn.ch>
> Cc: Gregory Clement <gregory.clement@free-electrons.com>
> Cc: Kishon Vijay Abraham I <kishon@ti.com>
> Cc: devicetree@vger.kernel.org
> Cc: linux-arm-kernel@lists.infradead.org
> Cc: linux-kernel@vger.kernel.org
> ---
> arch/arm/boot/dts/Makefile | 2 +-
> arch/arm/mach-dove/Kconfig | 12 ------------
> arch/arm/mach-dove/Makefile | 1 -
> arch/arm/mach-dove/board-dt.c | 43 -------------------------------------------
> arch/arm/mach-mvebu/Kconfig | 12 ++++++++++++
> arch/arm/mach-mvebu/Makefile | 1 +
> arch/arm/mach-mvebu/dove.c | 39 +++++++++++++++++++++++++++++++++++++++
> 7 files changed, 53 insertions(+), 57 deletions(-)
> delete mode 100644 arch/arm/mach-dove/board-dt.c
> create mode 100644 arch/arm/mach-mvebu/dove.c
We'll see how it goes!
Applied to mvebu/soc
thx,
Jason.
^ permalink raw reply [flat|nested] 40+ messages in thread
* [PATCH 4/4] ARM: add Marvell Dove and some drivers to multi_v7 defconfig
2014-02-27 21:28 [PATCH 0/4] ARM: dove: move Dove DT to MVEBU Sebastian Hesselbarth
` (2 preceding siblings ...)
2014-02-27 21:28 ` [PATCH 3/4] ARM: mvebu: move DT Dove to MVEBU Sebastian Hesselbarth
@ 2014-02-27 21:28 ` Sebastian Hesselbarth
2014-03-04 4:07 ` Jason Cooper
2014-02-27 21:45 ` [PATCH 0/4] ARM: dove: move Dove DT to MVEBU Jason Cooper
4 siblings, 1 reply; 40+ messages in thread
From: Sebastian Hesselbarth @ 2014-02-27 21:28 UTC (permalink / raw)
To: Sebastian Hesselbarth
Cc: Russell King, Olof Johansson, Kevin Hilman, Arnd Bergmann,
Jason Cooper, Andrew Lunn, Gregory Clement, linux-arm-kernel,
linux-kernel
With Marvell Dove now being part of the multi_v7 family, add some Dove
specific drivers to multi_v7 defconfig.
Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
---
Cc: Russell King <linux@arm.linux.org.uk>
Cc: Olof Johansson <olof@lixom.net>
Cc: Kevin Hilman <khilman@linaro.org>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Jason Cooper <jason@lakedaemon.net>
Cc: Andrew Lunn <andrew@lunn.ch>
Cc: Gregory Clement <gregory.clement@free-electrons.com>
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux-kernel@vger.kernel.org
---
arch/arm/configs/multi_v7_defconfig | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/arch/arm/configs/multi_v7_defconfig b/arch/arm/configs/multi_v7_defconfig
index ee6982976d66..a1876b2ed4bd 100644
--- a/arch/arm/configs/multi_v7_defconfig
+++ b/arch/arm/configs/multi_v7_defconfig
@@ -10,6 +10,7 @@ CONFIG_PARTITION_ADVANCED=y
CONFIG_ARCH_MVEBU=y
CONFIG_MACH_ARMADA_370=y
CONFIG_MACH_ARMADA_XP=y
+CONFIG_MACH_DOVE=y
CONFIG_ARCH_BCM=y
CONFIG_ARCH_BCM_MOBILE=y
CONFIG_ARCH_BERLIN=y
@@ -111,6 +112,7 @@ CONFIG_SATA_MV=y
CONFIG_NETDEVICES=y
CONFIG_SUN4I_EMAC=y
CONFIG_NET_CALXEDA_XGMAC=y
+CONFIG_MV643XX_ETH=y
CONFIG_MVNETA=y
CONFIG_KS8851=y
CONFIG_R8169=y
@@ -187,6 +189,7 @@ CONFIG_POWER_RESET_AS3722=y
CONFIG_POWER_RESET_GPIO=y
CONFIG_SENSORS_LM90=y
CONFIG_THERMAL=y
+CONFIG_DOVE_THERMAL=y
CONFIG_ARMADA_THERMAL=y
CONFIG_MFD_AS3722=y
CONFIG_MFD_CROS_EC=y
@@ -253,6 +256,7 @@ CONFIG_MMC_BLOCK_MINORS=16
CONFIG_MMC_ARMMMCI=y
CONFIG_MMC_SDHCI=y
CONFIG_MMC_SDHCI_ESDHC_IMX=y
+CONFIG_MMC_SDHCI_DOVE=y
CONFIG_MMC_SDHCI_TEGRA=y
CONFIG_MMC_SDHCI_SPEAR=y
CONFIG_MMC_SDHCI_BCM_KONA=y
--
1.8.5.3
^ permalink raw reply related [flat|nested] 40+ messages in thread
* Re: [PATCH 4/4] ARM: add Marvell Dove and some drivers to multi_v7 defconfig
2014-02-27 21:28 ` [PATCH 4/4] ARM: add Marvell Dove and some drivers to multi_v7 defconfig Sebastian Hesselbarth
@ 2014-03-04 4:07 ` Jason Cooper
2014-03-17 15:29 ` Jason Cooper
0 siblings, 1 reply; 40+ messages in thread
From: Jason Cooper @ 2014-03-04 4:07 UTC (permalink / raw)
To: Sebastian Hesselbarth, arm, Arnd Bergmann, Olof Johansson, Kevin Hilman
Cc: Andrew Lunn, Russell King, linux-kernel, Gregory Clement,
linux-arm-kernel
Arnd, Olof, Kevin,
On Thu, Feb 27, 2014 at 10:28:05PM +0100, Sebastian Hesselbarth wrote:
> With Marvell Dove now being part of the multi_v7 family, add some Dove
> specific drivers to multi_v7 defconfig.
>
> Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
> ---
> Cc: Russell King <linux@arm.linux.org.uk>
> Cc: Olof Johansson <olof@lixom.net>
> Cc: Kevin Hilman <khilman@linaro.org>
> Cc: Arnd Bergmann <arnd@arndb.de>
> Cc: Jason Cooper <jason@lakedaemon.net>
> Cc: Andrew Lunn <andrew@lunn.ch>
> Cc: Gregory Clement <gregory.clement@free-electrons.com>
> Cc: linux-arm-kernel@lists.infradead.org
> Cc: linux-kernel@vger.kernel.org
> ---
> arch/arm/configs/multi_v7_defconfig | 4 ++++
> 1 file changed, 4 insertions(+)
I'm taking the other part of this series in, so:
Acked-by: Jason Cooper <jason@lakedaemon.net>
thx,
Jason.
^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: [PATCH 4/4] ARM: add Marvell Dove and some drivers to multi_v7 defconfig
2014-03-04 4:07 ` Jason Cooper
@ 2014-03-17 15:29 ` Jason Cooper
2014-03-17 19:03 ` Arnd Bergmann
0 siblings, 1 reply; 40+ messages in thread
From: Jason Cooper @ 2014-03-17 15:29 UTC (permalink / raw)
To: Sebastian Hesselbarth, arm, Arnd Bergmann, Olof Johansson, Kevin Hilman
Cc: Gregory Clement, Andrew Lunn, Russell King, linux-kernel,
linux-arm-kernel
Arnd,
Here's the multi_v7_defconfig change I was referring to:
https://lkml.kernel.org/r/1393536486-3827-5-git-send-email-sebastian.hesselbarth@gmail.com
On Mon, Mar 03, 2014 at 11:07:29PM -0500, Jason Cooper wrote:
> Arnd, Olof, Kevin,
>
> On Thu, Feb 27, 2014 at 10:28:05PM +0100, Sebastian Hesselbarth wrote:
> > With Marvell Dove now being part of the multi_v7 family, add some Dove
> > specific drivers to multi_v7 defconfig.
> >
> > Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
> > ---
> > Cc: Russell King <linux@arm.linux.org.uk>
> > Cc: Olof Johansson <olof@lixom.net>
> > Cc: Kevin Hilman <khilman@linaro.org>
> > Cc: Arnd Bergmann <arnd@arndb.de>
> > Cc: Jason Cooper <jason@lakedaemon.net>
> > Cc: Andrew Lunn <andrew@lunn.ch>
> > Cc: Gregory Clement <gregory.clement@free-electrons.com>
> > Cc: linux-arm-kernel@lists.infradead.org
> > Cc: linux-kernel@vger.kernel.org
> > ---
> > arch/arm/configs/multi_v7_defconfig | 4 ++++
> > 1 file changed, 4 insertions(+)
>
> I'm taking the other part of this series in, so:
>
> Acked-by: Jason Cooper <jason@lakedaemon.net>
thx,
Jason.
^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: [PATCH 4/4] ARM: add Marvell Dove and some drivers to multi_v7 defconfig
2014-03-17 15:29 ` Jason Cooper
@ 2014-03-17 19:03 ` Arnd Bergmann
0 siblings, 0 replies; 40+ messages in thread
From: Arnd Bergmann @ 2014-03-17 19:03 UTC (permalink / raw)
To: Jason Cooper
Cc: Sebastian Hesselbarth, arm, Olof Johansson, Kevin Hilman,
Gregory Clement, Andrew Lunn, Russell King, linux-kernel,
linux-arm-kernel
On Monday 17 March 2014, Jason Cooper wrote:
> Here's the multi_v7_defconfig change I was referring to:
>
> https://lkml.kernel.org/r/1393536486-3827-5-git-send-email-sebastian.hesselbarth@gmail.com
>
Applied to next/boards, thanks for the reminder!
Arnd
^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: [PATCH 0/4] ARM: dove: move Dove DT to MVEBU
2014-02-27 21:28 [PATCH 0/4] ARM: dove: move Dove DT to MVEBU Sebastian Hesselbarth
` (3 preceding siblings ...)
2014-02-27 21:28 ` [PATCH 4/4] ARM: add Marvell Dove and some drivers to multi_v7 defconfig Sebastian Hesselbarth
@ 2014-02-27 21:45 ` Jason Cooper
2014-02-27 21:48 ` Sebastian Hesselbarth
4 siblings, 1 reply; 40+ messages in thread
From: Jason Cooper @ 2014-02-27 21:45 UTC (permalink / raw)
To: Sebastian Hesselbarth
Cc: Russell King, Olof Johansson, Kevin Hilman, Arnd Bergmann,
Andrew Lunn, Gregory Clement, linux-arm-kernel, linux-kernel
On Thu, Feb 27, 2014 at 10:28:01PM +0100, Sebastian Hesselbarth wrote:
> Thanks to DT conversion effort, Marvell Dove with DT support is now
> ready to leave mach-dove and hop into mach-mvebu. As discussed with
> MVEBU maintainers, we first add dove.c now and keep on migrating
> it with Armada 3xx SoCs the next cycle.
>
> Patch 1 adds a DT node for the system controller found on Marvell
> MVEBU SoCs.
>
> Patch 2 copies an approach taken by Andrew Lunn for Kirkwood-to-MVEBU
> patches, that add MACH_DOVE for Dove in mach-mvebu to distinguish it
> from ARCH_DOVE in mach-dove, where drivers still support both non-DT
> and DT.
>
> Patch 3 then moves mach-dove/board-dt.c to mach-mvebu/dove.c with
> minor cleanups and converts drivers/phy/Kconfig to MACH_DOVE for
> a DT-only driver.
>
> Patch 4 finally adds MACH_DOVE and some of its drivers to multi_v7
> defconfig.
>
> The patches are based on v3.14-rc4, recently posted mvebu/pinctrl-cleanup
> and mvebu/pinctrl-dove branches: v3.14-rc4 is required for a irqchip
> driver fix when SPARSE_IRQ is set, the pinctrl branches remove hard-coded
> addresses from Dove's pinctrl driver.
If I were to base this series on v3.14-rc1, I would need to pull in
mvebu/pinctrl-dove (which draws in mvebu/pinctrl-cleanup)
mvebu/irqchip-fixes
and that should be all. iiuc, these are boot-time requirements, not
build or merge requirements, correct?
thx,
Jason.
> An unstable branch with above dependencies met, is available at
>
> https://github.com/shesselba/linux-dove.git unstable/dove-mvebu-for-3.15_v1
>
> Sebastian Hesselbarth (4):
> ARM: dove: add system controller node
> ARM: dove: prepare new Dove DT Kconfig variable
> ARM: mvebu: move DT Dove to MVEBU
> ARM: add Marvell Dove and some drivers to multi_v7 defconfig
>
> arch/arm/boot/dts/Makefile | 12 ++++++------
> arch/arm/boot/dts/dove.dtsi | 5 +++++
> arch/arm/configs/multi_v7_defconfig | 4 ++++
> arch/arm/mach-dove/Kconfig | 12 ------------
> arch/arm/mach-dove/Makefile | 1 -
> arch/arm/mach-mvebu/Kconfig | 12 ++++++++++++
> arch/arm/mach-mvebu/Makefile | 1 +
> arch/arm/{mach-dove/board-dt.c => mach-mvebu/dove.c} | 20 ++++++++------------
> drivers/mmc/host/Kconfig | 2 +-
> drivers/phy/Kconfig | 2 +-
> drivers/thermal/Kconfig | 2 +-
> drivers/watchdog/Kconfig | 2 +-
> sound/soc/kirkwood/Kconfig | 2 +-
> 13 files changed, 41 insertions(+), 36 deletions(-)
> rename arch/arm/{mach-dove/board-dt.c => mach-mvebu/dove.c} (61%)
>
> ---
> Cc: Russell King <linux@arm.linux.org.uk>
> Cc: Olof Johansson <olof@lixom.net>
> Cc: Kevin Hilman <khilman@linaro.org>
> Cc: Arnd Bergmann <arnd@arndb.de>
> Cc: Jason Cooper <jason@lakedaemon.net>
> Cc: Andrew Lunn <andrew@lunn.ch>
> Cc: Gregory Clement <gregory.clement@free-electrons.com>
> Cc: linux-arm-kernel@lists.infradead.org
> Cc: linux-kernel@vger.kernel.org
> --
> 1.8.5.3
>
^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: [PATCH 0/4] ARM: dove: move Dove DT to MVEBU
2014-02-27 21:45 ` [PATCH 0/4] ARM: dove: move Dove DT to MVEBU Jason Cooper
@ 2014-02-27 21:48 ` Sebastian Hesselbarth
0 siblings, 0 replies; 40+ messages in thread
From: Sebastian Hesselbarth @ 2014-02-27 21:48 UTC (permalink / raw)
To: Jason Cooper
Cc: Russell King, Olof Johansson, Kevin Hilman, Arnd Bergmann,
Andrew Lunn, Gregory Clement, linux-arm-kernel, linux-kernel
On 02/27/2014 10:45 PM, Jason Cooper wrote:
> On Thu, Feb 27, 2014 at 10:28:01PM +0100, Sebastian Hesselbarth wrote:
>> Thanks to DT conversion effort, Marvell Dove with DT support is now
>> ready to leave mach-dove and hop into mach-mvebu. As discussed with
>> MVEBU maintainers, we first add dove.c now and keep on migrating
>> it with Armada 3xx SoCs the next cycle.
>>
>> Patch 1 adds a DT node for the system controller found on Marvell
>> MVEBU SoCs.
>>
>> Patch 2 copies an approach taken by Andrew Lunn for Kirkwood-to-MVEBU
>> patches, that add MACH_DOVE for Dove in mach-mvebu to distinguish it
>> from ARCH_DOVE in mach-dove, where drivers still support both non-DT
>> and DT.
>>
>> Patch 3 then moves mach-dove/board-dt.c to mach-mvebu/dove.c with
>> minor cleanups and converts drivers/phy/Kconfig to MACH_DOVE for
>> a DT-only driver.
>>
>> Patch 4 finally adds MACH_DOVE and some of its drivers to multi_v7
>> defconfig.
>>
>> The patches are based on v3.14-rc4, recently posted mvebu/pinctrl-cleanup
>> and mvebu/pinctrl-dove branches: v3.14-rc4 is required for a irqchip
>> driver fix when SPARSE_IRQ is set, the pinctrl branches remove hard-coded
>> addresses from Dove's pinctrl driver.
>
> If I were to base this series on v3.14-rc1, I would need to pull in
>
> mvebu/pinctrl-dove (which draws in mvebu/pinctrl-cleanup)
> mvebu/irqchip-fixes
>
> and that should be all. iiuc, these are boot-time requirements, not
> build or merge requirements, correct?
Yes, all are boot-time requirements only.
Sebastian
^ permalink raw reply [flat|nested] 40+ messages in thread