Skip to contentSkip to conversation

arm: Add basic support for Mediatek Cortex-A7 SoCs

PATCH In review Matthias Brugger 4 participants 13 messages Jul 7, 2014 – Jul 21, 2014

Subsystems (7)
lore
Share & tools
lore

Matthias Brugger

author maintainer
#0 lore raw

v10 cover arm: Add basic support for Mediatek Cortex-A7 SoCs

Tenth round for the Mediatek basic support patches.

The main change is the return of IOMEM_ERR_PTR in case of error in of_io_request_and_map.
The call follows the same logic as devm_ioremap_resource.

For the changes of the of_io_request_and_map patch I deleted the ack from Grant Likely, as the patch changes significantly. In the case of the dt bindings for the timer I left the ack lines from Soeren and Rob. I hope there is no problem with that.

---
This patch set adds basic support for the Mediatek Cortex-A7 SoCs. Support is quite basic, as the only component working up to now are the timers.

The patch series is build against tag v3.16-rc1 from torvalds/master tree.

Changes for v10:
1. OF address
- return IOMEM_ERR_PTR in case of error

2. clocksource timer
- check for IS_ERR when calling of_io_request_and_map

3. clocksource DT binding
- remove clock-names property

Changes for v9:
- rebase against tip branch

Changes for v8:
1. OF address
- fix style issue

2. clocksource driver
- fix style issue

3. Basic SoC support
- define the clock node as a simple-bus
- delete unused clock-ranges

Changes for v7:
1. OF address
- add of_io_request_and_map

2. Clocksource timer
- use pr_warnings and error handling instead of panic
- fix macro parentheses
- use of_io_request_and_map

3. Others
- rename SoC DT bindings to mediatek.txt
- fixed typos

Changes for v6:
- fix compatible string of the timer
- encapsulate timer setup in function
- add more information to the timer commit message
- add address in timer DTS bindings documentation

Changes for v5:
1. Clocksource timer
- Change the compatible string to mt6577

2. Timer DT bindings
- Change compatible string to mt6577

Changes for v4:
1. Clocksource timer
- use cpu_possible_mask

2. Timer DT bindings
- Delete comments about the frequency of the clocks
- Add clock-names for the input clocks

3. Basic SoC support
- add clock-names for the timer
- rename the label of the clocks nodes

Changes for v3:
1. Clocksource timer
- Set cpu_mask_all and irq in clock_event_device
- Use device private structure for driver specific values

2. Timer DT bindings
- Define order of the clock phandles
- Fix typos

3. Basic SoC support
- DTS: set gic to a15-gic
- DTS: order by physical address
- Remove call to dt_init function

Changes for v2:
1. Clocksource timer
- Delete unused parts for sched_clock_source
- Use irq_request instead of setup_irq
- Remove unused SMP parts
- Fix some style issues
- use of_address_to resource and request_mem_region
- delete use of named clock
- select CLKSRC_MMIO in driver Kconfig

2. DT bindings
- delete named clock bindings

3. Basic SoC support
- Clean-up Kconfig
- Add documentation of the SoC compatible property
- DTS: rename SoC file to mt6589.dts
- DTS: Delete not present cache controller
- DTS: Add missing GICv2 properties
- DTS: Change clock names
- DTS: Add Aquaris5 board

4. Add earlyprintk
- patch droped until serial driver is available

5. Add support for Aquaris5 mobile phone

