Re: [PATCH 1/3] ARM/dts: omap3: Add generic DT support for IGEP devices

2012-11-30 Thread Matthias Brugger
On 11/29/2012 12:14 AM, Javier Martinez Canillas wrote: Add a generic .dtsi device tree source file for the common characteristics across IGEP Technology devices. Signed-off-by: Javier Martinez Canillas --- Acked-by: Matthias Brugger arch/arm/boot/dts/omap3-igep.dtsi | 93

Re: [PATCH 2/3] ARM/dts: omap3: Add support for IGEPv2 board

2012-11-30 Thread Matthias Brugger
, TWL4030 audio). Signed-off-by: Javier Martinez Canillas --- Acked-by: Matthias Brugger arch/arm/boot/dts/Makefile |1 + arch/arm/boot/dts/omap3-igep0020.dts | 56 ++ 2 files changed, 57 insertions(+), 0 deletions(-) create mode 100644 arch/arm

Re: [PATCH] arm: dts: Add uart1 and uart2 to igep boards.

2013-01-26 Thread Matthias Brugger
Hi Benoit, 2012/12/12 Benoit Cousson : > Hi Matthias, > > On 12/12/2012 04:33 PM, Matthias Brugger wrote: >> This patch is a follow-up patch for Javier Martinez effort adding initial >> device tree support to IGEP technology devices. [1] >> >> It adds uart1 and u

[PATCH] arch: avr32: add dummy syscalls

2013-01-27 Thread Matthias Brugger
This patch adds dummy syscalls so that compiling for this architecture does not provoke warnings when checksyscalls.sh is called. Signed-off-by: Matthias Brugger --- arch/avr32/include/asm/unistd.h | 2 +- arch/avr32/include/uapi/asm/unistd.h | 29 + arch/avr32

[PATCH] spi: spi-omap2-mcspi.c: Add dts for slave device configuration.

2013-03-25 Thread Matthias Brugger
TI omap2 mcspi allows the slave devices to configure the behavior of the SPI master. This patch adds device tree support to the existing options. Signed-off-by: Matthias Brugger --- Documentation/devicetree/bindings/spi/omap-spi.txt | 23 drivers/spi/spi-omap2-mcspi.c

[PATCH] spi: spi-s3c64xx.c Remove unused argument.

2013-03-26 Thread Matthias Brugger
The pointer to the driver data is never used to get the slave controller data. We can delete the unused argument from the function. Signed-off-by: Matthias Brugger --- drivers/spi/spi-s3c64xx.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/spi/spi-s3c64xx.c b

[PATCH] usb/musb/omap2430.c Delete unused variable

2012-08-16 Thread Matthias Brugger
Signed-off-by: Matthias Brugger --- drivers/usb/musb/omap2430.c |4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/usb/musb/omap2430.c b/drivers/usb/musb/omap2430.c index 5fdb9da..2d207c6 100644 --- a/drivers/usb/musb/omap2430.c +++ b/drivers/usb/musb/omap2430.c

[PATCH] usb/musb/omap2430.c Delete unused variable.

2012-08-16 Thread Matthias Brugger
Variable ret is always evaluated as true, so we don't need to check it. Signed-off-by: Matthias Brugger --- drivers/usb/musb/omap2430.c |4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/usb/musb/omap2430.c b/drivers/usb/musb/omap2430.c index 5fdb9da..2d

[PATCH] MAINTAINERS: update avr32 web ressources

2013-01-22 Thread Matthias Brugger
Web ressource http://avr32linux.org is no longer available. This patch deletes the corresponding line. Signed-off-by: Matthias Brugger --- MAINTAINERS | 1 - 1 file changed, 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index 3105c48..e9c1746 100644 --- a/MAINTAINERS +++ b/MAINTAINERS

Re: [PATCH] MAINTAINERS: update avr32 web ressources

2013-01-23 Thread Matthias Brugger
On 01/22/2013 09:10 PM, Hans-Christian Egtvedt wrote: Around Tue 22 Jan 2013 18:16:21 +0100 or thereabout, Matthias Brugger wrote: Web ressource http://avr32linux.org is no longer available. This patch deletes the corresponding line. Signed-off-by: Matthias Brugger --- MAINTAINERS | 1 - 1

[PATCH] MAINTAINERS: update avr32 web ressources

2013-01-23 Thread Matthias Brugger
Web ressource http://avr32linux.org/ is no longer available. We add the mirror of the web page foud at http://mirror.egtvedt.no/avr32linux.org/. Signed-off-by: Matthias Brugger --- MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index

Re: [PATCH] arm: dts: Add uart1 and uart2 to igep boards.

2013-02-15 Thread Matthias Brugger
2013/1/26 Javier Martinez Canillas : > On Sat, Jan 26, 2013 at 4:16 PM, Matthias Brugger > wrote: >> Hi Benoit, >> >> 2012/12/12 Benoit Cousson : >>> Hi Matthias, >>> >>> On 12/12/2012 04:33 PM, Matthias Brugger wrote: >>>> Th

