* [PATCH v3 0/7] arm: mediatek: Add more basic features
@ 2014-09-09 16:50 Matthias Brugger
[not found] ` <1410281464-9587-1-git-send-email-matthias.bgg-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
` (6 more replies)
0 siblings, 7 replies; 8+ messages in thread
From: Matthias Brugger @ 2014-09-09 16:50 UTC (permalink / raw)
To: linux-kernel-u79uwXL29TY76Z2rM5mHXA
Cc: linux-lFZ/pmaqli7XmaaqVzeoHQ, robh+dt-DgEjT+Ai2ygdnm+yROfE0A,
pawel.moll-5wv7dgnIgG8, mark.rutland-5wv7dgnIgG8,
ijc+devicetree-KcIKpvwj1kUDXYZnReoRVg,
galak-sgV2jX0FEOL9JmXXK+q4OQ, olof-nZhT3qVonbNeoWH0uzbU5w,
arnd-r2nGTMty4D4, jason-NLaQJdtUoK4Be96aLqz0jA,
thomas.petazzoni-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8,
swarren-DDmLM1+adcrQT0dZR+AlfA,
sebastian.hesselbarth-Re5JQEeQqe8AvxtiuMwx3w, stefan-XLVq0VzYD2Y,
maxime.ripard-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8,
matthias.bgg-Re5JQEeQqe8AvxtiuMwx3w, anders.berg-M7mHMAq9Yzo,
linus.walleij-QSEj5FYQhm4dnm+yROfE0A,
lee.jones-QSEj5FYQhm4dnm+yROfE0A, heiko-4mtYJXux2i+zQB+pC5nmwQ,
srv_yingjoe.chen-NuS5LvNUpcJWk0Htik3J/w,
devicetree-u79uwXL29TY76Z2rM5mHXA,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r
This patch set adds some minor changes to the Mediatek mt6589 support.
Features are low-level debugging on the mt6589, the addition to the
"make dtbs" and multi_v7_defconfig, earlyprintk suppport, as well as a small
changes in the DTS files.
The patch set is based on v3.17-rc1
Changes for v3:
- drop quirk to enable ARM arch timer
Changes for v2:
- rebased on v3.17-rc1
- add patch for the compatible property of aquaris5
- add patch setting GIC compatible string to new "arm,cortex-a7-gic"
- set ARM arch timer frequency in DTS
---
Matthias Brugger (7):
arm: dts: Build dtb for Mediatek board
arm: multi_v7_defconfig: Enable Mediatek platform
arm: dts: mt6589: Fix typo in GIC unit address
arm: mediatek: Add earlyprintk support for mt6589
arm: dts: mt6589-aquaris5: Add boot argument earlyprintk
arm: dts: mediatek: Add compatible property for aquaris5
arm: dts: mt6589: Change compatible string for GIC
Documentation/devicetree/bindings/arm/mediatek.txt | 6 ++++++
arch/arm/Kconfig.debug | 10 ++++++++++
arch/arm/boot/dts/Makefile | 1 +
arch/arm/boot/dts/mt6589-aquaris5.dts | 5 +++++
arch/arm/boot/dts/mt6589.dtsi | 4 ++--
arch/arm/configs/multi_v7_defconfig | 1 +
6 files changed, 25 insertions(+), 2 deletions(-)
--
1.9.1
--
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] 8+ messages in thread
* [PATCH v3 1/7] arm: dts: Build dtb for Mediatek board
[not found] ` <1410281464-9587-1-git-send-email-matthias.bgg-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
@ 2014-09-09 16:50 ` Matthias Brugger
0 siblings, 0 replies; 8+ messages in thread
From: Matthias Brugger @ 2014-09-09 16:50 UTC (permalink / raw)
To: linux-kernel-u79uwXL29TY76Z2rM5mHXA
Cc: linux-lFZ/pmaqli7XmaaqVzeoHQ, robh+dt-DgEjT+Ai2ygdnm+yROfE0A,
pawel.moll-5wv7dgnIgG8, mark.rutland-5wv7dgnIgG8,
ijc+devicetree-KcIKpvwj1kUDXYZnReoRVg,
galak-sgV2jX0FEOL9JmXXK+q4OQ, olof-nZhT3qVonbNeoWH0uzbU5w,
arnd-r2nGTMty4D4, jason-NLaQJdtUoK4Be96aLqz0jA,
thomas.petazzoni-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8,
swarren-DDmLM1+adcrQT0dZR+AlfA,
sebastian.hesselbarth-Re5JQEeQqe8AvxtiuMwx3w, stefan-XLVq0VzYD2Y,
maxime.ripard-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8,
matthias.bgg-Re5JQEeQqe8AvxtiuMwx3w, anders.berg-M7mHMAq9Yzo,
linus.walleij-QSEj5FYQhm4dnm+yROfE0A,
lee.jones-QSEj5FYQhm4dnm+yROfE0A, heiko-4mtYJXux2i+zQB+pC5nmwQ,
srv_yingjoe.chen-NuS5LvNUpcJWk0Htik3J/w,
devicetree-u79uwXL29TY76Z2rM5mHXA,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r
This allows the "make dtbs" to build the aquaris5 dtb for the Mediatek
SoC.
Signed-off-by: Matthias Brugger <matthias.bgg-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
---
arch/arm/boot/dts/Makefile | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
index b8c5cd3..055b20c 100644
--- a/arch/arm/boot/dts/Makefile
+++ b/arch/arm/boot/dts/Makefile
@@ -491,6 +491,7 @@ dtb-$(CONFIG_MACH_DOVE) += dove-cm-a510.dtb \
dove-d2plug.dtb \
dove-d3plug.dtb \
dove-dove-db.dtb
+dtb-$(CONFIG_ARCH_MEDIATEK) += mt6589-aquaris5.dtb
targets += dtbs dtbs_install
targets += $(dtb-y)
--
1.9.1
--
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 related [flat|nested] 8+ messages in thread
* [PATCH v3 2/7] arm: multi_v7_defconfig: Enable Mediatek platform
2014-09-09 16:50 [PATCH v3 0/7] arm: mediatek: Add more basic features Matthias Brugger
[not found] ` <1410281464-9587-1-git-send-email-matthias.bgg-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
@ 2014-09-09 16:50 ` Matthias Brugger
2014-09-09 16:51 ` [PATCH v3 3/7] arm: dts: mt6589: Fix typo in GIC unit address Matthias Brugger
` (4 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: Matthias Brugger @ 2014-09-09 16:50 UTC (permalink / raw)
To: linux-kernel
Cc: linux, robh+dt, pawel.moll, mark.rutland, ijc+devicetree, galak,
olof, arnd, jason, thomas.petazzoni, swarren,
sebastian.hesselbarth, stefan, maxime.ripard, matthias.bgg,
anders.berg, linus.walleij, lee.jones, heiko, srv_yingjoe.chen,
devicetree, linux-arm-kernel
Enable Mediatek platform support for multi_v7_defconfig.
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
---
arch/arm/configs/multi_v7_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/configs/multi_v7_defconfig b/arch/arm/configs/multi_v7_defconfig
index 5fb95fb..4c08101 100644
--- a/arch/arm/configs/multi_v7_defconfig
+++ b/arch/arm/configs/multi_v7_defconfig
@@ -42,6 +42,7 @@ CONFIG_SOC_AM33XX=y
CONFIG_SOC_AM43XX=y
CONFIG_SOC_DRA7XX=y
CONFIG_ARCH_QCOM=y
+CONFIG_ARCH_MEDIATEK=y
CONFIG_ARCH_MSM8X60=y
CONFIG_ARCH_MSM8960=y
CONFIG_ARCH_MSM8974=y
--
1.9.1
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [PATCH v3 3/7] arm: dts: mt6589: Fix typo in GIC unit address
2014-09-09 16:50 [PATCH v3 0/7] arm: mediatek: Add more basic features Matthias Brugger
[not found] ` <1410281464-9587-1-git-send-email-matthias.bgg-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2014-09-09 16:50 ` [PATCH v3 2/7] arm: multi_v7_defconfig: Enable Mediatek platform Matthias Brugger
@ 2014-09-09 16:51 ` Matthias Brugger
2014-09-09 16:51 ` [PATCH v3 4/7] arm: mediatek: Add earlyprintk support for mt6589 Matthias Brugger
` (3 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: Matthias Brugger @ 2014-09-09 16:51 UTC (permalink / raw)
To: linux-kernel
Cc: mark.rutland, heiko, anders.berg, linus.walleij, stefan,
lee.jones, linux, pawel.moll, srv_yingjoe.chen,
sebastian.hesselbarth, devicetree, jason, arnd, ijc+devicetree,
robh+dt, matthias.bgg, swarren, linux-arm-kernel,
thomas.petazzoni, galak, olof, maxime.ripard
This changes the unit address of the gic node to it's first register area.
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
---
arch/arm/boot/dts/mt6589.dtsi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/boot/dts/mt6589.dtsi b/arch/arm/boot/dts/mt6589.dtsi
index d0297a0..742c9bd 100644
--- a/arch/arm/boot/dts/mt6589.dtsi
+++ b/arch/arm/boot/dts/mt6589.dtsi
@@ -81,7 +81,7 @@
clock-names = "system-clk", "rtc-clk";
};
- gic: interrupt-controller@10212000 {
+ gic: interrupt-controller@10211000 {
compatible = "arm,cortex-a15-gic";
interrupt-controller;
#interrupt-cells = <3>;
--
1.9.1
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [PATCH v3 4/7] arm: mediatek: Add earlyprintk support for mt6589
2014-09-09 16:50 [PATCH v3 0/7] arm: mediatek: Add more basic features Matthias Brugger
` (2 preceding siblings ...)
2014-09-09 16:51 ` [PATCH v3 3/7] arm: dts: mt6589: Fix typo in GIC unit address Matthias Brugger
@ 2014-09-09 16:51 ` Matthias Brugger
2014-09-09 16:51 ` [PATCH v3 5/7] arm: dts: mt6589-aquaris5: Add boot argument earlyprintk Matthias Brugger
` (2 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: Matthias Brugger @ 2014-09-09 16:51 UTC (permalink / raw)
To: linux-kernel
Cc: linux, robh+dt, pawel.moll, mark.rutland, ijc+devicetree, galak,
olof, arnd, jason, thomas.petazzoni, swarren,
sebastian.hesselbarth, stefan, maxime.ripard, matthias.bgg,
anders.berg, linus.walleij, lee.jones, heiko, srv_yingjoe.chen,
devicetree, linux-arm-kernel
Enable low-level debug for Mediatek mt6589 SoC on UART0.
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
---
arch/arm/Kconfig.debug | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/arch/arm/Kconfig.debug b/arch/arm/Kconfig.debug
index b11ad54..cfdd1c0 100644
--- a/arch/arm/Kconfig.debug
+++ b/arch/arm/Kconfig.debug
@@ -834,6 +834,14 @@ choice
Say Y here if you want kernel low-level debugging support
on Ux500 based platforms.
+ config DEBUG_MT6589_UART0
+ bool "Mediatek mt6589 UART0"
+ depends on ARCH_MEDIATEK
+ select DEBUG_UART_8250
+ help
+ Say Y here if you want kernel low-level debugging support
+ for Mediatek mt6589 based platforms on UART0.
+
config DEBUG_VEXPRESS_UART0_DETECT
bool "Autodetect UART0 on Versatile Express Cortex-A core tiles"
depends on ARCH_VEXPRESS && CPU_CP15_MMU
@@ -1075,6 +1083,7 @@ config DEBUG_UART_PHYS
default 0x10126000 if DEBUG_RK3X_UART1
default 0x101f1000 if ARCH_VERSATILE
default 0x101fb000 if DEBUG_NOMADIK_UART
+ default 0x11006000 if DEBUG_MT6589_UART0
default 0x16000000 if ARCH_INTEGRATOR
default 0x18000300 if DEBUG_BCM_5301X
default 0x1c090000 if DEBUG_VEXPRESS_UART0_RS1
@@ -1137,6 +1146,7 @@ config DEBUG_UART_VIRT
default 0xf01fb000 if DEBUG_NOMADIK_UART
default 0xf0201000 if DEBUG_BCM2835
default 0xf1000300 if DEBUG_BCM_5301X
+ default 0xf1006000 if DEBUG_MT6589_UART0
default 0xf11f1000 if ARCH_VERSATILE
default 0xf1600000 if ARCH_INTEGRATOR
default 0xf1c28000 if DEBUG_SUNXI_UART0
--
1.9.1
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [PATCH v3 5/7] arm: dts: mt6589-aquaris5: Add boot argument earlyprintk
2014-09-09 16:50 [PATCH v3 0/7] arm: mediatek: Add more basic features Matthias Brugger
` (3 preceding siblings ...)
2014-09-09 16:51 ` [PATCH v3 4/7] arm: mediatek: Add earlyprintk support for mt6589 Matthias Brugger
@ 2014-09-09 16:51 ` Matthias Brugger
2014-09-09 16:51 ` [PATCH v3 6/7] arm: dts: mediatek: Add compatible property for aquaris5 Matthias Brugger
2014-09-09 16:51 ` [PATCH v3 7/7] arm: dts: mt6589: Change compatible string for GIC Matthias Brugger
6 siblings, 0 replies; 8+ messages in thread
From: Matthias Brugger @ 2014-09-09 16:51 UTC (permalink / raw)
To: linux-kernel
Cc: linux, robh+dt, pawel.moll, mark.rutland, ijc+devicetree, galak,
olof, arnd, jason, thomas.petazzoni, swarren,
sebastian.hesselbarth, stefan, maxime.ripard, matthias.bgg,
anders.berg, linus.walleij, lee.jones, heiko, srv_yingjoe.chen,
devicetree, linux-arm-kernel
Add boot argument for earlyprintk to the aquaris5 device tree file.
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
---
arch/arm/boot/dts/mt6589-aquaris5.dts | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/arch/arm/boot/dts/mt6589-aquaris5.dts b/arch/arm/boot/dts/mt6589-aquaris5.dts
index 443b446..74cb1ba 100644
--- a/arch/arm/boot/dts/mt6589-aquaris5.dts
+++ b/arch/arm/boot/dts/mt6589-aquaris5.dts
@@ -19,6 +19,10 @@
/ {
model = "bq Aquaris5";
+ chosen {
+ bootargs = "earlyprintk";
+ };
+
memory {
reg = <0x80000000 0x40000000>;
};
--
1.9.1
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [PATCH v3 6/7] arm: dts: mediatek: Add compatible property for aquaris5
2014-09-09 16:50 [PATCH v3 0/7] arm: mediatek: Add more basic features Matthias Brugger
` (4 preceding siblings ...)
2014-09-09 16:51 ` [PATCH v3 5/7] arm: dts: mt6589-aquaris5: Add boot argument earlyprintk Matthias Brugger
@ 2014-09-09 16:51 ` Matthias Brugger
2014-09-09 16:51 ` [PATCH v3 7/7] arm: dts: mt6589: Change compatible string for GIC Matthias Brugger
6 siblings, 0 replies; 8+ messages in thread
From: Matthias Brugger @ 2014-09-09 16:51 UTC (permalink / raw)
To: linux-kernel
Cc: linux, robh+dt, pawel.moll, mark.rutland, ijc+devicetree, galak,
olof, arnd, jason, thomas.petazzoni, swarren,
sebastian.hesselbarth, stefan, maxime.ripard, matthias.bgg,
anders.berg, linus.walleij, lee.jones, heiko, srv_yingjoe.chen,
devicetree, linux-arm-kernel
Add the missing 'compatible' property to device tree root node of
- mt6589-aquaris5.dts
and document the new values.
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
---
Documentation/devicetree/bindings/arm/mediatek.txt | 6 ++++++
arch/arm/boot/dts/mt6589-aquaris5.dts | 1 +
2 files changed, 7 insertions(+)
diff --git a/Documentation/devicetree/bindings/arm/mediatek.txt b/Documentation/devicetree/bindings/arm/mediatek.txt
index d6ac71f..fa25226 100644
--- a/Documentation/devicetree/bindings/arm/mediatek.txt
+++ b/Documentation/devicetree/bindings/arm/mediatek.txt
@@ -6,3 +6,9 @@ Required root node property:
compatible: must contain "mediatek,mt6589"
+
+Supported boards:
+
+- bq Aquaris5 smart phone:
+ Required root node properties:
+ - compatible = "mundoreader,bq-aquaris5", "mediatek,mt6589";
diff --git a/arch/arm/boot/dts/mt6589-aquaris5.dts b/arch/arm/boot/dts/mt6589-aquaris5.dts
index 74cb1ba..0da0470 100644
--- a/arch/arm/boot/dts/mt6589-aquaris5.dts
+++ b/arch/arm/boot/dts/mt6589-aquaris5.dts
@@ -18,6 +18,7 @@
/ {
model = "bq Aquaris5";
+ compatible = "mundoreader,bq-aquaris5", "mediatek,mt6589";
chosen {
bootargs = "earlyprintk";
--
1.9.1
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [PATCH v3 7/7] arm: dts: mt6589: Change compatible string for GIC
2014-09-09 16:50 [PATCH v3 0/7] arm: mediatek: Add more basic features Matthias Brugger
` (5 preceding siblings ...)
2014-09-09 16:51 ` [PATCH v3 6/7] arm: dts: mediatek: Add compatible property for aquaris5 Matthias Brugger
@ 2014-09-09 16:51 ` Matthias Brugger
6 siblings, 0 replies; 8+ messages in thread
From: Matthias Brugger @ 2014-09-09 16:51 UTC (permalink / raw)
To: linux-kernel
Cc: linux, robh+dt, pawel.moll, mark.rutland, ijc+devicetree, galak,
olof, arnd, jason, thomas.petazzoni, swarren,
sebastian.hesselbarth, stefan, maxime.ripard, matthias.bgg,
anders.berg, linus.walleij, lee.jones, heiko, srv_yingjoe.chen,
devicetree, linux-arm-kernel
This patch changes the compatible string of the GIC to the
new "arm,cortex-a7-gic" which does reflect the actual hardware.
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
---
arch/arm/boot/dts/mt6589.dtsi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/boot/dts/mt6589.dtsi b/arch/arm/boot/dts/mt6589.dtsi
index 742c9bd..e3c7600 100644
--- a/arch/arm/boot/dts/mt6589.dtsi
+++ b/arch/arm/boot/dts/mt6589.dtsi
@@ -82,7 +82,7 @@
};
gic: interrupt-controller@10211000 {
- compatible = "arm,cortex-a15-gic";
+ compatible = "arm,cortex-a7-gic";
interrupt-controller;
#interrupt-cells = <3>;
reg = <0x10211000 0x1000>,
--
1.9.1
^ permalink raw reply related [flat|nested] 8+ messages in thread
end of thread, other threads:[~2014-09-09 16:51 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-09 16:50 [PATCH v3 0/7] arm: mediatek: Add more basic features Matthias Brugger
[not found] ` <1410281464-9587-1-git-send-email-matthias.bgg-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2014-09-09 16:50 ` [PATCH v3 1/7] arm: dts: Build dtb for Mediatek board Matthias Brugger
2014-09-09 16:50 ` [PATCH v3 2/7] arm: multi_v7_defconfig: Enable Mediatek platform Matthias Brugger
2014-09-09 16:51 ` [PATCH v3 3/7] arm: dts: mt6589: Fix typo in GIC unit address Matthias Brugger
2014-09-09 16:51 ` [PATCH v3 4/7] arm: mediatek: Add earlyprintk support for mt6589 Matthias Brugger
2014-09-09 16:51 ` [PATCH v3 5/7] arm: dts: mt6589-aquaris5: Add boot argument earlyprintk Matthias Brugger
2014-09-09 16:51 ` [PATCH v3 6/7] arm: dts: mediatek: Add compatible property for aquaris5 Matthias Brugger
2014-09-09 16:51 ` [PATCH v3 7/7] arm: dts: mt6589: Change compatible string for GIC Matthias Brugger
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).