Re: [PATCH v3 5/5] arm: dts: Add pinctrl/GPIO/EINT node for mt2701

2015-12-31 Thread Matthias Brugger
On 28/12/15 08:09, Biao Huang wrote: Add pinctrl and GPIO node to mt2701.dtsi Signed-off-by: Biao Huang Acked-by: Linus Walleij --- arch/arm/boot/dts/mt2701.dtsi | 19 +++ 1 file changed, 19 insertions(+) Signed-off-by: Matthias Brugger Linus, will you take this

Re: [PATCH v3 2/5] dt-bindings: mediatek: Modify pinctrl bindings for mt2701

2015-12-31 Thread Matthias Brugger
On 28/12/15 08:09, Biao Huang wrote: Signed-off-by: Biao Huang --- .../devicetree/bindings/pinctrl/pinctrl-mt65xx.txt |9 + 1 file changed, 5 insertions(+), 4 deletions(-) Reviewed-by: Mathias Brugger diff --git a/Documentation/devicetree/bindings/pinctrl/pinctrl-mt65xx.tx

Re: [PATCH 1/4] spi: mediatek: merge all identical compat to mtk_common_compat

2015-12-31 Thread Matthias Brugger
On 31/12/15 03:59, Leilk Liu wrote: This patch merge all identical compat into on mtk_common_compat and used for all compatible soc. Signed-off-by: Leilk Liu --- Reviewed-by: Matthias Brugger drivers/spi/spi-mt65xx.c | 15 ++- 1 file changed, 10 insertions(+), 5

Re: [PATCH 1/5] clk: mediatek: Refine the makefile to support multiple clock drivers

2015-12-31 Thread Matthias Brugger
On 30/12/15 07:27, James Liao wrote: Add a Kconfig to define clock configuration for each SoC, and modify the Makefile to build drivers that only selected in config. Signed-off-by: Shunli Wang Signed-off-by: James Liao --- Looks good to me. Reviewed-by: Matthias Brugger drivers/clk

Re: [PATCH 4/4] soc: mediatek: Add MT2701/MT7623 scpsys driver

2015-12-30 Thread Matthias Brugger
On 30/12/15 11:18, James Liao wrote: Hi Daniel, On Wed, 2015-12-30 at 17:01 +0800, Daniel Kurtz wrote: On Wed, Dec 30, 2015 at 2:41 PM, James Liao wrote: From: Shunli Wang Add scpsys driver for MT2701 and MT7623. Signed-off-by: Shunli Wang Signed-off-by: James Liao --- drivers/soc/m

Re: [PATCH v6 4/5] iommu/mediatek: Add mt8173 IOMMU driver

2015-12-14 Thread Matthias Brugger
On 08/12/15 10:49, Yong Wu wrote: This patch adds support for mediatek m4u (MultiMedia Memory Management Unit). Signed-off-by: Yong Wu --- drivers/iommu/Kconfig | 15 + drivers/iommu/Makefile| 1 + drivers/iommu/mtk_iommu.c | 752 ++

Re: [PATCH v6 3/5] memory: mediatek: Add SMI driver

2015-12-14 Thread Matthias Brugger
On Tuesday 08 Dec 2015 17:49:11 Yong Wu wrote: > This patch add SMI(Smart Multimedia Interface) driver. This driver > is responsible to enable/disable iommu and control the power domain > and clocks of each local arbiter. > > Signed-off-by: Yong Wu > --- > Currently SMI offer mtk_smi_larb_get/p

Re: [PATCH v2 5/8] arm64: dts: mediatek: Add Video Encoder for MT8173

2015-12-14 Thread Matthias Brugger
On Friday 11 Dec 2015 17:55:40 Tiffany Lin wrote: > Add video encoder node for MT8173 > > Signed-off-by: Tiffany Lin > --- > arch/arm64/boot/dts/mediatek/mt8173.dtsi | 47 > ++ 1 file changed, 47 insertions(+) > > diff --git a/arch/arm64/boot/dts/mediatek/mt8173.dts

Re: [PATCH v2 4/8] dt-bindings: Add a binding for Mediatek Video Encoder

2015-12-14 Thread Matthias Brugger
On 14/12/15 09:26, tiffany lin wrote: On Fri, 2015-12-11 at 11:29 -0600, Rob Herring wrote: On Fri, Dec 11, 2015 at 05:55:39PM +0800, Tiffany Lin wrote: Add a DT binding documentation of Video Encoder for the MT8173 SoC from Mediatek. Signed-off-by: Tiffany Lin A question and minor issue

Re: [PATCH v7 02/14] drm/mediatek: Add DRM Driver for Mediatek SoC MT8173.

2015-12-11 Thread Matthias Brugger
On 30/11/15 22:07, Philipp Zabel wrote: From: CK Hu This patch adds an initial DRM driver for the Mediatek MT8173 DISP subsystem. It currently supports two fixed output streams from the OVL0/OVL1 sources to the DSI0/DPI0 sinks, respectively. Signed-off-by: CK Hu Signed-off-by: YT Shen Sign

Re: [PATCH] arm64: dts: mt8173: Add nor flash node

2015-12-09 Thread Matthias Brugger
On 07/12/15 09:19, Daniel Kurtz wrote: Bayi, On Mon, Dec 7, 2015 at 12:46 PM, bayi cheng wrote: On Mon, 2015-12-07 at 12:34 +0800, bayi cheng wrote: On Mon, 2015-12-07 at 12:09 +0800, Daniel Kurtz wrote: Bayi, On Mon, Dec 7, 2015 at 11:53 AM, Bayi Cheng wrote: Add Mediatek nor flash nod

Re: [PATCH v8 2/2] arm64: dts: mt8173: Add nor flash node

2015-12-04 Thread Matthias Brugger
On 26/11/15 03:42, bayi cheng wrote: On Thu, 2015-11-26 at 09:20 +0800, Daniel Kurtz wrote: Hi Bayi, Matthias, Sorry for the late review, one comment below... On Wed, Nov 18, 2015 at 11:30 AM, Bayi Cheng wrote: Add Mediatek nor flash node Signed-off-by: Bayi Cheng Acked-by: Brian Norris