Matthias Brugger (7):
of: Provide function to request and map memory
clocksource: Add support for the Mediatek SoCs
dt-bindings: add mtk-timer bindings
vendor-prefixes: add prefix for Mediatek Inc.
arm: add basic support for Mediatek MT6589 boards
dt-bindings: add documentation for Mediatek SoC
arm: mediatek: add dts for Aquaris5 mobile phone

 Documentation/devicetree/bindings/arm/mediatek.txt |    8 +
 .../bindings/timer/mediatek,mtk-timer.txt          |   17 ++
 .../devicetree/bindings/vendor-prefixes.txt        |    1 +
 arch/arm/Kconfig                                   |    2 +
 arch/arm/Makefile                                  |    1 +
 arch/arm/boot/dts/mt6589-aquaris5.dts              |   25 ++
 arch/arm/boot/dts/mt6589.dtsi                      |   94 +++++++
 arch/arm/mach-mediatek/Kconfig                     |    6 +
 arch/arm/mach-mediatek/Makefile                    |    1 +
 arch/arm/mach-mediatek/mediatek.c                  |   27 ++
 drivers/clocksource/Kconfig                        |    5 +
 drivers/clocksource/Makefile                       |    1 +
 drivers/clocksource/mtk_timer.c                    |  261 ++++++++++++++++++++
 drivers/of/address.c                               |   36 +++
 include/linux/io.h                                 |    2 +
 include/linux/of_address.h                         |   11 +
 lib/devres.c                                       |    2 -
 17 files changed, 498 insertions(+), 2 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/arm/mediatek.txt
 create mode 100644 Documentation/devicetree/bindings/timer/mediatek,mtk-timer.txt
 create mode 100644 arch/arm/boot/dts/mt6589-aquaris5.dts
 create mode 100644 arch/arm/boot/dts/mt6589.dtsi
 create mode 100644 arch/arm/mach-mediatek/Kconfig
 create mode 100644 arch/arm/mach-mediatek/Makefile
 create mode 100644 arch/arm/mach-mediatek/mediatek.c
 create mode 100644 drivers/clocksource/mtk_timer.c
Signature · 1 line
1.7.9.5
author maintainer
#1 lore raw

PATCH v10 1/7 of: Provide function to request and map memory

A call to of_iomap does not request the memory region. This patch adds the function of_io_request_and_map which requests the memory region before mapping it.

---
 drivers/of/address.c       |   36 ++++++++++++++++++++++++++++++++++++
 include/linux/io.h         |    2 ++
 include/linux/of_address.h |   11 +++++++++++
 lib/devres.c               |    2 --
 4 files changed, 49 insertions(+), 2 deletions(-)
drivers/of/address.c +36 -0
index 5edfcb0..e371825 100644
@@ -702,6 +702,42 @@ void __iomem *of_iomap(struct device_node *np, int index)
 }
 EXPORT_SYMBOL(of_iomap);
 
