Re: [PATCH v2 18/25] drm/mediatek: add RDMA fifo size error handle

2019-04-16 Thread YT Shen
On Tue, 2019-04-16 at 16:37 +0800, Yongqiang Niu wrote: > On Tue, 2019-04-16 at 16:00 +0800, CK Hu wrote: > > Hi, Yongqiang: > > > > On Wed, 2019-03-27 at 14:19 +0800, yongqiang@mediatek.com wrote: > > > From: Yongqiang Niu > > > > > > This patch add RDMA fifo size error handle > > > rdma

[PATCH 6/8] arm64: dts: add mmc nodes for MT2712

2018-12-03 Thread YT Shen
Signed-off-by: YT Shen --- arch/arm64/boot/dts/mediatek/mt2712e.dtsi | 34 +++ 1 file changed, 34 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt2712e.dtsi b/arch/arm64/boot/dts/mediatek/mt2712e.dtsi index e9856fe..4f0aa65 100644 --- a/arch/arm64/boot/dts

[PATCH 2/8] arm64: dts: add iommu/smi nodes for MT2712

2018-12-03 Thread YT Shen
Signed-off-by: YT Shen --- arch/arm64/boot/dts/mediatek/mt2712e.dtsi | 128 ++ 1 file changed, 128 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt2712e.dtsi b/arch/arm64/boot/dts/mediatek/mt2712e.dtsi index 6c228a2..d429770 100644 --- a/arch/arm64/boot

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

2018-12-03 Thread YT Shen
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 Shen (6): arm64: dts: add iommu/smi nodes for MT2712

[PATCH 6/8] arm64: dts: add mmc nodes for MT2712

2018-12-03 Thread YT Shen
Signed-off-by: YT Shen --- arch/arm64/boot/dts/mediatek/mt2712e.dtsi | 34 +++ 1 file changed, 34 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt2712e.dtsi b/arch/arm64/boot/dts/mediatek/mt2712e.dtsi index e9856fe..4f0aa65 100644 --- a/arch/arm64/boot/dts

[PATCH 2/8] arm64: dts: add iommu/smi nodes for MT2712

2018-12-03 Thread YT Shen
Signed-off-by: YT Shen --- arch/arm64/boot/dts/mediatek/mt2712e.dtsi | 128 ++ 1 file changed, 128 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt2712e.dtsi b/arch/arm64/boot/dts/mediatek/mt2712e.dtsi index 6c228a2..d429770 100644 --- a/arch/arm64/boot

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

2018-12-03 Thread YT Shen
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 Shen (6): arm64: dts: add iommu/smi nodes for MT2712

[PATCH 4/8] arm64: dts: add spi nodes for MT2712

2018-12-03 Thread YT Shen
Signed-off-by: YT Shen --- arch/arm64/boot/dts/mediatek/mt2712e.dtsi | 65 +++ 1 file changed, 65 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt2712e.dtsi b/arch/arm64/boot/dts/mediatek/mt2712e.dtsi index 7bac8b6..4843376 100644 --- a/arch/arm64/boot/dts

[PATCH 1/8] arm64: dts: Add USB3 related nodes for MT2712

2018-12-03 Thread YT Shen
From: Chunfeng Yun This patch adds USB3 related nodes for mt2712m1 platform. Signed-off-by: Chunfeng Yun --- arch/arm64/boot/dts/mediatek/mt2712-evb.dts | 98 ++ arch/arm64/boot/dts/mediatek/mt2712e.dtsi | 126 2 files changed, 224

[PATCH 7/8] arm64: dts: add nand nodes for MT2712

2018-12-03 Thread YT Shen
Signed-off-by: YT Shen --- arch/arm64/boot/dts/mediatek/mt2712e.dtsi | 21 + 1 file changed, 21 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt2712e.dtsi b/arch/arm64/boot/dts/mediatek/mt2712e.dtsi index 4f0aa65..e8afb54 100644 --- a/arch/arm64/boot/dts/mediatek

[PATCH 5/8] arm64: dts: add pwm nodes for MT2712

2018-12-03 Thread YT Shen
Signed-off-by: YT Shen --- arch/arm64/boot/dts/mediatek/mt2712e.dtsi | 28 1 file changed, 28 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt2712e.dtsi b/arch/arm64/boot/dts/mediatek/mt2712e.dtsi index 4843376..e9856fe 100644 --- a/arch/arm64/boot/dts

[PATCH 3/8] arm64: dts: add i2c nodes for MT2712

2018-12-03 Thread YT Shen
Signed-off-by: YT Shen --- arch/arm64/boot/dts/mediatek/mt2712e.dtsi | 90 +++ 1 file changed, 90 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt2712e.dtsi b/arch/arm64/boot/dts/mediatek/mt2712e.dtsi index d429770..7bac8b6 100644 --- a/arch/arm64/boot/dts

[PATCH 8/8] arm64: dts: add pcie nodes for MT2712

2018-12-03 Thread YT Shen
From: Honghui Zhang This patch add device node for mt2712 pcie. Signed-off-by: Honghui Zhang --- arch/arm64/boot/dts/mediatek/mt2712e.dtsi | 63 +++ 1 file changed, 63 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt2712e.dtsi

[PATCH 3/8] arm64: dts: add i2c nodes for MT2712

2018-12-03 Thread YT Shen
Signed-off-by: YT Shen --- arch/arm64/boot/dts/mediatek/mt2712e.dtsi | 90 +++ 1 file changed, 90 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt2712e.dtsi b/arch/arm64/boot/dts/mediatek/mt2712e.dtsi index d429770..7bac8b6 100644 --- a/arch/arm64/boot/dts

[PATCH 8/8] arm64: dts: add pcie nodes for MT2712