Re: [PATCH v8 2/2] arm64: dts: mt8173: Add nor flash node

2015-11-25 Thread Matthias Brugger
On 25/11/15 11:57, Yingjoe Chen wrote: On Wed, 2015-11-25 at 11:50 +0100, Matthias Brugger wrote: On 18/11/15 04:30, Bayi Cheng wrote: Add Mediatek nor flash node Signed-off-by: Bayi Cheng Acked-by: Brian Norris --- arch/arm64/boot/dts/mediatek/mt8173.dtsi | 18 +- 1

Re: [PATCH v8 2/2] arm64: dts: mt8173: Add nor flash node

2015-11-25 Thread Matthias Brugger
On 18/11/15 04:30, Bayi Cheng wrote: Add Mediatek nor flash node Signed-off-by: Bayi Cheng Acked-by: Brian Norris --- arch/arm64/boot/dts/mediatek/mt8173.dtsi | 18 +- 1 file changed, 17 insertions(+), 1 deletion(-) Applied to v4.5-next/dts Thanks. Matthias diff --gi

Re: [PATCH v2] spi: mediatek: revise mtk_spi_probe() failure flow

2015-11-24 Thread Matthias Brugger
On 24/11/15 03:38, Leilk Liu wrote: This patch revises failure flow while pm_runtime_enable(). Please write a proper commit message explaining what this patch does. Signed-off-by: Leilk Liu --- drivers/spi/spi-mt65xx.c | 15 --- 1 file changed, 8 insertions(+), 7 deletion

Re: [PATCH 3/4] spi: mediatek: remove needless pair of writel()/readl()

2015-11-20 Thread Matthias Brugger
SPI_CMD_REG); - - reg_val = readl(mdata->base + SPI_CMD_REG); /* set the mlsbx and mlsbtx */ if (chip_config->tx_mlsb) Reviewed-by: Matthias Brugger -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to ma

Re: [PATCH] arm64: dts: mediatek: mt8173 PSCI-1.0 support

2015-10-27 Thread Matthias Brugger
On 28/08/15 04:11, fan.c...@mediatek.com wrote: From: Fan Chen This patch adds psci comatible properties to support all mandatory functions of PSCI-1.0, PSCI-0.2 and PSCI-0.1, and system suspend can be supported in PSCI-1.0. Signed-off-by: Fan Chen --- Applied to v4.4-next/arm64 Thanks,

Re: [PATCH v6 1/4] arm64, numa: adding numa support for arm64 platforms.

2015-10-23 Thread Matthias Brugger
On 20/10/15 12:45, Ganapatrao Kulkarni wrote: Adding numa support for arm64 based platforms. This patch adds by default the dummy numa node and maps all memory and cpus to node 0. using this patch, numa can be simulated on single node arm64 platforms. Reviewed-by: Robert Richter Signed-off-by

Re: [PATCH v3 2/2] ARM: dts: mediatek: add MT2701 basic support

2015-10-23 Thread Matthias Brugger
On 20/10/15 08:34, Erin Lo wrote: This adds basic chip support for Mediatek 2701. Signed-off-by: Erin Lo --- arch/arm/boot/dts/Makefile| 1 + arch/arm/boot/dts/mt2701-evb.dts | 29 arch/arm/boot/dts/mt2701.dtsi | 146 ++ arch/a

Re: [PATCH v3 0/2] Add basic support for Mediatek MT2701 SoC

2015-10-23 Thread Matthias Brugger
On 20/10/15 08:34, Erin Lo wrote: MT2701 is a SoC based on 32bit ARMv7 architecture. It contains 4 CA7 cores. MT2701 share many HW IP with MT65xx series. This patchset was tested on MT2701 evaluation board, and boot to shell ok. This series contains document bindings, device tree including int

Re: [PATCH v2 0/2] Add basic support for Mediatek MT2701 SoC

2015-10-19 Thread Matthias Brugger
Hi Erin, On 05/10/15 08:27, Erin Lo wrote: MT2701 is a SoC based on 32bit ARMv7 architecture. It contains 4 CA7 cores. MT2701 share many HW IP with MT65xx series. This patchset was tested on MT2701 evaluation board, and boot to shell ok. This series contains document bindings, device tree inclu

Re: [PATCH] arm64: dts: mt8173: add MT8173 display PWM driver support node

2015-10-14 Thread Matthias Brugger
On 12/10/15 18:04, Matthias Brugger wrote: On 06/10/15 09:40, YH Huang wrote: Add display PWM node in mt8173-evb.dts and mt8173.dtsi. Signed-off-by: YH Huang --- arch/arm64/boot/dts/mediatek/mt8173-evb.dts | 13 + arch/arm64/boot/dts/mediatek/mt8173.dtsi| 22

Re: [PATCH v4 2/3] arm64: mediatek: enable MTK_TIMER

2015-10-14 Thread Matthias Brugger
On 02/10/15 17:05, Yingjoe Chen wrote: Enable MTK_TIMER for MediaTek plaform, which will be used as tick broadcast device and schedule clock. Signed-off-by: Yingjoe Chen --- I reapplied this on v4.4-next/soc arch/arm64/Kconfig.platforms | 1 + 1 file changed, 1 insertion(+) diff --git

Re: [PATCH v4 3/3] arm64: dts: mt8173: add timer node

2015-10-14 Thread Matthias Brugger
On 02/10/15 17:05, Yingjoe Chen wrote: From: Daniel Kurtz Add device node to enable GPT timer. Signed-off-by: Daniel Kurtz Signed-off-by: Eddie Huang Signed-off-by: Yingjoe Chen --- I reapplied this on v4.4-next/arm64 arch/arm64/boot/dts/mediatek/mt8173.dtsi | 9 + 1 file

Re: [PATCH v7 9/9] arm64: dts: mt8173: Add subsystem clock controller device nodes

