Re: [PATCH 7/7] arm: dts: mediatek: add basic support for MT7629 SoC

2019-02-08 Thread Matthias Brugger
On 29/01/2019 05:31, Ryder Lee wrote: > This adds basic support for MT7629 reference board. > > Signed-off-by: Ryder Lee > --- > The I2C node depends on https://patchwork.kernel.org/patch/10772837/ > The PCIe node depends on https://patchwork.kernel.org/patch/10773637/ Not all of them are

Re: [PATCH 4/7] dt-bindings: mediatek: update bindings for MT7629 SoC

2019-02-08 Thread Matthias Brugger
On 29/01/2019 05:31, Ryder Lee wrote: > This updates bindings for MT7629 SoC, which includes very basic items > such as system timer, UART, sysirq and scpsys unit. > > Signed-off-by: Ryder Lee > --- > .../devicetree/bindings/interrupt-controller/mediatek,sysirq.txt | 5 +++-- >

Re: [PATCH 5/7] dt-bindings: interrupt-controller: update bindings for MT7623

2019-02-07 Thread Matthias Brugger
On 29/01/2019 05:31, Ryder Lee wrote: > This adds missing bindings for MT7623 sysirq. > > Signed-off-by: Ryder Lee Marc, if you don't have any objections, I'll take this through my tree. Regards, Matthias > --- > .../devicetree/bindings/interrupt-controller/mediatek,sysirq.txt | 1

Re: [PATCH 1/7] Revert "ARM: mediatek: add MT7623a smp bringup code"

2019-02-07 Thread Matthias Brugger
On 29/01/2019 05:28, Ryder Lee wrote: > This reverts commit 3b99ab7deca1e5f4229b4bdecd005d71e22cfc60. > > The compatible "mediatek,mt7623a" is useless, so remove it. > > Signed-off-by: Ryder Lee pushed to v5.0-next/soc Thanks! > --- > arch/arm/mach-mediatek/mediatek.c | 2 -- >

Re: [PATCH] thermal: mtk: Allocate enough space for mtk_thermal.

2019-02-07 Thread Matthias Brugger
On 09/01/2019 06:57, Pi-Hsun Shih wrote: > The mtk_thermal struct contains a 'struct mtk_thermal_bank banks[];', > but the allocation only allocates sizeof(struct mtk_thermal) bytes, > which cause out of bound access with the ->banks[] member. Change it to > a fixed size array instead. > >

Re: [PATCH v4 09/12] dt-bindings: soc: fix typo of MT8173 power dt-bindings

2019-02-07 Thread Matthias Brugger
On 01/02/2019 09:30, Weiyi Lu wrote: > fix incorrect IC name that will affect the MT8183 power dt-bindings > > Signed-off-by: Weiyi Lu > --- pushed to v5.0-next/soc Thanks > include/dt-bindings/power/mt8173-power.h | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff

Re: [PATCH v6 6/6] arm64: dts: Add Mediatek SoC MT8183 and evaluation board dts and Makefile

2019-02-07 Thread Matthias Brugger
On 24/01/2019 09:07, Erin Lo wrote: > From: Ben Ho > > Add basic chip support for Mediatek 8183, include > pinctrl file, uart node with correct uart clocks, pwrap device > > Add clock controller nodes, include topckgen, infracfg, > apmixedsys and subsystem. > > Signed-off-by: Ben Ho >

Re: [PATCH v6 5/6] dt-bindings: pinctrl: mt8183: add binding document

2019-02-07 Thread Matthias Brugger
On 24/01/2019 09:07, Erin Lo wrote: > From: Zhiyong Tao > > The commit adds mt8183 compatible node in binding document. > > Signed-off-by: Zhiyong Tao > Signed-off-by: Erin Lo > --- I'm missing Linus Walleij on the recipient list. Pleas make sure to add all persons from the

Re: [PATCH v6 1/6] irqchip/mtk-sysirq: support 4 interrupt parameters for sysirq

2019-02-07 Thread Matthias Brugger
On 24/01/2019 09:07, Erin Lo wrote: > From: Seiya Wang > > To support partitioned PPIs, 4 interrupt parameters should be valid > for sysirq. > > Signed-off-by: Seiya Wang > Signed-off-by: Erin Lo > --- > drivers/irqchip/irq-mtk-sysirq.c | 4 ++-- > 1 file changed, 2 insertions(+), 2

Re: [PATCH v6 2/6] dt-bindings: arm: Add bindings for Mediatek MT8183 SoC Platform

2019-02-07 Thread Matthias Brugger
On 24/01/2019 09:07, Erin Lo wrote: > This adds dt-binding documentation of cpu for Mediatek MT8183. > > Signed-off-by: Erin Lo > Reviewed-by: Rob Herring pushed to v5.0-next/dts64 Thanks, Matthias > --- > Documentation/devicetree/bindings/arm/mediatek.txt | 4 > 1 file changed, 4

Re: [PATCH v6 6/6] arm64: dts: Add Mediatek SoC MT8183 and evaluation board dts and Makefile

2019-02-07 Thread Matthias Brugger
On 01/02/2019 06:11, Erin Lo wrote: > Add back more people since mail server issue > > On Fri, 2019-02-01 at 11:33 +0800, Erin Lo wrote: >> On Thu, 2019-01-31 at 15:10 -0600, Rob Herring wrote: >>> On Wed, Jan 30, 2019 at 8:34 PM Erin Lo wrote: On Wed, 2019-01-30 at 10:22 -0600, Rob

Re: [PATCH v5 6/9] cpufreq: mediatek: Use auto-registration of thermal cooling device