2018-12-03 Thread YT Shen
From: Honghui Zhang This patch add device node for mt2712 pcie. Signed-off-by: Honghui Zhang --- arch/arm64/boot/dts/mediatek/mt2712e.dtsi | 63 +++ 1 file changed, 63 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt2712e.dtsi

[PATCH 7/8] arm64: dts: add nand nodes for MT2712

2018-12-03 Thread YT Shen
Signed-off-by: YT Shen --- arch/arm64/boot/dts/mediatek/mt2712e.dtsi | 21 + 1 file changed, 21 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt2712e.dtsi b/arch/arm64/boot/dts/mediatek/mt2712e.dtsi index 4f0aa65..e8afb54 100644 --- a/arch/arm64/boot/dts/mediatek

[PATCH 5/8] arm64: dts: add pwm nodes for MT2712

2018-12-03 Thread YT Shen
Signed-off-by: YT Shen --- arch/arm64/boot/dts/mediatek/mt2712e.dtsi | 28 1 file changed, 28 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt2712e.dtsi b/arch/arm64/boot/dts/mediatek/mt2712e.dtsi index 4843376..e9856fe 100644 --- a/arch/arm64/boot/dts

[PATCH 4/8] arm64: dts: add spi nodes for MT2712

2018-12-03 Thread YT Shen
Signed-off-by: YT Shen --- arch/arm64/boot/dts/mediatek/mt2712e.dtsi | 65 +++ 1 file changed, 65 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt2712e.dtsi b/arch/arm64/boot/dts/mediatek/mt2712e.dtsi index 7bac8b6..4843376 100644 --- a/arch/arm64/boot/dts

[PATCH 1/8] arm64: dts: Add USB3 related nodes for MT2712

2018-12-03 Thread YT Shen
From: Chunfeng Yun This patch adds USB3 related nodes for mt2712m1 platform. Signed-off-by: Chunfeng Yun --- arch/arm64/boot/dts/mediatek/mt2712-evb.dts | 98 ++ arch/arm64/boot/dts/mediatek/mt2712e.dtsi | 126 2 files changed, 224

[PATCH v6 1/2] dt-bindings: arm: Add bindings for Mediatek MT2712 SoC Platform

2017-08-04 Thread YT Shen
This adds dt-binding documentation for Mediatek MT2712. Only include very basic items: cpu, gic and uart. Signed-off-by: YT Shen <yt.s...@mediatek.com> Acked-by: Rob Herring <r...@kernel.org> --- Documentation/devicetree/bindings/arm/mediatek.txt| 4 ..

[PATCH v6 1/2] dt-bindings: arm: Add bindings for Mediatek MT2712 SoC Platform

2017-08-04 Thread YT Shen
This adds dt-binding documentation for Mediatek MT2712. Only include very basic items: cpu, gic and uart. Signed-off-by: YT Shen Acked-by: Rob Herring --- Documentation/devicetree/bindings/arm/mediatek.txt| 4 .../devicetree/bindings/interrupt-controller/mediatek

[PATCH v6 2/2] arm64: dts: Add Mediatek SoC MT2712 and evaluation board dts and Makefile

2017-08-04 Thread YT Shen
This adds basic chip support for Mediatek 2712 Signed-off-by: YT Shen <yt.s...@mediatek.com> --- arch/arm64/boot/dts/mediatek/Makefile | 1 + arch/arm64/boot/dts/mediatek/mt2712-evb.dts | 32 ++ arch/arm64/boot/dts/mediatek/mt2712e.dtsi | 171 3

[PATCH v6 2/2] arm64: dts: Add Mediatek SoC MT2712 and evaluation board dts and Makefile

2017-08-04 Thread YT Shen
This adds basic chip support for Mediatek 2712 Signed-off-by: YT Shen --- arch/arm64/boot/dts/mediatek/Makefile | 1 + arch/arm64/boot/dts/mediatek/mt2712-evb.dts | 32 ++ arch/arm64/boot/dts/mediatek/mt2712e.dtsi | 171 3 files changed, 204

[PATCH v6 0/2] Add basic support for Mediatek MT2712 SoC

2017-08-04 Thread YT Shen
-end - change GIC_CPU_MASK_SIMPLE(6) to GIC_CPU_MASK_RAW(0x13) - change gic-400 reg range Changes compared to v1: - change subject prefix for bindings - change device tree license to SPDX tag. - change bootargs parameter to DT usage. - change intpol-controller to interrupt-controller YT Shen (2):

[PATCH v6 0/2] Add basic support for Mediatek MT2712 SoC

2017-08-04 Thread YT Shen
-end - change GIC_CPU_MASK_SIMPLE(6) to GIC_CPU_MASK_RAW(0x13) - change gic-400 reg range Changes compared to v1: - change subject prefix for bindings - change device tree license to SPDX tag. - change bootargs parameter to DT usage. - change intpol-controller to interrupt-controller YT Shen (2):

Re: [PATCH v5 2/2] arm64: dts: Add Mediatek SoC MT2712 and evaluation board dts and Makefile

2017-08-04 Thread YT Shen
On Tue, 2017-08-01 at 14:46 +0200, Matthias Brugger wrote: > > On 08/01/2017 10:51 AM, Yingjoe Chen wrote: > > On Fri, 2017-07-28 at 19:37 +0800, YT Shen wrote: > >> diff --git a/arch/arm64/boot/dts/mediatek/mt2712e.dtsi > >> b/arch/arm64/boot/dts/mediatek/mt2712e.

Re: [PATCH v5 2/2] arm64: dts: Add Mediatek SoC MT2712 and evaluation board dts and Makefile