2015-10-14 Thread Matthias Brugger
On 10/08/15 11:50, James Liao wrote: This patch adds device nodes providing subsystem clocks on MT8173, includes mmsys, imgsys, vdecsys, vencsys and vencltsys. Signed-off-by: James Liao --- Applied, thanks. arch/arm64/boot/dts/mediatek/mt8173.dtsi | 37

Re: [PATCH] dt-bindings: consolidate interrupt controller bindings

2015-10-14 Thread Matthias Brugger
On 13/10/15 22:56, Rob Herring wrote: Move various interrupt controller bindings into the interrupt-controller/ directory. Signed-off-by: Rob Herring Cc: Matthias Brugger Cc: linux-media...@lists.infradead.org --- Singed-off-by: Matthias Brugger One more patch for my DT binding

Re: [PATCH v5 0/5] Add SMP bringup support for mt65xx socs

2015-10-12 Thread Matthias Brugger
org/pipermail/linux-mediatek/2015-July/001544.html [3] http://lists.infradead.org/pipermail/linux-mediatek/2015-September/002377.html Matthias Brugger (1): ARM: mediatek: enable gpt6 on boot up to make arch timer working Yingjoe Chen (4): devicetree: bindings: add new SMP enable meth

Re: [PATCH v4 0/3] add GPT timer support for mt8173

2015-10-12 Thread Matthias Brugger
On 02/10/15 17:05, Yingjoe Chen wrote: This is based on v4.3-rc1 + clockevents-4.4[1] and James's mediatek-clk tree[2]. Changes compare to previous version[3]: - Add more MediaTek SoC to mtk-timer binding - Update commit message to better describe the purpose. Changes compare to v2[4]: - the

Re: [PATCH v2 0/3] Fix random hang up issue while kernel init

2015-10-12 Thread Matthias Brugger
On 07/10/15 11:14, James Liao wrote: This patch is based on v4.3-rc4, to fix system hanging up issue while disabling unused clocks. There is nothing different in mtk-scpsys.c and mt8173.dtsi from v1 [1]. Changes since v1: - Rebase to v4.3-rc4. - Add a patch to change the corresponding binding

Re: [PATCH] arm64: dts: mt8173: add MT8173 display PWM driver support node

2015-10-12 Thread Matthias Brugger
On 06/10/15 09:40, YH Huang wrote: Add display PWM node in mt8173-evb.dts and mt8173.dtsi. Signed-off-by: YH Huang --- arch/arm64/boot/dts/mediatek/mt8173-evb.dts | 13 + arch/arm64/boot/dts/mediatek/mt8173.dtsi| 22 ++ 2 files changed, 35 insertion

Re: [PATCH] arm64: dts: mediatek: mt8173 PSCI-1.0 support

2015-09-27 Thread Matthias Brugger
On 28/08/15 04:11, fan.c...@mediatek.com wrote: From: Fan Chen This patch adds psci comatible properties to support all mandatory functions of PSCI-1.0, PSCI-0.2 and PSCI-0.1, and system suspend can be supported in PSCI-1.0. Signed-off-by: Fan Chen --- Because PSCI-1.0 patches hadn't landed

Re: [PATCH 1/2] arm64: mediatek: enable MTK_TIMER

2015-09-27 Thread Matthias Brugger
On 16/09/15 04:21, Yingjoe Chen wrote: On Wed, 2015-09-16 at 10:04 +0800, Yingjoe Chen wrote: Enable MTK_TIMER for MediaTek plaform, which will be used as schedule clock. Sorry, sending this series too early without cover letter and removing Change-Id. Here's the cover letter: This is actu

Re: [PATCH] ARM: dts: mt8135-evbp1: remove regulator-compatible usage

2015-09-27 Thread Matthias Brugger
On 25/09/15 15:46, Javier Martinez Canillas wrote: The regulator-compatible property from the regulator DT binding was deprecated and the correct approach is to use the node's name. This patch has no functional changes since the values of the node's name and the regulator-compatible match for

Re: [PATCH v7] arm64: dts: Add spi bus dts

2015-09-27 Thread Matthias Brugger
On 08/09/15 10:59, Nicolas Boichat wrote: On Mon, Aug 31, 2015 at 9:44 PM, Leilk Liu wrote: This patch adds MT8173 spi bus controllers into device tree. The corresponding SPI driver has already been merged in git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git . Signed-off-by: L

Re: [PATCH] arm64: mt8173.dtsi: correct i2c node names

2015-09-27 Thread Matthias Brugger
On 16/09/15 15:34, Daniel Kurtz wrote: On Wed, Sep 16, 2015 at 9:35 AM, Yingjoe Chen wrote: Node name in device tree should describe general class of the device. Correct incorrect i2c node names. Signed-off-by: Yingjoe Chen Reviewed-by: Daniel Kurtz Applied, thanks. --- This is base

Re: [PATCH] soc: mediatek: Fix random hang up issue while kernel init

2015-09-27 Thread Matthias Brugger
On 25/09/15 10:26, Lucas Stach wrote: Am Freitag, den 25.09.2015, 14:31 +0800 schrieb James Liao: In kernel late init, it turns off all unused clocks, which needs to access subsystem registers such as VENC and VENC_LT. Accessing MT8173 VENC registers needs two top clocks, mm_sel and venc_sel.

Re: [RESEND PATCH 0/3 v6] Add Mediatek MT8173 cpufreq driver

2015-09-02 Thread Matthias Brugger
On 02/09/15 08:45, Daniel Kurtz wrote: Matthias, On Fri, Aug 28, 2015 at 10:06 PM, Rafael J. Wysocki wrote: On Wednesday, August 26, 2015 02:53:39 PM Pi-Cheng Chen wrote: On Wed, Aug 26, 2015 at 10:16 AM, Viresh Kumar wrote: On 26-08-15, 09:25, Pi-Cheng Chen wrote: The [3/3] is based on

Re: [PATCH v5 0/8] arm64, numa: Add numa support for arm64 platforms.