+/*
+ * of_io_request_and_map - Requests a resource and maps the memory mapped IO
+ *			   for a given device_node
+ * @device:	the device whose io range will be mapped
+ * @index:	index of the io range
+ * @name:	name of the resource
+ *
+ * Returns a pointer to the requested and mapped memory or an ERR_PTR() encoded
+ * error code on failure. Usage example:
+ *
+ *	base = of_io_request_and_map(node, 0, "foo");
+ *	if (IS_ERR(base))
+ *		return PTR_ERR(base);
+ */
+void __iomem *of_io_request_and_map(struct device_node *np, int index,
+					char *name)
+{
+	struct resource res;
+	void __iomem *mem;
+
+	if (of_address_to_resource(np, index, &res))
+		return IOMEM_ERR_PTR(-EINVAL);
+
+	if (!request_mem_region(res.start, resource_size(&res), name))
+		return IOMEM_ERR_PTR(-EBUSY);
+
+	mem = ioremap(res.start, resource_size(&res));
+	if (!mem) {
+		release_mem_region(res.start, resource_size(&res));
+		return IOMEM_ERR_PTR(-ENOMEM);
+	}
+
+	return mem;
+}
+EXPORT_SYMBOL(of_io_request_and_map);
+
 /**
  * of_dma_get_range - Get DMA range info
  * @np:		device node to get DMA range info
include/linux/io.h +2 -0
index b76e6e5..d5fc9b8 100644
@@ -58,6 +58,8 @@ static inline void devm_ioport_unmap(struct device *dev, void __iomem *addr)
 }
 #endif
 
+#define IOMEM_ERR_PTR(err) (__force void __iomem *)ERR_PTR(err)
+
 void __iomem *devm_ioremap(struct device *dev, resource_size_t offset,
 			    unsigned long size);
 void __iomem *devm_ioremap_nocache(struct device *dev, resource_size_t offset,
include/linux/of_address.h +11 -0
index c13b878..fb7b722 100644
@@ -109,7 +109,12 @@ static inline bool of_dma_is_coherent(struct device_node *np)
 extern int of_address_to_resource(struct device_node *dev, int index,
 				  struct resource *r);
 void __iomem *of_iomap(struct device_node *node, int index);
+void __iomem *of_io_request_and_map(struct device_node *device,
+					int index, char *name);
 #else
+
+#include <linux/io.h>
+
 static inline int of_address_to_resource(struct device_node *dev, int index,
 					 struct resource *r)
 {
@@ -120,6 +125,12 @@ static inline void __iomem *of_iomap(struct device_node *device, int index)
 {
 	return NULL;
 }
+
+static inline void __iomem *of_io_request_and_map(struct device_node *device,
+					int index, char *name)
+{
+	return IOMEM_ERR_PTR(-EINVAL);
+}
 #endif
 
 #if defined(CONFIG_OF_ADDRESS) && defined(CONFIG_PCI)
lib/devres.c +0 -2
index f562bf6..bb63248 100644
@@ -86,8 +86,6 @@ void devm_iounmap(struct device *dev, void __iomem *addr)
 }
 EXPORT_SYMBOL(devm_iounmap);
 
-#define IOMEM_ERR_PTR(err) (__force void __iomem *)ERR_PTR(err)
-
 /**
  * devm_ioremap_resource() - check, request region, and ioremap resource
  * @dev: generic device to handle the resource for
Signature · 1 line
1.7.9.5
author maintainer
#3 lore raw

PATCH v10 2/7 clocksource: Add support for the Mediatek SoCs

In reply to Matthias Brugger

This patch adds a clock source and clock event for the timer found on the Mediatek SoCs.

The Mediatek General Purpose Timer block provides five 32 bit timers and one 64 bit timer.

Two 32 bit timers are used by this driver:
TIMER1: clock events supporting periodic and oneshot events
TIMER2: clock source configured as a free running counter

The General Purpose Timer block can be run with two clocks. A 13 MHz system clock and the RTC clock running at 32 KHz. This implementation uses the system clock with no clock source divider.

The interrupts are shared between the different timers and have to be read back from a register. We just enable one interrupt for the clock event. The clock event timer is used by all cores.

---
 drivers/clocksource/Kconfig     |    5 +
 drivers/clocksource/Makefile    |    1 +
 drivers/clocksource/mtk_timer.c |  261 +++++++++++++++++++++++++++++++++++++++
 3 files changed, 267 insertions(+)
 create mode 100644 drivers/clocksource/mtk_timer.c
drivers/clocksource/Kconfig +5 -0
index 065131c..1e2fdf0 100644
@@ -149,6 +149,11 @@ config VF_PIT_TIMER
 config SYS_SUPPORTS_SH_CMT
         bool
 
+config MTK_TIMER
+	select CLKSRC_OF
+	select CLKSRC_MMIO
+	bool
+
 config SYS_SUPPORTS_SH_MTU2
         bool
 
drivers/clocksource/Makefile +1 -0
index 800b130..da1ac09 100644
@@ -34,6 +34,7 @@ obj-$(CONFIG_CLKSRC_SAMSUNG_PWM)	+= samsung_pwm_timer.o
 obj-$(CONFIG_FSL_FTM_TIMER)	+= fsl_ftm_timer.o
 obj-$(CONFIG_VF_PIT_TIMER)	+= vf_pit_timer.o
 obj-$(CONFIG_CLKSRC_QCOM)	+= qcom-timer.o
+obj-$(CONFIG_MTK_TIMER)		+= mtk_timer.o
 
 obj-$(CONFIG_ARM_ARCH_TIMER)		+= arm_arch_timer.o
 obj-$(CONFIG_ARM_GLOBAL_TIMER)		+= arm_global_timer.o
drivers/clocksource/mtk_timer.c new file +261 -0

261 lines not on this page · raw message

Signature · 1 line
1.7.9.5
author maintainer
#4 lore raw

PATCH v10 3/7 dt-bindings: add mtk-timer bindings

In reply to Matthias Brugger

Add binding documentation for the General Porpose Timer driver of the Mediatek SoCs.

---
 .../bindings/timer/mediatek,mtk-timer.txt          |   17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/timer/mediatek,mtk-timer.txt
Documentation/devicetree/bindings/timer/mediatek,mtk-timer.txt new file +17 -0
new file mode 100644
index 0000000..7c4408f
@@ -0,0 +1,17 @@
+Mediatek MT6577, MT6572 and MT6589 Timers
+---------------------------------------
+
+Required properties:
+- compatible: Should be "mediatek,mt6577-timer"
+- reg: Should contain location and length for timers register.
+- clocks: Clocks driving the timer hardware. This list should include two
+	clocks. The order is system clock and as second clock the RTC clock.
+
+Examples:
+
+	timer at 10008000 {
+		compatible = "mediatek,mt6577-timer";
+		reg = <0x10008000 0x80>;
+		interrupts = <GIC_SPI 113 IRQ_TYPE_LEVEL_LOW>;
+		clocks = <&system_clk>, <&rtc_clk>;
+	};
Signature · 1 line
1.7.9.5
author maintainer
#5 lore raw

PATCH v10 4/7 vendor-prefixes: add prefix for Mediatek Inc.

In reply to Matthias Brugger
---
 .../devicetree/bindings/vendor-prefixes.txt        |    1 +
 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/vendor-prefixes.txt +1 -0
index 4d7f375..d819d8d 100644
@@ -77,6 +77,7 @@ lsi	LSI Corp. (LSI Logic)
 lltc	Linear Technology Corporation
 marvell	Marvell Technology Group Ltd.
 maxim	Maxim Integrated Products
+mediatek	MediaTek Inc.
 micrel	Micrel Inc.
 microchip	Microchip Technology Inc.
 mosaixtech	Mosaix Technologies, Inc.
Signature · 1 line
1.7.9.5
author maintainer
#6 lore raw

PATCH v10 5/7 arm: add basic support for Mediatek MT6589 boards

In reply to Matthias Brugger

This adds a generic devicetree board file and a dtsi for boards based on MT6589 SoCs from Mediatek.

Apart from the generic parts (gic, clocks) the only component currently supported are the timers.

---
 arch/arm/Kconfig                  |    2 +
 arch/arm/Makefile                 |    1 +
 arch/arm/boot/dts/mt6589.dtsi     |   94 +++++++++++++++++++++++++++++++++++++
 arch/arm/mach-mediatek/Kconfig    |    6 +++
 arch/arm/mach-mediatek/Makefile   |    1 +
 arch/arm/mach-mediatek/mediatek.c |   27 +++++++++++
 6 files changed, 131 insertions(+)
 create mode 100644 arch/arm/boot/dts/mt6589.dtsi
 create mode 100644 arch/arm/mach-mediatek/Kconfig
 create mode 100644 arch/arm/mach-mediatek/Makefile
 create mode 100644 arch/arm/mach-mediatek/mediatek.c
arch/arm/Kconfig +2 -0
index 87b63fd..845c12d 100644
@@ -978,6 +978,8 @@ source "arch/arm/mach-mv78xx0/Kconfig"
 
 source "arch/arm/mach-imx/Kconfig"
 
+source "arch/arm/mach-mediatek/Kconfig"
+
 source "arch/arm/mach-mxs/Kconfig"
 
 source "arch/arm/mach-netx/Kconfig"
arch/arm/Makefile +1 -0
index 6721fab..1895de2 100644
@@ -172,6 +172,7 @@ machine-$(CONFIG_ARCH_MSM)		+= msm
 machine-$(CONFIG_ARCH_MV78XX0)		+= mv78xx0
 machine-$(CONFIG_ARCH_MVEBU)		+= mvebu
 machine-$(CONFIG_ARCH_MXC)		+= imx
+machine-$(CONFIG_ARCH_MEDIATEK)		+= mediatek
 machine-$(CONFIG_ARCH_MXS)		+= mxs
 machine-$(CONFIG_ARCH_NETX)		+= netx
 machine-$(CONFIG_ARCH_NOMADIK)		+= nomadik
arch/arm/boot/dts/mt6589.dtsi new file +94 -0

94 lines not on this page · raw message

arch/arm/mach-mediatek/Kconfig new file +6 -0
new file mode 100644
index 0000000..2c043a2
@@ -0,0 +1,6 @@
+config ARCH_MEDIATEK
+	bool "Mediatek MT6589 SoC" if ARCH_MULTI_V7
+	select ARM_GIC
+	select MTK_TIMER
+	help
+	  Support for Mediatek Cortex-A7 Quad-Core-SoC MT6589.
arch/arm/mach-mediatek/Makefile new file +1 -0
new file mode 100644
index 0000000..43e619f
@@ -0,0 +1 @@
+obj-$(CONFIG_ARCH_MEDIATEK) += mediatek.o
arch/arm/mach-mediatek/mediatek.c new file +27 -0
new file mode 100644
index 0000000..f2acf07
@@ -0,0 +1,27 @@
+/*
+ * Device Tree support for Mediatek SoCs
+ *
+ * Copyright (c) 2014 MundoReader S.L.
+ * Author: Matthias Brugger <[email protected]>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ */
+#include <linux/init.h>
+#include <asm/mach/arch.h>
+
+static const char * const mediatek_board_dt_compat[] = {
+	"mediatek,mt6589",
+	NULL,
+};
+
+DT_MACHINE_START(MEDIATEK_DT, "Mediatek Cortex-A7 (Device Tree)")
+	.dt_compat	= mediatek_board_dt_compat,
+MACHINE_END
Signature · 1 line
1.7.9.5
author maintainer
#11 lore raw