2017-08-04 Thread YT Shen
On Tue, 2017-08-01 at 14:46 +0200, Matthias Brugger wrote: > > On 08/01/2017 10:51 AM, Yingjoe Chen wrote: > > On Fri, 2017-07-28 at 19:37 +0800, YT Shen wrote: > >> diff --git a/arch/arm64/boot/dts/mediatek/mt2712e.dtsi > >> b/arch/arm64/boot/dts/mediatek/mt2712e.

[PATCH v5 2/2] arm64: dts: Add Mediatek SoC MT2712 and evaluation board dts and Makefile

2017-07-28 Thread YT Shen
This adds basic chip support for Mediatek 2712 Signed-off-by: YT Shen <yt.s...@mediatek.com> --- arch/arm64/boot/dts/mediatek/Makefile | 1 + arch/arm64/boot/dts/mediatek/mt2712-evb.dts | 32 + arch/arm64/boot/dts/mediatek/mt2712e.dtsi | 178 3

[PATCH v5 2/2] arm64: dts: Add Mediatek SoC MT2712 and evaluation board dts and Makefile

2017-07-28 Thread YT Shen
This adds basic chip support for Mediatek 2712 Signed-off-by: YT Shen --- arch/arm64/boot/dts/mediatek/Makefile | 1 + arch/arm64/boot/dts/mediatek/mt2712-evb.dts | 32 + arch/arm64/boot/dts/mediatek/mt2712e.dtsi | 178 3 files changed, 211 insertions

[PATCH v5 0/2] Add basic support for Mediatek MT2712 SoC

2017-07-28 Thread YT Shen
LE(6) to GIC_CPU_MASK_RAW(0x13) - change gic-400 reg range Changes compared to v1: - change subject prefix for bindings - change device tree license to SPDX tag. - change bootargs parameter to DT usage. - change intpol-controller to interrupt-controller YT Shen (2): dt-bindings: arm: Add bindings for Medi

[PATCH v5 1/2] dt-bindings: arm: Add bindings for Mediatek MT2712 SoC Platform

2017-07-28 Thread YT Shen
This adds dt-binding documentation for Mediatek MT2712. Only include very basic items: cpu, gic and uart. Signed-off-by: YT Shen <yt.s...@mediatek.com> Acked-by: Rob Herring <r...@kernel.org> --- Documentation/devicetree/bindings/arm/mediatek.txt| 4 ..

[PATCH v5 0/2] Add basic support for Mediatek MT2712 SoC

2017-07-28 Thread YT Shen
LE(6) to GIC_CPU_MASK_RAW(0x13) - change gic-400 reg range Changes compared to v1: - change subject prefix for bindings - change device tree license to SPDX tag. - change bootargs parameter to DT usage. - change intpol-controller to interrupt-controller YT Shen (2): dt-bindings: arm: Add bindings for Medi

[PATCH v5 1/2] dt-bindings: arm: Add bindings for Mediatek MT2712 SoC Platform

2017-07-28 Thread YT Shen
This adds dt-binding documentation for Mediatek MT2712. Only include very basic items: cpu, gic and uart. Signed-off-by: YT Shen Acked-by: Rob Herring --- Documentation/devicetree/bindings/arm/mediatek.txt| 4 .../devicetree/bindings/interrupt-controller/mediatek

Re: [PATCH v4 2/2] arm64: dts: Add Mediatek SoC MT2712 and evaluation board dts and Makefile

2017-07-21 Thread YT Shen
On Wed, 2017-07-19 at 11:26 +0200, Matthias Brugger wrote: > > On 07/19/2017 08:48 AM, YT Shen wrote: > > On Tue, 2017-07-18 at 18:29 +0200, Matthias Brugger wrote: > >> > >> On 06/22/2017 11:32 AM, YT Shen wrote: > >>> This

Re: [PATCH v4 2/2] arm64: dts: Add Mediatek SoC MT2712 and evaluation board dts and Makefile

2017-07-21 Thread YT Shen
On Wed, 2017-07-19 at 11:26 +0200, Matthias Brugger wrote: > > On 07/19/2017 08:48 AM, YT Shen wrote: > > On Tue, 2017-07-18 at 18:29 +0200, Matthias Brugger wrote: > >> > >> On 06/22/2017 11:32 AM, YT Shen wrote: > >>> This

Re: [PATCH v4 2/2] arm64: dts: Add Mediatek SoC MT2712 and evaluation board dts and Makefile

2017-07-19 Thread YT Shen
On Tue, 2017-07-18 at 18:29 +0200, Matthias Brugger wrote: > > On 06/22/2017 11:32 AM, YT Shen wrote: > > This adds basic chip support for Mediatek 2712 > > > > Signed-off-by: YT Shen <yt.s...@mediatek.com> > > --- > > arch/arm64/boot/dts/mediatek/Ma

Re: [PATCH v4 2/2] arm64: dts: Add Mediatek SoC MT2712 and evaluation board dts and Makefile

2017-07-19 Thread YT Shen
On Tue, 2017-07-18 at 18:29 +0200, Matthias Brugger wrote: > > On 06/22/2017 11:32 AM, YT Shen wrote: > > This adds basic chip support for Mediatek 2712 > > > > Signed-off-by: YT Shen > > --- > > arch/arm64/boot/dts/mediatek/Makefile | 1 + >

Re: [PATCH v4 0/2] Add basic support for Mediatek MT2712 SoC

2017-07-18 Thread YT Shen
Hi Matthias, Just a gentle ping. Should I rebase to 4.13-rc1 and send v5? Thanks yt.shen On Thu, 2017-06-22 at 17:32 +0800, YT Shen wrote: > MT2712 is a SoC based on 64bit ARMv8 architecture. > MT2712 share many HW IP with MT8173. This patchset was tested on MT2712 > evaluat

Re: [PATCH v4 0/2] Add basic support for Mediatek MT2712 SoC

2017-07-18 Thread YT Shen
Hi Matthias, Just a gentle ping. Should I rebase to 4.13-rc1 and send v5? Thanks yt.shen On Thu, 2017-06-22 at 17:32 +0800, YT Shen wrote: > MT2712 is a SoC based on 64bit ARMv8 architecture. > MT2712 share many HW IP with MT8173. This patchset was tested on MT2712 > evaluat

[PATCH v4 1/2] dt-bindings: arm: Add bindings for Mediatek MT2712 SoC Platform

2017-06-22 Thread YT Shen
This adds dt-binding documentation for Mediatek MT2712. Only include very basic items: cpu, gic and uart. Signed-off-by: YT Shen <yt.s...@mediatek.com> Acked-by: Rob Herring <r...@kernel.org> --- Documentation/devicetree/bindings/arm/mediatek.txt| 4 ..

[PATCH v4 2/2] arm64: dts: Add Mediatek SoC MT2712 and evaluation board dts and Makefile

2017-06-22 Thread YT Shen
This adds basic chip support for Mediatek 2712 Signed-off-by: YT Shen <yt.s...@mediatek.com> --- arch/arm64/boot/dts/mediatek/Makefile | 1 + arch/arm64/boot/dts/mediatek/mt2712-evb.dts | 32 ++ arch/arm64/boot/dts/mediatek/mt2712e.dtsi | 172 3

[PATCH v4 1/2] dt-bindings: arm: Add bindings for Mediatek MT2712 SoC Platform

2017-06-22 Thread YT Shen
This adds dt-binding documentation for Mediatek MT2712. Only include very basic items: cpu, gic and uart. Signed-off-by: YT Shen Acked-by: Rob Herring --- Documentation/devicetree/bindings/arm/mediatek.txt| 4 .../devicetree/bindings/interrupt-controller/mediatek

[PATCH v4 2/2] arm64: dts: Add Mediatek SoC MT2712 and evaluation board dts and Makefile

2017-06-22 Thread YT Shen
This adds basic chip support for Mediatek 2712 Signed-off-by: YT Shen --- arch/arm64/boot/dts/mediatek/Makefile | 1 + arch/arm64/boot/dts/mediatek/mt2712-evb.dts | 32 ++ arch/arm64/boot/dts/mediatek/mt2712e.dtsi | 172 3 files changed, 205

[PATCH v4 0/2] Add basic support for Mediatek MT2712 SoC

2017-06-22 Thread YT Shen
to SPDX tag. - change bootargs parameter to DT usage. - change intpol-controller to interrupt-controller YT Shen (2): dt-bindings: arm: Add bindings for Mediatek MT2712 SoC Platform arm64: dts: Add Mediatek SoC MT2712 and evaluation board dts and Makefile Documentation/devicetree/bindings

[PATCH v4 0/2] Add basic support for Mediatek MT2712 SoC

2017-06-22 Thread YT Shen
to SPDX tag. - change bootargs parameter to DT usage. - change intpol-controller to interrupt-controller YT Shen (2): dt-bindings: arm: Add bindings for Mediatek MT2712 SoC Platform arm64: dts: Add Mediatek SoC MT2712 and evaluation board dts and Makefile Documentation/devicetree/bindings

Re: [PATCH v3 2/2] arm64: dts: Add Mediatek SoC MT2712 and evaluation board dts and Makefile

2017-06-21 Thread YT Shen
On Fri, 2017-06-16 at 16:33 +0200, Matthias Brugger wrote: > > On 16/06/17 15:45, YT Shen wrote: > > This adds basic chip support for Mediatek 2712 > > > > Signed-off-by: YT Shen <yt.s...@mediatek.com> > > --- > > arch/arm64/boot/dts/mediatek/Makefi

Re: [PATCH v3 2/2] arm64: dts: Add Mediatek SoC MT2712 and evaluation board dts and Makefile

2017-06-21 Thread YT Shen
On Fri, 2017-06-16 at 16:33 +0200, Matthias Brugger wrote: > > On 16/06/17 15:45, YT Shen wrote: > > This adds basic chip support for Mediatek 2712 > > > > Signed-off-by: YT Shen > > --- > > arch/arm64/boot/dts/mediatek/Makefile | 1 + > > a

[PATCH v2] drm/mediatek: separate color module to fixup error memory reallocation

2017-06-16 Thread YT Shen
is wrong. Fix it by separate color module from general components, this patch separate color module to independent files, like mtk_disp_ovl.c and mtk_disp_rdma.c do Signed-off-by: YT Shen <yt.s...@mediatek.com> --- drivers/gpu/drm/mediatek/Makefile | 3 +- drivers/gpu/drm/me

[PATCH v2] drm/mediatek: separate color module to fixup error memory reallocation

2017-06-16 Thread YT Shen
is wrong. Fix it by separate color module from general components, this patch separate color module to independent files, like mtk_disp_ovl.c and mtk_disp_rdma.c do Signed-off-by: YT Shen --- drivers/gpu/drm/mediatek/Makefile | 3 +- drivers/gpu/drm/mediatek/mtk_disp_color.c | 176

Re: [PATCH] drm/mediatek: fixup error memory reallocation

2017-06-16 Thread YT Shen
On Wed, 2017-06-14 at 09:19 +0800, CK Hu wrote: > On Mon, 2017-06-12 at 15:15 +0800, YT Shen wrote: > > Previous patch (c5f228ef6c drm/mediatek: add *driver_data for different > > hardware settings) calls devm_kfree() and then devm_kzalloc() to > > reallocate color

Re: [PATCH] drm/mediatek: fixup error memory reallocation

2017-06-16 Thread YT Shen
On Wed, 2017-06-14 at 09:19 +0800, CK Hu wrote: > On Mon, 2017-06-12 at 15:15 +0800, YT Shen wrote: > > Previous patch (c5f228ef6c drm/mediatek: add *driver_data for different > > hardware settings) calls devm_kfree() and then devm_kzalloc() to > > reallocate color

Re: [PATCH 3/3] arm: dts: mt2701: Add display subsystem related nodes for MT2701

2017-06-16 Thread YT Shen
On Mon, 2017-06-12 at 11:13 +0200, Matthias Brugger wrote: > > On 01/06/17 08:08, Erin Lo wrote: > > From: YT Shen <yt.s...@mediatek.com> > > > > This patch adds the device nodes for the DISP function blocks for MT2701 > > > > Signed-off-by: YT

Re: [PATCH 3/3] arm: dts: mt2701: Add display subsystem related nodes for MT2701

2017-06-16 Thread YT Shen
On Mon, 2017-06-12 at 11:13 +0200, Matthias Brugger wrote: > > On 01/06/17 08:08, Erin Lo wrote: > > From: YT Shen > > > > This patch adds the device nodes for the DISP function blocks for MT2701 > > > > Signed-off-by: YT Shen > > Signed-off-by: Erin

[PATCH v3 2/2] arm64: dts: Add Mediatek SoC MT2712 and evaluation board dts and Makefile

2017-06-16 Thread YT Shen
This adds basic chip support for Mediatek 2712 Signed-off-by: YT Shen <yt.s...@mediatek.com> --- arch/arm64/boot/dts/mediatek/Makefile | 1 + arch/arm64/boot/dts/mediatek/mt2712-evb.dts | 32 ++ arch/arm64/boot/dts/mediatek/mt2712e.dtsi | 166 3

[PATCH v3 2/2] arm64: dts: Add Mediatek SoC MT2712 and evaluation board dts and Makefile

2017-06-16 Thread YT Shen
This adds basic chip support for Mediatek 2712 Signed-off-by: YT Shen --- arch/arm64/boot/dts/mediatek/Makefile | 1 + arch/arm64/boot/dts/mediatek/mt2712-evb.dts | 32 ++ arch/arm64/boot/dts/mediatek/mt2712e.dtsi | 166 3 files changed, 199

[PATCH v3 1/2] dt-bindings: arm: Add bindings for Mediatek MT2712 SoC Platform

2017-06-16 Thread YT Shen
This adds dt-binding documentation for Mediatek MT2712. Only include very basic items: cpu, gic and uart. Signed-off-by: YT Shen <yt.s...@mediatek.com> Acked-by: Rob Herring <r...@kernel.org> --- Documentation/devicetree/bindings/arm/mediatek.txt| 4 ..

[PATCH v3 1/2] dt-bindings: arm: Add bindings for Mediatek MT2712 SoC Platform

2017-06-16 Thread YT Shen
This adds dt-binding documentation for Mediatek MT2712. Only include very basic items: cpu, gic and uart. Signed-off-by: YT Shen Acked-by: Rob Herring --- Documentation/devicetree/bindings/arm/mediatek.txt| 4 .../devicetree/bindings/interrupt-controller/mediatek

[PATCH v3 0/2] Add basic support for Mediatek MT2712 SoC

2017-06-16 Thread YT Shen
-controller to interrupt-controller YT Shen (2): dt-bindings: arm: Add bindings for Mediatek MT2712 SoC Platform arm64: dts: Add Mediatek SoC MT2712 and evaluation board dts and Makefile Documentation/devicetree/bindings/arm/mediatek.txt | 4 + .../interrupt-controller/mediatek,sysirq.txt

[PATCH v3 0/2] Add basic support for Mediatek MT2712 SoC

2017-06-16 Thread YT Shen
-controller to interrupt-controller YT Shen (2): dt-bindings: arm: Add bindings for Mediatek MT2712 SoC Platform arm64: dts: Add Mediatek SoC MT2712 and evaluation board dts and Makefile Documentation/devicetree/bindings/arm/mediatek.txt | 4 + .../interrupt-controller/mediatek,sysirq.txt

[PATCH] drm/mediatek: fixup error memory reallocation

2017-06-12 Thread YT Shen
is wrong. Fix it by separate color module from general components, this patch separate color module to independent files, like mtk_disp_ovl.c and mtk_disp_rdma.c do Signed-off-by: YT Shen <yt.s...@mediatek.com> --- drivers/gpu/drm/mediatek/Makefile | 3 +- drivers/gpu/drm/me

[PATCH] drm/mediatek: fixup error memory reallocation

2017-06-12 Thread YT Shen
is wrong. Fix it by separate color module from general components, this patch separate color module to independent files, like mtk_disp_ovl.c and mtk_disp_rdma.c do Signed-off-by: YT Shen --- drivers/gpu/drm/mediatek/Makefile | 3 +- drivers/gpu/drm/mediatek/mtk_disp_color.c | 176

Re: [PATCH v2 2/2] arm64: dts: Add Mediatek SoC MT2712 and evaluation board dts and Makefile

2017-06-09 Thread YT Shen
On Wed, 2017-05-31 at 14:42 +0200, Matthias Brugger wrote: > > On 31/05/17 13:39, YT Shen wrote: > > This adds basic chip support for Mediatek 2712 > > > > Signed-off-by: YT Shen <yt.s...@mediatek.com> > > --- > > arch/arm64/boot/dts/mediatek/Makefi

Re: [PATCH v2 2/2] arm64: dts: Add Mediatek SoC MT2712 and evaluation board dts and Makefile

2017-06-09 Thread YT Shen
On Wed, 2017-05-31 at 14:42 +0200, Matthias Brugger wrote: > > On 31/05/17 13:39, YT Shen wrote: > > This adds basic chip support for Mediatek 2712 > > > > Signed-off-by: YT Shen > > --- > > arch/arm64/boot/dts/mediatek/Makefile | 1 + > > a

Re: [PATCH v2 2/2] arm64: dts: Add Mediatek SoC MT2712 and evaluation board dts and Makefile

2017-06-09 Thread YT Shen
On Wed, 2017-05-31 at 13:38 +0100, Marc Zyngier wrote: > On 31/05/17 12:39, YT Shen wrote: > > This adds basic chip support for Mediatek 2712 > > > > Signed-off-by: YT Shen <yt.s...@mediatek.com> > > --- > > arch/arm64/boot/dts/mediatek/Makefile |

Re: [PATCH v2 2/2] arm64: dts: Add Mediatek SoC MT2712 and evaluation board dts and Makefile

2017-06-09 Thread YT Shen
On Wed, 2017-05-31 at 13:38 +0100, Marc Zyngier wrote: > On 31/05/17 12:39, YT Shen wrote: > > This adds basic chip support for Mediatek 2712 > > > > Signed-off-by: YT Shen > > --- > > arch/arm64/boot/dts/mediatek/Makefile | 1 + > > arch/arm64

[PATCH v2 1/2] dt-bindings: arm: Add bindings for Mediatek MT2712 SoC Platform

2017-05-31 Thread YT Shen
This adds dt-binding documentation for Mediatek MT2712. Only include very basic items: cpu, gic and uart. Signed-off-by: YT Shen <yt.s...@mediatek.com> Acked-by: Rob Herring <r...@kernel.org> --- Documentation/devicetree/bindings/arm/mediatek.txt| 4 ..

[PATCH v2 2/2] arm64: dts: Add Mediatek SoC MT2712 and evaluation board dts and Makefile

2017-05-31 Thread YT Shen
This adds basic chip support for Mediatek 2712 Signed-off-by: YT Shen <yt.s...@mediatek.com> --- arch/arm64/boot/dts/mediatek/Makefile | 1 + arch/arm64/boot/dts/mediatek/mt2712-evb.dts | 39 +++ arch/arm64/boot/dts/mediatek/mt2712e.dtsi | 166 3

[PATCH v2 0/2] Add basic support for Mediatek MT2712 SoC

2017-05-31 Thread YT Shen
for bindings - change device tree license to SPDX tag. - change bootargs parameter to DT usage. - change intpol-controller to interrupt-controller YT Shen (2): dt-bindings: arm: Add bindings for Mediatek MT2712 SoC Platform arm64: dts: Add Mediatek SoC MT2712 and evaluation board dts

[PATCH v2 2/2] arm64: dts: Add Mediatek SoC MT2712 and evaluation board dts and Makefile

2017-05-31 Thread YT Shen
This adds basic chip support for Mediatek 2712 Signed-off-by: YT Shen --- arch/arm64/boot/dts/mediatek/Makefile | 1 + arch/arm64/boot/dts/mediatek/mt2712-evb.dts | 39 +++ arch/arm64/boot/dts/mediatek/mt2712e.dtsi | 166 3 files changed, 206

[PATCH v2 0/2] Add basic support for Mediatek MT2712 SoC

2017-05-31 Thread YT Shen
for bindings - change device tree license to SPDX tag. - change bootargs parameter to DT usage. - change intpol-controller to interrupt-controller YT Shen (2): dt-bindings: arm: Add bindings for Mediatek MT2712 SoC Platform arm64: dts: Add Mediatek SoC MT2712 and evaluation board dts

[PATCH v2 1/2] dt-bindings: arm: Add bindings for Mediatek MT2712 SoC Platform

2017-05-31 Thread YT Shen
This adds dt-binding documentation for Mediatek MT2712. Only include very basic items: cpu, gic and uart. Signed-off-by: YT Shen Acked-by: Rob Herring --- Documentation/devicetree/bindings/arm/mediatek.txt| 4 .../devicetree/bindings/interrupt-controller/mediatek

Re: [PATCH 2/2] arm64: dts: Add Mediatek SoC MT2712 and evaluation board dts and Makefile

2017-05-26 Thread YT Shen
On Tue, 2017-05-23 at 10:01 -0500, Rob Herring wrote: > On Fri, May 19, 2017 at 07:09:46PM +0800, YT Shen wrote: > > This adds basic chip support for Mediatek 2712 > > > > Signed-off-by: YT Shen <yt.s...@mediatek.com> > > --- > > arch/arm64/boot/dts/me

Re: [PATCH 2/2] arm64: dts: Add Mediatek SoC MT2712 and evaluation board dts and Makefile

2017-05-26 Thread YT Shen
On Tue, 2017-05-23 at 10:01 -0500, Rob Herring wrote: > On Fri, May 19, 2017 at 07:09:46PM +0800, YT Shen wrote: > > This adds basic chip support for Mediatek 2712 > > > > Signed-off-by: YT Shen > > --- > > arch/arm64/boot/dts/mediatek/Makefile | 1 +

[PATCH 2/2] arm64: dts: Add Mediatek SoC MT2712 and evaluation board dts and Makefile

2017-05-19 Thread YT Shen
This adds basic chip support for Mediatek 2712 Signed-off-by: YT Shen <yt.s...@mediatek.com> --- arch/arm64/boot/dts/mediatek/Makefile | 1 + arch/arm64/boot/dts/mediatek/mt2712-evb.dts | 44 +++ arch/arm64/boot/dts/mediatek/mt2712e.dtsi | 172 3

[PATCH 2/2] arm64: dts: Add Mediatek SoC MT2712 and evaluation board dts and Makefile

2017-05-19 Thread YT Shen
This adds basic chip support for Mediatek 2712 Signed-off-by: YT Shen --- arch/arm64/boot/dts/mediatek/Makefile | 1 + arch/arm64/boot/dts/mediatek/mt2712-evb.dts | 44 +++ arch/arm64/boot/dts/mediatek/mt2712e.dtsi | 172 3 files changed, 217

[PATCH 0/2] Add basic support for Mediatek MT2712 SoC

2017-05-19 Thread YT Shen
MT2712 is a SoC based on 64bit ARMv8 architecture. MT2712 share many HW IP with MT8173. This patchset was tested on MT2712 evaluation board, and boot to shell ok. This series contains document bindings, device tree including interrupt, uart. YT Shen (2): Document: DT: Add bindings

[PATCH 0/2] Add basic support for Mediatek MT2712 SoC

2017-05-19 Thread YT Shen
MT2712 is a SoC based on 64bit ARMv8 architecture. MT2712 share many HW IP with MT8173. This patchset was tested on MT2712 evaluation board, and boot to shell ok. This series contains document bindings, device tree including interrupt, uart. YT Shen (2): Document: DT: Add bindings

[PATCH 1/2] Document: DT: Add bindings for Mediatek MT2712 SoC Platform

2017-05-19 Thread YT Shen
This adds dt-binding documentation for Mediatek MT2712. Only include very basic items: cpu, gic and uart. Signed-off-by: YT Shen <yt.s...@mediatek.com> --- Documentation/devicetree/bindings/arm/mediatek.txt| 4 .../devicetree/bindings/interrupt-controller/me

[PATCH 1/2] Document: DT: Add bindings for Mediatek MT2712 SoC Platform

2017-05-19 Thread YT Shen
This adds dt-binding documentation for Mediatek MT2712. Only include very basic items: cpu, gic and uart. Signed-off-by: YT Shen --- Documentation/devicetree/bindings/arm/mediatek.txt| 4 .../devicetree/bindings/interrupt-controller/mediatek,sysirq.txt | 1

[PATCH v13 04/12] drm/mediatek: add shadow register support

2017-03-31 Thread YT Shen
We need to acquire mutex before using the resources, and need to release it after finished. So we don't need to write registers in the blanking period. Signed-off-by: YT Shen <yt.s...@mediatek.com> Acked-by: CK Hu <ck...@mediatek.com> --- drivers/gpu/drm/mediatek/mtk_drm

[PATCH v13 04/12] drm/mediatek: add shadow register support

2017-03-31 Thread YT Shen
We need to acquire mutex before using the resources, and need to release it after finished. So we don't need to write registers in the blanking period. Signed-off-by: YT Shen Acked-by: CK Hu --- drivers/gpu/drm/mediatek/mtk_drm_crtc.c | 75 - drivers/gpu/drm

[PATCH v13 12/12] drm/mediatek: add support for Mediatek SoC MT2701

2017-03-31 Thread YT Shen
This patch add support for the Mediatek MT2701 DISP subsystem. There is only one OVL engine in MT2701. Signed-off-by: YT Shen <yt.s...@mediatek.com> Acked-by: CK Hu <ck...@mediatek.com> --- drivers/gpu/drm/mediatek/mtk_disp_ovl.c | 8 drivers/gpu/drm/mediatek/mtk

[PATCH v13 12/12] drm/mediatek: add support for Mediatek SoC MT2701

2017-03-31 Thread YT Shen
This patch add support for the Mediatek MT2701 DISP subsystem. There is only one OVL engine in MT2701. Signed-off-by: YT Shen Acked-by: CK Hu --- drivers/gpu/drm/mediatek/mtk_disp_ovl.c | 8 drivers/gpu/drm/mediatek/mtk_disp_rdma.c| 6 ++ drivers/gpu/drm/mediatek

[PATCH v13 10/12] drm/mediatek: add non-continuous clock mode and EOT packet control

2017-03-31 Thread YT Shen
This patch will update dsi clock control method. 1. dsi non-continue clock mode will enhance antistatic effect for panel 2. EOT packet control will judge whether dsi send end of packet or not by customize Signed-off-by: shaoming chen <shaoming.c...@mediatek.com> Signed-off-by: YT Shen

[PATCH v13 11/12] drm/mediatek: update DSI sub driver flow for sending commands to panel

2017-03-31 Thread YT Shen
ming chen <shaoming.c...@mediatek.com> Signed-off-by: YT Shen <yt.s...@mediatek.com> Acked-by: CK Hu <ck...@mediatek.com> --- drivers/gpu/drm/mediatek/mtk_dsi.c | 259 ++--- 1 file changed, 158 insertions(+), 101 deletions(-) diff --git a/drivers/gp

[PATCH v13 10/12] drm/mediatek: add non-continuous clock mode and EOT packet control

2017-03-31 Thread YT Shen
This patch will update dsi clock control method. 1. dsi non-continue clock mode will enhance antistatic effect for panel 2. EOT packet control will judge whether dsi send end of packet or not by customize Signed-off-by: shaoming chen Signed-off-by: YT Shen Acked-by: CK Hu --- drivers/gpu/drm

[PATCH v13 11/12] drm/mediatek: update DSI sub driver flow for sending commands to panel

2017-03-31 Thread YT Shen
ming chen Signed-off-by: YT Shen Acked-by: CK Hu --- drivers/gpu/drm/mediatek/mtk_dsi.c | 259 ++--- 1 file changed, 158 insertions(+), 101 deletions(-) diff --git a/drivers/gpu/drm/mediatek/mtk_dsi.c b/drivers/gpu/drm/mediatek/mtk_dsi.c index 09528e2..b6eac

[PATCH v13 08/12] drm/mediatek: add dsi interrupt control

2017-03-31 Thread YT Shen
From: shaoming chen add dsi interrupt control Signed-off-by: shaoming chen Acked-by: CK Hu --- drivers/gpu/drm/mediatek/mtk_dsi.c | 92 ++ 1 file changed, 92 insertions(+) diff

[PATCH v13 09/12] drm/mediatek: add dsi transfer function

2017-03-31 Thread YT Shen
From: shaoming chen add dsi read/write commands for transfer function Signed-off-by: shaoming chen Acked-by: CK Hu --- drivers/gpu/drm/mediatek/mtk_dsi.c | 168 - 1 file changed,

[PATCH v13 08/12] drm/mediatek: add dsi interrupt control

2017-03-31 Thread YT Shen
From: shaoming chen add dsi interrupt control Signed-off-by: shaoming chen Acked-by: CK Hu --- drivers/gpu/drm/mediatek/mtk_dsi.c | 92 ++ 1 file changed, 92 insertions(+) diff --git a/drivers/gpu/drm/mediatek/mtk_dsi.c

[PATCH v13 09/12] drm/mediatek: add dsi transfer function

2017-03-31 Thread YT Shen
From: shaoming chen add dsi read/write commands for transfer function Signed-off-by: shaoming chen Acked-by: CK Hu --- drivers/gpu/drm/mediatek/mtk_dsi.c | 168 - 1 file changed, 166 insertions(+), 2 deletions(-) diff --git

[PATCH v13 00/12] MT2701 DRM support

2017-03-31 Thread YT Shen
emoved BLS bindings and codes, which belong to pwm driver - Moved mtk_disp_mutex_acquire() just before mtk_crtc_ddp_config() - Split patch into smaller parts - Added const keyword to constant structure - Removed codes for special memory align Thanks, yt.shen YT Shen (10): dt-bindings: displ

[PATCH v13 00/12] MT2701 DRM support

2017-03-31 Thread YT Shen
emoved BLS bindings and codes, which belong to pwm driver - Moved mtk_disp_mutex_acquire() just before mtk_crtc_ddp_config() - Split patch into smaller parts - Added const keyword to constant structure - Removed codes for special memory align Thanks, yt.shen YT Shen (10): dt-bindings: displ

[PATCH v13 06/12] drm/mediatek: update display module connections

2017-03-31 Thread YT Shen
update connections for OVL, RDMA, BLS, DSI Signed-off-by: YT Shen <yt.s...@mediatek.com> Acked-by: CK Hu <ck...@mediatek.com> --- drivers/gpu/drm/mediatek/mtk_drm_ddp.c | 25 + 1 file changed, 25 insertions(+) diff --git a/drivers/gpu/drm/mediatek/mtk_

[PATCH v13 07/12] drm/mediatek: cleaning up and refine

2017-03-31 Thread YT Shen
cleaning up unused define and refine function name and variable Signed-off-by: shaoming chen <shaoming.c...@mediatek.com> Signed-off-by: YT Shen <yt.s...@mediatek.com> Acked-by: CK Hu <ck...@mediatek.com> --- drivers/gpu/drm/mediatek/mtk_dsi.c | 73 -

[PATCH v13 06/12] drm/mediatek: update display module connections

2017-03-31 Thread YT Shen
update connections for OVL, RDMA, BLS, DSI Signed-off-by: YT Shen Acked-by: CK Hu --- drivers/gpu/drm/mediatek/mtk_drm_ddp.c | 25 + 1 file changed, 25 insertions(+) diff --git a/drivers/gpu/drm/mediatek/mtk_drm_ddp.c b/drivers/gpu/drm/mediatek/mtk_drm_ddp.c index

[PATCH v13 07/12] drm/mediatek: cleaning up and refine

2017-03-31 Thread YT Shen
cleaning up unused define and refine function name and variable Signed-off-by: shaoming chen Signed-off-by: YT Shen Acked-by: CK Hu --- drivers/gpu/drm/mediatek/mtk_dsi.c | 73 -- drivers/gpu/drm/mediatek/mtk_mipi_tx.c | 8 ++-- 2 files changed, 39

[PATCH v13 01/12] dt-bindings: display: mediatek: update supported chips

2017-03-31 Thread YT Shen
Add decriptions about supported chips, including MT2701 & MT8173 Signed-off-by: YT Shen <yt.s...@mediatek.com> Acked-by: Rob Herring <r...@kernel.org> --- Documentation/devicetree/bindings/display/mediatek/mediatek,disp.txt | 2 ++ Documentation/devicetree/bindings/display/m

[PATCH v13 02/12] drm/mediatek: add helpers for coverting from the generic components

2017-03-31 Thread YT Shen
define helpers for converting from 'mtk_ddp_comp' to 'mtk_disp_ovl' define helpers for converting from 'mtk_ddp_comp' to 'mtk_disp_rdma' Signed-off-by: YT Shen <yt.s...@mediatek.com> Acked-by: CK Hu <ck...@mediatek.com> --- drivers/gpu/drm/mediatek/mtk_disp_ovl.c | 15 +---

[PATCH v13 02/12] drm/mediatek: add helpers for coverting from the generic components

2017-03-31 Thread YT Shen
define helpers for converting from 'mtk_ddp_comp' to 'mtk_disp_ovl' define helpers for converting from 'mtk_ddp_comp' to 'mtk_disp_rdma' Signed-off-by: YT Shen Acked-by: CK Hu --- drivers/gpu/drm/mediatek/mtk_disp_ovl.c | 15 +-- drivers/gpu/drm/mediatek/mtk_disp_rdma.c | 15

  1   2   3   4   >