2015-08-28 Thread Matthias Brugger
On 28/08/15 16:59, Ganapatrao Kulkarni wrote: On Fri, Aug 28, 2015 at 8:01 PM, Matthias Brugger wrote: On 14/08/15 18:39, Ganapatrao Kulkarni wrote: v5: - created base verion of numa.c which creates dummy numa without using dt on single socket platforms. Then added

Re: [PATCH v5 0/8] arm64, numa: Add numa support for arm64 platforms.

2015-08-28 Thread Matthias Brugger
On 14/08/15 18:39, Ganapatrao Kulkarni wrote: v5: - created base verion of numa.c which creates dummy numa without using dt on single socket platforms. Then added patches for dt support. - Incorporated review comments from Hanjun Guo. v4: done changes as per Arnd rev

Re: [PATCH v5 2/4] Documentation: arm64/arm: dt bindings for numa.

2015-08-28 Thread Matthias Brugger
On 14/08/15 18:39, Ganapatrao Kulkarni wrote: DT bindings for numa map for memory, cores and IOs using arm,associativity device node property. Signed-off-by: Ganapatrao Kulkarni --- Documentation/devicetree/bindings/arm/numa.txt | 212 + 1 file changed, 212 insertions

Re: [PATCH v3 0/5] Add SMP bringup support for mt65xx socs

2015-08-07 Thread Matthias Brugger
On Wednesday, August 05, 2015 11:31:15 PM Russell King - ARM Linux wrote: > On Wed, Aug 05, 2015 at 08:44:11PM +0200, Matthias Brugger wrote: > > On Tuesday, July 14, 2015 01:18:26 PM Yingjoe Chen wrote: > > > This series add SMP brinup support for MediaTek SoCs. This is based

Re: [PATCH v3 0/5] Add SMP bringup support for mt65xx socs

2015-08-05 Thread Matthias Brugger
ge platsmp.c according to Matthias' suggestion > http://lists.infradead.org/pipermail/linux-mediatek/2015-May/000714.html > > v1: > http://lists.infradead.org/pipermail/linux-mediatek/2015-May/000528.html > > [1] > http://lists.infradead.org/pipermail/linux-mediatek/2015-Jul

Re: [PATCH] ARM64: dts: mt6795: enable basic SMP bringup for MT6795

2015-08-05 Thread Matthias Brugger
On Tuesday, August 04, 2015 10:47:37 AM Scott Shu wrote: > This patch adds support SMP on MediaTek MT6795 Cortex-A53 Octa-core SoC. applied to v4.2-next/arm64-2 > > The patch is based on v4.2-rc1 and following patch series: > (1) Mars Cheng's "Add mt6795 basic chip support" [1] > > [1] https://

Re: [PATCH v3 5/8] ARM: mediatek: add smp bringup code for MT6580

2015-08-05 Thread Matthias Brugger
On Tuesday, August 04, 2015 09:54:21 PM Scott Shu wrote: > Add support for cpu enable-method "mediatek,mt6580-smp" for booting > secondary CPUs on MT6580. > > Signed-off-by: Scott Shu > --- > arch/arm/mach-mediatek/platsmp.c | 137 > ++ 1 file changed, 137 ins

Re: [PATCH v4 7/7] arm64: dts: mt8173: Add subsystem clock controller device nodes

2015-07-27 Thread Matthias Brugger
On Monday, July 27, 2015 10:56:22 AM James Liao wrote: > Hi Daniel, > > On Fri, 2015-07-24 at 19:32 +0800, Daniel Kurtz wrote: > > > @@ -88,6 +88,13 @@ > > > > > > #clock-cells = <0>; > > > > > > }; > > > > > > + cpum_ck: dummy_clk { > > > > I'm not a big

Re: [PATCH v6 1/3] dt-bindings: pwm: add MediaTek display PWM bindings

2015-07-24 Thread Matthias Brugger
On Friday, July 24, 2015 05:00:13 PM Daniel Kurtz wrote: > On Fri, Jul 24, 2015 at 4:40 PM, Matthias Brugger > > wrote: > > On Monday, July 20, 2015 04:17:15 PM YH Huang wrote: > >> Document the device-tree binding of MediatTek display PWM. > >> The PWM has one

Re: [PATCH v6 0/3] Add MediaTek display PWM driver

2015-07-24 Thread Matthias Brugger
On Monday, July 20, 2015 04:17:14 PM YH Huang wrote: > This patch series add the use of display PWM driver, documentation > and device tree for Mediatek SoCs. The driver is used to support > the backlight of the panel. This is based on v4.2-rc1. > > The clock definitions (CLK_MM_DISP_PWM*) are add

Re: [PATCH v6 1/3] dt-bindings: pwm: add MediaTek display PWM bindings

2015-07-24 Thread Matthias Brugger
On Monday, July 20, 2015 04:17:15 PM YH Huang wrote: > Document the device-tree binding of MediatTek display PWM. > The PWM has one channel to control the backlight brightness for display. > It supports MT8173 and MT6595. > > Signed-off-by: YH Huang > --- > .../devicetree/bindings/pwm/pwm-mtk-di

Re: [PATCH v2 0/2] Add mt6795 basic chip support

2015-07-23 Thread Matthias Brugger
On Tuesday, July 14, 2015 02:58:11 PM Mars Cheng wrote: > This patch adds basic chip support for Mediatek 8-core chip, mt6795. > It is also named as Helio X10. It is based on: > 1. 4.2-rc1 > 2. [PATCH v4 0/2] Add mt6580 basic chip support > > The second one has added some device tree binding docum

Re: [PATCH 3/5] arm64: mediatek: enable MTK_TIMER

2015-07-21 Thread Matthias Brugger
On Saturday, July 18, 2015 09:31:53 AM Thomas Gleixner wrote: > On Fri, 17 Jul 2015, Matthias Brugger wrote: > > On Monday, July 13, 2015 05:32:47 PM Yingjoe Chen wrote: > > > Enable MTK_TIMER for MediaTek plaform, which will be used as > > > schedule clock. > >

Re: [PATCH] arm64: dts: mediatek: Add MT8173 MMC dts