[PATCH] arm: dts: Add uart1 and uart2 to igep boards.

2012-12-12 Thread Matthias Brugger
This patch is a follow-up patch for Javier Martinez effort adding initial device tree support to IGEP technology devices. [1] It adds uart1 and uart2 bindings to the generic dtsi for the IGEP boards. [1] http://www.spinics.net/lists/linux-omap/msg83409.html Signed-off-by: Matthias Brugger

Re: [PATCH v8 1/4] soc: mediatek: Refine scpsys to support multiple platform

2016-09-21 Thread Matthias Brugger
On 19/07/16 09:04, James Liao wrote: Refine scpsys driver common code to support multiple SoC / platform. Signed-off-by: James Liao Reviewed-by: Kevin Hilman --- drivers/soc/mediatek/mtk-scpsys.c | 363 +++--- 1 file changed, 220 insertions(+), 143 deletions(

Re: [PATCH 2/2] arm64: dts: mediatek: add mt6755 support

2016-06-20 Thread Matthias Brugger
On 14/06/16 04:20, Mars Cheng wrote: This adds basic chip support for MT6755 SoC. Signed-off-by: Mars Cheng --- arch/arm64/boot/dts/mediatek/Makefile |1 + arch/arm64/boot/dts/mediatek/mt6755-phone.dts | 39 +++ arch/arm64/boot/dts/mediatek/mt6755.dtsi | 143 ++

Re: [PATCH 2/2] arm64: dts: mediatek: add mt6755 support

2016-06-20 Thread Matthias Brugger
On 20/06/16 11:19, Mars Cheng wrote: On Mon, 2016-06-20 at 10:31 +0200, Matthias Brugger wrote: On 14/06/16 04:20, Mars Cheng wrote: This adds basic chip support for MT6755 SoC. Signed-off-by: Mars Cheng --- arch/arm64/boot/dts/mediatek/Makefile |1 + arch/arm64/boot/dts

Re: [PATCH v8 2/3] CMDQ: Mediatek CMDQ driver

2016-06-21 Thread Matthias Brugger
On 21/06/16 07:52, Horng-Shyang Liao wrote: On Fri, 2016-06-17 at 17:57 +0200, Matthias Brugger wrote: On 17/06/16 10:28, Horng-Shyang Liao wrote: Hi Matthias, On Tue, 2016-06-14 at 20:07 +0800, Horng-Shyang Liao wrote: Hi Matthias, On Tue, 2016-06-14 at 12:17 +0200, Matthias Brugger

Re: [PATCH v2 3/3] arm: dts: thermal: add thermal/auxadc node.

2016-09-13 Thread Matthias Brugger
On 07/09/16 11:47, Dawei Chien wrote: On Tue, 2016-09-06 at 11:28 +0800, Dawei Chien wrote: Dear Rui, On Tue, 2016-09-06 at 08:30 +0800, Zhang Rui wrote: On 二, 2016-09-06 at 08:24 +0800, Zhang Rui wrote: On 四, 2016-08-18 at 11:50 +0800, Dawei Chien wrote: This adds the thermal controller

Re: [PATCH] power: reset: reboot mode: fix build error of missing ioremap/iounmap on UM

2016-08-08 Thread Matthias Brugger
On August 7, 2016 3:14:21 PM CEST, Andy Yan wrote: >Add missing HAS_IOMEM dependency for MFD_SYSCON to fix the >um-allyesconfig >build error: > >drivers/mfd/syscon.c: In function 'of_syscon_register': >drivers/mfd/syscon.c:67:9: error: implicit declaration of function >'ioremap' [-Werror=implici

Re: [PATCH v13 0/4] Mediatek MT8173 CMDQ support

2016-08-24 Thread Matthias Brugger
On 24/08/16 05:27, HS Liao wrote: Hi, This is Mediatek MT8173 Command Queue(CMDQ) driver. The CMDQ is used to help write registers with critical time limitation, such as updating display configuration during the vblank. It controls Global Command Engine (GCE) hardware to achieve this requirem

Re: [PATCH V3] leds: trigger: Introduce an USB port trigger

2016-08-24 Thread Matthias Brugger
On 24/08/16 00:03, Rafał Miłecki wrote: From: Rafał Miłecki This commit adds a new trigger responsible for turning on LED when USB device gets connected to the specified USB port. This can can useful for various home routers that have USB port(s) and a proper LED telling user a device is conn

Re: [PATCH V3] leds: trigger: Introduce an USB port trigger

2016-08-24 Thread Matthias Brugger
On 24/08/16 13:02, Rafał Miłecki wrote: On 24 August 2016 at 12:49, Matthias Brugger wrote: On 24/08/16 00:03, Rafał Miłecki wrote: [...] +static int usbport_trig_notify(struct notifier_block *nb, unsigned long action, + void *data) +{ + struct

Re: [PATCH RFC V3.5] leds: trigger: Introduce an USB port trigger

2016-08-25 Thread Matthias Brugger
On 25/08/16 10:03, Jacek Anaszewski wrote: zOn 08/24/2016 07:52 PM, Rafał Miłecki wrote: From: Rafał Miłecki This commit adds a new trigger responsible for turning on LED when USB device gets connected to the specified USB port. This can can useful for various home routers that have USB port

Re: [PATCH 0/5] Add clk and scpsys support for MT6755

2017-08-17 Thread Matthias Brugger
On 08/17/2017 04:47 AM, Yingjoe Chen wrote: On Wed, 2017-08-16 at 11:59 +0800, Mars Cheng wrote: Hi Rob, Stephen, Matthias gentle ping. Thanks. On Tue, 2017-08-08 at 16:13 +0800, Mars Cheng wrote: Mars Cheng (3): clk: mediatek: add mt6755 clock ID clk: mediatek: add clk support for

Re: [PATCH v1 6/9] soc: mediatek: add bus protection extend API

2017-08-17 Thread Matthias Brugger
On 08/15/2017 08:42 AM, weiyi...@mediatek.com wrote: From: Weiyi Lu MT2712 add "set/clear" bus control register to each control register set instead of providing only one "enable" control register, we could avoid the read-modify-write racing by using extend API with such new design. Also ther

Re: [PATCH 1/2] spi: mediatek: Add bindings for mediatek MT2712 soc platform

2017-06-20 Thread Matthias Brugger
one of the following. - mediatek,mt2701-spi: for mt2701 platforms +- mediatek,mt2712-spi: for mt2712 platforms - mediatek,mt6589-spi: for mt6589 platforms - mediatek,mt7622-spi: for mt7622 platforms - mediatek,mt8135-spi: for mt8135 platforms Reviewed-by: Matthias

Re: [PATCH 2/2] spi: mediatek: add spi support for mt2712 IC

2017-06-20 Thread Matthias Brugger
= (void *)&mt2712_compat, + }, { .compatible = "mediatek,mt6589-spi", .data = (void *)&mtk_common_compat, }, Reviewed-by: Matthias Brugger

[PATCH] arm64: dts: Delete unused dummy clocks

2017-06-20 Thread Matthias Brugger
After adding the clock subsystem to the SOC, the dummy clocks clk26m and clk32k are not longer needed. Delete them. Signed-off-by: Matthias Brugger --- arch/arm64/boot/dts/mediatek/mt6797.dtsi | 14 -- 1 file changed, 14 deletions(-) diff --git a/arch/arm64/boot/dts/mediatek/mt6797

Re: [PATCH v5 02/12] mmc: mediatek: add support of mt2701/mt2712

2017-10-16 Thread Matthias Brugger
On 10/15/2017 10:26 AM, CK Hu wrote: Hi, Chaotian: On Wed, 2017-10-11 at 10:41 +0800, Chaotian Jing wrote: mt2701/mt2712 has 12bit clock div, which is not compatible with mt8135/mt8173. and, some additional features will be added in mt2701/mt2712, so that need distinguish it by comatibale nam

Re: [PATCH v4 0/9] Mediatek MT2712 clock and scpsys support

2017-10-16 Thread Matthias Brugger
On 10/16/2017 08:42 AM, Weiyi Lu wrote: On Fri, 2017-10-13 at 16:50 +0200, Matthias Brugger wrote: On 10/13/2017 12:45 AM, Stephen Boyd wrote: On 09/19, Weiyi Lu wrote: This series is based on v4.14-rc1 and composed of clock control (PATCH 1-4) and scpsys control (PATCH 5-9) What'

Re: [PATCH v5 6/7] soc: mediatek: pwrap: add support for MT7622 SoC

2017-10-16 Thread Matthias Brugger
On 10/16/2017 09:07 AM, sean.w...@mediatek.com wrote: From: Chenglin Xu Add the registers, callbacks and data structures required to make the PMIC wrapper work on MT7622. Signed-off-by: Chenglin Xu Signed-off-by: Chen Zhong Signed-off-by: Sean Wang --- drivers/soc/mediatek/mtk-pmic-wrap

Re: [PATCH v5 7/7] soc: mediatek: pwrap: fixup warnings from coding style

2017-10-16 Thread Matthias Brugger
On 10/16/2017 09:07 AM, sean.w...@mediatek.com wrote: From: Sean Wang fixup those warnings such as lines over 80 words and parenthesis alignment which would be complained by checkpatch.pl. Signed-off-by: Sean Wang --- I already took this patch, please drop from series. Thanks driver

Re: [PATCH 6/9] soc: mediatek: extend bus protection API

2017-10-16 Thread Matthias Brugger
On 10/16/2017 08:38 AM, Weiyi Lu wrote: On Tue, 2017-10-10 at 17:45 +0200, Matthias Brugger wrote: On 08/22/2017 12:28 PM, Weiyi Lu wrote: MT2712 add "set/clear" bus control register to each control register set instead of providing only one "enable" control register

Re: [PATCH 3/3] arm64: dts: mt2712: Add auxadc device node.

2017-10-16 Thread Matthias Brugger
On 10/13/2017 05:11 PM, Matthias Brugger wrote: On 09/24/2017 05:47 PM, Jonathan Cameron wrote: On Thu, 21 Sep 2017 09:26:52 +0800 Zhiyong Tao wrote: Add auxadc device node for MT2712. Signed-off-by: Zhiyong Tao I've applied the IIO patches to make this work, so assume this wil

Re: [PATCH v5 6/7] soc: mediatek: pwrap: add support for MT7622 SoC

2017-10-17 Thread Matthias Brugger
On 10/17/2017 11:49 AM, Sean Wang wrote: On Mon, 2017-10-16 at 17:00 +0200, Matthias Brugger wrote: On 10/16/2017 09:07 AM, sean.w...@mediatek.com wrote: From: Chenglin Xu Add the registers, callbacks and data structures required to make the PMIC wrapper work on MT7622. Signed-off-by

Re: [PATCH 2/2] crypto: mediatek - update DT binding documentation

2017-05-26 Thread Matthias Brugger
On 26/05/17 11:43, Ryder Lee wrote: This patch removes unnecessary clock in binding file. Signed-off-by: Ryder Lee --- In the driver clocks are get by name, so this change does not break backwards compatibility. Reviewed-by: Matthias Brugger Documentation/devicetree/bindings/crypto

Re: [PATCH v2 4/4] arm64: dts: mt7622: group clock DT nodes into separate DT file

2017-05-29 Thread Matthias Brugger
On 29/05/17 14:56, sean.w...@mediatek.com wrote: From: Sean Wang For more readability and maintenance, all the clock related DT nodes for mt7622 SoC are grouped into a separate DT file. And currently mt7622-clock.dtsi only includes the fixed clock for uart0 and the oscillator which would be e

Re: [PATCH v2 1/4] dt-bindings: mediatek: add bindings for MediaTek MT7622 SoC

2017-05-29 Thread Matthias Brugger
On 29/05/17 14:56, sean.w...@mediatek.com wrote: From: Sean Wang This adds dt-binding documentation for MediaTek MT7622 SoC which currently only includes basic items such as ARM CPU, MediaTek SYSIRQ and UART. Signed-off-by: Sean Wang --- Documentation/devicetree/bindings/arm/mediatek.txt

Re: [PATCH v2 1/4] dt-bindings: mediatek: add bindings for MediaTek MT7622 SoC

2017-05-29 Thread Matthias Brugger
On 29/05/17 17:11, Matthias Brugger wrote: On 29/05/17 14:56, sean.w...@mediatek.com wrote: From: Sean Wang This adds dt-binding documentation for MediaTek MT7622 SoC which currently only includes basic items such as ARM CPU, MediaTek SYSIRQ and UART. Signed-off-by: Sean Wang

Re: [PATCH v4 3/9] arm: dts: mt7623: add mt7623-mt6323.dtsi file

2017-05-29 Thread Matthias Brugger
On 28/05/17 13:31, kbuild test robot wrote: Hi John, [auto build test ERROR on robh/for-next] [also build test ERROR on v4.12-rc2 next-20170526] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commit

Re: [PATCH v4 1/2] dt-bindings: i2c: Add Mediatek MT2701 i2c binding

2017-05-29 Thread Matthias Brugger
mt6577-i2c": for Mediatek MT2701 I send a cleanup patch for the file, which fixes all the other SoCs. I can fold this one into it, a soon as I got a Signed-off from the DT maintainers. Reviewed-by: Matthias Brugger + "mediatek,mt6577-i2c": for Mediatek MT6577 + &

Re: [PATCH v2 3/5] [RFC] soc: mediatek: Use GENPD_FLAG_ACTIVE_WAKEUP

2017-11-02 Thread Matthias Brugger
ble genpd users to > specify default active wakeup behavior" has landed upstream, hence the > "RFC". > > Compile-tested only. > > v2: > - New. > --- > drivers/soc/mediatek/mtk-scpsys.c | 14 ++---- > 1 file changed, 2 insertions(+), 12 deletion

Re: [PATCH v6 03/12] arm64: dts: mt8173: remove "mediatek,mt8135-mmc" from mmc nodes

2017-11-02 Thread Matthias Brugger
inguish with >> other platform. >> >> Signed-off-by: Chaotian Jing > > Matthias, do you intend to pick this? Else I can do it with your ack... > If it's not too late, feel free to take it. Otherwise I will queue it for the next merge window: Acked-by: Matthias Bru

Re: [PATCH v5 1/1] pwm: mediatek: add MT2712/MT7622 support

2017-10-25 Thread Matthias Brugger
by: Zhi Mao > --- Reviewed-by: Matthias Brugger > drivers/pwm/pwm-mediatek.c | 53 > > 1 file changed, 44 insertions(+), 9 deletions(-) > > diff --git a/drivers/pwm/pwm-mediatek.c b/drivers/pwm/pwm-mediatek.c > index 1d78ab

Re: [PATCH v5 0/9] Mediatek MT2712 clock and scpsys support

2017-10-25 Thread Matthias Brugger
On 10/24/2017 10:38 AM, Stephen Boyd wrote: > On 10/19, Matthias Brugger wrote: >> >> >> On 10/19/2017 04:48 AM, Weiyi Lu wrote: >>> This series is based on v4.14-rc1 and composed of >>> clock control (PATCH 1-4) and scpsys control (PATCH 5-9) >>&g

[PATCH 0/8] arm/arm64: mediatek: Fix mmsys device probing

2017-11-14 Thread Matthias Brugger
first driver get probed, which in effect breaks graphics on mt8173 and mt2701. This patch set introduces a new mfd device, which binds against the mmsys compatible and takes care of probing the needed devices. It was tested on the bananapi-r2 and the Acer R13 Chromebook. Matthias Brugger (8): drm

[PATCH 1/8] drm/mediatek: Use regmap for register access

2017-11-14 Thread Matthias Brugger
The mmsys memory space is shared between the drm and the clk driver. Use regmap to access it. Signed-off-by: Matthias Brugger --- drivers/gpu/drm/mediatek/mtk_drm_crtc.c | 4 ++-- drivers/gpu/drm/mediatek/mtk_drm_ddp.c | 30 +- drivers/gpu/drm/mediatek

[PATCH 2/8] mfd: mtk-mmsys: Add mmsys driver

2017-11-14 Thread Matthias Brugger
The MMSYS subsystem includes clocks and drm components. This patch adds a MFD device to probe both drivers from the same device tree compatible. Signed-off-by: Matthias Brugger --- drivers/mfd/Kconfig | 9 + drivers/mfd/Makefile | 2 ++ drivers/mfd/mtk-mmsys.c | 91

[PATCH 3/8] drm/mediatek: mt2701: switch to mfd probing.

2017-11-14 Thread Matthias Brugger
With the mtk-mmsys MFD device in place, we switch the probing for mt2701 from device-tree to mfd. Signed-off-by: Matthias Brugger --- drivers/gpu/drm/mediatek/mtk_drm_drv.c | 32 +--- 1 file changed, 25 insertions(+), 7 deletions(-) diff --git a/drivers/gpu/drm

[PATCH 4/8] clk: mediatek: mt2701-mm: switch to mfd device

2017-11-14 Thread Matthias Brugger
As the new mfd device is in place, switch probing for the MMSYS to support invocation from the mfd device. Signed-off-by: Matthias Brugger --- drivers/clk/mediatek/clk-mt2701-mm.c | 13 ++--- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/drivers/clk/mediatek/clk-mt2701

[PATCH 5/8] mfd: mtk-mmsys: Add mt8173 nodes

2017-11-14 Thread Matthias Brugger
Add devices for the mt8173 SoC. Signed-off-by: Matthias Brugger --- drivers/mfd/mtk-mmsys.c | 14 ++ 1 file changed, 14 insertions(+) diff --git a/drivers/mfd/mtk-mmsys.c b/drivers/mfd/mtk-mmsys.c index 102b491aa28f..45973dfc6010 100644 --- a/drivers/mfd/mtk-mmsys.c +++ b/drivers

[PATCH 7/8] clk: mediatek: mt8173-mm: switch to mfd device

2017-11-14 Thread Matthias Brugger
As the new mfd device is in place, switch probing for the MMSYS to support invocation from the mfd device. Signed-off-by: Matthias Brugger --- drivers/clk/mediatek/clk-mt8173.c | 21 +++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/drivers/clk/mediatek/clk

[PATCH 8/8] MAINTAINERS: update Mediatek Soc entry

2017-11-14 Thread Matthias Brugger
Mediatek SoCs include several soc specific drivers as well as a mfd device. Add these to the maintainers file. Signed-off-by: Matthias Brugger --- MAINTAINERS | 2 ++ 1 file changed, 2 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 2811a211632c..586797908865 100644 --- a

[PATCH 6/8] drm/mediatek: Add mfd support for mt8173

2017-11-14 Thread Matthias Brugger
Use the MFD device for SoC mt8173. Probing via devicetree is no longer needed for any SoC, so delete it. Signed-off-by: Matthias Brugger --- drivers/gpu/drm/mediatek/mtk_drm_drv.c | 28 +++- 1 file changed, 7 insertions(+), 21 deletions(-) diff --git a/drivers/gpu/drm

Re: [PATCH v5 02/12] mmc: mediatek: add support of mt2701/mt2712

2017-10-18 Thread Matthias Brugger
On 10/18/2017 03:46 AM, CK Hu wrote: Hi, Matthias: On Mon, 2017-10-16 at 09:49 +0200, Matthias Brugger wrote: On 10/15/2017 10:26 AM, CK Hu wrote: Hi, Chaotian: On Wed, 2017-10-11 at 10:41 +0800, Chaotian Jing wrote: mt2701/mt2712 has 12bit clock div, which is not compatible with mt8135

[RFC resend] arm64: mt8173: Fix Acer Chromebooks mmsys probe problem

2017-10-19 Thread Matthias Brugger
In theory the MMSYS device tree identifier is matches twice, by the clk driver and the DRM subsystem. But the kernel only matches the first driver for a device (clk) and discards the second one. This breaks graphics on mt8173 and most probably on mt2701 as well. MMSYS in Mediatek SoCs has some

[RFC resend 2/4] drm/mediatek: Add new compatible to probe multimedia subsystem.

2017-10-19 Thread Matthias Brugger
: Matthias Brugger --- drivers/gpu/drm/mediatek/mtk_drm_crtc.c | 4 ++-- drivers/gpu/drm/mediatek/mtk_drm_ddp.c | 30 +- drivers/gpu/drm/mediatek/mtk_drm_ddp.h | 4 ++-- drivers/gpu/drm/mediatek/mtk_drm_drv.c | 17 ++--- drivers/gpu/drm/mediatek

[RFC resend 1/4] dt-bindings: display: mediatek: add drm binding

2017-10-19 Thread Matthias Brugger
DRM subysystem and clock driver shared the same compatible mmsys. This stopped does not work, as only the first driver for a compatible gets probed. We change the comaptible to the new DRM identifier to fix this. Signed-off-by: Matthias Brugger --- .../devicetree/bindings/display/mediatek

[RFC resend 3/4] arm64: dts: mt8173: Fix drm subsystem

2017-10-19 Thread Matthias Brugger
DRM subysystem and clock driver shared the same compatible mmsys. This stopped does not work, as only the first driver for a compatible gets probed. We change the comaptible to the new DRM identifier to fix this. Signed-off-by: Matthias Brugger --- arch/arm64/boot/dts/mediatek/mt8173.dtsi | 5

[RFC resend 4/4] arm: dts: mt2701: Fix drm subsystem

2017-10-19 Thread Matthias Brugger
DRM subysystem and clock driver shared the same compatible mmsys. This stopped does not work, as only the first driver for a compatible gets probed. We change the comaptible to the new DRM identifier to fix this. Signed-off-by: Matthias Brugger --- arch/arm/boot/dts/mt2701.dtsi | 5 + 1

Re: [RFC resend 1/4] dt-bindings: display: mediatek: add drm binding

2017-10-19 Thread Matthias Brugger
ow I will look into this > Thanks. > > On Thu, 2017-10-19 at 13:26 +0200, Matthias Brugger wrote: >> DRM subysystem and clock driver shared the same compatible mmsys. >> This stopped does not work, as only the first driver for a compatible >> gets probed. We c

Re: [RFC resend 1/4] dt-bindings: display: mediatek: add drm binding

2017-10-19 Thread Matthias Brugger
On 10/19/2017 03:06 PM, Philipp Zabel wrote: > On Thu, 2017-10-19 at 15:53 +0300, Laurent Pinchart wrote: >> Hi Matthias, >> >> Thank you for the patch. >> >> On Thursday, 19 October 2017 14:26:07 EEST Matthias Brugger wrote: >>> DRM subysystem and clo

Re: [PATCH v3 05/10] arm: dts: mt7623: update pio, usb and crypto nodes

2017-10-19 Thread Matthias Brugger
On 10/02/2017 03:54 AM, Ryder Lee wrote: > This patch updates pio, usb and crypto nodes to make them be consistent > with the binding documents. > > Signed-off-by: Ryder Lee > --- > arch/arm/boot/dts/mt7623.dtsi | 26 ++ > 1 file changed, 14 insertions(+), 12 deletions(

Re: [PATCH v3 06/10] arm: dts: mt7623: add subsystem clock controller nodes

2017-10-19 Thread Matthias Brugger
On 10/02/2017 03:54 AM, Ryder Lee wrote: > This patch adds missing susbsystem clock controllers nodes for MT7623. > (e.g., mmsys, imgsys, vdecsys and bdpsys) > > Signed-off-by: Ryder Lee > --- > arch/arm/boot/dts/mt7623.dtsi | 32 > 1 file changed, 32 insertion

Re: [PATCH v3 01/10] arm: dts: mt2701: add pwm backlight device node

2017-10-19 Thread Matthias Brugger
On 10/02/2017 03:54 AM, Ryder Lee wrote: > From: Weiqing Kong > > This patch adds the device node for MT2701 pwm backlight. > > Signed-off-by: Weiqing Kong > Signed-off-by: Erin Lo > Signed-off-by: Ryder Lee > --- > arch/arm/boot/dts/mt2701.dtsi | 9 + > 1 file changed, 9 insertion

Re: [PATCH v3 02/10] arm: dts: mt2701: enable display pwm backlight

2017-10-19 Thread Matthias Brugger
On 10/02/2017 03:54 AM, Ryder Lee wrote: > From: Weiqing Kong > > This patch adds board related config for MT2701 pwm backlight. > > Signed-off-by: Weiqing Kong > Signed-off-by: Erin Lo > Signed-off-by: Ryder Lee > --- > arch/arm/boot/dts/mt2701-evb.dts | 23 +++ > 1 fi

Re: [PATCH v3 04/10] arm: dts: mediatek: update audio node for mt2701 and mt7623

2017-10-19 Thread Matthias Brugger
On 10/02/2017 03:54 AM, Ryder Lee wrote: > This patch adds interrupt-names property in audio node so that > binding can be agnostic of the IRQ order. > > Signed-off-by: Ryder Lee > --- > arch/arm/boot/dts/mt2701.dtsi | 4 +++- > arch/arm/boot/dts/mt7623.dtsi | 4 +++- > 2 files changed, 6 inse

Re: [PATCH v3 10/10] arm: dts: mt7623: add PCIe related nodes

2017-10-19 Thread Matthias Brugger
On 10/02/2017 03:55 AM, Ryder Lee wrote: > This patch adds devices nodes and updates pinmux setting for the PICe > function block. Just note that PCIe port2 PHY is shared with U3 port. > > Signed-off-by: Ryder Lee > --- > arch/arm/boot/dts/mt7623.dtsi | 108 > +

Re: [PATCH v5 0/9] Mediatek MT2712 clock and scpsys support

2017-10-19 Thread Matthias Brugger
On 10/19/2017 04:48 AM, Weiyi Lu wrote: > This series is based on v4.14-rc1 and composed of > clock control (PATCH 1-4) and scpsys control (PATCH 5-9) > > changes since v4: > - Refine scpsys and infracfg for bus protection by passing > a boolean flag to determine the register update method. >

Re: [PATCH v5 6/9] soc: mediatek: extend bus protection API

2017-10-19 Thread Matthias Brugger
On 10/19/2017 04:48 AM, Weiyi Lu wrote: > MT2712 add "set/clear" bus control register to each control register set > instead of providing only one "enable" control register, we could avoid > the read-modify-write racing by using extend API with such new design. > By improving the mtk-infracfg bus

[PATCH] iommu/mediatek: Fix driver name

2017-10-30 Thread Matthias Brugger
g the name for first generation to "mtk-iommu-v1". Fixes: b17336c55d89 ("iommu/mediatek: add support for mtk iommu generation one HW") Signed-off-by: Matthias Brugger --- drivers/iommu/mtk_iommu_v1.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/driv

Re: [PATCH] pinctrl: mediatek: Consistently use the BIT() macro

2015-09-01 Thread Matthias Brugger
sk = 1 << (hwirq & 0x1f); + u32 mask = BIT(hwirq & 0x1f); u32 port = (hwirq >> 5) & eint_offsets->port_mask; void __iomem *reg = pctl->eint_reg_base + (port << 2); const struct mtk_desc_pin *pin; Reviewed-by: Matthias Brug

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 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 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 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] 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 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 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] 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 1/9] clockevents/drivers/mtk: Fix spurious interrupt leading to crash

