devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] [linux-next] ARM: mvebu: make DTS comments reflect DEBUG_LL changes
@ 2015-01-19 19:40 Paul Bolle
  2015-01-19 21:27 ` Andrew Lunn
  0 siblings, 1 reply; 2+ messages in thread
From: Paul Bolle @ 2015-01-19 19:40 UTC (permalink / raw)
  To: Rob Herring, Pawel Moll, Mark Rutland, Ian Campbell, Kumar Gala,
	Russell King
  Cc: Valentin Rothberg, Maxime Ripard, Jason Cooper, Gregory CLEMENT,
	Andrew Lunn, devicetree, linux-arm-kernel, linux-kernel

The Kconfig symbol DEBUG_MVEBU_UART_ALTERNATE was renamed to
DEBUG_MVEBU_UART0_ALTERNATE. And the symbol DEBUG_MVEBU_UART1_ALTERNATE
was added to allow UART1 as a DEBUG_LL target. Make the comment at the
top of this DTS reflect those changes.

Since we're touching this DTS add comments to show which blocks describe
UART0 and UART1.

Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
---
Created on top of next-20150119. Untested! Note that I know nothing
about this board or about DT source files, so all changes are nothing
more than guesses.

 arch/arm/boot/dts/armada-xp-axpwifiap.dts | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/arch/arm/boot/dts/armada-xp-axpwifiap.dts b/arch/arm/boot/dts/armada-xp-axpwifiap.dts
index ca0200e20751..28174ab019f9 100644
--- a/arch/arm/boot/dts/armada-xp-axpwifiap.dts
+++ b/arch/arm/boot/dts/armada-xp-axpwifiap.dts
@@ -3,8 +3,8 @@
  *
  * Note: this board is shipped with a new generation boot loader that
  * remaps internal registers at 0xf1000000. Therefore, if earlyprintk
- * is used, the CONFIG_DEBUG_MVEBU_UART_ALTERNATE option should be
- * used.
+ * is used, the CONFIG_DEBUG_MVEBU_UART0_ALTERNATE option or the
+ * CONFIG_DEBUG_MVEBU_UART1_ALTERNATE option should be used.
  *
  * Copyright (C) 2013 Marvell
  *
@@ -60,10 +60,12 @@
 		};
 
 		internal-regs {
+			/* UART0 */
 			serial@12000 {
 				status = "okay";
 			};
 
+			/* UART1 */
 			serial@12100 {
 				status = "okay";
 			};
-- 
1.9.3

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] [linux-next] ARM: mvebu: make DTS comments reflect DEBUG_LL changes
  2015-01-19 19:40 [PATCH] [linux-next] ARM: mvebu: make DTS comments reflect DEBUG_LL changes Paul Bolle
@ 2015-01-19 21:27 ` Andrew Lunn
  0 siblings, 0 replies; 2+ messages in thread
From: Andrew Lunn @ 2015-01-19 21:27 UTC (permalink / raw)
  To: Paul Bolle
  Cc: Rob Herring, Pawel Moll, Mark Rutland, Ian Campbell, Kumar Gala,
	Russell King, Valentin Rothberg, Maxime Ripard, Jason Cooper,
	Gregory CLEMENT, devicetree-u79uwXL29TY76Z2rM5mHXA,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA

On Mon, Jan 19, 2015 at 08:40:25PM +0100, Paul Bolle wrote:
> The Kconfig symbol DEBUG_MVEBU_UART_ALTERNATE was renamed to
> DEBUG_MVEBU_UART0_ALTERNATE. And the symbol DEBUG_MVEBU_UART1_ALTERNATE
> was added to allow UART1 as a DEBUG_LL target. Make the comment at the
> top of this DTS reflect those changes.
> 
> Since we're touching this DTS add comments to show which blocks describe
> UART0 and UART1.
> 
> Signed-off-by: Paul Bolle <pebolle-IWqWACnzNjzz+pZb47iToQ@public.gmane.org>

Hi Paul

Thanks for this. I have added it to mvebu/dt.

       Andrew


> ---
> Created on top of next-20150119. Untested! Note that I know nothing
> about this board or about DT source files, so all changes are nothing
> more than guesses.
> 
>  arch/arm/boot/dts/armada-xp-axpwifiap.dts | 6 ++++--
>  1 file changed, 4 insertions(+), 2 deletions(-)
> 
> diff --git a/arch/arm/boot/dts/armada-xp-axpwifiap.dts b/arch/arm/boot/dts/armada-xp-axpwifiap.dts
> index ca0200e20751..28174ab019f9 100644
> --- a/arch/arm/boot/dts/armada-xp-axpwifiap.dts
> +++ b/arch/arm/boot/dts/armada-xp-axpwifiap.dts
> @@ -3,8 +3,8 @@
>   *
>   * Note: this board is shipped with a new generation boot loader that
>   * remaps internal registers at 0xf1000000. Therefore, if earlyprintk
> - * is used, the CONFIG_DEBUG_MVEBU_UART_ALTERNATE option should be
> - * used.
> + * is used, the CONFIG_DEBUG_MVEBU_UART0_ALTERNATE option or the
> + * CONFIG_DEBUG_MVEBU_UART1_ALTERNATE option should be used.
>   *
>   * Copyright (C) 2013 Marvell
>   *
> @@ -60,10 +60,12 @@
>  		};
>  
>  		internal-regs {
> +			/* UART0 */
>  			serial@12000 {
>  				status = "okay";
>  			};
>  
> +			/* UART1 */
>  			serial@12100 {
>  				status = "okay";
>  			};
> -- 
> 1.9.3
> 
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-01-19 21:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-19 19:40 [PATCH] [linux-next] ARM: mvebu: make DTS comments reflect DEBUG_LL changes Paul Bolle
2015-01-19 21:27 ` Andrew Lunn

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).