2015-07-17 Thread Matthias Brugger
On Thursday, July 16, 2015 11:16:59 PM Daniel Kurtz wrote: > Hi Chaotian, > > On Thu, Jul 16, 2015 at 7:36 PM, Chaotian Jing > > wrote: > > From: Eddie Huang > > > > Add node mmc0 ~ mmc3 for mt8173.dtsi > > Add node mmc0, mmc1 for mt8173-evb.dts > > > > Signed-off-by: Chaotian Jing > > Signe

Re: [PATCH v4 0/2] Add mt6580 basic chip support

2015-07-17 Thread Matthias Brugger
On Tuesday, July 14, 2015 02:07:07 PM Mars Cheng wrote: > Changes in v4: > 1. Remove clocks node > 2. Remove bootargs > 3. Refine stdout-path setting > > Changes in v3: > 1. Remove useless Change-Id > 2. Add complete device tree binding in Documentation > > Changes in v2: > 1. Use stdout-path in

Re: [PATCH 1/5] clocksource: mediatek: do not enable GPT_CLK_EVT when setup

2015-07-17 Thread Matthias Brugger
hange init flow to only enable GPT_CLK_SRC at mtk_timer_init. > > Signed-off-by: Yingjoe Chen > --- Acked-by: Matthias Brugger -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majord...@vger.kernel.org More majordomo info at

Re: [PATCH 3/5] arm64: mediatek: enable MTK_TIMER

2015-07-17 Thread Matthias Brugger
On Monday, July 13, 2015 05:32:47 PM Yingjoe Chen wrote: > Enable MTK_TIMER for MediaTek plaform, which will be used as > schedule clock. > > Signed-off-by: Yingjoe Chen > --- Applied, thanks. -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to ma

Re: [PATCH 2/5] clocksource: mediatek: Use GPT as sched clock source

2015-07-17 Thread Matthias Brugger
On Monday, July 13, 2015 05:32:46 PM Yingjoe Chen wrote: > When cpu is in deep idle, arch timer will stop counting. Setup GPT as > sched clock source so it can keep counting in idle. > > Signed-off-by: Yingjoe Chen > --- Acked-by: Matthias Brugger -- To unsubscribe from this

Re: [PATCH v2] arm64: dts: mt8173: Add afe device node

2015-07-17 Thread Matthias Brugger
On Thursday, July 09, 2015 11:32:05 AM Koro Chen wrote: > This adds afe (audio front end) device node to the MT8173 dtsi file. > > Signed-off-by: Koro Chen > --- > This patch is based on Matthias's tree: > https://github.com/mbgg/linux-mediatek > branch: v4.2-next/arm64 > > Changes since v1: > -

Re: [PATCH v3 5/5] arm64: dts: mt8173: Add subsystem clock controller device nodes

2015-07-10 Thread Matthias Brugger
2015-07-10 17:02 GMT+02:00 Daniel Kurtz : > > On Jul 10, 2015 18:00, "James Liao" wrote: >> >> This patch adds device nodes providing subsystem clocks on MT8173, >> includes mmsys, imgsys, vdecsys, vencsys and vencltsys. >> >> Signed-off-by: James Liao >> --- >> arch/arm64/boot/dts/mediatek/mt81

Re: [PATCH 2/2] ARM: dts: mediatek: add mt6580 basic support

2015-07-10 Thread Matthias Brugger
On Tuesday, July 07, 2015 03:56:11 PM mars.ch...@mediatek.com wrote: > From: Mars Cheng > > This adds basic chip support for Mediatek 6580. > > Signed-off-by: Mars Cheng > --- > arch/arm/boot/dts/Makefile | 1 + > arch/arm/boot/dts/mt6580-evbp1.dts | 35 +++ > arch/arm/boot/

Re: [PATCH v2 2/6] soc: Mediatek: Add SCPSYS CPU power domain driver

2015-07-10 Thread Matthias Brugger
On Friday, July 10, 2015 02:04:05 PM Scott Shu wrote: > This adds a CPU power domain driver for the Mediatek SCPSYS unit on > MT6580. > > Signed-off-by: Scott Shu > --- > arch/arm/mach-mediatek/Makefile | 2 +- > arch/arm/mach-mediatek/generic.h | 23 > arch/arm/mach-mediatek/hotplug.c

Re: [PATCH] arm64: dts: mt8173-evb: Add PMIC support

2015-07-07 Thread Matthias Brugger
On Tuesday, July 07, 2015 11:09:50 AM Eddie Huang wrote: > On Mon, 2015-07-06 at 18:39 +0200, Matthias Brugger wrote: > > On Monday, July 06, 2015 03:43:57 PM Eddie Huang wrote: > > > On Mon, 2015-06-22 at 21:19 +0800, Henry Chen wrote: > > > > From: Eddie Huang >

Re: [PATCH] arm64: dts: mt8173: Add afe device node

2015-07-07 Thread Matthias Brugger
On Monday, July 06, 2015 09:02:38 PM Daniel Kurtz wrote: > On Mon, Jul 6, 2015 at 2:52 PM, Koro Chen wrote: > > This adds afe (audio front end) device node to the MT8173 dtsi file. > > > > This patch is based on Matthias's tree: > > https://github.com/mbgg/linux-mediatek > > branch: v4.2-next/arm

Re: [PATCH] arm64: dts: mt8173-evb: Add PMIC support

2015-07-06 Thread Matthias Brugger
On Monday, July 06, 2015 03:43:57 PM Eddie Huang wrote: > Hi Matthias, > > On Mon, 2015-06-22 at 21:19 +0800, Henry Chen wrote: > > From: Eddie Huang > > > > The MT8173 eval board contains a MT6397 PMIC. This adds the > > corresponding device node to the dts file. > > > > Signed-off-by: Henry C

Re: [PATCH v2 2/4] dt-bindings: ARM: Mediatek: Document devicetree bindings for spi bus

2015-07-03 Thread Matthias Brugger
On Monday, June 29, 2015 09:04:28 PM Leilk Liu wrote: > Signed-off-by: Leilk Liu > --- Please add a proper patch description. Cheers, Matthias -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majord...@vger.kernel.org More majordomo info at ht