2019-02-06 Thread Matthias Brugger
esh Kumar > Reviewed-by: Daniel Lezcano Reviewed-by: Matthias Brugger > --- > drivers/cpufreq/mediatek-cpufreq.c | 14 ++ > 1 file changed, 2 insertions(+), 12 deletions(-) > > diff --git a/drivers/cpufreq/mediatek-cpufreq.c > b/drivers/cpufreq/mediatek-cp

Re: [PATCH v4 2/6] remoteproc/mediatek: add SCP support for mt8183

2019-02-04 Thread Matthias Brugger
On 02/02/2019 01:17, Matthias Kaehlcke wrote: > Hi Pi-Hsun, > > a few comments inline. > > It's the first time I dabble into remoteproc, I don't claim to have a > complete understanding of the driver at this point ;-) > > On Thu, Jan 31, 2019 at 05:31:27PM +0800, Pi-Hsun Shih wrote: >> From:

Re: [PATCH v4 2/6] remoteproc/mediatek: add SCP support for mt8183

2019-02-04 Thread Matthias Brugger
On 31/01/2019 10:31, Pi-Hsun Shih wrote: > From: Erin Lo [...] > +struct platform_device *scp_get_plat_device(struct platform_device *pdev) > +{ > + struct device *dev = >dev; > + struct device_node *scp_node; > + struct platform_device *scp_pdev; > + > + scp_node =

Re: [PATCH 3/7] thermal: mediatek: add calibration item

2019-02-04 Thread Matthias Brugger
On 01/02/2019 08:38, michael@mediatek.com wrote: > From: Michael Kao > > Add calibration item in thermal_data to support > the project with different calibration coefficient. > > Signed-off-by: Michael Kao > --- > drivers/thermal/mtk_thermal.c | 19 ++- > 1 file

Re: [PATCH 1/7] thermal: mediatek: fix register index error

2019-02-04 Thread Matthias Brugger
On 01/02/2019 08:38, michael@mediatek.com wrote: > From: Michael Kao > > The index of msr and adcpnp should match the sensor > which belongs to the selected bank in the for loop. > If I get that right, this fixes b7cf0053738c ("thermal: Add Mediatek thermal driver for mt2701.") So

Re: [PATCH v1 2/5] dt-bindings: pwm: add a property "mediatek,num-pwms"

2019-01-18 Thread Matthias Brugger
On 18/01/2019 04:24, Ryder Lee wrote: > This adds a property "mediatek,num-pwms" in example so that we could > set the number of PWM channels via device tree. > > Signed-off-by: Ryder Lee > Reviewed-by: Matthias Brugger > --- > Changes since v1: add a Reviewed

Re: [PATCH v1 1/5] pwm: mediatek: add a property "mediatek,num-pwms"

2019-01-18 Thread Matthias Brugger
On 18/01/2019 04:24, Ryder Lee wrote: > This adds a property "mediatek,num-pwms" to avoid having an endless > list of compatibles with no differences for the same driver. > > Thus, the driver should have backwards compatibility to older DTs. > > Signed-off-by: Ryder Lee > --- > Changes since

Re: Aw: [PATCH 2/2] drm/mediatek: Add Mediatek framebuffer device

2019-01-18 Thread Matthias Brugger
lem? Frank, did you test with my last series [1]? Regards, Matthias [1] https://patchwork.kernel.org/cover/10686345/ > Regards, > CK > >> >> regards Frank >> >> >>> Gesendet: Mittwoch, 16. Januar 2019 um 02:39 Uhr >>> Von: "CK Hu" >

Re: [PATCH 3/5] arm64: dts: mt7622: add a property "mediatek,num-pwms" for PWM

2019-01-17 Thread Matthias Brugger
On 15/01/2019 21:02, Uwe Kleine-König wrote: > Hello, > > On Mon, Jan 14, 2019 at 04:21:22PM +0800, Ryder Lee wrote: >> This adds a property "mediatek,num-pwms" for PWM controller. >> >> Signed-off-by: Ryder Lee >> --- >> arch/arm64/boot/dts/mediatek/mt7622.dtsi | 1 + >> 1 file changed, 1

Re: [PATCH] pwm: Add MediaTek MT8183 display PWM driver support

2019-01-16 Thread Matthias Brugger
On 16/01/2019 08:52, Jitao Shi wrote: > Use the mtk_pwm_data struction to define different registers > and add MT8183 specific register operations, such as MT8183 > have commit register, needs to enable double buffer has_commit is set to false, so I suppose you mean that MT8183 does not have a

Re: [PATCH v2 3/4] usb: musb: Extract set toggle as a separate interface

2019-01-15 Thread Matthias Brugger
On 15/01/2019 02:43, min@mediatek.com wrote: > From: Min Guo > > Add a common interface for set data toggle > > Signed-off-by: Min Guo > --- > drivers/usb/musb/musb_host.c | 37 +++-- > 1 file changed, 23 insertions(+), 14 deletions(-) > > diff --git

Re: [PATCH 5/5] dt-bindings: pwm: update bindings for MT7629 SoC

2019-01-14 Thread Matthias Brugger
On 14/01/2019 09:21, Ryder Lee wrote: > This updates bindings for MT7629 pwm controller. > > Signed-off-by: Ryder Lee Reviewed-by: Matthias Brugger > --- > Documentation/devicetree/bindings/pwm/pwm-mediatek.txt | 1 + > 1 file changed, 1 insertion(+) > > di

Re: [PATCH 2/5] dt-bindings: pwm: add a property "mediatek,num-pwms"

2019-01-14 Thread Matthias Brugger
On 14/01/2019 09:21, Ryder Lee wrote: > This adds a property "mediatek,num-pwms" in example so that we could > set the number of PWM channels via device tree. > > Signed-off-by: Ryder Lee Reviewed-by: Matthias Brugger > --- > Documentation/devicetree/bindi

Re: [PATCH 1/5] pwm: mediatek: add a property "mediatek,num-pwms"

2019-01-14 Thread Matthias Brugger
On 14/01/2019 09:21, Ryder Lee wrote: > This adds a property "mediatek,num-pwms" to avoid having an endless > list of compatibles with no other differences for the same driver. > > Signed-off-by: Ryder Lee > --- > drivers/pwm/pwm-mediatek.c | 25 +++-- > 1 file changed,

Re: [PATCH 0/8] add dts nodes to MT2712 SoC

2019-01-09 Thread Matthias Brugger
On 03/12/2018 12:35, YT Shen wrote: > This patch series based on v4.20-rc1, include MT2712 > usb/iommu/smi/i2c/spi/pwm/mmc/nand/pcie device nodes > > Chunfeng Yun (1): > arm64: dts: Add USB3 related nodes for MT2712 > > Honghui Zhang (1): > arm64: dts: add pcie nodes for MT2712 > > YT

Re: [PATCH 9/9] drm/mediatek: add dpi dual edge support

2019-01-09 Thread Matthias Brugger
On 04/01/2019 08:03, chunhui dai wrote: > DPI sample on rising and falling edge. It can reduce half data io. > > Signed-off-by: Jitao Shi > Signed-off-by: chunhui dai > --- > drivers/gpu/drm/mediatek/mtk_dpi.c | 30 ++ > 1 file changed, 30 insertions(+) > > diff

Re: [PATCH 1/9] drm/mediatek: recalculate hdmi phy clock of MT2701 by querying hardware

2019-01-09 Thread Matthias Brugger
On 04/01/2019 08:03, chunhui dai wrote: > Recalculate the rate of this clock, by querying hardware. > > Signed-off-by: chunhui dai > --- > drivers/gpu/drm/mediatek/mtk_hdmi_phy.c| 7 ++-- > drivers/gpu/drm/mediatek/mtk_hdmi_phy.h| 3 +- >

Re: [PATCH 4/9] drm/mediatek: fix the rate and divder of hdmi phy for MT2701

2019-01-09 Thread Matthias Brugger
On 04/01/2019 08:03, chunhui dai wrote: > fix the rate and divder of hdmi phy for MT2701. This is a bug? Then we would need a fixes tag. Otherwise you should explain in the commit, that you need to change the calculation due to previous commits. Regards, Matthias > > Signed-off-by: chunhui

Re: [PATCH v2 0/3] Mark clocks as critical for MT6797

2019-01-08 Thread Matthias Brugger
On 07/01/2019 21:56, Stephen Boyd wrote: > Quoting Matthias Brugger (2018-11-30 01:04:02) >> >> >> On 30/11/2018 07:47, Stephen Boyd wrote: >>> Quoting matthias@kernel.org (2018-11-16 10:08:58) >>>> From: Matthias Brugger >&g

Re: [PATCH v4 10/18] iommu/mediatek: Add mt8183 IOMMU support

2018-12-21 Thread Matthias Brugger
On 08/12/2018 09:39, Yong Wu wrote: > The M4U IP blocks in mt8183 is MediaTek's generation2 M4U which use > the ARM Short-descriptor like mt8173, and most of the HW registers > are the same. > > Here list main differences between mt8183 and mt8173/mt2712: > 1) mt8183 has only one M4U HW like

Re: [PATCH v4 04/18] memory: mtk-smi: Use a struct for the platform data for smi-common

2018-12-21 Thread Matthias Brugger
on_plat" before it is referred. > > This is a preparing patch for mt8183. > > Signed-off-by: Yong Wu Reviewed-by: Matthias Brugger > --- > drivers/memory/mtk-smi.c | 35 --- > 1 file changed, 24 insertions(+), 11 deletions(-) > > di

Re: [PATCH v4 03/18] memory: mtk-smi: Use a general config_port interface

2018-12-21 Thread Matthias Brugger
I'm not really happy with the name larb_special_mask but I can't think of anything else. The comment is not needed as it just rewords the name of the variable. Other then that (or even without changing anything): Reviewed-by: Matthias Brugger > }; > > struct mtk_smi { > @@ -176,17

Re: [PATCH v4 02/18] iommu/mediatek: Use a struct as the platform data

2018-12-21 Thread Matthias Brugger
On 08/12/2018 09:39, Yong Wu wrote: > Use a struct as the platform special data instead of the enumeration. > This is a prepare patch for adding mt8183 iommu support. > > Signed-off-by: Yong Wu > --- Reviewed-by: Matthias Brugger > drivers/iomm

Re: [PATCH v1 6/9] arm64: kexec: no need to ClearPageReserved()

2018-12-16 Thread Matthias Brugger
; Cc: Michal Hocko > Cc: Matthew Wilcox > Acked-by: James Morse > Signed-off-by: David Hildenbrand Reviewed-by: Matthias Brugger > --- > arch/arm64/kernel/machine_kexec.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/arch/arm64/kernel/machine_kexec.c &

Re: [PATCH] dt-bindings: watchdog: update bindings for MT7629 SoC

2018-12-16 Thread Matthias Brugger
On 07/11/2018 08:10, Ryder Lee wrote: > This updates dt-binding documentation for MT7629 SoC > > Signed-off-by: Ryder Lee Acked-by: Matthias Brugger > --- > Documentation/devicetree/bindings/watchdog/mtk-wdt.txt | 1 + > 1 file changed, 1 insertion(+) > > di

Re: [PATCH 3.16 038/328] tty: fix typo in comment of tty_termios_encode_baud_rate

2018-12-12 Thread Matthias Brugger
On 09/12/2018 22:50, Ben Hutchings wrote: > 3.16.62-rc1 review patch. If anyone has any objections, please let me know. > > -- > > From: Matthias Brugger > > commit a1d51aa2214cea3f91611893610a2f769cada0e7 upstream. > > Signed-off-by: Mat

Re: [PATCH v3 1/4] dt-bindings: pinctrl: Add devicetree bindings for MT6797 SoC Pinctrl

2018-12-02 Thread Matthias Brugger
Hi Linus, On 15/11/2018 11:04, Linus Walleij wrote: > On Wed, Nov 7, 2018 at 6:49 PM Manivannan Sadhasivam > wrote: > >> Add devicetree bindings for Mediatek MT6797 SoC Pin Controller. >> >> Signed-off-by: Manivannan Sadhasivam > > Patch applied. > Could you provide a stable tree for me, so

Re: [PATCH v3 1/4] dt-bindings: pinctrl: Add devicetree bindings for MT6797 SoC Pinctrl

2018-12-02 Thread Matthias Brugger
Hi Linus, On 15/11/2018 11:04, Linus Walleij wrote: > On Wed, Nov 7, 2018 at 6:49 PM Manivannan Sadhasivam > wrote: > >> Add devicetree bindings for Mediatek MT6797 SoC Pin Controller. >> >> Signed-off-by: Manivannan Sadhasivam > > Patch applied. > Could you provide a stable tree for me, so

Re: [PATCH] MAINTAINERS: mediatek: Update SoC entry

2018-12-02 Thread Matthias Brugger
On 02/12/2018 21:03, Olof Johansson wrote: > On Sun, Dec 2, 2018 at 11:41 AM Matthias Brugger > wrote: >> >> >> >> On 16/10/2018 16:57, Matthias Brugger wrote: >>> Add IRC channel and URL of the wiki. >>> Also add soc drivers folder

Re: [PATCH] MAINTAINERS: mediatek: Update SoC entry

2018-12-02 Thread Matthias Brugger
On 02/12/2018 21:03, Olof Johansson wrote: > On Sun, Dec 2, 2018 at 11:41 AM Matthias Brugger > wrote: >> >> >> >> On 16/10/2018 16:57, Matthias Brugger wrote: >>> Add IRC channel and URL of the wiki. >>> Also add soc drivers folder

Re: [PATCH v27 2/2] soc: mediatek: Add Mediatek CMDQ helper

2018-12-02 Thread Matthias Brugger
On 29/11/2018 04:37, Houlong Wei wrote: > Add Mediatek CMDQ helper to create CMDQ packet and assemble GCE op code. > > Signed-off-by: Houlong Wei > Signed-off-by: HS Liao > --- > drivers/soc/mediatek/Kconfig | 12 ++ > drivers/soc/mediatek/Makefile |1 + >

Re: [PATCH v27 2/2] soc: mediatek: Add Mediatek CMDQ helper

2018-12-02 Thread Matthias Brugger
On 29/11/2018 04:37, Houlong Wei wrote: > Add Mediatek CMDQ helper to create CMDQ packet and assemble GCE op code. > > Signed-off-by: Houlong Wei > Signed-off-by: HS Liao > --- > drivers/soc/mediatek/Kconfig | 12 ++ > drivers/soc/mediatek/Makefile |1 + >

Re: [PATCH v27 1/2] arm64: dts: mt8173: Add GCE node

2018-12-02 Thread Matthias Brugger
On 29/11/2018 04:37, Houlong Wei wrote: > This patch adds the device node of the GCE hardware for CMDQ module. > > Signed-off-by: Houlong Wei > Signed-off-by: HS Liao > --- > arch/arm64/boot/dts/mediatek/mt8173.dtsi | 10 ++ > 1 file changed, 10 insertions(+) > > diff --git

Re: [PATCH v27 1/2] arm64: dts: mt8173: Add GCE node

2018-12-02 Thread Matthias Brugger
On 29/11/2018 04:37, Houlong Wei wrote: > This patch adds the device node of the GCE hardware for CMDQ module. > > Signed-off-by: Houlong Wei > Signed-off-by: HS Liao > --- > arch/arm64/boot/dts/mediatek/mt8173.dtsi | 10 ++ > 1 file changed, 10 insertions(+) > > diff --git

Re: [PATCH] MAINTAINERS: mediatek: Update SoC entry

2018-12-02 Thread Matthias Brugger
On 16/10/2018 16:57, Matthias Brugger wrote: > Add IRC channel and URL of the wiki. > Also add soc drivers folder and regex to catch more > mediatek components. > > Signed-off-by: Matthias Brugger > --- Any comments on this patch? Through which tree should it go?

Re: [PATCH] MAINTAINERS: mediatek: Update SoC entry

2018-12-02 Thread Matthias Brugger
On 16/10/2018 16:57, Matthias Brugger wrote: > Add IRC channel and URL of the wiki. > Also add soc drivers folder and regex to catch more > mediatek components. > > Signed-off-by: Matthias Brugger > --- Any comments on this patch? Through which tree should it go?

Re: [PATCH v2 0/3] Mark clocks as critical for MT6797

2018-11-30 Thread Matthias Brugger
On 30/11/2018 07:47, Stephen Boyd wrote: > Quoting matthias@kernel.org (2018-11-16 10:08:58) >> From: Matthias Brugger >> >> Jasper send this series some month ago. As there was no reaction from >> his side, I'll do a friendly take-over. >> I tested th

Re: [PATCH v2 0/3] Mark clocks as critical for MT6797

2018-11-30 Thread Matthias Brugger
On 30/11/2018 07:47, Stephen Boyd wrote: > Quoting matthias@kernel.org (2018-11-16 10:08:58) >> From: Matthias Brugger >> >> Jasper send this series some month ago. As there was no reaction from >> his side, I'll do a friendly take-over. >> I tested th

Re: [PATCH] arm64: dts: Add uart for mt6797 EVB

2018-11-29 Thread Matthias Brugger
On 16/11/2018 19:30, matthias@kernel.org wrote: > From: Matthias Brugger > > This patch adds the pinctrl configuration for the mt6797 EVB. > > Signed-off-by: Matthias Brugger > --- > arch/arm64/boot/dts/mediatek/mt6797-evb.dts | 2 ++ > arch/arm64/boot/dts/med

Re: [PATCH] arm64: dts: Add uart for mt6797 EVB

2018-11-29 Thread Matthias Brugger
On 16/11/2018 19:30, matthias@kernel.org wrote: > From: Matthias Brugger > > This patch adds the pinctrl configuration for the mt6797 EVB. > > Signed-off-by: Matthias Brugger > --- > arch/arm64/boot/dts/mediatek/mt6797-evb.dts | 2 ++ > arch/arm64/boot/dts/med

Re: [PATCH v3 2/4] arm64: dts: mediatek: mt6797: Add pinctrl support

2018-11-29 Thread Matthias Brugger
On 07/11/2018 18:48, Manivannan Sadhasivam wrote: > Add pinctrl support for Mediatek MT6797 SoC. > > Signed-off-by: Manivannan Sadhasivam > --- > arch/arm64/boot/dts/mediatek/mt6797.dtsi | 14 ++ > 1 file changed, 14 insertions(+) > pushed to v4.20-next/dts64 Thanks! > diff

Re: [PATCH v3 3/4] arm64: dts: mediatek: x20: Add pinmux support for UART1

2018-11-29 Thread Matthias Brugger
On 07/11/2018 18:48, Manivannan Sadhasivam wrote: > Add pinmux support for UART1 on MediatekX20 Development board based > on Mediatek MT6797 SoC. > > Signed-off-by: Manivannan Sadhasivam > --- > arch/arm64/boot/dts/mediatek/mt6797-x20-dev.dts | 2 ++ >

Re: [PATCH v3 2/4] arm64: dts: mediatek: mt6797: Add pinctrl support

2018-11-29 Thread Matthias Brugger
On 07/11/2018 18:48, Manivannan Sadhasivam wrote: > Add pinctrl support for Mediatek MT6797 SoC. > > Signed-off-by: Manivannan Sadhasivam > --- > arch/arm64/boot/dts/mediatek/mt6797.dtsi | 14 ++ > 1 file changed, 14 insertions(+) > pushed to v4.20-next/dts64 Thanks! > diff

Re: [PATCH v3 3/4] arm64: dts: mediatek: x20: Add pinmux support for UART1

2018-11-29 Thread Matthias Brugger
On 07/11/2018 18:48, Manivannan Sadhasivam wrote: > Add pinmux support for UART1 on MediatekX20 Development board based > on Mediatek MT6797 SoC. > > Signed-off-by: Manivannan Sadhasivam > --- > arch/arm64/boot/dts/mediatek/mt6797-x20-dev.dts | 2 ++ >

Re: [PATCH v1 3/3] arm64: dts: mt7622: Drop the general purpose timer node

2018-11-26 Thread Matthias Brugger
On 26/11/2018 04:49, Ryder Lee wrote: > On Fri, 2018-11-23 at 18:07 +0100, Matthias Brugger wrote: >> >> On 12/11/2018 02:28, Ryder Lee wrote: >>> The crash http://termbin.com/zitb is caused by the timer register >>> into system in early pahse during kerne

Re: [PATCH v1 3/3] arm64: dts: mt7622: Drop the general purpose timer node

2018-11-26 Thread Matthias Brugger
On 26/11/2018 04:49, Ryder Lee wrote: > On Fri, 2018-11-23 at 18:07 +0100, Matthias Brugger wrote: >> >> On 12/11/2018 02:28, Ryder Lee wrote: >>> The crash http://termbin.com/zitb is caused by the timer register >>> into system in early pahse during kerne

Re: [PATCH v1 3/3] arm64: dts: mt7622: Drop the general purpose timer node

2018-11-23 Thread Matthias Brugger
problem? --->8 >From be91e56ed527261137335af340845eb3dd3dd33a Mon Sep 17 00:00:00 2001 From: Matthias Brugger Date: Fri, 23 Nov 2018 17:04:08 +0100 Subject: [PATCH] clocksource/drivers/timer-mediatek: error out on probe defer If the clocks are not yet present, because they are loaded after the timer is initialized, w

Re: [PATCH v1 3/3] arm64: dts: mt7622: Drop the general purpose timer node

2018-11-23 Thread Matthias Brugger
problem? --->8 >From be91e56ed527261137335af340845eb3dd3dd33a Mon Sep 17 00:00:00 2001 From: Matthias Brugger Date: Fri, 23 Nov 2018 17:04:08 +0100 Subject: [PATCH] clocksource/drivers/timer-mediatek: error out on probe defer If the clocks are not yet present, because they are loaded after the timer is initialized, w

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

2018-11-20 Thread Matthias Brugger
On 20/11/2018 09:41, Leilk Liu wrote: > This patch adds a DT binding documentation for the MT7629 soc. > > Signed-off-by: Leilk Liu > --- > .../devicetree/bindings/spi/spi-mt65xx.txt |1 + > 1 file changed, 1 insertion(+) > > diff --git

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

2018-11-20 Thread Matthias Brugger
On 20/11/2018 09:41, Leilk Liu wrote: > This patch adds a DT binding documentation for the MT7629 soc. > > Signed-off-by: Leilk Liu > --- > .../devicetree/bindings/spi/spi-mt65xx.txt |1 + > 1 file changed, 1 insertion(+) > > diff --git

Re: Aw: Re: [PATCH v5 05/12] drm: mediatek

2018-11-20 Thread Matthias Brugger
On 20/11/2018 09:26, Frank Wunderlich wrote: > Hi, > > i got v5-patches working on bpi-r2 (mt7623) with a Patch from Ryder.lee and 2 > from Bibby Hsieh on 4.19-rc1 > > https://github.com/frank-w/BPI-R2-4.14/commits/4.19-hdmiv5 > I don't see the patches applied to this tree. Apart from that

Re: Aw: Re: [PATCH v5 05/12] drm: mediatek

2018-11-20 Thread Matthias Brugger
On 20/11/2018 09:26, Frank Wunderlich wrote: > Hi, > > i got v5-patches working on bpi-r2 (mt7623) with a Patch from Ryder.lee and 2 > from Bibby Hsieh on 4.19-rc1 > > https://github.com/frank-w/BPI-R2-4.14/commits/4.19-hdmiv5 > I don't see the patches applied to this tree. Apart from that

Re: [PATCH v5 05/12] drm: mediatek: Omit warning on probe defers

2018-11-19 Thread Matthias Brugger
On 19/11/2018 06:38, CK Hu wrote: > Hi, Matthias: > > On Fri, 2018-11-16 at 13:54 +0100, matthias@kernel.org wrote: >> From: Matthias Brugger >> >> It can happen that the mmsys clock drivers aren't probed before the >> platform driver gets invoked.

Re: [PATCH v5 05/12] drm: mediatek: Omit warning on probe defers

2018-11-19 Thread Matthias Brugger
On 19/11/2018 06:38, CK Hu wrote: > Hi, Matthias: > > On Fri, 2018-11-16 at 13:54 +0100, matthias@kernel.org wrote: >> From: Matthias Brugger >> >> It can happen that the mmsys clock drivers aren't probed before the >> platform driver gets invoked.

Re: [PATCH 1/4] dt-bindings: pwm: update bindings for MT7629 SoC

2018-11-15 Thread Matthias Brugger
On 15/11/2018 07:35, Ryder Lee wrote: > On Thu, 2018-11-15 at 14:26 +0800, Ryder Lee wrote: >> This updates bindings for MT7629 pwm controller. >> >> Signed-off-by: Ryder Lee >> --- >> Documentation/devicetree/bindings/pwm/pwm-mediatek.txt | 1 + >> 1 file changed, 1 insertion(+) >> >> diff

Re: [PATCH 1/4] dt-bindings: pwm: update bindings for MT7629 SoC

2018-11-15 Thread Matthias Brugger
On 15/11/2018 07:35, Ryder Lee wrote: > On Thu, 2018-11-15 at 14:26 +0800, Ryder Lee wrote: >> This updates bindings for MT7629 pwm controller. >> >> Signed-off-by: Ryder Lee >> --- >> Documentation/devicetree/bindings/pwm/pwm-mediatek.txt | 1 + >> 1 file changed, 1 insertion(+) >> >> diff

Re: [PATCH v3 5/9] arm64: defconfig: Replace PINCTRL_MT7622 with PINCTRL_MTK_MOORE

2018-11-15 Thread Matthias Brugger
On 09/11/2018 20:59, Marc Gonzalez wrote: > On 09/11/2018 14:03, Matthias Brugger wrote: > >> On 09/11/2018 02:03, Marc Gonzalez wrote: >> >>> Commit e78d57b2f87c ("pinctrl: mediatek: add pinctrl-moore that >>> implements the generic pinctrl dt-

Re: [PATCH v3 5/9] arm64: defconfig: Replace PINCTRL_MT7622 with PINCTRL_MTK_MOORE

2018-11-15 Thread Matthias Brugger
On 09/11/2018 20:59, Marc Gonzalez wrote: > On 09/11/2018 14:03, Matthias Brugger wrote: > >> On 09/11/2018 02:03, Marc Gonzalez wrote: >> >>> Commit e78d57b2f87c ("pinctrl: mediatek: add pinctrl-moore that >>> implements the generic pinctrl dt-

Re: [PATCH v3 5/9] arm64: defconfig: Replace PINCTRL_MT7622 with PINCTRL_MTK_MOORE

2018-11-09 Thread Matthias Brugger
On 09/11/2018 02:03, Marc Gonzalez wrote: > Commit e78d57b2f87c ("pinctrl: mediatek: add pinctrl-moore that > implements the generic pinctrl dt-bindings") made PINCTRL_MT7622 > depend on PINCTRL_MTK_MOORE. > > Signed-off-by: Marc Gonzalez > --- > arch/arm64/configs/defconfig | 2 +- > 1 file

Re: [PATCH v3 5/9] arm64: defconfig: Replace PINCTRL_MT7622 with PINCTRL_MTK_MOORE

2018-11-09 Thread Matthias Brugger
On 09/11/2018 02:03, Marc Gonzalez wrote: > Commit e78d57b2f87c ("pinctrl: mediatek: add pinctrl-moore that > implements the generic pinctrl dt-bindings") made PINCTRL_MT7622 > depend on PINCTRL_MTK_MOORE. > > Signed-off-by: Marc Gonzalez > --- > arch/arm64/configs/defconfig | 2 +- > 1 file

Re: [PATCH 1/4] of/device: Add a way to probe drivers by match data

2018-11-09 Thread Matthias Brugger
On 08/11/2018 18:58, Stephen Boyd wrote: > Quoting Matthias Brugger (2018-11-08 00:29:46) >> On 06/11/2018 19:36, Stephen Boyd wrote: >>> +int platform_driver_probe_by_of_match_data(struct platform_device *pdev) >>> +{ >>> + int (*prob

Re: [PATCH 1/4] of/device: Add a way to probe drivers by match data

2018-11-09 Thread Matthias Brugger
On 08/11/2018 18:58, Stephen Boyd wrote: > Quoting Matthias Brugger (2018-11-08 00:29:46) >> On 06/11/2018 19:36, Stephen Boyd wrote: >>> +int platform_driver_probe_by_of_match_data(struct platform_device *pdev) >>> +{ >>> + int (*prob

Re: [PATCH 1/4] of/device: Add a way to probe drivers by match data

2018-11-08 Thread Matthias Brugger
On 06/11/2018 19:36, Stephen Boyd wrote: > We have a handful of clk drivers that have a collection of slightly > variant device support keyed off of the compatible string. In each of > these drivers, we demux the variant and then call the "real" probe > function based on whatever is stored in

Re: [PATCH 1/4] of/device: Add a way to probe drivers by match data

2018-11-08 Thread Matthias Brugger
On 06/11/2018 19:36, Stephen Boyd wrote: > We have a handful of clk drivers that have a collection of slightly > variant device support keyed off of the compatible string. In each of > these drivers, we demux the variant and then call the "real" probe > function based on whatever is stored in

Re: [PATCH] thermal: bcm2835: enable hwmon explicitly

2018-10-23 Thread Matthias Brugger
Hi Stefan, On 23/10/2018 14:01, Stefan Wahren wrote: > Hi Matthias, > >> matthias@kernel.org hat am 21. Oktober 2018 um 23:58 geschrieben: >> >> >> From: Matthias Brugger >> >> By defaul of-based thermal driver do not enable hwmon. >> This pat

Re: [PATCH] thermal: bcm2835: enable hwmon explicitly

2018-10-23 Thread Matthias Brugger
Hi Stefan, On 23/10/2018 14:01, Stefan Wahren wrote: > Hi Matthias, > >> matthias@kernel.org hat am 21. Oktober 2018 um 23:58 geschrieben: >> >> >> From: Matthias Brugger >> >> By defaul of-based thermal driver do not enable hwmon. >> This pat

Re: [PATCH 5/6] mmc: mediatek: add MT8183 MMC driver support

2018-10-19 Thread Matthias Brugger
On 13/10/2018 09:20, Chaotian Jing wrote: > MT8183 puts the tune register at top layer, so need add new code > to support it. > > Signed-off-by: Chaotian Jing > --- > drivers/mmc/host/mtk-sd.c | 283 > ++ > 1 file changed, 233 insertions(+), 50

Re: [PATCH 5/6] mmc: mediatek: add MT8183 MMC driver support

2018-10-19 Thread Matthias Brugger
On 13/10/2018 09:20, Chaotian Jing wrote: > MT8183 puts the tune register at top layer, so need add new code > to support it. > > Signed-off-by: Chaotian Jing > --- > drivers/mmc/host/mtk-sd.c | 283 > ++ > 1 file changed, 233 insertions(+), 50

Re: [PATCH 6/6] mmc: mediatek: drop too much code of tuning method

2018-10-19 Thread Matthias Brugger
On 13/10/2018 09:20, Chaotian Jing wrote: > the tuning code is becoming more and more bloated, let's make the > set cmd/data delay to inline function to avoid too much redundant code. > > Signed-off-by: Chaotian Jing > --- > drivers/mmc/host/mtk-sd.c | 133 >

Re: [PATCH 6/6] mmc: mediatek: drop too much code of tuning method

2018-10-19 Thread Matthias Brugger
On 13/10/2018 09:20, Chaotian Jing wrote: > the tuning code is becoming more and more bloated, let's make the > set cmd/data delay to inline function to avoid too much redundant code. > > Signed-off-by: Chaotian Jing > --- > drivers/mmc/host/mtk-sd.c | 133 >

Re: [PATCH 4/6] mmc: mediatek: tune CMD/DATA together

2018-10-19 Thread Matthias Brugger
On 13/10/2018 09:20, Chaotian Jing wrote: > for MSDC IP which supports both data tune and async fifo, it can > tune cmd/data together. which can save the time and make the tune > result of CMD more stable as data line are 4bit or 8bit. > > Signed-off-by: Chaotian Jing > --- >

Re: [PATCH 4/6] mmc: mediatek: tune CMD/DATA together

2018-10-19 Thread Matthias Brugger
On 13/10/2018 09:20, Chaotian Jing wrote: > for MSDC IP which supports both data tune and async fifo, it can > tune cmd/data together. which can save the time and make the tune > result of CMD more stable as data line are 4bit or 8bit. > > Signed-off-by: Chaotian Jing > --- >

[PATCH] MAINTAINERS: mediatek: Update SoC entry

2018-10-16 Thread Matthias Brugger
Add IRC channel and URL of the wiki. Also add soc drivers folder and regex to catch more mediatek components. Signed-off-by: Matthias Brugger --- MAINTAINERS | 4 1 file changed, 4 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 6ac000cc006d..66782dad6487 100644

[PATCH] MAINTAINERS: mediatek: Update SoC entry

2018-10-16 Thread Matthias Brugger
Add IRC channel and URL of the wiki. Also add soc drivers folder and regex to catch more mediatek components. Signed-off-by: Matthias Brugger --- MAINTAINERS | 4 1 file changed, 4 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 6ac000cc006d..66782dad6487 100644

Re: [PATCH 5/5] pinctrl: mediatek: Add initial pinctrl driver for MT6797 SoC

2018-10-16 Thread Matthias Brugger
On 11/10/2018 18:44, Manivannan Sadhasivam wrote: > On Thu, Oct 11, 2018 at 05:50:19PM +0200, Matthias Brugger wrote: >> >> >> On 08/10/2018 21:14, Manivannan Sadhasivam wrote: >>> Add initial pinctrl driver for Mediatek MT6797 SoC supporting only >

Re: [PATCH 5/5] pinctrl: mediatek: Add initial pinctrl driver for MT6797 SoC

2018-10-16 Thread Matthias Brugger
On 11/10/2018 18:44, Manivannan Sadhasivam wrote: > On Thu, Oct 11, 2018 at 05:50:19PM +0200, Matthias Brugger wrote: >> >> >> On 08/10/2018 21:14, Manivannan Sadhasivam wrote: >>> Add initial pinctrl driver for Mediatek MT6797 SoC supporting only >

Re: [PATCH 5/5] pinctrl: mediatek: Add initial pinctrl driver for MT6797 SoC

2018-10-11 Thread Matthias Brugger
On 08/10/2018 21:14, Manivannan Sadhasivam wrote: > Add initial pinctrl driver for Mediatek MT6797 SoC supporting only > GPIO and pinmux configurations. > > Signed-off-by: Manivannan Sadhasivam > --- > drivers/pinctrl/mediatek/Kconfig |7 + >

Re: [PATCH 5/5] pinctrl: mediatek: Add initial pinctrl driver for MT6797 SoC

2018-10-11 Thread Matthias Brugger
On 08/10/2018 21:14, Manivannan Sadhasivam wrote: > Add initial pinctrl driver for Mediatek MT6797 SoC supporting only > GPIO and pinmux configurations. > > Signed-off-by: Manivannan Sadhasivam > --- > drivers/pinctrl/mediatek/Kconfig |7 + >

Re: [PATCH 5/5] pinctrl: mediatek: Add initial pinctrl driver for MT6797 SoC

2018-10-11 Thread Matthias Brugger
On 08/10/2018 21:14, Manivannan Sadhasivam wrote: > Add initial pinctrl driver for Mediatek MT6797 SoC supporting only > GPIO and pinmux configurations. > > Signed-off-by: Manivannan Sadhasivam I tried it on my Helios-X20 from 96 boards. Thanks a lot for the driver! Tested-

Re: [PATCH 5/5] pinctrl: mediatek: Add initial pinctrl driver for MT6797 SoC

2018-10-11 Thread Matthias Brugger
On 08/10/2018 21:14, Manivannan Sadhasivam wrote: > Add initial pinctrl driver for Mediatek MT6797 SoC supporting only > GPIO and pinmux configurations. > > Signed-off-by: Manivannan Sadhasivam I tried it on my Helios-X20 from 96 boards. Thanks a lot for the driver! Tested-

Re: [PATCH 4/5] pinctrl: mediatek: pinctrl-mtk-common-v2: Make eint_m u16

2018-10-11 Thread Matthias Brugger
type to u16. > > Signed-off-by: Manivannan Sadhasivam Reviewed-by: Matthias Brugger > --- > drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.h > b/

Re: [PATCH 4/5] pinctrl: mediatek: pinctrl-mtk-common-v2: Make eint_m u16

2018-10-11 Thread Matthias Brugger
type to u16. > > Signed-off-by: Manivannan Sadhasivam Reviewed-by: Matthias Brugger > --- > drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.h > b/

Re: [PATCH] irqchip/gic-v3-its: Add early memory allocation errata

2018-10-05 Thread Matthias Brugger
On 05/10/2018 15:42, Marc Zyngier wrote: > On 05/10/18 13:33, Matthias Brugger wrote: >> >> >> On 05/10/2018 12:55, Marc Zyngier wrote: >>> Hi Matthias, >>> >>> On 04/10/18 23:11, Matthias Brugger wrote: >>>> Friendly reminder, if an

Re: [PATCH] irqchip/gic-v3-its: Add early memory allocation errata

2018-10-05 Thread Matthias Brugger
On 05/10/2018 15:42, Marc Zyngier wrote: > On 05/10/18 13:33, Matthias Brugger wrote: >> >> >> On 05/10/2018 12:55, Marc Zyngier wrote: >>> Hi Matthias, >>> >>> On 04/10/18 23:11, Matthias Brugger wrote: >>>> Friendly reminder, if an

Re: [PATCH] irqchip/gic-v3-its: Add early memory allocation errata

2018-10-05 Thread Matthias Brugger
On 05/10/2018 12:55, Marc Zyngier wrote: > Hi Matthias, > > On 04/10/18 23:11, Matthias Brugger wrote: >> Friendly reminder, if anyone has any comment on the patch :) >> >> On 9/12/18 11:52 AM, matthias@kernel.org wrote: >>> From: Matthias Brugger >

Re: [PATCH] irqchip/gic-v3-its: Add early memory allocation errata

2018-10-05 Thread Matthias Brugger
On 05/10/2018 12:55, Marc Zyngier wrote: > Hi Matthias, > > On 04/10/18 23:11, Matthias Brugger wrote: >> Friendly reminder, if anyone has any comment on the patch :) >> >> On 9/12/18 11:52 AM, matthias@kernel.org wrote: >>> From: Matthias Brugger >

Re: [PATCH] irqchip/gic-v3-its: Add early memory allocation errata

2018-10-05 Thread Matthias Brugger
Friendly reminder, if anyone has any comment on the patch :) On 9/12/18 11:52 AM, matthias@kernel.org wrote: > From: Matthias Brugger > > Some hardware does not implement two-level page tables so that > the amount of contigious memory needed by the baser is bigger > then

Re: [PATCH] irqchip/gic-v3-its: Add early memory allocation errata

2018-10-05 Thread Matthias Brugger
Friendly reminder, if anyone has any comment on the patch :) On 9/12/18 11:52 AM, matthias@kernel.org wrote: > From: Matthias Brugger > > Some hardware does not implement two-level page tables so that > the amount of contigious memory needed by the baser is bigger > then

Re: [PATCH 4/4] arm64: dts: mediatek: add pwrap device node for mt8183

2018-09-29 Thread Matthias Brugger
On 19/09/2018 09:26, Hsin-Hsiung Wang wrote: > add pwrap device node for mt8183. > > Signed-off-by: Hsin-Hsiung Wang > --- > arch/arm64/boot/dts/mediatek/mt8183.dtsi | 10 ++ > 1 file changed, 10 insertions(+) The basic support for mt8183 is not ready to be merged. I'll also try to

<    2   3   4   5   6   7   8   9   10   11   >