2015-10-22 Thread Matthias Brugger
> Tested-by: Yingjoe Chen Acked-by: Matthias Brugger > --- > drivers/clocksource/mtk_timer.c | 16 ++-- > 1 file changed, 6 insertions(+), 10 deletions(-) > > diff --git a/drivers/clocksource/mtk_timer.c b/drivers/clocksource/mtk_timer.c > index 50f0641..

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: [RFC PATCH 3/3] clocksource: mtk_timer: fix memleak in mtk_timer_init()

2015-09-04 Thread Matthias Brugger
mem: iounmap(evt->gpt_base); of_address_to_resource(node, 0, &res); release_mem_region(res.start, resource_size(&res)); +err_kzalloc: + kfree(evt); } CLOCKSOURCE_OF_DECLARE(mtk_mt6577, "mediatek,mt6577-timer", mtk_timer_init); Acked-by: Matthias Brugger -- To

Re: [RFC PATCH 2/3] clocksource: mtk_timer: change pr_warn()s to pr_err()s in mtk_timer_init

2015-09-04 Thread Matthias Brugger
On 04/09/15 05:21, Alexey Klimov wrote: These messages are actually errors and not warnings. Use pr_err() macro for them and add missing \n. Signed-off-by: Alexey Klimov Acked-by: Matthias Brugger --- drivers/clocksource/mtk_timer.c | 12 ++-- 1 file changed, 6 insertions