Re: [PATCH] dts: mt8173-evb: Add da9211 to i2c1

2015-07-03 Thread Matthias Brugger
On Friday, July 03, 2015 10:28:26 AM Henry Chen wrote: > Add a DA9211 dual-channel BUCK regulator to i2c1. > This regulator supplies GPU and DVFS1 voltages. > > Signed-off-by: Henry Chen > --- > This patch based on https://github.com/mbgg/linux-mediatek.git > branch/v4.2-next/arm64 --- > arch/ar

Re: [PATCH v2 4/9] clocksource: mediatek: Use GPT as sched clock source

2015-07-03 Thread Matthias Brugger
On Friday, July 03, 2015 09:48:42 PM Daniel Kurtz wrote: > On Wed, May 20, 2015 at 7:02 PM, Matthias Brugger > > wrote: > > 2015-05-16 9:58 GMT+02:00 Yingjoe Chen : > >> When cpu is in deep idle, arch timer will stop counting. Setup GPT as > >> sched clock sourc

Re: [PATCH v4] ARM: dts: mt8173: support arm64 cpuidle-dt

2015-06-29 Thread Matthias Brugger
2015-06-29 10:18 GMT+02:00 Daniel Lezcano : > On 06/04/2015 09:13 AM, Howard Chen wrote: >> >> This patch adds an idle-states node to describe the mt8173 idle states and >> also adds references to the idle-states node in all CPU nodes. >> >> Changes: >> >> v4: >> - Refine the property ordering. >>

Re: [PATCH 3/4] soc: Mediatek: Add SCPSYS power domain driver

2015-06-24 Thread Matthias Brugger
On Wednesday, June 24, 2015 08:17:04 AM Sascha Hauer wrote: > This adds a power domain driver for the Mediatek SCPSYS unit. > > The System Control Processor System (SCPSYS) has several power > management related tasks in the system. The tasks include thermal > measurement, dynamic voltage frequenc

Re: [PATCH 4/4] ARM64: MediaTek MT8173: Add SCPSYS device node

2015-06-24 Thread Matthias Brugger
On Wednesday, June 24, 2015 08:17:05 AM Sascha Hauer wrote: > This adds the SCPSYS device node to the MT8173 dtsi file. > > Signed-off-by: Sascha Hauer > --- Applied to v4.2-next/arm64 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majord...@

Re: [PATCH 1/4] soc: mediatek: Add infracfg misc driver support

2015-06-24 Thread Matthias Brugger
On Wednesday, June 24, 2015 08:17:02 AM Sascha Hauer wrote: > This adds support for some miscellaneous bits of the infracfg controller. > The mtk_infracfg_set/clear_bus_protection functions are necessary for > the scpsys power domain driver to handle the bus protection bits which > are contained in

Re: [PATCH 2/4] dt-bindings: soc: Add documentation for the MediaTek SCPSYS unit

2015-06-24 Thread Matthias Brugger
On Wednesday, June 24, 2015 08:17:03 AM Sascha Hauer wrote: > This adds documentation for the MediaTek SCPSYS unit found in MT8173 SoCs. > > Signed-off-by: Sascha Hauer > --- Applied to v4.2-next/soc -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a messa

Re: [PATCH v2 2/2] arm64: dts: mt8173: Add I2C device node

2015-06-24 Thread Matthias Brugger
2015-06-24 13:00 GMT+02:00 Daniel Kurtz : > Hi Matthias, > > On Wed, Jun 24, 2015 at 4:04 AM, Matthias Brugger > wrote: >> On Monday, June 01, 2015 09:08:27 PM Eddie Huang wrote: >>> Add MT8173 I2C device nodes, include I2C controllers and pins. >>> MT8173 h

Re: [PATCH v2 2/2] arm64: dts: mt8173: Add I2C device node

2015-06-23 Thread Matthias Brugger
On Monday, June 01, 2015 09:08:27 PM Eddie Huang wrote: > Add MT8173 I2C device nodes, include I2C controllers and pins. > MT8173 has six I2C controllers, from i2c0 to i2c6, exclude i2c5. > The 6th I2C controller register base doesn't next to 5th I2C, > and there is a hardware between 5th and 6th I

Re: [PATCH v2 1/2] arm64: dts: mt8173: Add watchdog device node

2015-06-23 Thread Matthias Brugger
On Monday, June 01, 2015 09:08:26 PM Eddie Huang wrote: > Add MT8173 watchdog device node. > > Signed-off-by: Eddie Huang > --- applied to v4.2-next/arm64 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majord...@vger.kernel.org More majordomo

Re: [PATCH 3/3] arm64: dts: mt8173: Add PMIC wrapper device node

2015-06-23 Thread Matthias Brugger
On Wednesday, May 20, 2015 03:32:46 PM Sascha Hauer wrote: > This adds the device node for the PMIC wrapper. > > Signed-off-by: Sascha Hauer > Reviewed-by: Daniel Kurtz > --- Applied now to v4.2-next/arm64 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a

Re: [PATCH 1/3] arm64: dts: mt8173: Add clock controller device nodes

2015-06-23 Thread Matthias Brugger
On Wednesday, May 20, 2015 03:32:44 PM Sascha Hauer wrote: > This adds the device nodes providing clocks on the Mediatek MT8173. > These are: topckgen, infracfg, pericfg and apmixedsys. These are > fed by two oscillators also added by this patch. > > Signed-off-by: Sascha Hauer > Reviewed-by: Dan

Re: [PATCH 2/3] arm64: dts: mt8173: Use real clock for UARTs

2015-06-23 Thread Matthias Brugger
On Wednesday, May 20, 2015 03:32:45 PM Sascha Hauer wrote: > We used to use a fixed rate clock for the UARTs. Now that we have clock > support we can associate the correct clocks to the UARTs and drop the > 26MHz fixed rate UART clock. > > Signed-off-by: Sascha Hauer > --- > arch/arm64/boot/dts/