PATCH v10 6/7 dt-bindings: add documentation for Mediatek SoC

In reply to Matthias Brugger

This adds a DT binding documentation for the MT6589 SoC from Mediatek.

---
 Documentation/devicetree/bindings/arm/mediatek.txt |    8 ++++++++
 1 file changed, 8 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/arm/mediatek.txt
Documentation/devicetree/bindings/arm/mediatek.txt new file +8 -0
new file mode 100644
index 0000000..d6ac71f
@@ -0,0 +1,8 @@
+Mediatek MT6589 Platforms Device Tree Bindings
+
+Boards with a SoC of the Mediatek MT6589 shall have the following property:
+
+Required root node property:
+
+compatible: must contain "mediatek,mt6589"
+
Signature · 1 line
1.7.9.5
author maintainer
#12 lore raw

PATCH v10 7/7 arm: mediatek: add dts for Aquaris5 mobile phone

In reply to Matthias Brugger

The Aquaris5 is a mobile phone based on the MT6589 SoC.

---
 arch/arm/boot/dts/mt6589-aquaris5.dts |   25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)
 create mode 100644 arch/arm/boot/dts/mt6589-aquaris5.dts
arch/arm/boot/dts/mt6589-aquaris5.dts new file +25 -0
new file mode 100644
index 0000000..443b446
@@ -0,0 +1,25 @@
+/*
+ * Copyright (c) 2014 MundoReader S.L.
+ * Author: Matthias Brugger <[email protected]>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ */
+
+/dts-v1/;
+#include "mt6589.dtsi"
+
+/ {
+	model = "bq Aquaris5";
+
+	memory {
+		reg = <0x80000000 0x40000000>;
+	};
+};
Signature · 1 line
1.7.9.5
#2 lore raw

