All of lore.kernel.org
 help / color / mirror / Atom feed
diff for duplicates of <20121007015407.840781689@gmail.com>

diff --git a/a/1.txt b/N1/1.txt
index 0581c9c..2d61a74 100644
--- a/a/1.txt
+++ b/N1/1.txt
@@ -1,3 +1,92 @@
-An embedded and charset-unspecified text was scrubbed...
-Name: arm-bcm476x-instantiate-console-uart.patch
-URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20121007/2d7eb5d9/attachment.ksh>
+From: Domenico Andreoli <domenico.andreoli@linux.com>
+
+The BCM476x sports standard PL011 UARTs which are fully described and
+put to use with these few changes.
+
+Signed-off-by: Domenico Andreoli <domenico.andreoli@linux.com>
+---
+ arch/arm/Kconfig.debug         |   16 ++++++++++++++++
+ arch/arm/boot/dts/bcm476x.dtsi |   23 ++++++++++++++++++++++-
+ 2 files changed, 38 insertions(+), 1 deletion(-)
+
+Index: b/arch/arm/boot/dts/bcm476x.dtsi
+===================================================================
+--- a/arch/arm/boot/dts/bcm476x.dtsi
++++ b/arch/arm/boot/dts/bcm476x.dtsi
+@@ -5,7 +5,7 @@
+ 	model = "Broadcom BCM476x";
+ 
+ 	chosen {
+-		bootargs = "earlyprintk";
++		bootargs = "console=ttyAMA1";
+ 	};
+ 
+ 	amba {
+@@ -41,5 +41,26 @@
+ 			interrupt-controller;
+ 			#interrupt-cells = <1>;
+ 		};
++
++		uart0@c0000 {
++			compatible = "brcm,bcm476x-pl011", "arm,pl011", "arm,primecell";
++			reg = <0xc0000 0x1000>;
++			interrupt-parent = <&vic0>;
++			interrupts = <14>;
++		};
++
++		uart1@c1000 {
++			compatible = "brcm,bcm476x-pl011", "arm,pl011", "arm,primecell";
++			reg = <0xc1000 0x1000>;
++			interrupt-parent = <&vic0>;
++			interrupts = <15>;
++		};
++
++		uart2@b2000 {
++			compatible = "brcm,bcm476x-pl011", "arm,pl011", "arm,primecell";
++			reg = <0xb2000 0x1000>;
++			interrupt-parent = <&vic0>;
++			interrupts = <16>;
++		};
+ 	};
+ };
+Index: b/arch/arm/Kconfig.debug
+===================================================================
+--- a/arch/arm/Kconfig.debug
++++ b/arch/arm/Kconfig.debug
+@@ -89,6 +89,18 @@ choice
+ 		bool "Kernel low-level debugging on 9263 and 9g45"
+ 		depends on HAVE_AT91_DBGU1
+ 
++	config DEBUG_BCM476X_UART0
++		depends on ARCH_BCM476X
++		bool "Kernel low-level debugging on BCM476x UART 0"
++
++	config DEBUG_BCM476X_UART1
++		depends on ARCH_BCM476X
++		bool "Kernel low-level debugging on BCM476x UART 1"
++
++	config DEBUG_BCM476X_UART2
++		depends on ARCH_BCM476X
++		bool "Kernel low-level debugging on BCM476x UART 2"
++
+ 	config DEBUG_CLPS711X_UART1
+ 		bool "Kernel low-level debugging messages via UART1"
+ 		depends on ARCH_CLPS711X
+@@ -404,6 +416,8 @@ endchoice
+ 
+ config DEBUG_LL_INCLUDE
+ 	string
++	default "debug/bcm476x.S" if DEBUG_BCM476X_UART0 || \
++		DEBUG_BCM476X_UART1 || DEBUG_BCM476X_UART2
+ 	default "debug/icedcc.S" if DEBUG_ICEDCC
+ 	default "debug/highbank.S" if DEBUG_HIGHBANK_UART
+ 	default "debug/mvebu.S" if DEBUG_MVEBU_UART
+@@ -416,6 +430,8 @@ config DEBUG_LL_INCLUDE
+ 
+ config UNCOMPRESS_INCLUDE
+ 	string
++	default "debug/bcm476x-uncompress.h" if DEBUG_BCM476X_UART0 || \
++		DEBUG_BCM476X_UART1 || DEBUG_BCM476X_UART2
+ 	default "debug/icedcc-uncompress.h" if DEBUG_ICEDCC
+ 	default "debug/mvebu-uncompress.h" if DEBUG_MVEBU_UART
+ 	default "debug/tegra-uncompress.h" if DEBUG_TEGRA_UART
diff --git a/a/content_digest b/N1/content_digest
index a00532a..db562da 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -1,12 +1,104 @@
  "ref\020121007015300.828366635@gmail.com\0"
- "From\0cavokz@gmail.com (Domenico Andreoli)\0"
+ "From\0Domenico Andreoli <cavokz@gmail.com>\0"
  "Subject\0[PATCH 6/6] ARM: bcm476x: Instantiate console UART\0"
  "Date\0Sun, 07 Oct 2012 03:53:06 +0200\0"
  "To\0linux-arm-kernel@lists.infradead.org\0"
+ "Cc\0Domenico Andreoli <domenico.andreoli@linux.com>"
+ " devicetree-discuss@lists.ozlabs.org\0"
  "\00:1\0"
+ "fn\0arm-bcm476x-instantiate-console-uart.patch\0"
  "b\0"
- "An embedded and charset-unspecified text was scrubbed...\n"
- "Name: arm-bcm476x-instantiate-console-uart.patch\n"
- URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20121007/2d7eb5d9/attachment.ksh>
+ "From: Domenico Andreoli <domenico.andreoli@linux.com>\n"
+ "\n"
+ "The BCM476x sports standard PL011 UARTs which are fully described and\n"
+ "put to use with these few changes.\n"
+ "\n"
+ "Signed-off-by: Domenico Andreoli <domenico.andreoli@linux.com>\n"
+ "---\n"
+ " arch/arm/Kconfig.debug         |   16 ++++++++++++++++\n"
+ " arch/arm/boot/dts/bcm476x.dtsi |   23 ++++++++++++++++++++++-\n"
+ " 2 files changed, 38 insertions(+), 1 deletion(-)\n"
+ "\n"
+ "Index: b/arch/arm/boot/dts/bcm476x.dtsi\n"
+ "===================================================================\n"
+ "--- a/arch/arm/boot/dts/bcm476x.dtsi\n"
+ "+++ b/arch/arm/boot/dts/bcm476x.dtsi\n"
+ "@@ -5,7 +5,7 @@\n"
+ " \tmodel = \"Broadcom BCM476x\";\n"
+ " \n"
+ " \tchosen {\n"
+ "-\t\tbootargs = \"earlyprintk\";\n"
+ "+\t\tbootargs = \"console=ttyAMA1\";\n"
+ " \t};\n"
+ " \n"
+ " \tamba {\n"
+ "@@ -41,5 +41,26 @@\n"
+ " \t\t\tinterrupt-controller;\n"
+ " \t\t\t#interrupt-cells = <1>;\n"
+ " \t\t};\n"
+ "+\n"
+ "+\t\tuart0@c0000 {\n"
+ "+\t\t\tcompatible = \"brcm,bcm476x-pl011\", \"arm,pl011\", \"arm,primecell\";\n"
+ "+\t\t\treg = <0xc0000 0x1000>;\n"
+ "+\t\t\tinterrupt-parent = <&vic0>;\n"
+ "+\t\t\tinterrupts = <14>;\n"
+ "+\t\t};\n"
+ "+\n"
+ "+\t\tuart1@c1000 {\n"
+ "+\t\t\tcompatible = \"brcm,bcm476x-pl011\", \"arm,pl011\", \"arm,primecell\";\n"
+ "+\t\t\treg = <0xc1000 0x1000>;\n"
+ "+\t\t\tinterrupt-parent = <&vic0>;\n"
+ "+\t\t\tinterrupts = <15>;\n"
+ "+\t\t};\n"
+ "+\n"
+ "+\t\tuart2@b2000 {\n"
+ "+\t\t\tcompatible = \"brcm,bcm476x-pl011\", \"arm,pl011\", \"arm,primecell\";\n"
+ "+\t\t\treg = <0xb2000 0x1000>;\n"
+ "+\t\t\tinterrupt-parent = <&vic0>;\n"
+ "+\t\t\tinterrupts = <16>;\n"
+ "+\t\t};\n"
+ " \t};\n"
+ " };\n"
+ "Index: b/arch/arm/Kconfig.debug\n"
+ "===================================================================\n"
+ "--- a/arch/arm/Kconfig.debug\n"
+ "+++ b/arch/arm/Kconfig.debug\n"
+ "@@ -89,6 +89,18 @@ choice\n"
+ " \t\tbool \"Kernel low-level debugging on 9263 and 9g45\"\n"
+ " \t\tdepends on HAVE_AT91_DBGU1\n"
+ " \n"
+ "+\tconfig DEBUG_BCM476X_UART0\n"
+ "+\t\tdepends on ARCH_BCM476X\n"
+ "+\t\tbool \"Kernel low-level debugging on BCM476x UART 0\"\n"
+ "+\n"
+ "+\tconfig DEBUG_BCM476X_UART1\n"
+ "+\t\tdepends on ARCH_BCM476X\n"
+ "+\t\tbool \"Kernel low-level debugging on BCM476x UART 1\"\n"
+ "+\n"
+ "+\tconfig DEBUG_BCM476X_UART2\n"
+ "+\t\tdepends on ARCH_BCM476X\n"
+ "+\t\tbool \"Kernel low-level debugging on BCM476x UART 2\"\n"
+ "+\n"
+ " \tconfig DEBUG_CLPS711X_UART1\n"
+ " \t\tbool \"Kernel low-level debugging messages via UART1\"\n"
+ " \t\tdepends on ARCH_CLPS711X\n"
+ "@@ -404,6 +416,8 @@ endchoice\n"
+ " \n"
+ " config DEBUG_LL_INCLUDE\n"
+ " \tstring\n"
+ "+\tdefault \"debug/bcm476x.S\" if DEBUG_BCM476X_UART0 || \\\n"
+ "+\t\tDEBUG_BCM476X_UART1 || DEBUG_BCM476X_UART2\n"
+ " \tdefault \"debug/icedcc.S\" if DEBUG_ICEDCC\n"
+ " \tdefault \"debug/highbank.S\" if DEBUG_HIGHBANK_UART\n"
+ " \tdefault \"debug/mvebu.S\" if DEBUG_MVEBU_UART\n"
+ "@@ -416,6 +430,8 @@ config DEBUG_LL_INCLUDE\n"
+ " \n"
+ " config UNCOMPRESS_INCLUDE\n"
+ " \tstring\n"
+ "+\tdefault \"debug/bcm476x-uncompress.h\" if DEBUG_BCM476X_UART0 || \\\n"
+ "+\t\tDEBUG_BCM476X_UART1 || DEBUG_BCM476X_UART2\n"
+ " \tdefault \"debug/icedcc-uncompress.h\" if DEBUG_ICEDCC\n"
+ " \tdefault \"debug/mvebu-uncompress.h\" if DEBUG_MVEBU_UART\n"
+ " \tdefault \"debug/tegra-uncompress.h\" if DEBUG_TEGRA_UART"
 
-80932e719fd5b887b3f8a4c586cdce3c3584cd153b7614c5e3dacd0609ca889b
+f829d9e4d29a7c7eaf942dc64a7816d3bdc7b98573c050c270ccee9bc0d22286

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.