Re: [PATCH v3 2/2] arm64: dts: mt8173: Add I2C device node

2015-06-12 Thread Matthias Brugger
On Friday, June 12, 2015 08:28:51 PM Daniel Kurtz wrote: > Hi Eddie, > > On Fri, Jun 12, 2015 at 5:27 PM, Eddie Huang wrote: > > Add MT8173 I2C device nodes, include I2C controllers and pins. > > MT8173 has six I2C controllers, from i2c0 to i2c6, exclude i2c5. > > The 6th I2C controller register

Re: [PATCH 4/5] clk: mediatek: Add subsystem clocks of MT8173

2015-06-12 Thread Matthias Brugger
On Thursday, May 21, 2015 03:12:55 PM James Liao wrote: > Most multimedia subsystem clocks will be accessed by multiple > drivers, so it's a better way to manage these clocks in CCF. > This patch adds clock support for MM, IMG, VDEC, VENC and VENC_LT > subsystems. > > Signed-off-by: James Liao >

Re: [PATCH 0/5] Add Mediatek MT8173 subsystem clocks support

2015-06-12 Thread Matthias Brugger
On Thursday, June 11, 2015 04:52:12 PM Stephen Boyd wrote: > On 06/08, Sascha Hauer wrote: > > On Fri, Jun 05, 2015 at 05:59:12PM -0700, Stephen Boyd wrote: > > > And similar things could be done for the reset driver. > > > > The problem I see with this approach is that we scatter the code for a >

Re: [PATCH 3/5] soc: Mediatek: Add SCPSYS power domain driver

2015-06-10 Thread Matthias Brugger
2015-06-09 10:47 GMT+02:00 Sascha Hauer : > This adds a power domain driver for the Mediatek SCPSYS unit. > > The System Control Processor System (SCPSYS) has several power > management related tasks in the system. The tasks include thermal > measurement, dynamic voltage frequency scaling (DVFS), i

Re: [PATCH v2 2/2] arm64: dts: mt8173: Add I2C device node

2015-06-08 Thread Matthias Brugger
2015-06-08 13:10 GMT+02:00 Eddie Huang : > Hi Sascha, > > On Mon, 2015-06-08 at 09:27 +0200, Sascha Hauer wrote: >> Hi Eddie, >> >> On Mon, Jun 01, 2015 at 09:08:27PM +0800, Eddie Huang wrote: >> > Add MT8173 I2C device nodes, include I2C controllers and pins. >> > MT8173 has six I2C controllers, f

Re: [PATCH v2 0/2] Add MediaTek display PWM driver

2015-06-05 Thread Matthias Brugger
Hi YH, 2015-06-05 8:15 GMT+02:00 YH Huang : > On Mon, 2015-05-25 at 10:14 +0800, Yingjoe Chen wrote: >> On Thu, 2015-05-21 at 21:29 +0800, YH Huang wrote: > > This patch series add the use of display PWM driver and documentation > for Mediatek SoCs. The driver is used to support the backlight of >

Re: [PATCH 2/2] arm64: dts: mt8173: Add I2C device node

2015-06-01 Thread Matthias Brugger
2015-06-01 8:29 GMT+02:00 Eddie Huang : > Add MT8173 I2C device nodes, include I2C controllers and pins. > MT8173 has six I2C controllers, from i2c0 to i2c6, exclude i2c5. > The 6th I2C controller register base doesn't next to 5th I2C, > and there is a hardware between 5th and 6th I2C controller. S

Re: [PATCH 2/3] arm64: dts: mt8173: Use real clock for UARTs

2015-05-27 Thread Matthias Brugger
2015-05-20 15:32 GMT+02:00 Sascha Hauer : > We used to use a fixed rate clock for the UARTs. Now that we have clock > support we can associate the correct clocks to the UARTs and drop the > 26MHz fixed rate UART clock. > > Signed-off-by: Sascha Hauer > --- > arch/arm64/boot/dts/mediatek/mt8173.dt

Re: [PATCH 3/3] arm64: dts: mt8173: Add PMIC wrapper device node

2015-05-27 Thread Matthias Brugger
2015-05-20 15:32 GMT+02:00 Sascha Hauer : > This adds the device node for the PMIC wrapper. > > Signed-off-by: Sascha Hauer > Reviewed-by: Daniel Kurtz > --- > arch/arm64/boot/dts/mediatek/mt8173.dtsi | 12 > 1 file changed, 12 insertions(+) > Applied, thanks. Matthias -- To unsubs

Re: [PATCH 1/3] arm64: dts: mt8173: Add clock controller device nodes

2015-05-27 Thread Matthias Brugger
2015-05-20 15:32 GMT+02:00 Sascha Hauer : > This adds the device nodes providing clocks on the Mediatek MT8173. > These are: topckgen, infracfg, pericfg and apmixedsys. These are > fed by two oscillators also added by this patch. > > Signed-off-by: Sascha Hauer > Reviewed-by: Daniel Kurtz > --- >

Re: [PATCH] arm64: dts: mt8173: fix some indentation

2015-05-27 Thread Matthias Brugger
2015-05-20 12:20 GMT+02:00 Daniel Kurtz : > Fix indentation nits to make mt8173.dtsi more consistent. > > Signed-off-by: Eddie Huang > Signed-off-by: Daniel Kurtz > --- > arch/arm64/boot/dts/mediatek/mt8173.dtsi | 19 +-- > 1 file changed, 9 insertions(+), 10 deletions(-) > Appl

Re: [PATCH 5/5] ARM64: MediaTek MT8173: Add SCPSYS device node

2015-05-21 Thread Matthias Brugger
2015-05-21 16:32 GMT+02:00 Daniel Kurtz : > On Wed, May 20, 2015 at 10:19 PM, Sascha Hauer wrote: >> This adds the SCPSYS device node to the MT8173 dtsi file. >> >> Signed-off-by: Sascha Hauer >> --- >> arch/arm64/boot/dts/mediatek/mt8173.dtsi | 10 ++ >> 1 file changed, 10 insertions(+)

Re: [PATCH v2 4/6] soc: mediatek: Add SMI driver

2015-05-21 Thread Matthias Brugger
2015-05-21 16:49 GMT+02:00 Yong Wu : > On Thu, 2015-05-21 at 22:33 +0800, Daniel Kurtz wrote: >> On Thu, May 21, 2015 at 3:30 PM, Matthias Brugger >> wrote: >> > 2015-05-21 8:16 GMT+02:00 Yong Wu : >> >> Hi Matthias, >> >> Thanks very much for

Re: [PATCH v2 11/11] ARM: dts: mt8135-evbp1: Add pinctrl/GPIO node for mt6397.

2015-05-21 Thread Matthias Brugger
pins-are-numbered; > + gpio-controller; > + #gpio-cells = <2>; > + }; > + > mt6397regulator: mt6397regulator { > compatible = "mediatek,mt6397-reg

Re: [PATCH 08/10] ARM: dts: mt8135-evbp1: Add pinctrl/GPIO node for mt6397.

2015-05-21 Thread Matthias Brugger
2015-05-21 9:53 GMT+02:00 Matthias Brugger : > 2015-05-19 10:57 GMT+02:00 Linus Walleij : >> On Thu, May 14, 2015 at 3:35 AM, Hongzhou Yang >> wrote: >> >>> Add pinctrl and GPIO node to mt8135-evbp1.dts. >>> >>> Signed-off-by: Hongzhou Yang

Re: [PATCH v2 10/11] arm64: dts: mt8173-evb: Add pinctrl/GPIO node for mt6397.

2015-05-21 Thread Matthias Brugger
iatek,mt6397-pinctrl"; > + pins-are-numbered; > + gpio-controller; > + #gpio-cells = <2>; > + }; > + > rtc: rtc@e000 { > compatible

Re: [PATCH 10/10] ARM: dts: mt8127: add pinctrl/GPIO/EINT node for mt8127

2015-05-21 Thread Matthias Brugger
2015-05-21 9:54 GMT+02:00 Matthias Brugger : > 2015-05-19 11:02 GMT+02:00 Linus Walleij : >> On Thu, May 14, 2015 at 3:35 AM, Hongzhou Yang >> wrote: >> >>> From: Yingjoe Chen >>> >>> Add pinctrl,GPIO and EINT node to mt8127.dtsi. >>> >

Re: [PATCH 10/10] ARM: dts: mt8127: add pinctrl/GPIO/EINT node for mt8127

2015-05-21 Thread Matthias Brugger
2015-05-19 11:02 GMT+02:00 Linus Walleij : > On Thu, May 14, 2015 at 3:35 AM, Hongzhou Yang > wrote: > >> From: Yingjoe Chen >> >> Add pinctrl,GPIO and EINT node to mt8127.dtsi. >> >> Signed-off-by: Yingjoe Chen >> Signed-off-by: Hongzhou Yang >

Re: [PATCH 08/10] ARM: dts: mt8135-evbp1: Add pinctrl/GPIO node for mt6397.

2015-05-21 Thread Matthias Brugger
2015-05-19 10:57 GMT+02:00 Linus Walleij : > On Thu, May 14, 2015 at 3:35 AM, Hongzhou Yang > wrote: > >> Add pinctrl and GPIO node to mt8135-evbp1.dts. >> >> Signed-off-by: Hongzhou Yang > > Acked-by: Linus Walleij > Acked-by: Matthias Brugger Linus, plea

Re: [PATCH v2 09/11] ARM: dts: mt8127: add pinctrl/GPIO/EINT node for mt8127

2015-05-21 Thread Matthias Brugger
#define MT8127_PIN_135_MSDC0_DAT2__FUNC_GPIO135 (MTK_PIN_NO(135) | 0) > +#define MT8127_PIN_135_MSDC0_DAT2__FUNC_MSDC0_DAT2 (MTK_PIN_NO(135) | 1) > +#define MT8127_PIN_135_MSDC0_DAT2__FUNC_NLD5 (MTK_PIN_NO(135) | 4) > + > +#define MT8127_PIN_136_MSDC0_DAT1__FUNC_GPIO136 (MTK_PIN_NO(136)

Re: [PATCH v2 4/6] soc: mediatek: Add SMI driver

2015-05-21 Thread Matthias Brugger
2015-05-21 8:16 GMT+02:00 Yong Wu : > Hi Matthias, > Thanks very much for your suggestion. > Abort the smi clock name, Could you help check below. > The others I will improve in next time. > > On Tue, 2015-05-19 at 13:14 +0200, Matthias Brugger wrote: >> 20

Re: [PATCH 3/5] soc: Mediatek: Add SCPSYS power domain driver

2015-05-20 Thread Matthias Brugger
2015-05-20 16:03 GMT+02:00 Sascha Hauer : > On Tue, May 19, 2015 at 01:06:10PM +0200, Matthias Brugger wrote: >> 2015-05-19 12:30 GMT+02:00 Sascha Hauer : >> > >> > I'll check for errors next round. However, I cannot bail out in this >> > case since once pm

Re: [PATCH v2 4/9] clocksource: mediatek: Use GPT as sched clock source

2015-05-20 Thread Matthias Brugger
2015-05-20 16:05 GMT+02:00 Yingjoe Chen : > On Wed, 2015-05-20 at 13:02 +0200, Matthias Brugger wrote: >> 2015-05-16 9:58 GMT+02:00 Yingjoe Chen : >> > When cpu is in deep idle, arch timer will stop counting. Setup GPT as >> > sched clock source so it can keep countin

Re: [PATCH] arm64: dts: mt8173-evb: fix model name

2015-05-16 Thread Matthias Brugger
2015-05-15 17:13 GMT+02:00 Yingjoe Chen : > Model name in mt8173-evb.dtsi doesn't follow dts convention(it should > be human readable model name). Fix it. > > Signed-off-by: Yingjoe Chen > --- > arch/arm64/boot/dts/mediatek/mt8173-evb.dts | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-)

  1   2   3   4   >