Re: [RFC PATCH 1/3] clocksource: mtk_timer: add pr_fmt define

2015-09-04 Thread Matthias Brugger
On 04/09/15 05:21, Alexey Klimov wrote: It's a bit uncler what subsystem/driver emits some messages to dmesg in function mtk_init_timer(). Use pr_fmt to auto-prefix the messages appropriately. Signed-off-by: Alexey Klimov Acked-by: Matthias Brugger --- drivers/clocksource/mtk_ti

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 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 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] 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 v4 03/10] arm64: dts: Add Mediatek SoC MT8183 and evaluation board dts and Makefile

2018-08-03 Thread Matthias Brugger
On 31/07/18 07:38, Erin Lo wrote: > From: Ben Ho > > Add basic chip support for Mediatek 8183 > > Signed-off-by: Ben Ho > Signed-off-by: Erin Lo > --- > arch/arm64/boot/dts/mediatek/Makefile | 1 + > arch/arm64/boot/dts/mediatek/mt8183-evb.dts | 23 + > arch/arm64/boot/dts/med

[PATCH] input: mtk-pmic-keys: Fix probe when no DT node present

2018-06-22 Thread Matthias Brugger
Signed-off-by: Matthias Brugger --- drivers/input/keyboard/mtk-pmic-keys.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/input/keyboard/mtk-pmic-keys.c b/drivers/input/keyboard/mtk-pmic-keys.c index 02c67a1749fc..388043e1939c 100644 --- a/drivers/input/keyboard/mtk-pmic-keys.c +++