PATCH v10 1/7 of: Provide function to request and map memory

In reply to Matthias Brugger
Quoted 7 lines · Matthias Brugger

A call to of_iomap does not request the memory region. This patch adds the function of_io_request_and_map which requests the memory region before mapping it.

Quoted 113 lines
---
 drivers/of/address.c       |   36 ++++++++++++++++++++++++++++++++++++
 include/linux/io.h         |    2 ++
 include/linux/of_address.h |   11 +++++++++++
 lib/devres.c               |    2 --
 4 files changed, 49 insertions(+), 2 deletions(-)
drivers/of/address.c +36 -0
index 5edfcb0..e371825 100644
@@ -702,6 +702,42 @@ void __iomem *of_iomap(struct device_node *np, int index)
 }
 EXPORT_SYMBOL(of_iomap);
 
+/*
+ * of_io_request_and_map - Requests a resource and maps the memory mapped IO
+ *                        for a given device_node
+ * @device:    the device whose io range will be mapped
+ * @index:     index of the io range
+ * @name:      name of the resource
+ *
+ * Returns a pointer to the requested and mapped memory or an ERR_PTR() encoded
+ * error code on failure. Usage example:
+ *
+ *     base = of_io_request_and_map(node, 0, "foo");
+ *     if (IS_ERR(base))
+ *             return PTR_ERR(base);
+ */
+void __iomem *of_io_request_and_map(struct device_node *np, int index,
+                                       char *name)
+{
+       struct resource res;
+       void __iomem *mem;
+
+       if (of_address_to_resource(np, index, &res))
+               return IOMEM_ERR_PTR(-EINVAL);
+
+       if (!request_mem_region(res.start, resource_size(&res), name))
+               return IOMEM_ERR_PTR(-EBUSY);
+
+       mem = ioremap(res.start, resource_size(&res));
+       if (!mem) {
+               release_mem_region(res.start, resource_size(&res));
+               return IOMEM_ERR_PTR(-ENOMEM);
+       }
+
+       return mem;
+}
+EXPORT_SYMBOL(of_io_request_and_map);
+
 /**
  * of_dma_get_range - Get DMA range info
  * @np:                device node to get DMA range info
include/linux/io.h +2 -0
index b76e6e5..d5fc9b8 100644
@@ -58,6 +58,8 @@ static inline void devm_ioport_unmap(struct device *dev, void __iomem *addr)
 }
 #endif
 
+#define IOMEM_ERR_PTR(err) (__force void __iomem *)ERR_PTR(err)
+
 void __iomem *devm_ioremap(struct device *dev, resource_size_t offset,
                            unsigned long size);
 void __iomem *devm_ioremap_nocache(struct device *dev, resource_size_t offset,
include/linux/of_address.h +11 -0
index c13b878..fb7b722 100644
@@ -109,7 +109,12 @@ static inline bool of_dma_is_coherent(struct device_node *np)
 extern int of_address_to_resource(struct device_node *dev, int index,
                                  struct resource *r);
 void __iomem *of_iomap(struct device_node *node, int index);
+void __iomem *of_io_request_and_map(struct device_node *device,
+                                       int index, char *name);
 #else
+
+#include <linux/io.h>
+
 static inline int of_address_to_resource(struct device_node *dev, int index,
                                         struct resource *r)
 {
@@ -120,6 +125,12 @@ static inline void __iomem *of_iomap(struct device_node *device, int index)
 {
        return NULL;
 }
+
+static inline void __iomem *of_io_request_and_map(struct device_node *device,
+                                       int index, char *name)
+{
+       return IOMEM_ERR_PTR(-EINVAL);
+}
 #endif
 
 #if defined(CONFIG_OF_ADDRESS) && defined(CONFIG_PCI)
lib/devres.c +0 -3
index f562bf6..bb63248 100644
@@ -86,8 +86,6 @@ void devm_iounmap(struct device *dev, void __iomem *addr)
 }
 EXPORT_SYMBOL(devm_iounmap);
 
-#define IOMEM_ERR_PTR(err) (__force void __iomem *)ERR_PTR(err)
-
 /**
  * devm_ioremap_resource() - check, request region, and ioremap resource
  * @dev: generic device to handle the resource for
--

1.7.9.5

#7 lore raw

Re: [PATCH v10 5/7] arm: add basic support for Mediatek MT6589 boards

In reply to Matthias Brugger
Quoted 8 lines · Matthias Brugger

This adds a generic devicetree board file and a dtsi for boards based on MT6589 SoCs from Mediatek.

Apart from the generic parts (gic, clocks) the only component currently supported are the timers.

--

I will take this patchset through my tree but this patch touches an area I am not handling.

Olof, Arnd, do you mind to ack this patch ?

Thanks !

-- Daniel

Signature · 5 lines
  <http://www.linaro.org/> Linaro.org ? Open source software for ARM SoCs

Follow Linaro:  <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog
#8 lore raw

Re: [PATCH v10 5/7] arm: add basic support for Mediatek MT6589 boards

Hi Daniel,

Am Freitag, 18. Juli 2014, 11:46:51 schrieb Daniel Lezcano:

Quoted 7 lines · Matthias Brugger
Quoted 6 lines

This adds a generic devicetree board file and a dtsi for boards based on MT6589 SoCs from Mediatek.

Apart from the generic parts (gic, clocks) the only component currently supported are the timers.

Quoted 7 lines
Quoted 2 lines

--

I will take this patchset through my tree but this patch touches an area I am not handling.

Olof, Arnd, do you mind to ack this patch ?

wouldn't it be easier to just take patches 1,2,3,4 through your tree and let patches 5,6,7 go through arm-soc?

There is no compile-time dependency between the two parts, so they will come together nicely in linux-next and during the merge-window.

Also in [0] Olof wrote:

----------
Traditionally we usually take the DT changes through arm-soc, but as long as we share the branch we might be ok. We tend to stick them in different branches in our tree though, so rockchip will be a little mis-sorted this release. Not a big deal, and we can deal with it.
-----------

So I'd assume splitting the patchset this way might be a nice solution?

Heiko

[0] http://www.spinics.net/lists/arm-kernel/msg347053.html

#9 lore raw

Re: [PATCH v10 5/7] arm: add basic support for Mediatek MT6589 boards

Quoted 34 lines · Heiko St?bner

Hi Daniel,

Am Freitag, 18. Juli 2014, 11:46:51 schrieb Daniel Lezcano:

Quoted 7 lines · Matthias Brugger
Quoted 6 lines

This adds a generic devicetree board file and a dtsi for boards based on MT6589 SoCs from Mediatek.

Apart from the generic parts (gic, clocks) the only component currently supported are the timers.

Quoted 7 lines
Quoted 2 lines

--

I will take this patchset through my tree but this patch touches an area I am not handling.

Olof, Arnd, do you mind to ack this patch ?

wouldn't it be easier to just take patches 1,2,3,4 through your tree and let patches 5,6,7 go through arm-soc?

There is no compile-time dependency between the two parts, so they will come together nicely in linux-next and during the merge-window.

Also in [0] Olof wrote:

----------
Traditionally we usually take the DT changes through arm-soc, but as long as we share the branch we might be ok. We tend to stick them in different branches in our tree though, so rockchip will be a little mis-sorted this release. Not a big deal, and we can deal with it.
-----------

Quoted 7 lines

So I'd assume splitting the patchset this way might be a nice solution?

Heiko

[0] http://www.spinics.net/lists/arm-kernel/msg347053.html

Indeed.

Olof, Arnd ? Will you take the patches 5-6-7 ?

Signature · 5 lines
  <http://www.linaro.org/> Linaro.org ? Open source software for ARM SoCs

Follow Linaro:  <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog
#10 lore raw

Re: [PATCH v10 5/7] arm: add basic support for Mediatek MT6589 boards

Quoted 40 lines · Daniel Lezcano
Quoted 39 lines · Heiko St?bner

Hi Daniel,

Am Freitag, 18. Juli 2014, 11:46:51 schrieb Daniel Lezcano:

Quoted 7 lines · Matthias Brugger
Quoted 6 lines

This adds a generic devicetree board file and a dtsi for boards based on MT6589 SoCs from Mediatek.

Apart from the generic parts (gic, clocks) the only component currently supported are the timers.

Quoted 7 lines
Quoted 2 lines

--

I will take this patchset through my tree but this patch touches an area I am not handling.

Olof, Arnd, do you mind to ack this patch ?

wouldn't it be easier to just take patches 1,2,3,4 through your tree and let
patches 5,6,7 go through arm-soc?

There is no compile-time dependency between the two parts, so they will come
together nicely in linux-next and during the merge-window.

Also in [0] Olof wrote:

----------
Traditionally we usually take the DT changes through arm-soc, but as long as we share the branch we might be ok. We tend to stick them in different branches in our tree though, so rockchip will be a little mis-sorted this release. Not a big deal, and we can deal with it.
-----------

So I'd assume splitting the patchset this way might be a nice solution?

Quoted 8 lines
Quoted 4 lines

Heiko

[0] http://www.spinics.net/lists/arm-kernel/msg347053.html

Indeed.

Olof, Arnd ? Will you take the patches 5-6-7 ?

patches 1-4 applied to my tree.

Thanks

-- Daniel

Signature · 5 lines
  <http://www.linaro.org/> Linaro.org ? Open source software for ARM SoCs

Follow Linaro:  <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog