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

Re: [PATCH v1 2/2] mmc: mediatek: add bus_clk control

2018-09-29 Thread Matthias Brugger
On 29/09/2018 04:29, Chaotian Jing wrote: > when gate MSDC0_HCLK, access register will hang, even the MSDC driver > will never accessing register after HCLK was gated, but for safety, need > gate the bus_clk(which used to access register) too. > > Signed-off-by: Chaotian Jing > --- >

Re: [PATCH v1 2/2] mmc: mediatek: add bus_clk control

2018-09-29 Thread Matthias Brugger
On 29/09/2018 04:29, Chaotian Jing wrote: > when gate MSDC0_HCLK, access register will hang, even the MSDC driver > will never accessing register after HCLK was gated, but for safety, need > gate the bus_clk(which used to access register) too. > > Signed-off-by: Chaotian Jing > --- >

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

2018-09-29 Thread Matthias Brugger
On 29/09/2018 11:21, Houlong Wei wrote: [...] > +static int cmdq_pkt_append_command(struct cmdq_pkt *pkt, enum cmdq_code code, > +u32 arg_a, u32 arg_b) > +{ > + u64 *cmd_ptr; > + > + if (unlikely(pkt->cmd_buf_size + CMDQ_INST_SIZE > pkt->buf_size)) { > +

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

2018-09-29 Thread Matthias Brugger
On 29/09/2018 11:21, Houlong Wei wrote: [...] > +static int cmdq_pkt_append_command(struct cmdq_pkt *pkt, enum cmdq_code code, > +u32 arg_a, u32 arg_b) > +{ > + u64 *cmd_ptr; > + > + if (unlikely(pkt->cmd_buf_size + CMDQ_INST_SIZE > pkt->buf_size)) { > +

Re: [PATCH v5 3/3] arm64: dts: Add spi slave dts

2018-09-28 Thread Matthias Brugger
On 28/09/2018 12:53, Leilk Liu wrote: > This patch adds MT2712 spi slave into device tree. > > Signed-off-by: Leilk Liu > --- Pushed to v4.19-next/dts64 Thanks! > arch/arm64/boot/dts/mediatek/mt2712e.dtsi | 11 +++ > 1 file changed, 11 insertions(+) > > diff --git

Re: [PATCH v5 3/3] arm64: dts: Add spi slave dts

2018-09-28 Thread Matthias Brugger
On 28/09/2018 12:53, Leilk Liu wrote: > This patch adds MT2712 spi slave into device tree. > > Signed-off-by: Leilk Liu > --- Pushed to v4.19-next/dts64 Thanks! > arch/arm64/boot/dts/mediatek/mt2712e.dtsi | 11 +++ > 1 file changed, 11 insertions(+) > > diff --git

Re: [PATCH v23 4/4] soc: mediatek: Add Mediatek CMDQ helper

2018-09-27 Thread Matthias Brugger
On 15/08/2018 03:46, houlong wei wrote: [...] >> + >> +static int cmdq_pkt_append_command(struct cmdq_pkt *pkt, enum cmdq_code >> code, >> + u32 arg_a, u32 arg_b) >> +{ >> +u64 *cmd_ptr; >> + >> +if (unlikely(pkt->cmd_buf_size + CMDQ_INST_SIZE >

Re: [PATCH v23 4/4] soc: mediatek: Add Mediatek CMDQ helper

2018-09-27 Thread Matthias Brugger
On 15/08/2018 03:46, houlong wei wrote: [...] >> + >> +static int cmdq_pkt_append_command(struct cmdq_pkt *pkt, enum cmdq_code >> code, >> + u32 arg_a, u32 arg_b) >> +{ >> +u64 *cmd_ptr; >> + >> +if (unlikely(pkt->cmd_buf_size + CMDQ_INST_SIZE >

Re: [PATCH v23 4/4] soc: mediatek: Add Mediatek CMDQ helper

2018-09-27 Thread Matthias Brugger
On 27/09/2018 03:57, houlong wei wrote: [...] >>> + } >>> + >>> + return client; >>> +} >>> +EXPORT_SYMBOL(cmdq_mbox_create); >>> + >>> +void cmdq_mbox_destroy(struct cmdq_client *client) >>> +{ >>> + if (client->timeout_ms != CMDQ_NO_TIMEOUT) { >>> + spin_lock(>lock); >>> +

Re: [PATCH v23 4/4] soc: mediatek: Add Mediatek CMDQ helper

2018-09-27 Thread Matthias Brugger
On 27/09/2018 03:57, houlong wei wrote: [...] >>> + } >>> + >>> + return client; >>> +} >>> +EXPORT_SYMBOL(cmdq_mbox_create); >>> + >>> +void cmdq_mbox_destroy(struct cmdq_client *client) >>> +{ >>> + if (client->timeout_ms != CMDQ_NO_TIMEOUT) { >>> + spin_lock(>lock); >>> +

Re: [PATCH v23 4/4] soc: mediatek: Add Mediatek CMDQ helper

2018-09-26 Thread Matthias Brugger
On 25/07/2018 03:26, 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 v23 4/4] soc: mediatek: Add Mediatek CMDQ helper

2018-09-26 Thread Matthias Brugger
On 25/07/2018 03:26, 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: [Resend PATCH 5/5] arm: dts: mt7623: add display subsystem related device nodes

2018-09-26 Thread Matthias Brugger
On 26/09/2018 07:21, CK Hu wrote: > Hi, Ryder: > > On Wed, 2018-09-26 at 10:38 +0800, Ryder Lee wrote: >> On Wed, 2018-09-26 at 09:37 +0800, CK Hu wrote: >>> Hi, Ryder: >>> >>> On Wed, 2018-09-05 at 22:09 +0800, Ryder Lee wrote: Add display subsystem related device nodes for MT7623.

Re: [Resend PATCH 5/5] arm: dts: mt7623: add display subsystem related device nodes

2018-09-26 Thread Matthias Brugger
On 26/09/2018 07:21, CK Hu wrote: > Hi, Ryder: > > On Wed, 2018-09-26 at 10:38 +0800, Ryder Lee wrote: >> On Wed, 2018-09-26 at 09:37 +0800, CK Hu wrote: >>> Hi, Ryder: >>> >>> On Wed, 2018-09-05 at 22:09 +0800, Ryder Lee wrote: Add display subsystem related device nodes for MT7623.

Re: [Resend PATCH 5/5] arm: dts: mt7623: add display subsystem related device nodes

2018-09-25 Thread Matthias Brugger
On 05/09/2018 16:09, Ryder Lee wrote: > Add display subsystem related device nodes for MT7623. > > Cc: CK Hu > Signed-off-by: chunhui dai > Signed-off-by: Bibby Hsieh > Signed-off-by: Ryder Lee > --- > I forgot to sort nodes in my previous mail. Sorry for the inconvenience. > > This patch

Re: [Resend PATCH 5/5] arm: dts: mt7623: add display subsystem related device nodes

2018-09-25 Thread Matthias Brugger
On 05/09/2018 16:09, Ryder Lee wrote: > Add display subsystem related device nodes for MT7623. > > Cc: CK Hu > Signed-off-by: chunhui dai > Signed-off-by: Bibby Hsieh > Signed-off-by: Ryder Lee > --- > I forgot to sort nodes in my previous mail. Sorry for the inconvenience. > > This patch

Re: [PATCH 4/5] arm: dts: mt7623: add jpeg decoder device node

2018-09-25 Thread Matthias Brugger
On 05/09/2018 12:22, Ryder Lee wrote: > Add a jpeg decoder device node for MT7623. > > Signed-off-by: Ryder Lee Applied to v4.19-next/dts32 > --- > arch/arm/boot/dts/mt7623.dtsi | 15 +++ > 1 file changed, 15 insertions(+) > > diff --git a/arch/arm/boot/dts/mt7623.dtsi

Re: [PATCH 4/5] arm: dts: mt7623: add jpeg decoder device node

2018-09-25 Thread Matthias Brugger
On 05/09/2018 12:22, Ryder Lee wrote: > Add a jpeg decoder device node for MT7623. > > Signed-off-by: Ryder Lee Applied to v4.19-next/dts32 > --- > arch/arm/boot/dts/mt7623.dtsi | 15 +++ > 1 file changed, 15 insertions(+) > > diff --git a/arch/arm/boot/dts/mt7623.dtsi

Re: [PATCH 3/5] arm: dts: mt7623: add iommu/smi device nodes

2018-09-25 Thread Matthias Brugger
On 05/09/2018 12:22, Ryder Lee wrote: > Add iommu/smi device nodes for MT7623. > > Signed-off-by: Ryder Lee Applied to v4.19-next/dts32 > --- > arch/arm/boot/dts/mt7623.dtsi | 59 > +++ > 1 file changed, 59 insertions(+) > > diff --git

Re: [PATCH 3/5] arm: dts: mt7623: add iommu/smi device nodes

2018-09-25 Thread Matthias Brugger
On 05/09/2018 12:22, Ryder Lee wrote: > Add iommu/smi device nodes for MT7623. > > Signed-off-by: Ryder Lee Applied to v4.19-next/dts32 > --- > arch/arm/boot/dts/mt7623.dtsi | 59 > +++ > 1 file changed, 59 insertions(+) > > diff --git

Re: [PATCH 2/5] arm: dts: mt7623: update subsystem clock controller device nodes

2018-09-25 Thread Matthias Brugger
On 05/09/2018 12:22, Ryder Lee wrote: > Update MT7623 subsystem clock controllers, inlcuding mmsys, imgsys, > vdecsys, g3dsys and bdpsys. > > Signed-off-by: Ryder Lee Applied to v4.19-next/dts32 > --- > arch/arm/boot/dts/mt7623.dtsi | 41 + > 1 file

Re: [PATCH 2/5] arm: dts: mt7623: update subsystem clock controller device nodes

2018-09-25 Thread Matthias Brugger
On 05/09/2018 12:22, Ryder Lee wrote: > Update MT7623 subsystem clock controllers, inlcuding mmsys, imgsys, > vdecsys, g3dsys and bdpsys. > > Signed-off-by: Ryder Lee Applied to v4.19-next/dts32 > --- > arch/arm/boot/dts/mt7623.dtsi | 41 + > 1 file

Re: [PATCH 1/5] arm: dts: mt7623: add a performance counter unit device node

2018-09-25 Thread Matthias Brugger
On 05/09/2018 12:22, Ryder Lee wrote: > Add ARM PMU device node to enable hardware perf events. > > Signed-off-by: Ryder Lee Applied to v4.19-next/dts32 > --- > arch/arm/boot/dts/mt7623.dtsi | 9 + > 1 file changed, 9 insertions(+) > > diff --git a/arch/arm/boot/dts/mt7623.dtsi

Re: [PATCH 1/5] arm: dts: mt7623: add a performance counter unit device node

2018-09-25 Thread Matthias Brugger
On 05/09/2018 12:22, Ryder Lee wrote: > Add ARM PMU device node to enable hardware perf events. > > Signed-off-by: Ryder Lee Applied to v4.19-next/dts32 > --- > arch/arm/boot/dts/mt7623.dtsi | 9 + > 1 file changed, 9 insertions(+) > > diff --git a/arch/arm/boot/dts/mt7623.dtsi

Re: [PATCH 3/3] soc: mediatek: pwrap: add mt6357 driver for mt6765 SoCs

2018-09-25 Thread Matthias Brugger
On 04/09/2018 14:31, Argus Lin wrote: > MT6357 is a new power management IC and it is used for mt6765 SoCs. > To define mt6357_regs for pmic register mapping and pmic_mt6357 > for accessing register. > > Signed-off-by: Argus Lin Needed some handwork to get it applied, please check that no

Re: [PATCH 3/3] soc: mediatek: pwrap: add mt6357 driver for mt6765 SoCs

2018-09-25 Thread Matthias Brugger
On 04/09/2018 14:31, Argus Lin wrote: > MT6357 is a new power management IC and it is used for mt6765 SoCs. > To define mt6357_regs for pmic register mapping and pmic_mt6357 > for accessing register. > > Signed-off-by: Argus Lin Needed some handwork to get it applied, please check that no

Re: [PATCH 2/3] soc: mediatek: pwrap: add pwrap driver for mt6765 SoCs

2018-09-25 Thread Matthias Brugger
On 04/09/2018 14:31, Argus Lin wrote: > mt6765 is a highly integrated SoCs, it uses mt6357 for power management. > This patch adds pwrap driver to access mt6357. Pwrap of mt6765 support > dynamic priority meichanism, sequence monitor and starvation mechanism > to make transaction more reliable.

Re: [PATCH 2/3] soc: mediatek: pwrap: add pwrap driver for mt6765 SoCs

2018-09-25 Thread Matthias Brugger
On 04/09/2018 14:31, Argus Lin wrote: > mt6765 is a highly integrated SoCs, it uses mt6357 for power management. > This patch adds pwrap driver to access mt6357. Pwrap of mt6765 support > dynamic priority meichanism, sequence monitor and starvation mechanism > to make transaction more reliable.

Re: [PATCH 1/3] dt-bindings: pwrap: mediatek: add pwrap support for MT6765

2018-09-25 Thread Matthias Brugger
On 04/09/2018 14:31, Argus Lin wrote: > Add binding document of pwrap for MT6765 SoCs. > > Signed-off-by: Argus Lin > --- Applied to v4.19-next/soc > Documentation/devicetree/bindings/soc/mediatek/pwrap.txt | 1 + > 1 file changed, 1 insertion(+) > > diff --git

Re: [PATCH 1/3] dt-bindings: pwrap: mediatek: add pwrap support for MT6765

2018-09-25 Thread Matthias Brugger
On 04/09/2018 14:31, Argus Lin wrote: > Add binding document of pwrap for MT6765 SoCs. > > Signed-off-by: Argus Lin > --- Applied to v4.19-next/soc > Documentation/devicetree/bindings/soc/mediatek/pwrap.txt | 1 + > 1 file changed, 1 insertion(+) > > diff --git

Re: [PATCH v1 1/5] arm64: dts: mt7622: add timer, CCI-400 and PMU nodes

2018-09-25 Thread Matthias Brugger
Whole series pushed to v4.19-next/dts64 Thanks! On 18/08/2018 18:02, Ryder Lee wrote: > Add device tree entries for timer, ARM CCI-400 and its PMU. > Otherwise, we add a cortex-a53-pmu node to enable hw perfevents. > > Signed-off-by: Ryder Lee > --- > change since v1: > - add a pmu node. > ---

Re: [PATCH v1 1/5] arm64: dts: mt7622: add timer, CCI-400 and PMU nodes

2018-09-25 Thread Matthias Brugger
Whole series pushed to v4.19-next/dts64 Thanks! On 18/08/2018 18:02, Ryder Lee wrote: > Add device tree entries for timer, ARM CCI-400 and its PMU. > Otherwise, we add a cortex-a53-pmu node to enable hw perfevents. > > Signed-off-by: Ryder Lee > --- > change since v1: > - add a pmu node. > ---

Re: [PATCH] soc: mediatek: pwrap: use true and false for boolean values

2018-09-25 Thread Matthias Brugger
On 05/08/2018 03:02, Gustavo A. R. Silva wrote: > Return statements in functions returning bool should use true or false > instead of an integer value. > > This issue was detected with the help of Coccinelle. > > Signed-off-by: Gustavo A. R. Silva > --- Applied, thanks! Matthias >

Re: [PATCH] soc: mediatek: pwrap: use true and false for boolean values

2018-09-25 Thread Matthias Brugger
On 05/08/2018 03:02, Gustavo A. R. Silva wrote: > Return statements in functions returning bool should use true or false > instead of an integer value. > > This issue was detected with the help of Coccinelle. > > Signed-off-by: Gustavo A. R. Silva > --- Applied, thanks! Matthias >

Re: [PATCH] ARM: defconfig: add mediatek_v7_defconfig

2018-09-25 Thread Matthias Brugger
On 19/07/2018 18:25, sean.w...@mediatek.com wrote: > From: Sean Wang > > Adding one defconfig of our own for the MediaTek ARMv7 SoCs to have one a > bit more tailor-made and stripped-down version of defconfig that just > supports the superset of existing DT based MediaTek platform and

Re: [PATCH] ARM: defconfig: add mediatek_v7_defconfig

2018-09-25 Thread Matthias Brugger
On 19/07/2018 18:25, sean.w...@mediatek.com wrote: > From: Sean Wang > > Adding one defconfig of our own for the MediaTek ARMv7 SoCs to have one a > bit more tailor-made and stripped-down version of defconfig that just > supports the superset of existing DT based MediaTek platform and

Re: [PATCH 2/4] soc: mediatek: use group of bits for pwrap capability

2018-09-25 Thread Matthias Brugger
On 19/09/2018 09:25, Hsin-Hsiung Wang wrote: > Use group of bits for pwrap capability instead of > elements of structure. > This patch is preparing for adding mt8183 pwrap support. > > Signed-off-by: Hsin-Hsiung Wang I split this patch in two, one for the ordering of the SoCs and PMIC

Re: [PATCH 2/4] soc: mediatek: use group of bits for pwrap capability

2018-09-25 Thread Matthias Brugger
On 19/09/2018 09:25, Hsin-Hsiung Wang wrote: > Use group of bits for pwrap capability instead of > elements of structure. > This patch is preparing for adding mt8183 pwrap support. > > Signed-off-by: Hsin-Hsiung Wang I split this patch in two, one for the ordering of the SoCs and PMIC

Re: [PATCH 1/4] dt-bindings: mediatek: add compatible for mt8183 pwrap

2018-09-25 Thread Matthias Brugger
On 19/09/2018 09:25, Hsin-Hsiung Wang wrote: > This adds dt-binding documentation of pwrap for Mediatek MT8183 SoC > Platform. > > Signed-off-by: Hsin-Hsiung Wang > --- > Documentation/devicetree/bindings/soc/mediatek/pwrap.txt | 1 + > 1 file changed, 1 insertion(+) > > diff --git

Re: [PATCH 1/4] dt-bindings: mediatek: add compatible for mt8183 pwrap

2018-09-25 Thread Matthias Brugger
On 19/09/2018 09:25, Hsin-Hsiung Wang wrote: > This adds dt-binding documentation of pwrap for Mediatek MT8183 SoC > Platform. > > Signed-off-by: Hsin-Hsiung Wang > --- > Documentation/devicetree/bindings/soc/mediatek/pwrap.txt | 1 + > 1 file changed, 1 insertion(+) > > diff --git

Re: [PATCH 3/4] soc: mediatek: add mt8183 pwrap support

2018-09-25 Thread Matthias Brugger
On 19/09/2018 09:26, Hsin-Hsiung Wang wrote: > MT6358 is a new power management IC and it is used for > mt8183 SoCs. To define mt6358_regs for pmic register > mapping and pmic_mt6358 for accessing register. > Adding one more interrupt and wdt source. > > Signed-off-by: Hsin-Hsiung Wang > ---

Re: [PATCH 3/4] soc: mediatek: add mt8183 pwrap support

2018-09-25 Thread Matthias Brugger
On 19/09/2018 09:26, Hsin-Hsiung Wang wrote: > MT6358 is a new power management IC and it is used for > mt8183 SoCs. To define mt6358_regs for pmic register > mapping and pmic_mt6358 for accessing register. > Adding one more interrupt and wdt source. > > Signed-off-by: Hsin-Hsiung Wang > ---

Re: [PATCH v2 00/22] Unify MediaTek pinctrl in preparation for MT8183 and MT6765

2018-09-25 Thread Matthias Brugger
On 21/09/2018 06:22, Sean Wang wrote: > On Tue, 2018-09-18 at 21:37 -0700, Manivannan Sadhasivam wrote: >> On Wed, Sep 19, 2018 at 10:54:10AM +0800, Sean Wang wrote: >>> On Tue, 2018-09-18 at 15:07 -0700, Linus Walleij wrote: On Sat, Sep 8, 2018 at 4:07 AM wrote: > v2 and changes

Re: [PATCH v2 00/22] Unify MediaTek pinctrl in preparation for MT8183 and MT6765

2018-09-25 Thread Matthias Brugger
On 21/09/2018 06:22, Sean Wang wrote: > On Tue, 2018-09-18 at 21:37 -0700, Manivannan Sadhasivam wrote: >> On Wed, Sep 19, 2018 at 10:54:10AM +0800, Sean Wang wrote: >>> On Tue, 2018-09-18 at 15:07 -0700, Linus Walleij wrote: On Sat, Sep 8, 2018 at 4:07 AM wrote: > v2 and changes

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

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

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 + >

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 + >

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

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

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

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

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/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 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 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 v2 2/2] arm64: dts: Add Mediatek X20 Development Board support

2018-07-18 Thread Matthias Brugger
On 17/07/18 16:04, Manivannan Sadhasivam wrote: > Hi Matthias, > > On Mon, Jul 16, 2018 at 03:24:44PM +0200, Matthias Brugger wrote: >> Hi Manivanna, >> >> On 05/06/18 18:34, Manivannan Sadhasivam wrote: >>> Add initial device tree support for Mediatek X20 D

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

2018-07-18 Thread Matthias Brugger
On 17/07/18 16:04, Manivannan Sadhasivam wrote: > Hi Matthias, > > On Mon, Jul 16, 2018 at 03:24:44PM +0200, Matthias Brugger wrote: >> Hi Manivanna, >> >> On 05/06/18 18:34, Manivannan Sadhasivam wrote: >>> Add initial device tree support for Mediatek X20 D

Re: [PATCH v4] dt-bindings: mediatek: Add binding for mt2712 IOMMU and SMI

2018-07-18 Thread Matthias Brugger
On 18/07/18 15:54, Joerg Roedel wrote: > On Mon, Jul 16, 2018 at 03:28:14PM +0200, Matthias Brugger wrote: >>>> .../devicetree/bindings/iommu/mediatek,iommu.txt | 6 +- >>>> .../memory-controllers/mediatek,smi-common.txt | 6 +- >>>> .../m

Re: [PATCH v4] dt-bindings: mediatek: Add binding for mt2712 IOMMU and SMI

2018-07-18 Thread Matthias Brugger
On 18/07/18 15:54, Joerg Roedel wrote: > On Mon, Jul 16, 2018 at 03:28:14PM +0200, Matthias Brugger wrote: >>>> .../devicetree/bindings/iommu/mediatek,iommu.txt | 6 +- >>>> .../memory-controllers/mediatek,smi-common.txt | 6 +- >>>> .../m

Re: [PATCH v5 06/11] soc: mediatek: add new flow for mtcmos power.

2018-07-18 Thread Matthias Brugger
On 17/07/18 10:52, Mars Cheng wrote: > From: Owen Chen > > MT6765 need multiple register and actions to setup bus > protect. > 1. turn on subsys CG before release bus protect to receive >ack. > 2. turn off subsys CG after set bus protect and receive >ack. > 3. bus protect need not

Re: [PATCH v5 06/11] soc: mediatek: add new flow for mtcmos power.

2018-07-18 Thread Matthias Brugger
On 17/07/18 10:52, Mars Cheng wrote: > From: Owen Chen > > MT6765 need multiple register and actions to setup bus > protect. > 1. turn on subsys CG before release bus protect to receive >ack. > 2. turn off subsys CG after set bus protect and receive >ack. > 3. bus protect need not

Re: [PATCH v5 05/11] clk: mediatek: add mt6765 clock IDs

2018-07-17 Thread Matthias Brugger
On 17/07/18 10:52, Mars Cheng wrote: > Signed-off-by: Mars Cheng > Signed-off-by: Owen Chen Please provide a commit message. Thanks, Matthias > --- > include/dt-bindings/clock/mt6765-clk.h | 313 > > 1 file changed, 313 insertions(+) > create mode

Re: [PATCH v5 05/11] clk: mediatek: add mt6765 clock IDs

2018-07-17 Thread Matthias Brugger
On 17/07/18 10:52, Mars Cheng wrote: > Signed-off-by: Mars Cheng > Signed-off-by: Owen Chen Please provide a commit message. Thanks, Matthias > --- > include/dt-bindings/clock/mt6765-clk.h | 313 > > 1 file changed, 313 insertions(+) > create mode

Re: [PATCH v1 2/2] arm64: dts: mt7622: update a clock property for UART0

2018-07-17 Thread Matthias Brugger
On 16/07/18 16:59, Ryder Lee wrote: > The input clock of UART0 should be CLK_PERI_UART0_PD. > > Fixes: 13f36c326cef ("arm64: dts: mt7622: turn uart0 clock to real ones") > Signed-off-by: Ryder Lee > --- pused to v4.18-next/dts64 Thanks a lot! > change since v1: > - add Fixes tag. > --- >

Re: [PATCH v1 2/2] arm64: dts: mt7622: update a clock property for UART0

2018-07-17 Thread Matthias Brugger
On 16/07/18 16:59, Ryder Lee wrote: > The input clock of UART0 should be CLK_PERI_UART0_PD. > > Fixes: 13f36c326cef ("arm64: dts: mt7622: turn uart0 clock to real ones") > Signed-off-by: Ryder Lee > --- pused to v4.18-next/dts64 Thanks a lot! > change since v1: > - add Fixes tag. > --- >

Re: [PATCH v1 1/2] arm64: dts: mt7622: add some misc device nodes

2018-07-17 Thread Matthias Brugger
Hi Ryder, On 16/07/18 16:59, Ryder Lee wrote: > Add some misc nodes support - timer and ARM CCI-400. > > Signed-off-by: Ryder Lee > --- > arch/arm64/boot/dts/mediatek/mt7622.dtsi | 36 > > 1 file changed, 36 insertions(+) > > diff --git

Re: [PATCH v1 1/2] arm64: dts: mt7622: add some misc device nodes

2018-07-17 Thread Matthias Brugger
Hi Ryder, On 16/07/18 16:59, Ryder Lee wrote: > Add some misc nodes support - timer and ARM CCI-400. > > Signed-off-by: Ryder Lee > --- > arch/arm64/boot/dts/mediatek/mt7622.dtsi | 36 > > 1 file changed, 36 insertions(+) > > diff --git

Re: [PATCH 1/2] arm: dts: mt7623: cleanup MT7623N NAND dts file

2018-07-16 Thread Matthias Brugger
On 10/07/18 07:09, Ryder Lee wrote: > Normally, we didn't release this kind of baord to user. This specific > board exists only in the early stage of development inside MediaTek - > and that may confuse peoples. > > Hence this patch removes related files accordingly. > > Cc: John Crispin >

Re: [PATCH 1/2] arm: dts: mt7623: cleanup MT7623N NAND dts file

2018-07-16 Thread Matthias Brugger
On 10/07/18 07:09, Ryder Lee wrote: > Normally, we didn't release this kind of baord to user. This specific > board exists only in the early stage of development inside MediaTek - > and that may confuse peoples. > > Hence this patch removes related files accordingly. > > Cc: John Crispin >

Re: [PATCH 2/2] arm64: dts: mt7622: update a clock property for UART0

2018-07-16 Thread Matthias Brugger
Hi Ryder, On 10/07/18 09:55, Ryder Lee wrote: > The input clock of UART0 should be CLK_PERI_UART0_PD. > > Signed-off-by: Ryder Lee Can you provide a "Fixes" tag with the commit id of the commit that broke this? Thanks, Matthias > --- > arch/arm64/boot/dts/mediatek/mt7622.dtsi | 2 +- > 1

Re: [PATCH 2/2] arm64: dts: mt7622: update a clock property for UART0

2018-07-16 Thread Matthias Brugger
Hi Ryder, On 10/07/18 09:55, Ryder Lee wrote: > The input clock of UART0 should be CLK_PERI_UART0_PD. > > Signed-off-by: Ryder Lee Can you provide a "Fixes" tag with the commit id of the commit that broke this? Thanks, Matthias > --- > arch/arm64/boot/dts/mediatek/mt7622.dtsi | 2 +- > 1

Re: [PATCH 7/7] arm64: dts: mt7622: add earlycon to mt7622-rfb1 board

2018-07-16 Thread Matthias Brugger
On 22/06/18 05:49, sean.w...@mediatek.com wrote: > From: Sean Wang > > Add earlycon to mt7622-rfb1 as to know what was going on when a certain > fault is happening at the early initialization stage. > > Signed-off-by: Sean Wang > --- > arch/arm64/boot/dts/mediatek/mt7622-rfb1.dts | 2 +- >

Re: [PATCH 7/7] arm64: dts: mt7622: add earlycon to mt7622-rfb1 board

2018-07-16 Thread Matthias Brugger
On 22/06/18 05:49, sean.w...@mediatek.com wrote: > From: Sean Wang > > Add earlycon to mt7622-rfb1 as to know what was going on when a certain > fault is happening at the early initialization stage. > > Signed-off-by: Sean Wang > --- > arch/arm64/boot/dts/mediatek/mt7622-rfb1.dts | 2 +- >

Re: [PATCH 6/7] arm64: dts: mt7622: use gpio-ranges to pinctrl device

2018-07-16 Thread Matthias Brugger
On 22/06/18 05:49, sean.w...@mediatek.com wrote: > From: Sean Wang > > Using gpio-ranges property represent which GPIOs correspond to which pins > on MT7622 pin controllers. For details, we can see section 2.1 of > Documentation/devicetree/bindings/gpio/gpio.txt to know how to bind pinctrl >

Re: [PATCH 6/7] arm64: dts: mt7622: use gpio-ranges to pinctrl device

2018-07-16 Thread Matthias Brugger
On 22/06/18 05:49, sean.w...@mediatek.com wrote: > From: Sean Wang > > Using gpio-ranges property represent which GPIOs correspond to which pins > on MT7622 pin controllers. For details, we can see section 2.1 of > Documentation/devicetree/bindings/gpio/gpio.txt to know how to bind pinctrl >

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

2018-07-16 Thread Matthias Brugger
On 27/06/18 10:52, Sean Wang wrote: > On Mon, 2018-06-25 at 17:14 +0200, Matthias Brugger wrote: >> >> 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

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

2018-07-16 Thread Matthias Brugger
On 27/06/18 10:52, Sean Wang wrote: > On Mon, 2018-06-25 at 17:14 +0200, Matthias Brugger wrote: >> >> 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

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

2018-07-16 Thread Matthias Brugger
Hi Manivanna, On 05/06/18 18:34, Manivannan Sadhasivam wrote: > Add initial device tree support for Mediatek X20 Development Board > based on MT6797 Deca core SoC. This board is one of the 96Boards > Consumer Edition platform. > > Signed-off-by: Manivannan Sadhasivam > --- >

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

2018-07-16 Thread Matthias Brugger
Hi Manivanna, On 05/06/18 18:34, Manivannan Sadhasivam wrote: > Add initial device tree support for Mediatek X20 Development Board > based on MT6797 Deca core SoC. This board is one of the 96Boards > Consumer Edition platform. > > Signed-off-by: Manivannan Sadhasivam > --- >

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

2018-07-16 Thread Matthias Brugger
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. > MT8183 share many HW IP with MT65xx series. > This patchset was tested on MT8183 evaluation board, and boot to shell ok. > > This series contains document

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

2018-07-16 Thread Matthias Brugger
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. > MT8183 share many HW IP with MT65xx series. > This patchset was tested on MT8183 evaluation board, and boot to shell ok. > > This series contains document

Re: [PATCH v4 1/1] arm64: dts: mediatek: add mt6765 support

2018-07-10 Thread Matthias Brugger
On 10/07/18 01:04, Mars Cheng wrote: > Hi Matthias/Marc > > On Mon, 2018-07-09 at 17:43 +0100, Marc Zyngier wrote: >> On 09/07/18 11:20, Matthias Brugger wrote: >>> >>> >>> On 09/07/18 08:05, Mars Cheng wrote: >>>> This adds basic chip

Re: [PATCH v4 1/1] arm64: dts: mediatek: add mt6765 support

2018-07-10 Thread Matthias Brugger
On 10/07/18 01:04, Mars Cheng wrote: > Hi Matthias/Marc > > On Mon, 2018-07-09 at 17:43 +0100, Marc Zyngier wrote: >> On 09/07/18 11:20, Matthias Brugger wrote: >>> >>> >>> On 09/07/18 08:05, Mars Cheng wrote: >>>> This adds basic chip

Re: [PATCH v4 1/1] arm64: dts: mediatek: add mt6765 support

2018-07-09 Thread Matthias Brugger
On 09/07/18 08:05, Mars Cheng wrote: > This adds basic chip support for MT6765 SoC. > > Signed-off-by: Mars Cheng > --- > arch/arm64/boot/dts/mediatek/Makefile |1 + > arch/arm64/boot/dts/mediatek/mt6765-evb.dts | 33 ++ > arch/arm64/boot/dts/mediatek/mt6765.dtsi| 156 >

Re: [PATCH v4 1/1] arm64: dts: mediatek: add mt6765 support

2018-07-09 Thread Matthias Brugger
On 09/07/18 08:05, Mars Cheng wrote: > This adds basic chip support for MT6765 SoC. > > Signed-off-by: Mars Cheng > --- > arch/arm64/boot/dts/mediatek/Makefile |1 + > arch/arm64/boot/dts/mediatek/mt6765-evb.dts | 33 ++ > arch/arm64/boot/dts/mediatek/mt6765.dtsi| 156 >

Re: [PATCH 4/6] arm64: dts: mediatek: Add missing cooling device properties for CPUs

2018-07-02 Thread Matthias Brugger
On 25/05/18 07:40, 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

Re: [PATCH 4/6] arm64: dts: mediatek: Add missing cooling device properties for CPUs

2018-07-02 Thread Matthias Brugger
On 25/05/18 07:40, 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

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

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

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 +- >

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 +- >

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

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

[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 +++

[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 2/2] arm64: dts: mediatek: add mt6765 support

2018-06-15 Thread Matthias Brugger
On 13/06/18 00:40, Mars Cheng wrote: > + > + uart0: serial@11002000 { > + compatible = "mediatek,mt6765-uart", > + "mediatek,mt6577-uart"; > + reg = <0 0x11002000 0 0x400>; > + interrupts = ; > + clocks = <_clk>; > +

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

2018-06-15 Thread Matthias Brugger
On 13/06/18 00:40, Mars Cheng wrote: > + > + uart0: serial@11002000 { > + compatible = "mediatek,mt6765-uart", > + "mediatek,mt6577-uart"; > + reg = <0 0x11002000 0 0x400>; > + interrupts = ; > + clocks = <_clk>; > +

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

2018-06-05 Thread Matthias Brugger
On 29/05/18 09:27, Manivannan Sadhasivam wrote: > Hi Matthias, > > On Tue, May 29, 2018 at 08:38:27AM +0200, Matthias Brugger wrote: >> Hi Manivannan, >> >> it's nice to see that someone at Linaro cares about upstreaming the 96 board. >> From what I can se

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