Re: [PATCH 03/15] arm: dts: mediatek: Add missing cooling device properties for CPUs

2018-06-25 Thread Matthias Brugger
On 25/05/18 12:31, Viresh Kumar wrote: > The cooling device properties, like "#cooling-cells" and > "dynamic-power-coefficient", should either be present for all the CPUs > of a cluster or none. If these are present only for a subset of CPUs of > a cluster then things will start falling apart as

Re: [PATCH v1 7/7] arm64: dts: mt7622: add EINT support to pinctrl

2018-06-25 Thread Matthias Brugger
On 20/05/18 19:01, sean.w...@mediatek.com wrote: > From: Sean Wang > > Add EINT support to pinctrl and set those GPIO keys as interrupt-driven > keys. > > Signed-off-by: Sean Wang > --- Merged, Thanks! > arch/arm64/boot/dts/mediatek/mt7622-rfb1.dts | 2 +- > arch/arm64/boot/dts/mediatek/

Re: [PATCH v2 1/6] dt-bindings: gpu: mali-utgard: add mediatek,mt7623-mali compatible

2018-06-25 Thread Matthias Brugger
On 27/04/18 10:14, sean.w...@mediatek.com wrote: > From: Sean Wang > > The MediaTek MT7623 SoC contains a Mali-450, so add a compatible for it > and define its own vendor-specific properties. > > Reviewed-by: Rob Herring > Signed-off-by: Sean Wang > --- Hi Rob, Any comments regarding this

Re: [PATCH 1/3] spis: mediatek: add bindings for Mediatek MT2712 soc platform

2018-08-28 Thread Matthias Brugger
On 28/08/18 08:28, Leilk Liu wrote: > This patch adds a DT binding documentation for the MT2712 soc. > > Signed-off-by: Leilk Liu > --- > .../devicetree/bindings/spi/spi-slave-mt27xx.txt | 39 > > 1 file changed, 39 insertions(+) > create mode 100644 Documentation/d

Re: [PATCH v2 2/2] arm64: dts: Add Mediatek X20 Development Board support

2018-07-19 Thread Matthias Brugger
On 18/07/18 18:43, Manivannan Sadhasivam wrote: > Hi Matthias, > > On Wed, Jul 18, 2018 at 05:07:38PM +0200, Matthias Brugger wrote: >> >> >> On 17/07/18 16:04, Manivannan Sadhasivam wrote: >>> Hi Matthias, >>> >>> On Mon, Jul 16, 201

Re: [PATCH v3 0/4] Add basic support for Mediatek MT8183 SoC

2018-07-20 Thread Matthias Brugger
On 20/07/18 10:19, Erin Lo wrote: > On Mon, 2018-07-16 at 11:28 +0200, Matthias Brugger wrote: >> Hi Erin, >> >> On 17/05/18 08:22, Erin Lo wrote: >>> MT8183 is a SoC based on 64bit ARMv8 architecture. >>> It contains 4 CA53 and 4 CA73 cores. >>

Re: [PATCH v3 0/2] Add Mediatek X20 Development Board support

2018-07-20 Thread Matthias Brugger
On 19/07/18 12:54, Manivannan Sadhasivam wrote: > Add devicetree support for Mediatek X20 Development Board by Archermind. > This board is based on the Deca-Core MT6797 SoC from Mediatek and is > one of the 96Boards Consumer Edition platform. > > With this devicetree change, board can boot into

Re: [PATCH v3 0/4] Add basic support for Mediatek MT8183 SoC

2018-07-22 Thread Matthias Brugger
On 21/07/18 09:28, Erin Lo wrote: > On Fri, 2018-07-20 at 12:44 +0200, Matthias Brugger wrote: >> >> On 20/07/18 10:19, Erin Lo wrote: >>> On Mon, 2018-07-16 at 11:28 +0200, Matthias Brugger wrote: >>>> Hi Erin, >>>> >>>> On 17/05/1

  1   2   3   4   5   6   7   8   9   10   >